1 2019-08-13 Joseph Myers <joseph@codesourcery.com>
3 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
5 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
6 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
7 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
8 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
11 2019-08-13 Florian Weimer <fweimer@redhat.com>
13 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
15 (struct file_locking): New.
16 (try_file_lock, file_unlock, file_lock_restore): New functions.
17 (__libc_getutent_r): Use the new functions.
18 (internal_getut_r): Likewise.
19 (__libc_getutline_r): Likewise.
20 (__libc_pututline): Likewise.
21 (__libc_updwtmp): Likewise.
23 2019-08-13 Joseph Myers <joseph@codesourcery.com>
25 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
27 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
28 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
29 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
30 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
31 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
32 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
33 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
35 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
36 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
37 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
39 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
41 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
43 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
45 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
47 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
49 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
51 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
52 (IEC_60559_BFP_EXT)]: Likewise.
53 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
55 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
57 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
59 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
61 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
63 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
65 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
67 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
69 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
70 Likewise, except for totalorder, totalordermag, getpayload,
71 setpayload and setpayloadsig.
72 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
73 except for totalorder and totalordermag.
75 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
79 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
80 Undefine and define to 1 if [_GNU_SOURCE].
81 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
82 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
83 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
84 (__USE_ISOC99): Likewise.
85 (__USE_ISOC95): Likewise.
86 * manual/creature.texi (_ISOC2X_SOURCE): Document.
88 2019-08-13 Florian Weimer <fweimer@redhat.com>
90 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
92 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
93 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
94 * login/getutmpx.c (getutmpx): Likewise.
95 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
97 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
98 _HAVE_UT_TV are always true.
99 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
100 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
101 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
102 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
104 (internal_getut_r): _HAVE_UT_TYPE is always true.
105 (__libc_pututline): Likewise.
106 * login/programs/utmpdump.c (print_entry): Assume that
107 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
108 _HAVE_UT_TV are always true.
109 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
110 _HAVE_UT_ID are always true.
111 * sysdeps/gnu/bits/utmp.h: Move to ...
112 * bits/utmp.h: ... here, replacing the old file.
114 2019-08-12 Florian Weimer <fweimer@redhat.com>
116 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
117 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
119 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
120 (do_test): Open the executable using an absolute path. Print
121 error message to standard output.
123 2019-08-09 DJ Delorie <dj@redhat.com>
125 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
126 * manual/tunables.texi: Document it.
127 * malloc/malloc.c (do_set_mxfast): New.
128 (__libc_mallopt): Call it.
129 * malloc/arena.c: Add mxfast tunable.
130 * malloc/tst-mxfast.c: New.
131 * malloc/Makefile: Add it.
133 2019-08-08 Niklas Hambüchen <mail@nh2.me>
134 Carlos O'Donell <carlos@redhat.com>
137 * malloc/malloc.c (__malloc_info): Account for top chunk.
139 2019-08-07 Joseph Myers <joseph@codesourcery.com>
141 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
142 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
144 2019-08-06 Joseph Myers <joseph@codesourcery.com>
146 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
148 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
150 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
152 2019-08-05 Joseph Myers <joseph@codesourcery.com>
154 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
157 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
160 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
162 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
164 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
166 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
168 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
169 (ALWAYS_USE_VSYSCALL): Likewise.
170 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
171 (ALWAYS_USE_VSYSCALL): Likewise.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
173 (ALWAYS_USE_VSYSCALL): Likewise.
174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
175 (ALWAYS_USE_VSYSCALL): Likewise.
176 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
178 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
179 (ALWAYS_USE_VSYSCALL): Likewise.
180 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
181 (ALWAYS_USE_VSYSCALL): Likewise.
182 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
186 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
187 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
188 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
189 USE_VSYSCALL): Remove defitions.
192 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
193 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
194 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
198 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
199 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
200 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
201 (ALWAYS_USE_VSYSCALL): Define.
202 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
203 (ALWAYS_USE_VSYSCALL): Likewise.
206 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
207 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
208 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
211 * sysdeps/sh/libm-test-ulps: Update.
213 2019-08-05 Florian Weimer <fweimer@redhat.com>
216 * login/uptmp-private.h (struct ufuncs): Remove definition.
217 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
218 (__libc_utmp_jump_table): Remove declarations.
219 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
220 (__libc_getutline_r, __libc_pututline, __libc_endutent)
221 (__libc_updwtmp): Declare.
222 * login/getutent_r.c (__libc_utmp_unknown_functions)
223 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
224 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
225 (endutent_unknown): Remove definitions.
226 (__setutent): Call __libc_setutent.
227 (__getutent_r): Call __libc_getutent_r.
228 (__pututline): Call __libc_pututline.
229 (__endutent): Call __libc_endutent.
230 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
231 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
232 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
233 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
234 (__libc_setutent): Rename from stetutent_file. Drop static.
235 (maybe_setutent): New function.
236 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
237 Check for initialization.
238 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
239 Check for initialization.
240 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
241 Check for initialization.
242 (__libc_pututline): Rename from pututline_file. Drop static.
243 Check for initialization.
244 (__libc_endutent): Rename from endutent_file. Drop static. Check
246 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
247 * login/utmpname.c (__utmpname): Call __libc_endutent.
248 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
249 __libc_getutlien_r, __libc_endutent.
250 * manual/users.texi (Who Logged In, Manipulating the Database):
253 2019-08-05 Alexandra Hajkova <ahajkova@redhat.com>
255 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
257 2019-08-02 Joseph Myers <joseph@codesourcery.com>
259 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
261 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
262 kernel version number to 5.2.
264 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
266 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
267 mnemonics and set .machine power8.
268 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
269 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
270 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
271 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
272 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
273 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
274 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
275 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
276 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
277 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
279 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
281 * sysdeps/hppa/fpu/libm-test-ulps: Update.
283 2019-08-01 Florian Weimer <fweimer@redhat.com>
286 * malloc/malloc.c (__malloc_info): Remove unwanted leading
289 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
292 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
295 2019-08-01 Carlos O'Donell <carlos@redhat.com>
297 * version.h (RELEASE): Set to "stable".
298 (VERSION): Set to "2.30".
299 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
301 * manual/install.texi: Update component versions.
302 * INSTALL: Regenerate.
305 2019-07-31 Carlos O'Donell <carlos@redhat.com>
307 * po/be.po: Update translations.
308 * po/bg.po: Likewise.
309 * po/ca.po: Likewise.
310 * po/cs.po: Likewise.
311 * po/da.po: Likewise.
312 * po/de.po: Likewise.
313 * po/el.po: Likewise.
314 * po/eo.po: Likewise.
315 * po/es.po: Likewise.
316 * po/fi.po: Likewise.
317 * po/fr.po: Likewise.
318 * po/gl.po: Likewise.
319 * po/hr.po: Likewise.
320 * po/hu.po: Likewise.
321 * po/ia.po: Likewise.
322 * po/id.po: Likewise.
323 * po/it.po: Likewise.
324 * po/ja.po: Likewise.
325 * po/ko.po: Likewise.
326 * po/lt.po: Likewise.
327 * po/nb.po: Likewise.
328 * po/nl.po: Likewise.
329 * po/pl.po: Likewise.
330 * po/pt_BR.po: Likewise.
331 * po/ru.po: Likewise.
332 * po/rw.po: Likewise.
333 * po/sk.po: Likewise.
334 * po/sl.po: Likewise.
335 * po/sv.po: Likewise.
336 * po/tr.po: Likewise.
337 * po/uk.po: Likewise.
338 * po/vi.po: Likewise.
339 * po/zh_CN.po: Likewise.
340 * po/zh_TW.po: Likewise.
342 2019-07-31 Florian Weimer <fweimer@redhat.com>
346 iconv, libio: Revert reference counting changes.
347 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
348 free the steps array.
349 * libio/Makefile (tests): Remove tst-wfile-gconv.
350 (tests-container): Do not add tst-wfile-ascii.
351 (tst-wfile-gconv-ENV): Do not set.
352 (generated): Do not add tst-wfile-gconv.mtrace,
353 tst-wfile-gconv.check.
354 [($run-built-tests)] (tests-special): Do not add
355 tst-wfile-gconv-mem.out.
356 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
357 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
358 instead of __wcsmbs_clone_conv.
359 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
360 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
362 2019-07-30 Joseph Myers <joseph@codesourcery.com>
364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
365 (__CONTEXT_FUNC_NAME): Restore setting of r31.
367 2019-07-30 Florian Weimer <fweimer@redhat.com>
369 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
370 type to uintptr_t. Update comment.
371 (check_stack_top): Adjust.
373 2019-07-29 Florian Weimer <fweimer@redhat.com>
375 Linux: Move declaration of getdents64 to <dirent.h>.
376 * bits/dirent_ext.h: New file.
377 * dirent/Makefile (headers): Add bits/dirent_ext.h.
378 * dirent/dirent.h: Include <bits/dirent_ext.h>.
379 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
380 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
382 * manual/filesys.texi (Low-level Directory Access): Update header
385 2019-07-29 DJ Delorie <dj@redhat.com>
386 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
389 * Makeconfig (all-subdirs): Improved source comments.
390 * Makefile (testroot.pristine/install.stamp): Pass
391 subdirs='$(sorted-subdirs)' to make install.
393 2019-07-25 Florian Weimer <fweimer@redhat.com>
396 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
397 counter before freeing array.
399 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
402 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
404 * sysdeps/x86_64/configure: Regenerated.
405 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
406 to -mprefer-vector-width=128 if supported.
408 2019-07-24 Florian Weimer <fweimer@redhat.com>
410 * scripts/build-many-glibcs.py (Context.checkout): Default to
413 2019-07-24 Florian Weimer <fweimer@redhat.com>
416 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
417 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
418 (sysdep_headers): Add bits/socket-constants.h.
419 (tests-special): Add tst-socket-consts.out.
420 (tst-socket-consts.out): New target.
421 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
422 around <asm/unistd.h>.
423 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
424 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
426 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
427 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
428 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
429 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
430 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
431 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
433 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
435 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
438 * Makefile (testroot.pristine/install.stamp): Pass
439 subdirs='$(all-subdirs)' to make install.
441 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
442 the same arguments used in all tests.
444 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
446 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
448 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
451 * locale/C-translit.h.in: Add Cyrillic transliteration.
453 2019-07-19 Florian Weimer <fweimer@redhat.com>
455 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
457 (fsconfig): Add system call name.
461 (move_mount): Likewise.
462 (open_tree): Likewise.
464 2019-07-18 Carlos O'Donell <carlos@redhat.com>
466 * po/libc.pot: Regenerate.
468 2019-07-18 Mike Crowe <mac@mcrowe.com>
470 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
471 functions recently added to sysdeps/nptl/pthread.h:
472 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
473 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
475 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
476 pthread_cond_clockwait forwarding functions. There are no internal
477 users, so it is unnecessary to expose these functions in libc.so.
478 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
479 unnecessary ptr___pthread_cond_clockwait member.
480 * nptl/nptl-init.c (pthread_functions): Remove assignment of
483 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
486 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
487 begin with an uppercase letter now.
489 (mon): Update from CLDR, reword February from "Kudo" to
490 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
491 and August from "Liiqen" to "Leqeeni".
492 * localedata/locales/aa_ER (mon): Update from CLDR, reword
493 April from "Agda Baxisso" to "Agda Baxis" and August from
494 "Leqeeni" to "Liiqen".
495 * localedata/locales/aa_ER@saaho (mon): Likewise.
496 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
497 abbreviated February from "Kud" to "Nah".
498 (mon): Update from CLDR, reword February from "Kudo" to
499 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
501 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
504 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
506 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
509 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
510 name_mrs, name_miss, and name_ms.
511 * localedata/locales/nl_NL (LC_NAME): Likewise.
513 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
516 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
517 * localedata/locales/en_IE (first_weekday): Likewise.
519 2019-07-12 Mike Crowe <mac@mcrowe.com>
521 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
522 that is only useful if futex_supports_exact_relative_timeouts ()
524 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
526 * sysdeps/nptl/futex-internal.h: Remove comment about relative
527 timeouts potentially being imprecise since it's no longer true.
528 Remove declaration of futex_supports_exact_relative_timeouts.
529 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
530 of futex_supports_exact_relative_timeouts.
532 * NEWS: Mention recently-added pthread_cond_clockwait,
533 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
534 sem_clockwait functions.
536 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
537 works like pthread_mutex_timedlock but takes a clockid parameter to
538 measure the abstime parameter against.
539 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
540 * nptl/DESIGN-systemtap-probes.txt: Likewise.
541 * nptl/pthread_mutex_timedlock.c
542 (__pthread_mutex_clocklock_common): Rename from
543 __pthread_mutex_timedlock and add clockid parameter. Pass this
544 parameter to lll_clocklock and lll_clocklock_elision in place of
545 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
546 LIBC_PROBE and validate clockid parameter before calling
547 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
548 implementation to add LIBC_PROBE and calls
549 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
551 * nptl/Makefile: Add tst-mutex11.c.
552 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
553 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
554 clockid parameters to pthread_mutex_clocklock.
555 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
556 clockid parameter to indicate which clock to be used. Call
557 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
558 (do_test): Call do_test_clock to separately test
559 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
560 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
561 * nptl/tst-mutex9.c: Likewise.
562 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
563 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
565 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
567 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
569 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
571 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
573 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
575 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
577 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
578 (GLIBC_2.30): Likewise.
579 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
580 (GLIBC_2.30): Likewise.
581 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
582 (GLIBC_2.30): Likewise.
583 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
584 (GLIBC_2.30): Likewise.
585 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
586 (GLIBC_2.30): Likewise.
587 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
590 (GLIBC_2.30): Likewise.
591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
592 (GLIBC_2.30): Likewise.
593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
594 (GLIBC_2.30): Likewise.
595 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
596 (GLIBC_2.30): Likewise.
597 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
598 (GLIBC_2.30): Likewise.
599 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
600 (GLIBC_2.30): Likewise.
601 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
603 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
604 (GLIBC_2.30): Likewise.
605 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
606 (GLIBC_2.30): Likewise.
607 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
608 (GLIBC_2.30): Likewise.
609 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
610 (GLIBC_2.30): Likewise.
612 nptl: Rename lll_timedlock to lll_clocklock and add clockid
613 parameter to indicate the clock that the abstime parameter should
614 be measured against in preparation for adding
615 pthread_mutex_clocklock.
616 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
617 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
618 from __lll_timedlock and add clockid parameter.
619 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
621 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
622 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
623 rather than __gettimeofday so that clockid can be used. This means
624 that conversion from struct timeval is no longer required.
625 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
627 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
628 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
629 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
630 from lll_timedlock_elision, add clockid parameter and use
631 meaningful names for other parameters. (__pthread_mutex_timedlock):
632 Pass CLOCK_REALTIME where necessary to lll_clocklock and
633 lll_clocklock_elision.
634 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
635 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
636 clockid parameter. (__lll_clocklock_elision): Rename from
637 __lll_timedlock_elision and add clockid parameter.
638 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
639 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
640 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
641 (__lll_lock_elision): Call __lll_clocklock_elision rather than
642 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
643 (LLL_LOCK): Likewise.
644 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
645 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
647 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
648 pthread_rwlock_clockwrlock which behave like
649 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
650 respectively, except they always measure abstime against the
651 supplied clockid. The functions currently support CLOCK_REALTIME
652 and CLOCK_MONOTONIC and return EINVAL if any other clock is
654 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
655 pthread_wrlock_clockwrlock.
656 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
657 pthread_rwlock_clockwrlock.c.
658 * nptl/pthread_rwlock_clockrdlock.c: Implement
659 pthread_rwlock_clockrdlock.
660 * nptl/pthread_rwlock_clockwrlock.c: Implement
661 pthread_rwlock_clockwrlock.
662 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
663 clockid parameter and verify that it indicates a supported clock on
664 entry so that we fail even if it doesn't end up being used. Pass
665 that clock on to futex_abstimed_wait when necessary.
666 (__pthread_rwlock_wrlock_full): Likewise.
667 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
668 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
669 be used because there's no timeout.
670 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
671 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
672 be used because there is no timeout.
673 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
674 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
676 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
677 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
679 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
680 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
681 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
682 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
683 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
684 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
685 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
686 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
687 (GLIBC_2.30): Likewise.
688 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
689 (GLIBC_2.30): Likewise.
690 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
691 (GLIBC_2.30): Likewise.
692 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
693 (GLIBC_2.30): Likewise.
694 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
695 (GLIBC_2.30): Likewise.
696 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
698 (GLIBC_2.30): Likewise.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
700 (GLIBC_2.30): Likewise.
701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
702 (GLIBC_2.30): Likewise.
703 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
704 (GLIBC_2.30): Likewise.
705 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
706 (GLIBC_2.30): Likewise.
707 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
708 (GLIBC_2.30): Likewise.
709 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
710 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
711 (GLIBC_2.30): Likewise.
712 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
713 (GLIBC_2.30): Likewise.
714 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
715 (GLIBC_2.30): Likewise.
716 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
717 (GLIBC_2.30): Likewise.
718 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
719 pthread_rwlock_clockwrlock timeout tests to match the existing
720 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
721 * nptl/tst-rwlock14.c (do_test): Likewise.
722 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
723 ancillary output throughout. (tf): Accept thread_args structure so
724 that rwlock, a clockid and function name can be passed to the
725 thread. (do_test_clock): Rename from do_test. Accept clockid
726 parameter to specify test clock. Use the magic clockid value of
727 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
728 pthread_rwlock_timedwrlock should be tested, otherwise pass the
729 specified clockid to pthread_rwlock_clockrdlock and
730 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
731 (do_test): Call do_test_clock to test each clockid in turn.
732 * nptl/tst-rwlock7.c: Likewise.
733 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
734 thread_args structure so that the (now int) thread number, the
735 clockid and the function name can be passed to the thread.
736 (do_test_clock): Renamed from do_test. Pass the necessary
737 thread_args when creating the reader and writer threads. Use
738 xpthread_create and xpthread_join.
739 (do_test): Call do_test_clock to test each clockid in turn.
740 * manual/threads.texi: Add documentation for
741 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
743 nptl: pthread_rwlock: Move timeout validation into _full functions
744 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
745 Check validity of abstime parameter.
746 (__pthread_rwlock_rwlock_full): Likewise.
747 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
748 Remove check for validity of abstime parameter.
749 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
752 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
753 like pthread_cond_timedwait except it always measures abstime
754 against the supplied clockid.
755 * nptl/Makefile: Add tst-cond26 and tst-cond27
756 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
757 * sysdeps/nptl/pthread.h: Likewise
758 * nptl/forward.c: Add __pthread_cond_clockwait
759 * nptl/forward.c: Likewise
760 * nptl/pthreadP.h: Likewise
761 * sysdeps/nptl/pthread-functions.h: Likewise
762 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
763 clockid parameter and comment describing why we don't need to check
764 its value. Use that value when calling
765 futex_abstimed_wait_cancelable rather than reading the clock from
766 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
767 (__pthread_cond_timedwait): Read clock from flags and pass it to
768 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
769 function with weak alias from pthread_cond_clockwait.
770 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
771 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
772 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
773 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
774 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
775 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
776 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
777 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
778 (GLIBC_2.30): Likewise.
779 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
780 (GLIBC_2.30): Likewise.
781 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
782 (GLIBC_2.30): Likewise.
783 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
784 (GLIBC_2.30): Likewise.
785 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
786 (GLIBC_2.30): Likewise.
787 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
789 (GLIBC_2.30): Likewise.
790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
791 (GLIBC_2.30): Likewise.
792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
793 (GLIBC_2.30): Likewise.
794 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
795 (GLIBC_2.30): Likewise.
796 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
797 (GLIBC_2.30): Likewise.
798 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
799 (GLIBC_2.30): Likewise.
800 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
801 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
802 (GLIBC_2.30): Likewise.
803 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
804 (GLIBC_2.30): Likewise.
805 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
806 (GLIBC_2.30): Likewise.
807 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
808 (GLIBC_2.30): Likewise.
809 * nptl/tst-cond11.c (run_test): Support testing
810 pthread_cond_clockwait too by using a special magic
811 CLOCK_USE_ATTR_CLOCK value to determine whether to call
812 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
813 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
814 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
815 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
816 clocks to pthread_cond_clockwait.
817 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
818 struct timespec and pthread_cond_clockwait.
819 * manual/threads.texi: Document pthread_cond_clockwait.
821 nptl: Add POSIX-proposed sem_clockwait which behaves just like
822 sem_timedwait, but measures abstime against the specified clock.
823 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
824 clockid parameters to indicate the clock which abstime should be
826 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
827 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
829 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
831 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
832 sem_clockwait.c to match those used for sem_timedwait.c.
833 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
834 * nptl/Versions (GLIBC_2.30): Likewise.
835 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
836 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
837 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
838 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
839 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
840 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
841 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
842 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
843 (GLIBC_2.30): Likewise.
844 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
845 (GLIBC_2.30): Likewise.
846 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
847 (GLIBC_2.30): Likewise.
848 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
849 (GLIBC_2.30): Likewise.
850 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
851 (GLIBC_2.30): Likewise.
852 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
854 (GLIBC_2.30): Likewise.
855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
856 (GLIBC_2.30): Likewise.
857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
858 (GLIBC_2.30): Likewise.
859 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
860 (GLIBC_2.30): Likewise.
861 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
862 (GLIBC_2.30): Likewise.
863 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
864 (GLIBC_2.30): Likewise.
865 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
866 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
867 (GLIBC_2.30): Likewise.
868 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
869 (GLIBC_2.30): Likewise.
870 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
871 (GLIBC_2.30): Likewise.
872 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
873 (GLIBC_2.30): Likewise.
874 * nptl/tst-sem17.c: Add new test for passing invalid clock to
876 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
877 tests to also test sem_clockwait.
878 * manual/threads.texi: Document sem_clockwait.
880 nptl: Add clockid parameter to futex timed wait calls
881 * sysdeps/nptl/lowlevellock-futex.h,
882 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
883 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
884 takes a clockid rather than a special clockbit.
885 * sysdeps/nptl/lowlevellock-futex.h: Add
886 lll_futex_supported_clockid so that client functions can check
887 whether their clockid parameter is valid even if they don't
888 ultimately end up calling lll_futex_clock_wait_bitset.
889 * sysdeps/nptl/futex-internal.h,
890 sysdeps/unix/sysv/linux/futex-internal.h
891 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
892 clockid_t parameter to indicate which clock the absolute time
893 passed should be measured against. Pass that clockid onto
894 lll_futex_clock_wait_bitset. Add invalid clock as reason for
896 * sysdeps/nptl/futex-internal.h,
897 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
898 futex_abstimed_supported_clockid so that client functions can check
899 whether their clockid parameter is valid even if they don't
900 ultimately end up calling futex_abstimed_wait.
901 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
902 code to calculate relative timeout for
903 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
904 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
905 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
906 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
907 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
908 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
909 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
911 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
914 * posix/tst-mmap-offset.c: Mention BZ #24699.
915 (do_test_bz21270): Rename to do_test_large_offset and use
916 mmap64_maximum_offset to check for maximum expected offset value.
917 * sysdeps/generic/mmap_info.h: New file.
918 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
919 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
922 2019-07-10 DJ Delorie <dj@redhat.com>
923 Sergei Trofimovich <slyfox@inbox.ru>
927 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
929 * nss/tst-nss-db-endgrent.c: New.
930 * nss/tst-nss-db-endgrent.root: New.
931 * nss/tst-nss-db-endpwent.c: New.
932 * nss/tst-nss-db-endpwent.root: New.
933 * nss/Makefile: Add new tests.
934 * support/links-dso-program-c.c: Add selinux dependency.
935 * support/links-dso-program.cc: Add selinux dependency.
936 * support/Makefile: Build those with -lselinux if enabled.
938 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
940 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
941 DT_AARCH64_VARIANT_PCS check.
942 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
943 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
946 2019-07-10 Andreas Schwab <schwab@suse.de>
949 * malloc/malloc.h (__malloc_check_init): Don't declare.
950 * include/malloc.h (__malloc_check_init): Likewise.
951 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
952 * manual/memory.texi (__malloc_check_init): Don't mention it.
954 2019-07-10 Mao Han <han_mao@c-sky.com>
956 * locale/Makefile: Fix tst-locale-locpath arguments passing.
958 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
960 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
961 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
963 2019-07-08 DJ Delorie <dj@redhat.com>
966 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
967 * io/tst-ftw-lnk.c: New test.
968 * io/Makefile: Run it.
970 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
972 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
973 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
974 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
975 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
976 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
977 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
979 Adjust implementation path.
980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
981 Adjust implementation path.
982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
983 Adjust implementation path.
984 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
985 (libm-sysdep_routines): Add s_log* objects.
986 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
987 CFLAGS-s_logb-power7.c): New fule.
988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
990 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
994 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
997 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
1000 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
1002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
1004 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
1006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
1007 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
1008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
1010 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
1012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
1014 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
1016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
1017 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
1018 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
1019 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
1020 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1021 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1023 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
1024 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
1025 powerpc32 integer 0 converting to -0.
1027 * benchtests/Makefile (bench-math): Add logb.
1028 * benchtests/logb-inputs: New file.
1029 * benchtests/logbf-inputs: New file.
1031 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
1032 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
1033 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
1034 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
1035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1039 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
1040 sysdep_routines): Add s_modf* objects.
1041 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
1042 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
1043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
1045 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
1047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
1049 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
1051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
1052 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
1053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
1055 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
1057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
1058 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
1060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
1061 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
1063 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
1064 twoM500, twoM600, two60factor, pdnum): Remove.
1065 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
1066 (__ieee754_hypot): Replace static variables with inline definition,
1067 remove ununsed branches.
1068 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1069 (libm-sysdep_routines): Remove e_hypot-* objects.
1070 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
1071 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
1073 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
1074 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
1075 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
1076 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
1077 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
1079 * benchtests/Makefile (bench-math): Add hypot.
1080 * benchtests/hypot-inputs: New file.
1082 2019-07-08 Vincent Chen <vincentc@andestech.com>
1084 * sysdeps/unix/sysv/linux/dl-vdso.h
1085 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
1087 2019-07-04 Andreas Schwab <schwab@suse.de>
1090 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
1092 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1094 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
1095 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
1096 * sysdeps/aarch64/sys/ifunc.h: New file.
1097 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
1098 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
1100 2019-07-01 Florian Weimer <fweimer@redhat.com>
1103 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
1104 Replace __vfork with __libpthread_version_placeholder for
1106 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
1107 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
1109 * nptl/pt-vfork.c: Remove file.
1110 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
1111 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
1112 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1113 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1114 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
1115 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
1116 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
1117 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
1118 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
1119 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
1120 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
1121 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
1122 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
1123 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1124 Remove vfork, __vfork.
1125 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1127 (GLIBC_2.1.2): Replace __vfork with
1128 __libpthread_version_placeholder.
1129 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1130 Remove vfork, __vfork.
1131 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1133 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1135 (GLIBC_2.1.2): Replace __vfork with
1136 __libpthread_version_placeholder.
1137 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1139 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1140 (GLIBC_2.4): Remove vfork, __vfork.
1141 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1142 (GLIBC_2.0): Remove vfork.
1143 (GLIBC_2.1.2): Replace __vfork with
1144 __libpthread_version_placeholder.
1145 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1146 (GLIBC_2.18): Remove vfork, __vfork.
1147 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1148 (GLIBC_2.0): Remove vfork.
1149 (GLIBC_2.2): Remove __vfork.
1150 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
1151 (GLIBC_2.2): Remove vfork, __vfork.
1152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
1153 (GLIBC_2.0): Remove vfork.
1154 (GLIBC_2.1.2): Replace __vfork with
1155 __libpthread_version_placeholder.
1156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1157 (GLIBC_2.3): Remove vfork, __vfork.
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1159 (GLIBC_2.17): Likewise.
1160 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1161 (GLIBC_2.0): Remove vfork.
1162 (GLIBC_2.1.2): Replace __vfork with
1163 __libpthread_version_placeholder.
1164 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1165 (GLIBC_2.2): Remove vfork, __vfork.
1166 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1168 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1169 (GLIBC_2.0): Remove vfork.
1170 (GLIBC_2.1.2): Replace __vfork with
1171 __libpthread_version_placeholder.
1172 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1173 (GLIBC_2.2): Remove vfork, __vfork.
1174 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1175 (GLIBC_2.2.5): Likewise.
1176 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1177 (GLIBC_2.16): Likewise.
1178 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
1179 Remove __errno_location.
1181 2019-07-02 Florian Weimer <fweimer@redhat.com>
1184 * malloc/Depend: Add nptl and htl, due to potential indirect
1185 libpthread dependency of memusagestat.
1187 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1189 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
1192 2019-07-01 Florian Weimer <fweimer@redhat.com>
1194 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
1195 variant for arm-linux-gnueabi.
1197 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
1200 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
1202 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
1203 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
1204 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
1205 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
1206 and tst-cet-legacy-mod-6c.
1207 (CFLAGS-tst-cet-legacy-5a.c): New.
1208 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
1209 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
1210 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
1211 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
1212 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
1213 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
1214 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
1215 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
1216 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
1217 ($(objpfx)tst-cet-legacy-5a): Likewise.
1218 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
1219 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
1220 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
1221 ($(objpfx)tst-cet-legacy-5b): Likewise.
1222 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
1223 (tst-cet-legacy-5b-ENV): Likewise.
1224 ($(objpfx)tst-cet-legacy-6a): Likewise.
1225 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
1226 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
1227 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
1228 ($(objpfx)tst-cet-legacy-6b): Likewise.
1229 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
1230 (tst-cet-legacy-6b-ENV): Likewise.
1231 * sysdeps/x86/tst-cet-legacy-5.c: New file.
1232 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
1233 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
1234 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
1235 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
1236 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
1237 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
1238 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
1239 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
1240 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
1241 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
1242 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
1243 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
1244 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
1246 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
1248 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
1249 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
1250 (__fegetround_ISA300) New.
1251 (__fegetround_ISA2) New.
1252 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
1253 (_FPU_MFFS): Move implementation...
1255 (_FPU_MFFSL): Move implementation....
1256 (_FPU_GET_RC_ISA300): Here. New.
1257 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
1258 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
1259 (fegetenv_status): New.
1260 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
1261 instead of fegetenv_register().
1262 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
1264 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
1266 * benchtests/bench-math-inlines.c: Increase iterations.
1267 * benchtests/bench-memcmp.c: Likewise.
1268 * benchtests/bench-rawmemchr.c: Likewise.
1269 * benchtests/bench-strcmp.c: Likewise.
1270 * benchtests/bench-strcpy_chk.c: Likewise.
1271 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
1272 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
1273 (INNER_LOOP_ITERS_SMALL): Likewise.
1274 * benchtests/bench-strncat.c: Increase iterations.
1275 * benchtests/bench-strncmp.c: Increase iterations.
1276 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
1277 * benchtests/bench-strrchr.c: Increase iterations.
1278 * benchtests/bench-strstr.c: Keep iterations unchanged.
1279 * benchtests/bench-strtod.c: Increase iterations.
1281 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1283 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
1284 with INNER_LOOP_ITERS_LARGE.
1285 * benchtests/bench-memchr.c: Likewise.
1286 * benchtests/bench-rawmemchr.c: Likewise.
1287 * benchtests/bench-strcat.c: Likewise.
1288 * benchtests/bench-strchr.c: Likewise.
1289 * benchtests/bench-string.h: Likewise.
1290 * benchtests/bench-strlen.c: Likewise.
1291 * benchtests/bench-strncpy.c: Likewise.
1292 * benchtests/bench-strnlen.c: Likewise.
1294 2019-06-28 Florian Weimer <fweimer@redhat.com>
1296 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
1297 Use mmap instead of malloc. malloc with M_PERTURB writes to the
1298 entire allocated memory range.
1300 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
1302 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
1303 (prepare_version_base): New helper inline function.
1304 (prepare_version): New macro replacing PREPARE_VERSION.
1305 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
1307 2019-06-28 Florian Weimer <fweimer@redhat.com>
1310 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
1311 mismatch in a versioned symbol reference.
1312 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
1313 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
1314 tst-sonamemove-dlopen.
1315 (module-names): Add tst-sonamemove-linkmod1,
1316 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
1317 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
1318 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
1319 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
1320 (tst-sonamemove-runmod1.so): Link against
1321 tst-sonamemove-runmod2.so.
1322 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
1323 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
1324 tst-sonamemove-runmod2.so.
1325 (tst-sonamemove-dlopen): Link with -ldl.
1326 (tst-sonamemove-dlopen.out): Likewise.
1327 * elf/tst-sonamemove-link.c: New file.
1328 * elf/tst-sonamemove-dlopen.c: Likewise.
1329 * elf/tst-sonamemove-linkmod1.c: Likewise.
1330 * elf/tst-sonamemove-linkmod1.map: Likewise.
1331 * elf/tst-sonamemove-runmod1.c: Likewise.
1332 * elf/tst-sonamemove-runmod1.map: Likewise.
1333 * elf/tst-sonamemove-runmod2.c: Likewise.
1334 * elf/tst-sonamemove-runmod2.map: Likewise.
1336 2019-06-28 Florian Weimer <fweimer@redhat.com>
1338 * support/xdlfcn.h (xdlvsym): Declare function.
1339 * support/xdlfcn.c (xdlvsym): Define funciton.
1341 2019-06-28 Florian Weimer <fweimer@redhat.com>
1344 io: Remove the copy_file_range emulation.
1345 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
1346 not define and call copy_file_range_compat.
1347 * io/Makefile (tests-static, tests-internal): Do not add
1348 tst-copy_file_range-compat.
1349 * io/copy_file_range-compat.c: Remove file.
1350 * io/copy_file_range.c (copy_file_range): Define as stub.
1351 * io/tst-copy_file_range-compat.c: Remove file.
1352 * io/tst-copy_file_range.c (xdevfile): Remove variable.
1353 (typical_sizes): Update comment. Remove 16K sizes.
1354 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
1356 (find_maximum_offset, pipe_as_source, pipe_as_destination)
1357 (delayed_write_failure_beginning, delayed_write_failure_end)
1358 (cross_device_failure, enospc_failure_1, enospc_failure)
1359 (oappend_failure): Remove functions.
1360 (tests): Adjust test case list.
1361 (do_test): Remove file system search code. Check for ENOSYS from
1362 copy_file_range. Do not free xdevfile.
1363 * manual/llio.texi (Copying File Data): Document ENOSYS error from
1364 copy_file_range. Do not document the EXDEV error, which future
1365 kernels may not report. Update the wording to reflect that
1366 further errors are possible.
1367 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1368 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
1370 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1371 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
1373 * sysdeps/unix/sysv/linux/kernel-features.h
1374 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
1376 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1377 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
1379 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1380 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
1383 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1385 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
1386 used as a mask for the mode argument of __vfprintf_internal.
1387 * stdio-common/printf-parse.h (printf_arg): New union member:
1389 * stdio-common/vfprintf-internal.c
1390 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
1391 (PARSE_FLOAT_VA_ARG): Likewise.
1392 (SETUP_FLOAT128_INFO): Likewise.
1393 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
1394 SETUP_FLOAT128_INFO.
1395 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
1396 floating-point value to the new union member, pa_float128.
1397 (printf_positional): Zero-initialize args_value[cnt] with memset.
1399 2019-06-27 Florian Weimer <fweimer@redhat.com>
1402 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
1403 buffer size if necessary.
1404 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1406 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
1408 (large_buffer_checks): Likewise.
1409 (do_test): Call large_buffer_checks.
1411 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
1413 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
1414 * sysdeps/x86/dl-lookupcfg.h: Here.
1415 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
1417 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1420 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
1421 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
1423 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1424 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1425 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
1426 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1427 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
1429 * sysdeps/powerpc/powerpc32/fpu/Makefile
1430 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
1431 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
1432 and fctidz optimization.
1433 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
1434 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
1435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1436 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
1437 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
1438 CFLAGS-s_lround-power5+.c): New rule.
1439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
1441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
1443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
1445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
1447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
1449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1459 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1460 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
1461 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1462 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
1463 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1464 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1465 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
1467 2019-06-26 Vincent Chen <vincentc@andestech.com>
1469 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
1470 specific system calls, fp_udfiex_crtl and udftrap.
1472 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1474 * nptl/tst-eintr1.c (tf1): Add return statement.
1475 (do_test): Remove unused th variable.
1477 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1479 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
1480 Return error if get_character fails.
1482 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
1484 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1486 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
1489 * localedata/locales/szl_PL (day): Use the correct Unicode
1490 sequences instead of non-ASCII characters.
1492 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
1495 * localedata/locales/szl_PL (abday): Spelling corrections.
1499 (alt_mon): This, then apply spelling corrections.
1500 (mon): New entry, month names in the genitive case.
1502 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
1505 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
1506 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
1507 (thousands_sep): Likewise.
1508 (grouping): Set to 3;3.
1510 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
1512 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
1513 PREPARE_VERSION_KNOWN.
1514 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1515 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
1517 (VDSO_HASH_LINUX_2_6_39): Likewise.
1518 (VDSO_NAME_LINUX_4_9): Likewise.
1519 (VDSO_HASH_LINUX_4_9): Likewise.
1520 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
1521 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1522 (_libc_vdso_platform_setup): Likewise.
1523 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
1524 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
1526 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
1529 2019-06-20 Mike Crowe <mac@mcrowe.com>
1531 * nptl/eintr.c: Use libsupport.
1532 * nptl/tst-eintr1.c: Likewise.
1533 * nptl/tst-eintr2.c: Likewise.
1534 * nptl/tst-eintr3.c: Likewise.
1535 * nptl/tst-eintr4.c: Likewise.
1536 * nptl/tst-eintr5.c: Likewise.
1537 * nptl/tst-mutex-errorcheck.c: Likewise.
1538 * nptl/tst-mutex5.c: Likewise.
1540 * support/test-driver.h: Add verbose_printf macro.
1542 * support/xtime.h: Add xclock_now() helper function.
1544 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
1545 Florian Weimer <fweimer@redhat.com>
1548 * libio/genops.c (_IO_unbuffer_all)
1549 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
1550 buffers and access _IO_FILE_complete members of legacy libio streams.
1551 * libio/tst-bz24228.c: New file.
1552 * libio/tst-bz24228.map: Likewise.
1553 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
1554 [build-shared] (generated): Add tst-bz24228.mtrace and
1556 [run-built-tests && build-shared] (tests-special): Add
1557 $(objpfx)tst-bz24228-mem.out.
1558 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
1559 ($(objpfx)tst-bz24228-mem.out): New rule.
1561 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
1563 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
1564 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
1565 (__FPU_MFFSL): Likewise.
1566 (_FPU_SETCW): Likewise.
1568 2019-06-19 Stan Shebs <stanshebs@google.com>
1569 Raoni Fassina Firmino <raoni@linux.ibm.com>
1572 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
1573 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
1574 static-linking version.
1575 * sysdeps/unix/sysv/linux/powerpc/Makefile
1576 (tests-static): Add test-gettimebasefreq-static.
1578 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
1581 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
1584 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
1585 between the currency symbol and the minus sign).
1586 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1588 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
1591 * string/test-strcasestr.c (check_result): Add NULL check.
1592 * nss/tst-field.c (check_rewrite): Likewise.
1593 * benchtests/bench-strstr.c (do_one_test): Likewise.
1594 * string/test-strstr.c (check_result): Likewise.
1595 * argp/argp-test.c (popt): Increase size of buf to 12.
1596 * benchtests/bench-malloc-simple.c (bench):
1597 Do not initialize tests array out of bounds.
1599 2019-06-19 Florian Weimer <fweimer@redhat.com>
1602 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
1605 2019-06-18 Florian Weimer <fweimer@redhat.com>
1608 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
1609 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
1610 fail when called from dlopen.
1611 * elf/Makefile [have-fpie && build-shared] (tests): Add
1613 (tst-dlopen-pie): Link with -ldl.
1614 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
1615 * elf/tst-dlopen-pie.c (do_test): New file.
1617 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
1620 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
1621 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
1622 between the currency symbol and the minus sign).
1623 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1624 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
1626 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1628 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
1629 sysdep-rtld-routines): Remove rules.
1630 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
1631 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
1632 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
1633 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
1634 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
1635 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
1636 vDSO path for SHARED.
1637 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
1638 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
1639 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1640 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1641 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
1642 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
1644 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1645 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
1646 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
1647 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
1648 CFLAGS-s_llround-power5+.c): New rule.
1649 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
1651 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
1653 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
1655 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
1657 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
1659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
1660 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
1661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
1662 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
1663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
1664 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
1665 * sysdeps/powerpc/powerpc64/fpu/Makefile
1666 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
1667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1668 (libm-sysdep_routines): Remove s_llround-* objects.
1669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
1671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
1673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
1675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
1677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
1679 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1680 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1681 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
1682 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
1683 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
1684 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
1685 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
1686 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
1687 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1688 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1689 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1690 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1691 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1692 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1694 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
1695 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
1696 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
1697 * sysdeps/powerpc/powerpc32/fpu/Makefile
1698 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
1699 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
1701 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
1702 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
1703 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
1704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1705 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
1706 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
1707 CFLAGS-s_lrint-ppc32.c): New rule.
1708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1718 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1719 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1720 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1721 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
1724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
1726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
1728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
1730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
1733 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1734 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
1736 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
1737 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
1739 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
1741 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
1743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
1744 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
1745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
1746 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
1747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
1748 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
1749 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
1750 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
1751 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1752 (libm-sysdep_routines): Remove s_llrint-* objects.
1753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
1755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
1757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
1758 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
1759 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
1760 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
1761 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
1762 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
1763 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1764 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
1765 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1766 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1768 2019-06-14 Florian Weimer <fweimer@redhat.com>
1770 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
1771 argument to __glibc_has_include to inhibit macro expansion.
1773 2019-06-14 Florian Weimer <fweimer@redhat.com>
1775 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
1776 function-like macro, so that __has_include can inhibit expansion
1779 2019-06-13 Joseph Myers <joseph@codesourcery.com>
1781 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
1784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1785 Allow memset in libc.so.
1787 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1789 * sysdeps/aarch64/dl-dtprocnum.h: New file.
1790 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
1791 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
1792 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
1793 symbols at load time.
1794 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
1796 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1798 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
1799 (DT_AARCH64_VARIANT_PCS): Define.
1801 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1804 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
1806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
1810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
1811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1814 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1815 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
1816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1817 Remove s_finite* objects.
1818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
1819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
1820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
1821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
1823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1824 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1825 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
1826 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1827 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
1829 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
1830 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
1832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1833 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
1835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
1837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
1839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1843 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1844 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
1845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
1846 Remove s_isinf* and s_isinf* objects.
1847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
1848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
1849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
1850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
1852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1853 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1854 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
1855 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1856 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
1858 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
1859 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
1861 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
1862 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
1863 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1865 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
1867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
1869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
1871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
1873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
1875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
1878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
1881 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1882 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
1883 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1884 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
1885 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1886 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
1887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
1888 Remove s_isnan-* and s_isnanf-* objects.
1889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
1890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
1891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
1893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
1894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
1895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
1896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1898 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1899 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1900 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1901 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1902 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1903 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
1904 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1905 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
1907 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
1908 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
1910 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
1911 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
1912 CFLAGS-bench-isfinite.c): New rule.
1913 * benchtests/isnan-input: New file.
1914 * benchtests/isinf-input: New file.
1915 * benchtests/isfinite-input: New file.
1917 * sysdeps/powerpc/fpu/s_copysign.c: New file.
1918 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
1919 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
1920 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
1921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1922 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
1924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
1932 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1933 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
1934 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
1935 Remove s_copysign-power6 s_copysign-ppc64.
1936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
1938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
1940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
1942 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1943 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
1944 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1945 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
1947 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
1948 round_to_integer_float, round_mode): Add RINT handling.
1949 (reset_fenv_mode): New symbol.
1950 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
1951 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
1952 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
1953 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1954 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1955 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1957 2019-06-12 Florian Weimer <fweimer@redhat.com>
1960 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
1961 * libio/freopen.c (freopen): Use it.
1963 2019-06-12 Florian Weimer <fweimer@redhat.com>
1965 Linux: Deprecate sysctl.
1966 * include/sysctl.h (__sysctl): Remove declaration.
1967 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
1969 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
1970 (sysctl): Add deprecation attribute.
1971 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
1972 directly, to avoid the deprecation warning. Do not include
1974 (__sysctl): Remove hidden alias.
1976 2019-06-12 Florian Weimer <fweimer@redhat.com>
1978 Linux: Use kernel headers for statx definitions if available.
1979 * include/bits/statx-generic.h: New file.
1980 * include/bits/types/struct_statx.h: Likewise.
1981 * include/bits/types/struct_statx_timestamp.h: Likewise.
1982 * io/Makefile (headers): Add bits/statx-generic.h.
1983 * io/bits/statx-generic.h: New file. Partly copied from
1985 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
1986 define original_statx.
1987 * io/bits/types/struct_statx.h: Likewise.
1988 * io/bits/types/struct_statx_timestamp.h: Likewise.
1989 (statx_generic): Use original_statx.
1990 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
1991 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
1993 2019-06-12 Florian Weimer <fweimer@redhat.com>
1995 * misc/sys/cdefs.h (__glibc_has_include): Define.
1997 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1999 * string/memmem.c (__memmem): Rewrite to improve performance.
2001 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2003 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
2005 (two_way_long_needle): Block inlining.
2006 * string/strstr.c (strstr2): Add new function.
2007 (strstr3): Likewise.
2008 (STRSTR): Completely rewrite strstr to improve performance.
2010 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
2012 * benchtests/bench-strstr.c (test_hard_needle): New function.
2014 2019-06-10 Joseph Myers <joseph@codesourcery.com>
2016 * malloc/tst-calloc.c: Include <libc-diag.h>.
2017 (null_test): Ignore -Wunused-result around calls to calloc.
2018 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
2019 (do_test): Ignore -Wunused-result around call to malloc.
2021 2019-06-07 Florian Weimer <fweimer@redhat.com>
2023 Linux: Add getdents64 system call.
2024 * include/dirnent.h (getdents): Add comment and change buffer
2025 argument type to void *.
2026 (getdents64): Likewise. Add hidden prototype.
2027 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
2029 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
2031 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
2032 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
2033 argument type to void *.
2034 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
2035 Add hidden definition and getdents64 alias.
2036 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2038 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
2039 * manual/filesys.texi (Accessing Directories): Add Low-level
2040 Directory Access node reference.
2041 (Opening a Directory): Cross-reference it.
2042 (Low-level Directory Access): New node.
2043 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2045 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2047 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2048 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2050 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2052 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2054 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2056 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2058 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2060 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2062 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2063 (GLIBC_2.30): Likewise.
2064 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2065 (GLIBC_2.30): Likewise.
2066 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2067 (GLIBC_2.30): Likewise.
2068 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2069 (GLIBC_2.30): Likewise.
2070 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2073 (GLIBC_2.30): Likewise.
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2075 (GLIBC_2.30): Likewise.
2076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2077 (GLIBC_2.30): Likewise.
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2079 (GLIBC_2.30): Likewise.
2080 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2082 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2084 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2086 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2087 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2089 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2091 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2093 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2096 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
2098 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
2102 (_FPU_GETCW): Use __FPU_MFFS().
2103 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
2105 2019-06-06 Florian Weimer <fweimer@redhat.com>
2107 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
2108 internal GCC preprocessor identifier __has_include__.
2110 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
2112 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
2113 with call to equivalent function.
2115 2019-06-04 Florian Weimer <fweimer@redhat.com>
2117 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
2118 (do_release_shlib): Adjust for __twalk_r.
2119 (__gconv_release_shlib): Call __twalk_r.
2121 2019-06-04 Andreas Schwab <schwab@suse.de>
2124 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
2125 no irreversible characters occurred.
2126 * iconv/gconv_simple.c (internal_ucs4_loop)
2127 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
2128 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
2129 (ucs4_internal_loop_single, internal_ucs4le_loop)
2130 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
2131 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
2132 (ucs4le_internal_loop_single): Add const to outend.
2133 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
2134 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
2135 * iconv/Makefile (tests): Add tst-iconv7.
2136 * iconv/tst-iconv7.c: New file.
2138 2019-06-03 Joseph Myers <joseph@codesourcery.com>
2140 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
2142 2019-06-01 Florian Weimer <fweimer@redhat.com>
2144 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
2145 * sysdeps/unix/sysv/linux/arm/Makefile
2146 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
2147 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
2148 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
2149 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
2150 compatibility symbols.
2152 2019-05-31 Florian Weimer <fweimer@redhat.com>
2154 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
2155 system calls for the arm architecture: breakpoint, get_tls,
2156 set_tls, usr26, usr32.
2158 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2160 * sysdeps/powerpc/Makefile
2161 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
2162 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
2163 Declare '.machine power7' to get support for ldbrx.
2164 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
2165 directive based on the directory of the file.
2166 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2167 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2168 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
2169 '.machine' directive.
2170 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
2171 (VADDUQM_V7_V8): Remove.
2172 (__STRCASECMP): Replace macros with actual instructions.
2173 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
2174 '.machine' directive.
2175 (VCLZD_V8_v7): Remove.
2176 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
2178 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2180 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
2182 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
2184 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2186 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2188 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
2189 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
2190 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
2191 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
2192 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2195 2019-05-28 mansayk <6688000@gmail.com>
2198 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
2200 2019-05-28 mansayk <6688000@gmail.com>
2203 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
2204 (abmon): Likewise, but remove the trailing dots.
2206 2019-05-28 Joseph Myers <joseph@codesourcery.com>
2208 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
2210 2019-05-27 Florian Weimer <fweimer@redhat.com>
2212 * nptl/nptl-init.c: Add comment.
2214 2019-05-24 Florian Weimer <fweimer@redhat.com>
2216 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
2217 struct in_addr/struct in6_addr alignment.
2219 2019-05-23 Joseph Myers <joseph@codesourcery.com>
2221 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2222 (F_SEAL_FUTURE_WRITE): New macro.
2224 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
2226 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
2227 * elf/tst-ldconfig-bad-aux-cache.c: New file.
2228 * elf/tst-ldconfig_aux-cache.root: New directory.
2229 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
2230 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
2231 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
2233 2019-05-22 Zack Weinberg <zackw@panix.com>
2235 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
2237 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
2238 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
2240 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
2242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
2245 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
2246 Issue an #error if used with a compiler in SPE-float mode.
2247 * sysdeps/powerpc/powerpc32/__longjmp_common.S
2248 * sysdeps/powerpc/powerpc32/setjmp_common.S
2249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
2253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2255 Remove code to preserve SPE register state.
2257 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2258 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2259 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
2260 Remove __SPE__ ifndefs.
2262 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
2264 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
2265 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
2266 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
2267 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
2268 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
2269 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
2270 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
2271 (INNER_LOOP_ITERS_MEDIUM): New define.
2272 (INNER_LOOP_ITERS_SMALL): New define.
2273 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
2274 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
2275 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
2276 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
2277 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
2279 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
2281 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
2283 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
2284 (SEMTIMEDOP_IPC_ARGS): Likewise.
2286 2019-05-21 Florian Weimer <fweimer@redhat.com>
2289 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
2290 before updating __counter field and release it afterwards. Add
2292 * iconv/gconv.h (struct __gconv_step): Mention synchronization
2293 requirement for __counter member.
2295 2019-05-21 Florian Weimer <fweimer@redhat.com>
2298 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
2299 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
2300 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
2301 instead of __gconv_release_step.
2302 * libio/Makefile (tests): Add tst-wfile-gconv.
2303 (tests-container): Add tst-wfile-ascii.
2304 (tst-wfile-gconv-ENV): Enable mtrace.
2305 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
2306 (tests-special): Add tst-wfile-gconv-mem.out.
2307 (tst-wfile-gconv.out): Depend on locales.
2308 (tst-wfile-gconv-mem.out): Add mtrace rule.
2309 * libio/tst-wfile-ascii.c: New file.
2310 * libio/tst-wfile-gconv.c: Likewise.
2312 2019-05-20 Florian Weimer <fweimer@redhat.com>
2315 libio: Remove codecvt vtable.
2316 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
2318 * libio/iofgetpos.c (_IO_new_fgetpos): Call
2319 __libio_codecvt_encoding.
2320 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
2321 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2322 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
2323 * libio/iofwide.c (__libio_codecvt): Remove variable.
2324 (_IO_fwide): Do not copy __libio_codecvt.
2325 (__libio_codecvt_out): Rename from do_out and export.
2326 (do_unshift): Remove function.
2327 (__libio_codecvt_in): Rename from do_in and export.
2328 (__libio_codecvt_encoding): Rename from do_encoding and export.
2329 (do_always_noconv): Remove function.
2330 (__libio_codecvt_length): Rename from do_length and export.
2331 (do_max_length): Remove function.
2332 * libio/libio.h (enum __codecvt_result): Remove definition; moved
2334 (struct _IO_codecvt): Remove fields __codecvt_destr,
2335 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
2336 __codecvt_do_encoding, __codecvt_do_always_noconv,
2337 __codecvt_do_length, __codecvt_do_max_length.
2338 * libio/libioP.h (enum __codecvt_result): Define; moved from
2340 (__libio_codecvt_out, __libio_codecvt_in)
2341 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
2343 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
2344 (_IO_wfile_underflow): Call __libio_codecvt_in.
2345 (_IO_wfile_underflow): Likewise.
2346 (_IO_wfile_underflow_mmap): Likewise.
2347 (_IO_wfile_sync): Call __libio_codecvt_encoding,
2348 __libio_codecvt_length.
2349 (adjust_wide_data): Call __libio_codecvt_encoding,
2351 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
2352 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
2353 __libio_codecvt_length.
2355 2019-05-20 Florian Weimer <fweimer@redhat.com>
2357 * support/support.h (support_sbindir_prefix): Declare.
2358 (support_install_rootsbindir): Update comment.
2359 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
2360 * support/support_paths.c (support_sbindir_prefix): Define.
2362 2019-05-20 Mike Crowe <mac@mcrowe.com>
2364 * support/timespec.c: Add backslash to correct newline in failure
2367 * support/timespec.h: Correct confusing comment.
2369 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2371 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
2373 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
2374 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
2375 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
2376 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
2379 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
2382 2019-05-20 Joseph Myers <joseph@codesourcery.com>
2384 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
2385 (NT_ARM_PACG_KEYS): Likewise.
2387 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
2389 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
2390 (tcache_put): Remove redundant assert.
2391 (tcache_get): Remove redundant asserts.
2392 (__libc_malloc): Check tcache count is not zero.
2393 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
2395 2019-05-17 Florian Weimer <fweimer@redhat.com>
2397 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
2399 2019-05-16 Joseph Myers <joseph@codesourcery.com>
2401 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2402 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
2404 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
2406 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2407 (__ASSUME_STATX): Likewise.
2409 2019-05-16 Florian Weimer <fweimer@redhat.com>
2411 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
2413 (LINE_PARSER): Do not map IPv4 addresses.
2414 (internal_nis_gethostent_r): Remove flags argument. Adjust call
2416 (_nss_nis_gethostent_r): Always pass AF_INET to
2417 internal_nis_gethostent_r.
2418 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2420 (_nss_nis_gethostbyname2_r): Adjust call to
2421 internal_nis_gethostent_r.
2422 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
2423 call to internal_nis_gethostent_r.
2424 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
2426 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
2427 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
2428 Remove flags argument. Do not map IPv4 addresses.
2429 (internal_nisplus_gethostent_r): Adjust call to
2430 _nss_nisplus_parse_hostent.
2431 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2432 to _nss_nisplus_parse_hostent.
2433 (_nss_nisplus_gethostbyname2_r): Adjust call to
2434 internal_gethostbyname2_r.
2435 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
2436 Adjust call to internal_gethostbyname2_r.
2437 (_nss_nisplus_gethostbyaddr_r): Adjust call to
2438 _nss_nisplus_parse_hostent.
2439 (_nss_nisplus_gethostbyname4_r): Adjust call to
2440 internal_gethostbyname2_r.
2442 2019-05-16 Florian Weimer <fweimer@redhat.com>
2444 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
2446 (LINE_PARSER): Remove address mapping.
2447 (EXTRA_ARGS_VALUE): Remove flags argument.
2448 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
2449 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
2450 gethostbyname3_multi.
2451 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
2452 _nss_files_gethostbyname3_r.
2453 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
2455 2019-05-16 Florian Weimer <fweimer@redhat.com>
2457 * support/support_test_compare_blob.c (report_blob): Report
2458 incorrect NULL blobs.
2460 2019-05-15 Mark Wielaard <mark@klomp.org>
2463 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
2464 __libc_once_get (once) and static_buf == NULL.
2465 (__dlerror): Check we have a valid key, set result to static_buf
2468 2019-05-15 Andreas Schwab <schwab@suse.de>
2471 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
2472 __codecvt_do_length.
2473 * libio/Makefile (tests): Add tst-wfile-sync.
2474 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
2475 * libio/tst-wfile-sync.c: New file.
2476 * libio/tst-wfile-sync.input: New file.
2478 2019-05-15 Florian Weimer <fweimer@redhat.com>
2480 nss: Turn __nss_database_lookup into a compatibility symbol.
2481 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
2482 __nss_database_lookup.
2483 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
2484 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
2485 __nss_database_lookup.
2486 (__nss_next): Move to …
2487 * nss/compat-lookup.c (nss_next): … here. Change it to fail
2489 (__nss_database_lookup): New function.
2490 * nss/Versions (GLIBC_2.0): Update comment.
2491 (GLIBC_PRIVATE): Export __nss_database_lookup2.
2492 * grp/initgroups.c (internal_getgrouplist): Call
2493 __nss_database_lookup2 instead of __nss_database_lookup.
2494 * nscd/aicache.c (addhstaiX): Likewise.
2495 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2496 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2497 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
2498 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
2499 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
2501 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
2502 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
2503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2505 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
2507 * support/support.h (support_install_rootsbindir): New variable.
2508 * support/support_paths.c: Likewise.
2509 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
2511 2019-05-15 Florian Weimer <fweimer@redhat.com>
2513 * iconv/gconv.h (__gconv_transliterate): Move declaration …
2514 * iconv/gconv_int.h (__gconv_transliterate): … here.
2515 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
2516 * iconv/skeleton.c: Likewise.
2518 2019-05-14 Florian Weimer <fweimer@redhat.com>
2520 Linux: Add the tgkill function.
2521 * bits/signal_ext.h: New file.
2522 * manual/signal.texi (Signaling Another Process): Document tgkill.
2523 * signal/Makefile (headers): Add bits/signal_ext.h.
2524 * signal/signal.h: Include <bits/signal_ext.h>.
2525 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
2526 (tst-tgkill): Link with libpthread.
2527 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
2528 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
2529 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
2530 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2532 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2533 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2534 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2535 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2536 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2537 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2538 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2539 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2540 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2541 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2542 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2544 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2545 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2546 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
2555 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2556 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2557 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2558 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2559 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2560 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2561 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2562 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2564 2019-05-14 Carlos O'Donell <carlos@redhat.com>
2566 * manual/search.texi (Tree Search Function): Adjust twalk_r
2569 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2572 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
2575 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
2576 * support/support.h (support_bindir_prefix): New variable.
2577 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
2579 * config.make.in (bindir): New variable.
2581 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
2582 (lll_trylock): Call __lll_trylock.
2583 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
2584 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
2585 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2586 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2587 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
2588 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
2589 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2590 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2591 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
2592 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
2593 lowlevellock-futex.h.
2595 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2596 initialization for LLL_LOCK_INITIALIZER different than 0.
2597 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
2598 Assume LLL_LOCK_INITIALIZER being 0.
2599 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
2600 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
2602 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
2603 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
2605 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
2606 Optimize futex call and add systemtap probe.
2608 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
2609 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
2610 __libc_disable_asynccancel, __librt_enable_asynccancel,
2611 __libc_disable_asynccancel, __librt_enable_asynccancel,
2612 __librt_disable_asynccancel): Move to ...
2613 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
2614 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
2615 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
2616 * sysdeps/generic/single-thread.h: New file.
2617 * sysdeps/unix/sysdep.h: Include single-thread.h.
2618 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
2619 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2621 2019-05-08 Mike FABIAN <mfabian@redhat.com>
2624 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
2625 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2627 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2628 * localedata/unicode-gen/PropList.txt: Likewise.
2629 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2630 * localedata/charmaps/UTF-8: Regenerate.
2631 * localedata/locales/i18n_ctype: Likewise.
2632 * localedata/locales/tr_TR: Likewise.
2633 * localedata/locales/translit_circle: Likewise.
2634 * localedata/locales/translit_cjk_compat: Likewise.
2635 * localedata/locales/translit_combining: Likewise.
2636 * localedata/locales/translit_compat: Likewise.
2637 * localedata/locales/translit_font: Likewise.
2638 * localedata/locales/translit_fraction: Likewise.
2640 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
2643 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
2644 (do_set_tcache_count): Only update if count is small enough.
2645 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
2647 2019-05-10 Florian Weimer <fweimer@redhat.com>
2649 * nptl/sem_close.c (struct walk_closure): Define.
2650 (walker): Adjust for __twalk_r.
2651 (sem_close): Call __twalk_r.
2653 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2655 * support/timespec.c (test_timespec_before_impl,
2656 test_timespec_equal_or_after_impl): print timespec member as intmax_t
2659 2019-05-09 Mike Crowe <mac@mcrowe.com>
2661 * nptl/tst-abstime.c: Use libsupport.
2663 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
2664 small bug where only tv.tv_usec was checked which could cause an
2665 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
2668 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
2671 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
2672 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
2674 * nptl/tst-cond11.c: Use libsupport.
2676 * support/timespec.h: New file. Provide timespec helper functions
2677 along with macros in the style of those in check.h.
2678 * support/timespec.c: New file. Implement check functions declared
2679 in support/timespec.h.
2680 * support/timespec-add.c: New file from gnulib containing
2681 timespec_add implementation that handles overflow.
2682 * support/timespec-sub.c: New file from gnulib containing
2683 timespec_sub implementation that handles overflow.
2684 * support/README: Mention timespec.h.
2686 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2689 * nptl/Makefile: Move tst-eintr1 to xtests.
2691 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2693 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
2695 (round_mode): Add definition for TRUNC.
2696 * sysdeps/powerpc/fpu/s_trunc.c: New file.
2697 * sysdeps/powerpc/fpu/s_truncf.c: New file.
2698 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
2699 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2700 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
2702 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
2704 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
2706 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2708 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
2710 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
2712 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
2714 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
2716 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
2717 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
2718 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2719 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
2720 s_truncf-power5+, and s_truncf-ppc64.
2721 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
2722 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
2724 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
2725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
2726 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
2727 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
2729 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
2731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
2732 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
2733 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2734 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
2735 s_truncf-power5+, and s_truncf-ppc64.
2736 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
2738 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
2739 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
2741 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
2742 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2743 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2744 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2745 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2747 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2749 (round_mode): Add definition for ROUND.
2750 (round_to_integer_float): Likewise.
2751 * sysdeps/powerpc/fpu/s_round.c: New file.
2752 * sysdeps/powerpc/fpu/s_roundf.c: New file.
2753 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
2754 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2755 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
2757 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
2759 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
2761 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2763 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
2765 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
2767 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
2769 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
2771 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
2772 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
2773 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
2774 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
2775 s_roundf-power5+, and s_roundf-ppc64.
2776 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
2777 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
2779 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
2780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
2781 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
2782 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
2784 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
2786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
2787 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
2788 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2789 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
2790 s_roundf-power5+, and s_roundf-ppc64.
2791 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
2793 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
2794 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
2796 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
2797 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2798 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2799 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2800 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2802 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
2804 (round_mode): Add definition for FLOOR.
2805 * sysdeps/powerpc/fpu/s_floor.c: New file.
2806 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
2807 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
2808 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
2813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
2819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
2821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
2823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
2825 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
2826 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
2827 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2828 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
2829 s_floorf-power5+, and s_floorf-ppc64.
2830 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
2831 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
2833 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
2834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
2835 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
2836 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
2838 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
2840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
2841 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
2842 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2843 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
2844 s_floorf-power5+, and s_floorf-ppc64.
2845 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
2847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
2849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
2851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
2853 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2854 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2855 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2856 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2858 2019-05-08 Mike Crowe <mac@mcrowe.com>
2860 * support/xclock_gettime.c (xclock_gettime): New file. Provide
2861 clock_gettime wrapper for use in tests that fails the test rather
2862 than returning failure.
2864 * support/xtime.h: New file to declare xclock_gettime.
2866 * support/Makefile: Add xclock_gettime.c.
2868 * support/README: Mention xtime.h.
2870 2019-05-08 Florian Weimer <fweimer@redhat.com>
2872 malloc/tst-mallocfork2: Use process-shared barriers.
2873 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
2874 (signal_count, sigusr1_sender_pid): Remove.
2875 (iterations): Define constant.
2876 (shared): New variable.
2877 (sigusr1_received): Update comment.
2878 (sigusr1_handler): Do not send SIGSTOP to the sender process.
2879 (signal_sender): Optional use barriers to avoid sending signals
2880 during irrelevant times.
2881 (do_it): Initialize variable shared. Use xfork for error
2882 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
2883 the iteration count, independent of signal delivery. Check for
2884 deadlocks in fork. Introduce barriers for reducing signal
2885 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
2886 replaced by the barriers. Count signals during fork/free/malloc
2888 * malloc/Makefile (tst-mallocfork): Link with libpthread.
2890 2019-05-07 Joseph Myers <joseph@codesourcery.com>
2892 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2894 (clock_adjtime64) New syscall.
2895 (clock_getres_time64) Likewise.
2896 (clock_gettime64) Likewise.
2897 (clock_nanosleep_time64) Likewise.
2898 (clock_settime64) Likewise.
2899 (futex_time64) Likewise.
2900 (io_pgetevents_time64) Likewise.
2901 (io_uring_enter) Likewise.
2902 (io_uring_register) Likewise.
2903 (io_uring_setup) Likewise.
2904 (mq_timedreceive_time64) Likewise.
2905 (mq_timedsend_time64) Likewise.
2906 (pidfd_send_signal) Likewise.
2907 (ppoll_time64) Likewise.
2908 (pselect6_time64) Likewise.
2909 (recvmmsg_time64) Likewise.
2910 (rt_sigtimedwait_time64) Likewise.
2911 (sched_rr_get_interval_time64) Likewise.
2912 (semtimedop_time64) Likewise.
2913 (timer_gettime64) Likewise.
2914 (timer_settime64) Likewise.
2915 (timerfd_gettime64) Likewise.
2916 (timerfd_settime64) Likewise.
2917 (utimensat_time64) Likewise.
2919 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
2920 version to 9 branch.
2922 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2924 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
2925 __memmove_thunderx2 to the list of implementations
2926 * sysdeps/aarch64/multiarch/memmove.c: Likewise
2927 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
2928 (__memmove_thunderx2): Rewritten using SIMD ld/st
2929 (__memcpy_thunderx2): Fixed handling overlapping cases.
2930 Used ldp/stp instead of ldr/str if possible. Made loops
2933 2019-05-03 Florian Weimer <fweimer@redhat.com>
2935 * misc/tst-tsearch.c (walk_tree): Add more error checking.
2937 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2940 * elf/tst-pldd.c (in_str_list): New function.
2941 (do_test): Add default names for ld and libc as one option.
2943 2019-05-02 Florian Weimer <fweimer@redhat.com>
2945 misc: Add twalk_r function.
2946 * include/search.h (__twalk_r): Declare.
2947 * manual/examples/twalk.c: New file.
2948 * manual/search.texi (Tree Search Function): Document twalk_r.
2949 * misc/Versions (2.30): Export twalk_r.
2950 (GLIBC_PRIVATE): Export __twalk_r.
2951 * misc/search.h [__USE_GNU] (twalk_r): Declare.
2952 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
2953 (twalk_r): Add weak alias.
2954 * misc/tst-tsearch.c (struct walk_trace_element): Define.
2955 (walk_trace): New variable.
2956 (struct twalk_with_twalk_r_closure): Define.
2957 (twalk_with_twalk_r_action): New function.
2958 (twalk_with_twalk_r): Likewise.
2959 (walk_action): Call walk_trace_add.
2960 (walk_tree_with): Rename from walk_tree. Add walk argument.
2961 (walk_tree): New function.
2962 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
2963 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2965 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2967 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2968 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
2969 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
2970 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
2971 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
2972 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2974 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2976 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2978 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2979 (GLIBC_2.30): Likewise.
2980 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2981 (GLIBC_2.30): Likewise.
2982 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2983 (GLIBC_2.30): Likewise.
2984 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2985 (GLIBC_2.30): Likewise.
2986 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2989 (GLIBC_2.30): Likewise.
2990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2991 (GLIBC_2.30): Likewise.
2992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2993 (GLIBC_2.30): Likewise.
2994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2995 (GLIBC_2.30): Likewise.
2996 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2998 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3000 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3002 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3003 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3005 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3007 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3009 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3012 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
3014 Make mktime etc. compatible with __time64_t
3015 Keep these functions compatible with Gnulib while adding
3016 __time64_t support. The basic idea is to move private API
3017 declarations from include/time.h to time/mktime-internal.h, since
3018 the former file cannot easily be shared with Gnulib whereas the
3020 Also, do some other minor cleanup while in the neighborhood.
3021 * include/time.h: Include stdbool.h, time/mktime-internal.h.
3022 (__mktime_internal): Move this prototype to time/mktime-internal.h,
3023 since Gnulib needs it.
3024 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
3025 Move these macros to time/mktime-internal.h, since Gnulib needs them.
3026 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
3027 (in_time_t_range): New static function.
3028 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
3029 so that glibc users are not tempted to use __time64_t.
3030 * time/mktime-internal.h: Rewrite so that it does both glibc
3031 and Gnulib work. Include time.h if not _LIBC.
3032 (mktime_offset_t) [!_LIBC]: Define for gnulib.
3033 (__time64_t): New type or macro, moved here from
3035 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
3036 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
3037 from include/time.h.
3038 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
3039 New macros, taken from GNulib.
3040 (__mktime_internal): New prototype, moved here from include/time.h.
3041 * time/mktime.c (mktime_min, mktime_max, convert_time)
3042 (ranged_convert, __mktime_internal, __mktime64):
3043 * time/timegm.c (__timegm64):
3044 Use __time64_t, not time_t.
3045 * time/mktime.c: Stop worrying about whether time_t is floating-point.
3046 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
3048 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
3049 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
3050 for libc_hidden_def.
3052 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
3054 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
3056 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
3059 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
3060 from `-Wmaybe-uninitialized'.
3061 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
3063 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3065 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
3067 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
3068 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
3069 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
3070 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
3071 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3073 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
3074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
3078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
3082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
3084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
3086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
3088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
3090 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
3091 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
3092 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
3093 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
3095 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
3097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
3098 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
3099 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
3101 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
3103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
3104 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
3106 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3107 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
3108 s_ceilf-power5+, and s_ceilf-ppc64.
3109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
3111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
3112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
3113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
3114 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
3115 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
3116 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
3117 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
3119 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
3120 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
3121 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
3123 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
3125 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
3126 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
3127 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
3128 (sem_getvalue): Likewise.
3130 2019-04-26 Florian Weimer <fweimer@redhat.com>
3132 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
3133 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
3135 2019-04-26 Florian Weimer <fweimer@redhat.com>
3137 Makeconfig: Move -Wl,-rpath-link options before library references.
3138 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
3139 (link-libc): Remove $(link-libc-rpath-link).
3141 2019-04-25 Florian Weimer <fweimer@redhat.com>
3143 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3144 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3145 (+link-static-before-libc): Remove $(CC).
3146 (+link-static, +link-static-tests): Add $(CC).
3147 (+link-before-libc): Remove $(CC).
3148 (+link, +link-pie, +link-pie-printers): Add $(CC).
3150 2019-04-26 Florian Weimer <fweimer@redhat.com>
3152 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3153 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3154 (+link-static-before-libc): Remove $(CC).
3155 (+link-static, +link-static-tests): Add $(CC).
3156 (+link-before-libc): Remove $(CC).
3157 (+link, +link-pie, +link-pie-printers): Add $(CC).
3159 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
3162 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
3164 2019-04-25 Florian Weimer <fweimer@redhat.com>
3166 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
3167 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
3168 (bench-link-targets): New variable.
3169 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
3171 2019-04-25 Florian Weimer <fweimer@redhat.com>
3173 Also enable BIND_NOW for programs if --enable-bind-now.
3174 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
3175 (+link-pie): Use $(link-extra-flags).
3176 (+link-static): Likewise.
3177 [! $(build-pie-default)] (+link): Likewise.
3178 * manual/install.texi (Configuring and compiling): Update
3179 --enable-bind-now description.
3180 * INSTALL: Regenerated.
3182 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
3184 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
3185 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
3187 2019-04-24 Mike Frysinger <vapier@gentoo.org>
3190 * malloc/Makefile (others): Add memusagestat.
3191 ($(objpfx)memusagestat): Delete rule.
3192 (LDLIBS-memusagestat): New variable.
3194 2019-04-24 Florian Weimer <fweimer@redhat.com>
3196 * locale/Makefile (tests-special): Guard setting by
3197 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
3198 to run while cross-compiling.
3200 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3203 * elf/Makefile (tests-container): Add tst-pldd.
3204 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
3205 (E(find_maps)): Avoid use alloca, use default read file operations
3206 instead of explicit LFS names, and fix infinite loop.
3207 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
3208 (get_process_info): Use _Static_assert instead of assert, use default
3209 directory operations instead of explicit LFS names, and free some
3211 * elf/tst-pldd.c: New file.
3213 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
3215 * malloc/arena.c (do_set_mallopt_check): Removed.
3217 2019-04-23 Florian Weimer <fweimer@redhat.com>
3219 locale: Add LOCPATH diagnostics to the locale program.
3220 * locale/programs/locale.c (setlocale_failed): New variable.
3221 (try_setlocale): New function.
3222 (quote_string): Likewise.
3223 (setlocale_diagnostics): Likewise.
3224 (main): Call try_setlocale instead of setlocale. Call
3225 setlocale_diagnostics.
3226 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
3227 (tst-locale-locpath.out): New target.
3228 * locale/tst-locale-locpath.sh: New file.
3230 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3232 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
3235 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3238 * malloc/hooks.c (malloc_check, realloc_check): Use
3239 __builtin_add_overflow on overflow check and adapt to
3240 checked_request2size change.
3241 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
3242 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
3243 allocation size to PTRDIFF_MAX.
3244 (REQUEST_OUT_OF_RANGE): Remove macro.
3245 (checked_request2size): Change to inline function and limit maximum
3246 requested size to PTRDIFF_MAX.
3247 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
3248 maximum allocation size to PTRDIFF_MAX.
3249 (_mid_memalign): Use _int_memalign call for overflow check.
3250 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
3251 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
3252 limit maximum requested size to PTRDIFF_MAX.
3253 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
3254 valloc, pvalloc): Add __attribute_alloc_size__.
3255 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
3256 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
3257 larger than PTRDIFF_MAX.
3258 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
3259 around tests of malloc with negative sizes.
3260 * malloc/tst-posix_memalign.c (do_test): Likewise.
3261 * malloc/tst-pvalloc.c (do_test): Likewise.
3262 * malloc/tst-valloc.c (do_test): Likewise.
3263 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
3264 with resulting size allocation larger than PTRDIFF_MAX with
3265 reallocarray_nowarn.
3266 (reallocarray_nowarn): New function.
3267 * NEWS: Mention the malloc function semantic change.
3269 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3271 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
3272 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
3274 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
3275 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
3276 * sysdeps/powerpc/fpu/s_fma.c: New file.
3277 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
3279 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
3280 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
3282 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
3283 the magic flag store.
3284 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3286 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
3288 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
3289 Remove rt_sigreturn call.
3291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3292 Remove rt_sigreturn call.
3293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3298 * support/Makefile (libsupport-routines): Add support_subprocess,
3299 xposix_spawn, xposix_spawn_file_actions_addclose, and
3300 xposix_spawn_file_actions_adddup2.
3301 (tst-support_capture_subprocess-ARGS): New rule.
3302 * support/capture_subprocess.h (support_capture_subprogram): New
3304 * support/support_capture_subprocess.c (support_capture_subprocess):
3305 Refactor to use support_subprocess and support_capture_poll.
3306 (support_capture_subprogram): New function.
3307 * support/tst-support_capture_subprocess.c (write_mode_to_str,
3308 str_to_write_mode, test_common, parse_int, handle_restart,
3309 do_subprocess, do_subprogram, do_multiple_tests): New functions.
3310 (do_test): Add support_capture_subprogram tests.
3311 * support/subprocess.h: New file.
3312 * support/support_subprocess.c: Likewise.
3313 * support/xposix_spawn.c: Likewise.
3314 * support/xposix_spawn_file_actions_addclose.c: Likewise.
3315 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
3316 * support/xspawn.h: Likewise.
3318 2019-04-17 Mike Gerow <gerow@google.com>
3320 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
3323 2019-04-11 Florian Weimer <fweimer@redhat.com>
3325 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
3326 domain with empty string.
3327 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3329 2019-04-11 Florian Weimer <fweimer@redhat.com>
3331 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
3333 (alloc_buffer_next): Change return type to non-const. Update
3336 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
3338 * manual/time.texi (Formatting Calendar Time): Add missing percent
3339 sign to conversion specifier.
3341 2019-04-09 Carlos O'Donell <carlos@redhat.com>
3342 Kwok Cheung Yeung <kcy@codesourcery.com>
3345 * malloc/mtrace.c: Define prototypes for all hooks.
3346 (set_default_hooks): New function.
3347 (set_trace_hooks): Likewise.
3348 (save_default_hooks): Likewise.
3349 (tr_freehook): Use new s*_hooks functions.
3350 (tr_mallochook): Likewise.
3351 (tr_reallochook): Likewise.
3352 (tr_memalignhook): Likewise.
3354 (muntrace): Likewise.
3356 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3358 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
3359 (generic_stpcpy): New function.
3360 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
3361 (generic_stpncpy): New function.
3362 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
3363 (generic_strcat): New function.
3364 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
3365 (generic_strcpy): New function.
3366 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
3367 (STUPID_STRNCAT): Remove function.
3368 (generic_strncat): New function.
3369 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
3370 (STUPID_STRNCPY): Remove function.
3371 (generic_strncpy): New function.
3372 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
3373 (generic_strnlen): New function.
3374 (memchr_strnlen): New function.
3375 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
3376 (memchr_strlen): Likewise.
3378 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3380 * benchtests/bench-strstr.c (input): Add realistic input text.
3381 (stupid_strstr): Remove function.
3382 (basic_strstr): Add function.
3383 (twoway_strstr): Add function.
3384 (do_one_test): Add result checking.
3385 (do_test): Use new input text. Remove accidental early matches.
3386 (test_main): Improve range of tests, reduce unaligned cases.
3388 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3390 * benchtests/bench-memmem.c (simple_memmem): Remove function.
3391 (basic_memmem): Add function.
3392 (twoway_memmem): Add function.
3394 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3396 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
3397 * benchtests/bench-malloc-thread.c: Likewise.
3398 * benchtests/bench-skeleton.c: Likewise.
3399 * benchtests/bench-strtod.c: Likewise.
3400 * benchtests/bench-timing.h: Likewise.
3402 2019-04-08 Florian Weimer <fweimer@redhat.com>
3404 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
3406 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
3407 RES_INSECURE2 security checks.
3408 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
3409 RES_INSECURE2 handling.
3411 2019-04-08 Florian Weimer <fweimer@redhat.com>
3413 resolv: Remove support for RES_USE_INET6 and the inet6 option.
3414 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
3415 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
3417 * resolv/Makefile (tests): Remove tst-res_use_inet6.
3418 (tests-internal): Update justification for tst-resolv-res_init,
3419 tst-resolv-res_init-thread.
3420 (tst-res_use_inet6): Remove target.
3421 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
3422 * resolv/res_debug.c (p_option): Remove "inet6" support.
3423 * resolv/res_init.c (res_setoptions): Likewise.
3424 * resolv/res_use_inet6.h: Remove file.
3425 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
3427 (res_use_inet6): Always return false.
3428 * resolv/resolv.h (RES_USE_INET6): Remove definition.
3429 * resolv/resolv_context.h: Adjust file comment.
3430 (struct resolv_context): Update comment on __next field.
3431 (__resolv_context_put): Update comment.
3432 * resolv/tst-res_use_inet6.c: Remove file.
3433 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
3435 (test_cases): Adjust test case.
3436 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
3437 (thread_byname2_af_inet6): Use old byname_inet6 code.
3438 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
3439 (gai): Remove do_inet6 argument.
3440 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
3441 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
3442 (thread_gai_unspec_inet6): Remove functions.
3443 (do_test): Adjust thread_funcs.
3444 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
3446 (gaih_inet): Do not disable RES_USE_INET6 flag.
3448 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3450 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
3451 and remove redundant code.
3453 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3455 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
3457 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
3458 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
3460 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
3462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
3464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3465 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
3466 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
3467 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
3468 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3469 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
3470 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3471 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
3473 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
3474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3476 Remove wcsrchr optimizations.
3477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3479 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
3482 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
3484 * sysdeps/powerpc/power6/wcschr.c: Remove file.
3485 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
3487 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
3489 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
3491 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3492 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
3493 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
3494 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
3495 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3496 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
3497 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3498 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
3500 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
3501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3503 Remove wcschr optimizations.
3504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3506 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
3509 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
3511 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
3512 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
3514 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
3516 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
3518 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3519 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
3520 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
3521 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
3522 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3523 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
3524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3525 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
3527 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
3528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3529 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3530 Remove wcscpy optimizations.
3531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3533 * include/loop_unroll.h: New file.
3534 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
3535 besides generic implementation.
3537 2019-04-03 DJ Delorie <dj@redhat.com>
3539 * time/tst-strftime3.c (tm_to_printed): Disable warning about
3540 snprintf truncating output.
3542 2019-04-02 DJ Delorie <dj@redhat.com>
3544 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
3547 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3550 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
3552 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
3553 (mkreftable): Add rules for the new Japanese era and the new dates.
3555 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3556 Rafal Luzynski <digitalfreak@lingonborough.com>
3558 * time/tst-strftime2.c (date_t): Explicitly define the type.
3559 (dates): Use natural month and year numbers to express a date.
3560 (is_before): New function to compare dates.
3561 (mkreftable): Minor improvements to simplify maintenance.
3562 (do_test): Reflect the changes in dates array.
3565 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
3566 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
3567 * time/tst-strftime2.c (locales): Likewise.
3568 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
3569 2010-04-01, and 2011-04-01.
3570 (mkreftable): Add rules for the new locales and the new dates.
3572 2019-04-01 Carlos O'Donell <carlos@redhat.com>
3574 * localedata/locales/ja_JP: Add comments to era entries.
3576 2019-04-01 DJ Delorie <dj@redhat.com>
3579 * time/strptime_l.c (%Ey): Fix fencepost error.
3580 * time/tst-strftime3.c: New.
3581 * time/Makefile (tests): Add tst-strftime3.
3583 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
3585 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
3586 conditional branch to DIVBYZERO. Fix unwind info.
3587 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
3588 excb after conditional branch to $powerof2. Add missing unop
3589 instructions and .align directives and reorder instructions to
3592 2019-04-01 Richard Henderson <rth@twiddle.net>
3594 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3596 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
3599 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
3601 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
3602 $libc_cv_riscv_float_abi in `test' invocation.
3603 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
3605 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
3607 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
3609 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
3611 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3612 (_GET_SI_FPSCR): Likewise.
3613 (_SET_SI_FPSCR): Likewise.
3615 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3617 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
3619 (signbit): Use builtin for clang 3.3.
3620 (isinf): Use builtin for clang 3.7.
3622 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3624 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
3626 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
3628 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
3631 2019-03-25 Mike Crowe <mac@mcrowe.com>
3633 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
3634 pthread_rwlock_timedrdlock with calls to
3635 pthread_rwlock_timedwrlock to ensure that the latter is tested
3636 too. Use new function name in diagnostic messages too.
3638 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
3639 (do_test) Use libsupport test macros rather than hand-coded
3640 conditionals and error messages. Ensure that sem_init returns zero
3641 rather than not -1. Use <support/test-driver.c> rather than
3644 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
3645 test macros rather than hand-coded conditionals and error messages.
3646 Use <support/test-driver.c> rather than test-skeleton.c.
3648 2019-03-25 Joseph Myers <joseph@codesourcery.com>
3650 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
3652 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
3653 (NT_MIPS_MSA): Likewise.
3655 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3657 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
3658 * benchtests/README: Update description.
3659 * benchtests/bench-timing.h: Default to hp-timing.
3660 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
3661 HP_TIMING_PRINT): Remove.
3662 (HP_TIMING_NOW): Add generic implementation.
3663 (hp_timing_t): Change to uint64_t.
3665 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
3667 * nptl/descr.h: Likewise.
3668 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
3669 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
3670 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
3671 Abstract hp-timing usage with RTLD_* macros.
3672 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
3673 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
3674 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
3675 HP_TIMING_NONAVAIL): Likewise.
3676 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3678 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
3679 HP_SMALL_TIMING_AVAIL): Likewise.
3680 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
3681 HP_SMALL_TIMING_AVAIL): Likewise.
3682 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
3683 HP_SMALL_TIMING_AVAIL): Likewise.
3684 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
3685 HP_SMALL_TIMING_AVAIL): Likewise.
3686 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
3688 * sysdeps/generic/hp-timing-common.h: Update comment with
3689 HP_TIMING_AVAIL removal.
3691 * include/random-bits.h: New file.
3692 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
3693 (__res_context_mkquery): Remove usage hp-timing usage and replace with
3695 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
3696 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
3699 * include/libc-internal.h (__get_clockfreq): Remove prototype.
3700 * rt/Makefile (clock-routines): Remove get_clockfreq.
3701 * rt/get_clockfreq.c: Remove file.
3702 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3703 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
3704 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
3705 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
3706 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
3708 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
3709 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
3710 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
3711 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
3712 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
3714 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
3715 pthread_clock_settime.
3716 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
3717 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
3718 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
3719 * elf/rtld.c (_dl_start_final): Likewise.
3720 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
3721 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
3723 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
3724 (_dl_cpuclock_offset): Remove.
3725 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
3726 cpuclock_offset_ununsed.
3727 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3728 cpuclock_offset set.
3729 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3730 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3731 * nptl/pthread_clock_gettime.c: Remove file.
3732 * nptl/pthread_clock_settime.c: Likewise.
3733 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
3734 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
3735 and CLOCK_PROCESS_CPUTIME_ID support.
3736 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
3737 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
3738 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
3739 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
3740 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
3742 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
3744 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3746 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
3747 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
3748 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
3750 * sysdeps/s390/memmem-arch13.S: New file.
3751 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
3752 if it is only used as fallback.
3753 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
3754 * sysdeps/s390/multiarch/ifunc-impl-list.c
3755 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
3757 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3759 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
3760 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
3761 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
3763 * sysdeps/s390/multiarch/ifunc-impl-list.c
3764 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
3765 * sysdeps/s390/strstr-arch13.S: New file.
3766 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
3767 if it is only used as fallback.
3768 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
3770 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3772 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
3773 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
3774 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
3775 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
3777 * sysdeps/s390/multiarch/ifunc-impl-list.c
3778 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
3779 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
3780 S390_IS_ARCH13_MIE3): New defines.
3782 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3784 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
3785 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
3786 * sysdeps/s390/configure.ac: Add checks for arch13 support.
3787 * sysdeps/s390/configure: Regenerated.
3789 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
3791 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
3792 Add vxe2, vxp, dflt, sort flags.
3793 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
3794 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
3796 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
3797 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
3798 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
3799 HWCAP_S390_DFLT): Define.
3801 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3804 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
3805 of compiler warning.
3806 * locale/programs/ld-collate.c (collate_output): Likewise.
3808 2019-03-21 DJ Delorie <dj@redhat.com>
3811 * iconv/iconvconfig.c (write_output): Replace floating point math
3812 with integer math to avoid imprecise results.
3813 * locale/programs/ld-collate.c (collate_output): Likewise.
3815 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
3817 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
3818 Add HWCAP_S390_VX and HWCAP_S390_VXE.
3820 2019-03-20 mansayk <6688000@gmail.com>
3823 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
3824 (abday): Likewise, but remove the trailing dots.
3826 2019-03-19 Joseph Myers <joseph@codesourcery.com>
3828 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
3830 (HWCAP_PACA): Likewise.
3831 (HWCAP_PACG): Likewise.
3832 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3834 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
3836 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3838 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
3841 2019-03-15 Joseph Myers <joseph@codesourcery.com>
3843 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3845 (old_getpagesize): New syscall.
3847 2019-03-15 Felix Yan <felixonmars@archlinux.org>
3850 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
3851 * localedata/locales/cmn_TW (era): Likewise.
3852 * localedata/locales/hak_TW (era): Likewise.
3853 * localedata/locales/lzh_TW (era): Likewise.
3854 * localedata/locales/nan_TW (era): Likewise.
3856 2019-03-14 Adam Maris <amaris@redhat.com>
3858 * malloc/malloc.c (_int_malloc): Check for large bin list
3859 corruption when inserting unsorted chunk.
3861 2019-03-14 Florian Weimer <fweimer@redhat.com>
3863 Remove obsolete, never-implemented XSI STREAMS declarations.
3864 * manual/terminal.texi (Allocation): Remove portability note and
3866 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
3868 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
3869 * sysdeps/unix/inet/Subdirs (streams): Remove.
3870 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
3871 (conformtest-headers-UNIX98): Likewise.
3872 (conformtest-headers-XOPEN2K): Likewise.
3873 (conformtest-headers-POSIX2008): Likewise.
3874 * posix/compat-streams.c: New file.
3875 * posix/Makefile (routines): Add it.
3876 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
3877 getpmsg, isastream, putmsg, putpmsg.
3878 (GLIBC_2.30): New section.
3879 * bits/stropts.h: Remove file.
3880 * bits/xtitypes.h: Likewise.
3881 * conform/data/stropts.h-data: Likewise.
3882 * include/stropts.h: Likewise.
3883 * include/sys/stropts.h: Likewise.
3884 * include/xtitypes.h: Likewise.
3885 * streams/Makefile: Likewise.
3886 * streams/fattach.c: Likewise.
3887 * streams/fdetach.c: Likewise.
3888 * streams/getmsg.c: Likewise.
3889 * streams/getpmsg.c: Likewise.
3890 * streams/isastream.c: Likewise.
3891 * streams/putmsg.c: Likewise.
3892 * streams/putpmsg.c: Likewise.
3893 * streams/stropts.h: Likewise.
3894 * streams/sys/stropts.h: Likewise.
3895 * sysdeps/ia64/bits/xtitypes.h: Likewise.
3896 * sysdeps/s390/bits/xtitypes.h: Likewise.
3897 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
3898 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
3899 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
3900 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
3901 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
3902 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
3903 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
3904 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
3905 * sysdeps/x86/bits/xtitypes.h: Likewise.
3907 2019-03-14 Florian Weimer <fweimer@redhat.com>
3909 * nss/tst-nss-files-alias-truncated.c (do_test): Load
3911 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
3912 but not with libnss_files.
3913 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
3915 2019-03-14 Zack Weinberg <zackw@panix.com>
3917 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
3918 Specify encoding="utf-8" when opening headers to check.
3920 2019-03-13 Joseph Myers <joseph@codesourcery.com>
3922 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3924 (Context.checkout_tar): Handle variable major version for Linux
3927 2019-03-13 Florian Weimer <fweimer@redhat.com>
3930 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
3932 2019-03-13 Zack Weinberg <zackw@panix.com>
3934 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
3936 * include/inttypes.h: Adjust to match.
3937 * include/stdint.h: New wrapper.
3939 2019-03-13 Zack Weinberg <zackw@panix.com>
3941 * scripts/check-obsolete-constructs.py: New test script.
3942 * scripts/check-installed-headers.sh: Remove tests for
3943 obsolete typedefs, superseded by check-obsolete-constructs.py.
3944 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
3945 as a special test. Update commentary.
3946 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
3947 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
3949 * posix/sys/types.h (__u_intN_t): Remove.
3950 (u_int8_t): Typedef using __uint8_t.
3951 (u_int16_t): Typedef using __uint16_t.
3952 (u_int32_t): Typedef using __uint32_t.
3953 (u_int64_t): Typedef using __uint64_t.
3955 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
3957 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
3959 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
3960 Ignore types other than AT_HWCAP.
3961 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
3962 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
3964 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
3965 in the case of falling back to generic output mechanism.
3966 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
3969 2019-03-12 Florian Weimer <fweimer@redhat.com>
3971 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
3973 2019-03-12 Florian Weimer <fweimer@redhat.com>
3976 resolv: Enable full ICMP errors for UDP DNS sockets
3977 * resolv/res_enable_icmp.c: New file.
3978 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
3979 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
3980 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
3983 2019-03-11 Mao Han <han_mao@c-sky.com>
3985 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
3986 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
3988 2019-03-11 Mao Han <han_mao@c-sky.com>
3990 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
3991 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3992 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3994 2019-03-11 Mao Han <han_mao@c-sky.com>
3996 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
3998 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
4001 2019-03-11 Mao Han <han_mao@c-sky.com>
4003 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
4004 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
4007 2019-03-08 Mike FABIAN <mfabian@redhat.com>
4010 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
4011 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4013 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4014 * localedata/unicode-gen/PropList.txt: Likewise.
4015 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4016 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
4017 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
4018 * localedata/charmaps/UTF-8: Regenerate.
4019 * localedata/locales/i18n_ctype: Likewise.
4020 * localedata/locales/tr_TR: Likewise.
4021 * localedata/locales/translit_circle: Likewise.
4022 * localedata/locales/translit_cjk_compat: Likewise.
4023 * localedata/locales/translit_combining: Likewise.
4024 * localedata/locales/translit_compat: Likewise.
4025 * localedata/locales/translit_font: Likewise.
4026 * localedata/locales/translit_fraction: Likewise.
4028 2019-03-07 Joseph Myers <joseph@codesourcery.com>
4030 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
4031 than after operators.
4032 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
4033 (setitimer_locked): Likewise.
4034 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4035 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4036 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
4037 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
4038 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
4039 (PPC_CPU_SUPPORTED): Likewise.
4040 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
4041 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
4042 (stat_overflow): Likewise.
4043 (statfs_overflow): Likewise.
4044 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
4045 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
4046 (eq_ttyname_r): Likewise.
4047 (run_chroot_tests): Likewise.
4049 2019-03-07 Florian Weimer <fweimer@redhat.com>
4051 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
4054 2019-03-07 Martin Liska <mliska@suse.cz>
4056 * math/Makefile: Change location where math-vector-fortran.h is
4058 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
4059 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
4060 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
4061 * scripts/check-installed-headers.sh: Skip Fortran header files.
4062 * scripts/check-wrapper-headers.py: Likewise.
4064 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4066 * nptl/nptl-init.c (__have_futex_clock_realtime,
4067 __have_futex_clock_realtime): Remove definition.
4068 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
4069 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
4070 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
4071 __ASSUME_FUTEX_CLOCK_REALTIME support.
4072 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4073 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4074 * sysdeps/unix/sysv/linux/kernel-features.h
4075 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
4076 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
4079 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4081 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
4082 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
4083 __GI___wcscpy and wcscpy.
4085 2019-03-04 Florian Weimer <fweimer@redhat.com>
4087 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
4089 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
4092 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
4094 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
4095 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4097 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4100 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
4101 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
4103 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4105 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
4107 (do_test): Likewise.
4108 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4109 (do_test_call_varg): Likewise.
4110 (do_test_call_rarg): Likewise.
4111 * sysdeps/ieee754/ldbl-opt/Makefile
4112 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
4114 ($(objpfx)tst-nldbl-warn.c): New rule.
4115 ($(objpfx)tst-nldbl-error.c): Likewise.
4116 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
4119 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4122 * include/bits/error-ldbl.h: New file.
4123 * include/error.h: Include stdarg.h. Declare internal functions
4124 __error_internal and __error_at_line_internal.
4125 * misc/Makefile (headers): Add bits/error-ldbl.h.
4126 * misc/bits/error-ldbl.h: New file.
4127 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
4128 avoid the inclusion of bits/error.h.
4129 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
4130 and __nldbl_error_at_line.
4131 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
4132 (__nldbl_error, __ndlbl_error_at_line): New functions.
4133 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
4134 Redirect error and error_at_line.
4135 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4144 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4145 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4146 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4148 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4151 * include/bits/err-ldbl.h: New file.
4152 * include/err.h: Add prototypes for the internal functions:
4153 __vwarnx_internal and __vwarn_internal.
4154 * misc/Makefile (headers): Add bits/err-ldbl.h.
4155 * misc/bits/err-ldbl.h: New file.
4156 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
4157 defined, i.e.: when -mlong-double-64 is in use.
4158 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
4159 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
4160 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
4161 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
4162 (VA_CALL): New macro.
4163 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
4164 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
4166 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
4167 declare prototypes for the new functions.
4168 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4177 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4178 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4179 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4181 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4183 * sysdeps/ieee754/ldbl-opt/Makefile
4184 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
4185 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
4186 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
4188 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4191 * argp/Makefile (headers): Add bits/argp-ldbl.h.
4192 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
4193 * argp/bits/argp-ldbl.h: New file.
4194 * include/argp.h: Include stdarg.h. Add prototypes for internal
4195 functions: __argp_error_internal and __argp_failure_internal.
4196 * include/bits/argp-ldbl.h: New file.
4197 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
4198 __nldbl_argp_error and __nldbl_argp_failure.
4199 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
4200 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
4201 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
4202 Redirect argp_error and argp_failure calls.
4203 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4212 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4213 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4214 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4216 2019-03-01 Florian Weimer <fweimer@redhat.com>
4219 * elf/tst-big-note-lib.S: Create a syntactically valid note.
4220 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
4221 code, to avoid creating an ABI tag note.
4222 (modules-names-nobuild): Add tst-big-note-lib.
4224 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
4226 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
4227 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
4229 2019-03-01 Florian Weimer <fweimer@redhat.com>
4232 * sysdeps/unix/sysv/linux/netlink_assert_response.c
4233 (__netlink_assert_response): Add additional missing newlines.
4235 2019-02-28 Joseph Myers <joseph@codesourcery.com>
4237 * sysdeps/powerpc/powerpc32/dl-machine.c
4238 (__elf_machine_fixup_plt): Use space before '('.
4239 (__process_machine_rela): Likewise.
4240 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
4242 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
4244 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
4246 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
4247 (pattern): Likewise.
4249 (check_result): Likewise.
4250 (check_excepts): Likewise.
4251 (check_op): Likewise.
4252 (fail_xr): Likewise.
4253 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
4254 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
4256 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
4259 (__makecontext): Likewise.
4260 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
4263 2019-02-28 Florian Weimer <fweimer@redhat.com>
4266 elf: Add test with a local IFUNC resolver.
4267 * elf/ifuncmain9.c: New file.
4268 * elf/ifuncmain9pic.c: Likewise.
4269 * elf/ifuncmain9picstatic.c: Likewise.
4270 * elf/ifuncmain9pie.c: Likewise.
4271 * elf/ifuncmain9static.c: Likewise.
4272 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
4273 ifuncmain9static, ifuncmain9picstatic.
4274 * elf/Makefile [multi-arch && build-shared] (tests-internal):
4275 Add ifuncmain9, ifuncmain9pic.
4276 * elf/Makefile [multi-arch && build-shared && have-fpie]
4277 (ifunc-pie-tests): Add ifuncmain9pie.
4278 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
4279 (CFLAGS-ifuncmain9picstatic.c): Likewise.
4280 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
4282 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
4284 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
4285 * configure: Regenerated.
4286 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
4288 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
4291 symbol as __wcspcy instead of wcscpy.
4293 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4295 * include/stdio.h (__renameat2): New hidden prototype.
4296 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
4297 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
4298 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
4299 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
4301 2019-02-27 Joseph Myers <joseph@codesourcery.com>
4303 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
4306 * benchtests/bench-strcpy.c (do_test): Use space before '('.
4307 * benchtests/bench-string.h (cmdline_process_function): Likewise.
4308 * benchtests/bench-strlen.c (do_test): Likewise.
4309 (test_main): Likewise.
4310 * catgets/gencat.c (read_old): Likewise.
4311 * elf/cache.c (load_aux_cache): Likewise.
4312 * iconvdata/bug-iconv8.c (do_test): Likewise.
4313 * math/test-tgmath-ret.c (do_test): Likewise.
4314 * nis/nis_call.c (rec_dirsearch): Likewise.
4315 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4316 * nptl/tst-audit-threads.c (do_test): Likewise.
4317 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
4318 * nss/nss_test1.c (init): Likewise.
4319 * nss/test-netdb.c (test_hosts): Likewise.
4320 * posix/execvpe.c (maybe_script_execute): Likewise.
4321 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
4322 * stdio-common/tst-printf.c (do_test): Likewise.
4323 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
4324 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
4325 * stdlib/qsort.c (STACK_SIZE): Likewise.
4326 * stdlib/test-canon.c (do_test): Likewise.
4327 * stdlib/tst-swapcontext1.c (do_test): Likewise.
4328 * string/memcmp.c (OPSIZ): Likewise.
4329 * string/test-strcpy.c (do_test): Likewise.
4330 (do_random_tests): Likewise.
4331 * string/test-strlen.c (do_test): Likewise.
4332 (test_main): Likewise.
4333 * string/test-strrchr.c (do_test): Likewise.
4334 (do_random_tests): Likewise.
4335 * string/tester.c (test_memrchr): Likewise.
4336 (test_memchr): Likewise.
4337 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
4338 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
4339 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
4340 (read_encoded_value_with_base): Likewise.
4341 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
4342 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
4343 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
4344 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4345 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
4346 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
4348 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
4350 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
4351 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
4352 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
4354 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
4356 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
4358 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
4360 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
4361 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
4362 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4363 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
4364 * time/test_time.c (main): Likewise.
4366 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4368 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
4370 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
4373 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
4376 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
4378 * include/wchar.h (__wcscpy): New prototype.
4379 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
4380 (__wcscpy): Route internal symbol to generic implementation.
4381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
4382 Add internal __wcscpy alias.
4383 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
4384 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
4385 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
4386 * wcsmbs/wcscpy.c (wcscpy): Add
4387 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
4388 use generic implementation.
4389 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
4391 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
4394 * sysdeps/m68k/wcpcpy.c: Remove file.
4395 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
4397 2019-02-26 Joseph Myers <joseph@codesourcery.com>
4399 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
4400 than after operators.
4401 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4402 * sysdeps/mach/hurd/getcwd.c
4403 (__hurd_canonicalize_directory_name_internal): Likewise.
4404 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
4405 (pthread_mutex_consistent): Likewise.
4406 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
4408 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
4409 (__pthread_mutex_transfer_np): Likewise.
4410 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
4411 (__pthread_mutex_unlock): Likewise.
4412 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
4413 (mtx_owned_p): Likewise.
4414 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
4415 (pthread_mutexattr_getrobust): Likewise.
4416 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
4417 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
4419 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4420 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
4421 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4422 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
4423 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4424 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4425 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
4427 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
4429 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
4430 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
4431 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
4432 (____longjmp_chk): Likewise.
4433 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
4435 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4436 (INTERNAL_SYSCALL): Likewise.
4437 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4438 (INTERNAL_SYSCALL): Likewise.
4439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4440 (__get_clockfreq_via_cpuinfo): Likewise.
4442 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
4444 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
4445 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
4446 (WORD_COPY_BWD): Likewise.
4447 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4450 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
4451 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
4453 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
4455 2019-02-25 Joseph Myers <joseph@codesourcery.com>
4457 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
4458 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
4459 rather than after operators.
4460 * elf/cache.c (print_cache): Likewise.
4461 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
4462 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
4463 * hurd/hurdinit.c (_hurd_setproc): Likewise.
4464 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
4465 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
4466 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
4467 (reauth_proc): Likewise.
4468 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
4469 (__file_name_split_at): Likewise.
4470 (__directory_name_split_at): Likewise.
4471 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4472 * hurd/port2fd.c (_hurd_port2fd): Likewise.
4473 * iconv/gconv_dl.c (do_print): Likewise.
4474 * inet/netinet/in.h (struct sockaddr_in): Likewise.
4475 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
4476 * locale/setlocale.c (new_composite_name): Likewise.
4477 * malloc/memusagestat.c (main): Likewise.
4478 * misc/fstab.c (fstab_convert): Likewise.
4479 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4481 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
4482 (getgrent_next_file): Likewise.
4483 (internal_getgrnam_r): Likewise.
4484 (internal_getgrgid_r): Likewise.
4485 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
4487 (internal_getgrent_r): Likewise.
4488 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4489 (getpwent_next_nss): Likewise.
4490 (getpwent_next_file): Likewise.
4491 (internal_getpwnam_r): Likewise.
4492 (internal_getpwuid_r): Likewise.
4493 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
4495 (getspent_next_nss): Likewise.
4496 (internal_getspnam_r): Likewise.
4497 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4498 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
4499 * string/strchr.c (STRCHR): Likewise.
4500 * string/strchrnul.c (STRCHRNUL): Likewise.
4501 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
4502 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4503 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
4504 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
4505 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
4507 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
4508 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4509 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4510 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
4511 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
4512 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
4513 (open_file): Likewise.
4514 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
4515 (pthread_mutexattr_setprotocol): Likewise.
4516 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4517 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4518 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4519 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4520 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4522 (elf_machine_rela): Likewise.
4523 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4524 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4525 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
4526 * sysdeps/posix/rename.c (rename): Likewise.
4527 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
4528 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
4529 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
4530 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
4531 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4532 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
4533 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
4535 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
4537 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
4538 * time/tzfile.c (__tzfile_compute): Likewise.
4540 2019-02-22 Joseph Myers <joseph@codesourcery.com>
4542 * benchtests/bench-memmem.c (simple_memmem): Break lines before
4543 rather than after operators.
4544 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
4545 * crypt/md5.c (md5_finish_ctx): Likewise.
4546 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
4547 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
4548 * elf/cache.c (load_aux_cache): Likewise.
4549 * elf/dl-load.c (open_verify): Likewise.
4550 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4551 * elf/readelflib.c (process_elf_file): Likewise.
4552 * elf/rtld.c (dl_main): Likewise.
4553 * elf/sprof.c (generate_call_graph): Likewise.
4554 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
4555 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
4556 * hurd/dtable.c (reauth_dtable): Likewise.
4557 * hurd/getdport.c (__getdport): Likewise.
4558 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
4559 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
4560 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
4562 * hurd/hurdioctl.c (fioctl): Likewise.
4563 * hurd/hurdselect.c (_hurd_select): Likewise.
4564 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
4565 (STOPSIGS): Likewise.
4566 * hurd/hurdstartup.c (_hurd_startup): Likewise.
4567 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
4568 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4569 * hurd/msgportdemux.c (msgport_server): Likewise.
4570 * hurd/setauth.c (_hurd_setauth): Likewise.
4571 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
4572 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
4573 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4574 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
4575 * login/tst-utmp.c (do_check): Likewise.
4576 (simulate_login): Likewise.
4577 * mach/lowlevellock.h (lll_lock): Likewise.
4578 (lll_trylock): Likewise.
4579 * math/test-fenv.c (ALL_EXC): Likewise.
4580 * math/test-fenvinline.c (ALL_EXC): Likewise.
4581 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
4582 * nis/nis_call.c (__do_niscall3): Likewise.
4583 * nis/nis_callback.c (cb_prog_1): Likewise.
4584 * nis/nis_defaults.c (searchaccess): Likewise.
4585 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4586 * nis/nis_ismember.c (internal_ismember): Likewise.
4587 * nis/nis_local_names.c (nis_local_principal): Likewise.
4588 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
4589 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
4591 * nis/ypclnt.c (yp_match): Likewise.
4592 (yp_first): Likewise.
4593 (yp_next): Likewise.
4594 (yp_master): Likewise.
4595 (yp_order): Likewise.
4596 * nscd/hstcache.c (cache_addhst): Likewise.
4597 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4598 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
4599 (internal_getpwuid_r): Likewise.
4600 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
4601 * posix/glob.h (__GLOB_FLAGS): Likewise.
4602 * posix/regcomp.c (peek_token): Likewise.
4603 (peek_token_bracket): Likewise.
4604 (parse_expression): Likewise.
4605 * posix/regexec.c (sift_states_iter_mb): Likewise.
4606 (check_node_accept_bytes): Likewise.
4607 * posix/tst-spawn3.c (do_test): Likewise.
4608 * posix/wordexp-test.c (testit): Likewise.
4609 * posix/wordexp.c (parse_tilde): Likewise.
4610 (exec_comm): Likewise.
4611 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
4612 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
4613 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
4614 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
4615 * stdio-common/tst-fileno.c (do_test): Likewise.
4616 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
4617 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
4618 * stdlib/strtod_l.c (round_and_return): Likewise.
4619 (____STRTOF_INTERNAL): Likewise.
4620 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
4621 * string/strcspn.c (STRCSPN): Likewise.
4622 * string/test-memmem.c (simple_memmem): Likewise.
4623 * termios/tcsetattr.c (tcsetattr): Likewise.
4624 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
4625 * time/asctime.c (asctime_internal): Likewise.
4626 * time/strptime_l.c (__strptime_internal): Likewise.
4627 * time/sys/time.h (timercmp): Likewise.
4628 * time/tzfile.c (__tzfile_compute): Likewise.
4630 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
4633 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
4635 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4637 * argp/argp-help.c (__argp_error_internal): New function,
4638 renamed from __argp_error, but that takes a 'mode_flags'
4639 parameter to control the format of long double parameters.
4640 (__argp_error): Converted into a call __argp_error_internal.
4641 (__argp_failure_internal): New function, renamed from
4642 __argp_failure, but that takes a 'mode_flags' parameter.
4643 (__argp_failure): Converted into a call __argp_failure_internal.
4644 * misc/err.c (__vwarnx_internal): New function, renamed from
4645 vwarnx, but that takes a 'mode_flags' parameter.
4646 (vwarnx): Converted into a call to __vwarnx_internal.
4647 (__vwarn_internal): New function, renamed from vwarn, but that
4648 takes a 'mode_flags' parameter.
4649 (vwarn): Converted into a call to __vwarn_internal.
4650 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
4651 call to __vfxprintf with 'mode_flags'.
4652 (__error_internal): New function, renamed from error, but that
4653 takes a 'mode_flags' parameter.
4654 (error): Converted into a call to __error_internal.
4655 (__error_at_line_internal): New function, renamed from
4656 error_at_line, but that takes a 'mode_flags' parameter.
4657 (error_at_line): Converted into a call to
4658 __error_at_line_internal.
4659 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
4660 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
4663 2019-02-20 Martin Liska <mliska@suse.cz>
4665 * math/Makefile: Install math-vector-fortran.h.
4666 * bits/math-vector-fortran.h: New file.
4667 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
4669 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4671 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
4672 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
4674 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
4676 * nptl/pthread_mutex_trylock.c: Fix comment.
4678 2019-02-19 Carlos O'Donell <carlos@redhat.com>
4680 * nptl/pthread_tryjoin.c: Fix comment.
4682 2019-02-18 Joseph Myers <joseph@codesourcery.com>
4685 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
4686 after R_SPARC_H34 case.
4688 2019-02-18 Florian Weimer <fweimer@redhat.com>
4690 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
4691 (getanswer): Do not call Dprintf.
4692 (res_gethostbyname2_context): Likewise.
4693 (res_gethostbyaddr_context): Likewise.
4695 2019-02-18 Florian Weimer <fweimer@redhat.com>
4697 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
4699 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
4701 * libio/stdfiles.c: Update comment.
4702 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
4703 set _IO_stdin, _IO_stdout, _IO_stderr.
4704 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
4705 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
4707 (_IO_deallocate_file): New inline function.
4708 * libio/iolibio.h (_IO_vprintf): Remove definition.
4709 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
4710 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4711 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
4713 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
4714 __builtin_expect. Use _IO_legacy_file.
4716 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
4718 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
4719 Initialize ctid with a known value and remove update of ctid
4721 (wait_tid): Adjust arguments and call futex_wait with ctid_val
4722 as assumed current value of ctid_ptr.
4724 2019-02-16 Florian Weimer <fweimer@redhat.com>
4726 Check that non-sysdeps headers have wrapper headers.
4727 * scripts/check-wrapper-headers.py: New file.
4728 * Makefile (tests-special): Add check-wrapper-headers.out.
4729 (check-wrapper-headers.out): New target.
4730 * Rules (tests-special): Add check-wrapper-headers.out.
4731 (check-wrapper-headers.out): New target.
4733 2019-02-16 Florian Weimer <fweimer@redhat.com>
4735 Add missing header wrappers under include/.
4736 * include/ar.h: New file.
4737 * include/bits/mqueue2.h: Likewise.
4738 * include/bits/stdio.h: Likewise.
4739 * include/bits/stdio2.h: Likewise.
4740 * include/fstab.h: Likewise.
4741 * include/fts.h: Likewise.
4742 * include/lastlog.h: Likewise.
4743 * include/netinet/icmp6.h: Likewise.
4744 * include/netinet/igmp.h: Likewise.
4745 * include/netinet/ip6.h: Likewise.
4746 * include/re_comp.h: Likewise.
4747 * include/regexp.h: Likewise.
4748 * include/rpcsvc/bootparam.h: Likewise.
4749 * include/rpcsvc/yp_prot.h: Likewise.
4750 * include/sys/random.h: Likewise.
4751 * include/sys/stropts.h: Likewise.
4752 * include/sys/ttychars.h: Likewise.
4753 * include/sys/vfs.h: Likewise.
4754 * include/wait.h: Likewise.
4756 2019-02-16 Florian Weimer <fweimer@redhat.com>
4758 * nptl_db/proc_service.h: Move to ...
4759 * sysdeps/nptl/proc_service.h: ... here.
4760 * nptl_db/thread_db.h: Move to ...
4761 * sysdeps/nptl/thread_db.h: ... here.
4762 * nptl/descr.h: Include <thread_db.h>.
4764 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4766 * io/Makefile (tests): Add tst-lockf.
4767 * io/lockf.c (lockf): Use __fcntl and only define for
4768 !__OFF_T_MATCHES_OFF64_T.
4769 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
4770 __OFF_T_MATCHES_OFF64_T case.
4771 * io/tst-lockf.c: New file.
4772 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
4773 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
4774 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
4775 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
4776 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
4778 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
4779 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
4780 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
4782 2019-02-15 Florian Weimer <fweimer@redhat.com>
4785 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
4786 pd->result after the thread descriptor has been freed.
4788 2019-02-15 Joseph Myers <joseph@codesourcery.com>
4790 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
4791 from function return type.
4793 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
4795 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4797 * scripts/test_printers_common.py: Set TERM to a known harmless
4800 2019-02-14 Joseph Myers <joseph@codesourcery.com>
4802 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
4803 (xdr_u_int): Likewise.
4804 (xdr_enum): Likewise.
4805 (xdr_bytes): Reword fall-through comment.
4806 (xdr_string): Likewise.
4808 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4811 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
4812 (tests): Add tst-join8 tst-join9.
4813 * nptl/lll_timedwait_tid.c: Remove file.
4814 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
4815 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
4816 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
4817 * nptl/pthread_join_common.c (timedwait_tid): New function.
4818 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
4820 * nptl/tst-join5.c (thread_join): New function.
4821 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
4823 * nptl/tst-join8.c: New file.
4824 * nptl/tst-join9.c: Likewise.
4825 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
4826 lll_futex_timed_wait_cancel): Add generic macros.
4827 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
4829 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4830 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4831 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4832 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
4834 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
4836 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4837 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4838 (lll_futex_timed_wait_cancel): New macro.
4840 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
4842 * benchtests/Makefile: Add malloc-simple benchmark.
4843 * benchtests/bench-malloc-simple.c: New benchmark.
4845 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4847 * benchtests/bench-memmove.c (do_one_test): Remove unused
4850 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
4854 2019-01-13 Jim Wilson <jimw@sifive.com>
4857 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
4858 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
4860 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
4862 * nptl/Makefile (tests): Add tst-unwind-thread.
4863 (CFLAGS-tst-unwind-thread.c): Define.
4864 * nptl/tst-unwind-thread.c: New file.
4865 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
4868 2019-02-13 Joseph Myers <joseph@codesourcery.com>
4870 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
4872 * nis/nis_call.c (__do_niscall3): Likewise.
4874 * catgets/gencat.c (normalize_line): Use braces around empty
4876 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4877 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
4878 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
4879 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
4880 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
4881 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
4882 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
4885 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
4888 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
4890 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
4891 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
4892 * benchtests/bench-strchr.c (stupid_strchr): Remove.
4893 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
4894 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
4895 * benchtests/bench-strlen.c (builtin_strlen): Remove.
4896 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
4897 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
4898 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
4899 * benchtests/bench-strspn.c (stupid_strspn): Remove.
4900 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
4901 * benchtests/bench-bcopy.c: Delete file.
4902 * benchtests/bench-bzero.c: Likewise.
4903 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
4904 (simple_memccpy): Remove.
4905 (generic_memccpy): Add function.
4906 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
4907 * benchtests/bench-memmove.c (simple_bcopy): Remove.
4908 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
4909 (generic_mempcpy): Add new function.
4910 * benchtests/bench-memset.c (simple_bzero): Remove.
4911 (builtin_bzero): Remove.
4912 (builtin_memset): Remove.
4913 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
4914 (generic_rawmemchr): Add new function.
4916 2019-02-12 Florian Weimer <fweimer@redhat.com>
4918 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
4920 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4923 * elf/Makefile (tests): Add tst-audit13.
4924 (modules-names): Add tst-audit13mod1.
4925 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4927 * elf/tst-audit13.c: New file.
4928 * elf/tst-audit13mod1.c: Likewise.
4930 2019-02-12 Florian Weimer <fweimer@redhat.com>
4933 * elf/rtld.c (unload_audit_module): New function.
4934 (report_audit_module_load_error): Likewise.
4935 (load_audit_module): Likewise. Extracted from dl_main. Call
4936 _dl_close if the laversion symbol cannot be found. Use early
4937 returns for error handling. Add malloc error check. Check for a
4938 zero return value from la_version. Remove spurious comment about
4939 static TLS initialization. Remove useless casts.
4940 (notify_audit_modules_of_loaded_object): New function. Extracted
4942 (load_audit_module): Likewise.
4943 (dl_main): Call load_audit_modules.
4945 2019-02-12 Joseph Myers <joseph@codesourcery.com>
4947 * elf/dl-exception.c (_dl_exception_create_format): Add
4948 fall-through comments.
4949 * elf/ldconfig.c (parse_conf_include): Likewise.
4950 * elf/rtld.c (print_statistics): Likewise.
4951 * locale/programs/charmap.c (parse_charmap): Likewise.
4952 * misc/mntent_r.c (__getmntent_r): Likewise.
4953 * posix/wordexp.c (parse_arith): Likewise.
4954 (parse_backtick): Likewise.
4955 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
4956 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4957 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4959 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
4961 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
4962 Use float instead of double.
4964 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4966 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4968 2019-02-08 Joseph Myers <joseph@codesourcery.com>
4970 * sysdeps/powerpc/bits/mathinline.h: Remove.
4972 2019-02-08 Florian Weimer <fweimer@redhat.com>
4974 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
4975 * math/bits/math-finite.h: Move to ...
4976 * bits/math-finite.h: ... here.
4978 2019-02-08 Florian Weimer <fweimer@redhat.com>
4980 * sysdeps/generic/bits/unistd_ext.h: Move to ...
4981 * bits/unistd_ext.h: here.
4983 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
4986 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
4987 * nss/tst-nss-files-hosts-long.c: New file.
4988 * nss/tst-nss-files-hosts-long.root: New directory.
4989 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
4990 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
4992 2019-02-08 Florian Weimer <fweimer@redhat.com>
4994 * include/bits/unistd_ext.h: Remove file.
4995 * posix/bits/unistd_ext.h: Move to ...
4996 * sysdeps/generic/bits/unistd_ext.h: ... here.
4998 2019-02-08 Florian Weimer <fweimer@redhat.com>
5000 * include/bits/unistd_ext.h: New file.
5002 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
5004 * time/tst-strftime2.c: Use array_length macros instead of magic
5007 2019-02-08 Florian Weimer <fweimer@redhat.com>
5010 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
5012 * nptl/register-atfork.c (__run_fork_handlers): Only perform
5013 locking if the new do_locking argument is true.
5014 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
5015 __run_fork_handlers.
5017 2019-02-08 Florian Weimer <fweimer@redhat.com>
5020 Linux: Add gettid system call wrapper.
5021 * posix/Makefile (headers): Add bits/unistd_ext.h.
5022 * posix/bits/unistd_ext.h: New file.
5023 * posix/unistd.h: Include it.
5024 * manual/process.texi (Process Identification): Document gettid.
5025 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
5026 tst-gettid, tst-gettid-kill.
5027 (tst-gettid): Link with $(shared-thread-library).
5028 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
5029 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
5030 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
5031 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
5032 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
5033 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
5035 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
5037 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
5038 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
5040 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
5042 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
5044 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
5046 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
5048 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
5050 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
5052 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5053 (GLIBC_2.30): Likewise.
5054 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5055 (GLIBC_2.30): Likewise.
5056 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5057 (GLIBC_2.30): Likewise.
5058 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5059 (GLIBC_2.30): Likewise.
5060 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
5062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5063 (GLIBC_2.30): Likewise.
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5065 (GLIBC_2.30): Likewise.
5066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
5067 (GLIBC_2.30): Likewise.
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
5069 (GLIBC_2.30): Likewise.
5070 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
5072 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
5074 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
5076 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
5077 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
5079 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
5081 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
5083 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
5085 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
5087 2019-02-08 Florian Weimer <fweimer@redhat.com>
5089 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
5090 compatibility symbols.
5092 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
5095 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5096 Add compiler barriers and comments.
5098 2019-02-07 Florian Weimer <fweimer@redhat.com>
5100 * include/array_length.h (array_length): Do not use a statement
5101 expression and _Static_assert, so that array_length can be used at
5102 file scope and as a constant expression.
5104 2019-02-07 Florian Weimer <fweimer@redhat.com>
5106 * support/xdlfcn.h (xdlmopen): Declare.
5107 * support/xdlmopen.c: New file.
5108 * support/Makefile (libsupport-routines): Add xdlmopen.
5110 2019-02-06 Joseph Myers <joseph@codesourcery.com>
5112 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
5113 before return type, without separate inline.
5114 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
5115 * elf/dl-tunables.h (tunable_is_name): Likewise.
5116 * malloc/malloc.c (do_set_trim_threshold): Likewise.
5117 (do_set_top_pad): Likewise.
5118 (do_set_mmap_threshold): Likewise.
5119 (do_set_mmaps_max): Likewise.
5120 (do_set_mallopt_check): Likewise.
5121 (do_set_perturb_byte): Likewise.
5122 (do_set_arena_test): Likewise.
5123 (do_set_arena_max): Likewise.
5124 (do_set_tcache_max): Likewise.
5125 (do_set_tcache_count): Likewise.
5126 (do_set_tcache_unsorted_limit): Likewise.
5127 * nis/nis_subr.c (count_dots): Likewise.
5128 * nptl/allocatestack.c (advise_stack_range): Likewise.
5129 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
5131 (reduce_sincos): Likewise.
5132 (do_sincos): Likewise.
5133 * sysdeps/unix/sysv/linux/x86/elision-conf.c
5134 (do_set_elision_enable): Likewise.
5135 (TUNABLE_CALLBACK_FNDECL): Likewise.
5137 2019-02-06 Florian Weimer <fweimer@redhat.com>
5139 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
5140 (xdlsym): Use dlerror to detect a NULL symbol.
5142 2019-02-06 Florian Weimer <fweimer@redhat.com>
5144 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
5146 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5148 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5150 * libio/tst-bz24153.c (wide): Use wide char format specifier.
5152 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5154 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
5155 __wmemcmp and weak alias to wmemcmp.
5157 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5160 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
5161 TLS_TCB_AT_TP tls variant.
5162 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
5163 Add alignment checks.
5164 * support/Makefile (libsupport-routines): Add xposix_memalign and
5166 * support/support.h: Add xposix_memalign.
5167 * support/xthread.h: Add xpthread_attr_setstack.
5168 * support/xposix_memalign.c: New File.
5169 * support/xpthread_attr_setstack.c: Likewise.
5171 2019-02-05 Florian Weimer <fweimer@redhat.com>
5174 arm: Use "nr" constraint for Systemtap probes, to avoid the
5175 compiler using memory operands for constants, due to the "o"
5176 alternative in the default "nor" constraint.
5177 * include/stap-probe.h [USE_STAP_PROBE]: Include
5178 <stap-probe-machine.h>
5179 * sysdeps/generic/stap-probe-machine.h: New file.
5180 * sysdeps/arm/stap-probe-machine.h: Likewise.
5182 2019-02-04 Joseph Myers <joseph@codesourcery.com>
5184 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
5185 with 0, not tcache->entries[tc_idx].
5187 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
5190 2019-02-04 Andreas Schwab <schwab@suse.de>
5194 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
5195 looking up collating elements match against (wide) character
5196 sequence instead of name. Correct alignment adjustment.
5197 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
5198 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
5199 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
5200 (LOCALES): Add cs_CZ.ISO-8859-2.
5201 * posix/tst-fnmatch4.c: New file.
5202 * posix/tst-fnmatch5.c: New file.
5203 * include/wchar.h (__wmemcmp): Declare.
5204 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
5205 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
5206 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
5207 * sysdeps/s390/wmemcmp.c: Likewise.
5209 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
5213 * NEWS: Updated for CVE-2019-7309.
5214 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
5215 upper 32 bits of RDX register for x32. Use unsigned Jcc
5216 instructions, instead of signed.
5217 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
5218 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
5220 2019-02-04 Florian Weimer <fweimer@redhat.com>
5222 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
5223 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
5224 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
5226 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
5227 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
5228 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
5229 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
5231 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
5233 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
5235 (posix_spawn_file_actions_addopen): Likewise.
5236 (posix_spawn_file_actions_addclose): Likewise.
5237 (posix_spawn_file_actions_adddup2): Likewise.
5238 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
5240 (posix_spawn_file_actions_addfchdir_np): Likewise.
5242 2019-02-04 David Newall <glibc@davidnewall.com>
5244 elf: Implement --preload option for the dynamic linker.
5245 * elf/rtld.c (preloadarg): New variable.
5246 (handle_preload_list): Pass through “where” argument to
5248 (dl_main): Handle "--preload" and add second call to
5249 handle_preload_list.
5250 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
5251 (tst-rtld-preload-OBJS): Set variable.
5252 (tst-rtld-preload.out): New target.
5253 * elf/tst-rtld-preload.sh: New file.
5255 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
5257 * Makefile (testrun.sh): Exit in case of incorrect argument.
5259 2019-02-04 Florian Weimer <fweimer@redhat.com>
5261 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
5264 2019-02-03 Florian Weimer <fweimer@redhat.com>
5266 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
5267 implicit overflow checks.
5269 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
5271 * stdlib/isomac.c: Include <unistd.h>.
5273 2019-02-03 Florian Weimer <fweimer@redhat.com>
5275 * include/time.h (__tzfile_default): Use int, not long int, for
5277 * time/tzfile.c (struct ttinfo): Change type of the offset member
5279 (__tzfile_read): Remove useless cast.
5280 (__tzfile_default): Adjust prototype.
5281 * time/tzset.c (tz_rule): Change type of the offset member to int.
5282 (parse_offset): Change the type of the sign variable to int.
5284 2019-02-03 Florian Weimer <fweimer@redhat.com>
5287 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
5288 * libio/getchar.c (getchar): Likewise.
5289 * libio/getchar_u.c (getchar_unlocked): Likewise.
5290 * libio/getwchar.c (getwchar): Likewise.
5291 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5292 * libio/iogets.c (_IO_gets): Likewise.
5293 * libio/vscanf.c (_IO_vscanf): Likewise.
5294 * libio/vwscanf.c (__vwscanf): Likewise.
5295 * libio/tst-bz24153.c: New file.
5296 * libio/Makefile (tests): Add it.
5298 2019-02-02 Florian Weimer <fweimer@redhat.com>
5301 * manual/resource.texi (Basic Scheduling Functions): Add
5302 portability note. Change process to task throughout the section.
5303 Remove incorrect comment about sched_yield as it affects
5304 tasks/threads, not entire processes.
5305 * sysdeps/unix/sysv/linux/bits/posix_opt.h
5306 (_POSIX_PRIORITY_SCHEDULING): Update comment.
5308 2019-02-01 Joseph Myers <joseph@codesourcery.com>
5310 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
5311 * configure: Regenerated.
5312 * manual/install.texi (Tools for Compilation): Update minimum GCC
5314 * INSTALL: Regenerated.
5316 2019-02-01 Florian Weimer <fweimer@redhat.com>
5318 * support/support_test_compare_string.c
5319 (support_test_compare_string): Use "string" in error message.
5320 * support/tst-test_compare_string.c (do_test): Adjust.
5322 2019-02-01 Florian Weimer <fweimer@redhat.com>
5324 * support/support_format_address_family.c
5325 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
5327 2019-02-01 Florian Weimer <fweimer@redhat.com>
5329 * manual/socket.texi (Internet Address Formats): Clarify the byte
5330 order of struct sockaddr_in, struct sockaddr_in6. Document
5331 sin6_flowinfo and sin6_scope_id.
5333 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
5335 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
5336 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
5337 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
5338 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
5339 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
5340 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
5342 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5344 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
5345 [!MEMCHR](MEMCHR): Set to __memchr.
5346 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5347 Add memchr_generic and memchr_nosimd.
5348 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5349 (__libc_ifunc_impl_list): Add memchr ifuncs.
5350 * sysdeps/aarch64/multiarch/memchr.c: New file.
5351 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
5352 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
5354 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5356 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5358 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5359 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
5360 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
5361 Add IS_EMAG check for ifunc dispatch.
5362 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
5363 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
5365 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5367 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
5368 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5370 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
5373 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
5375 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
5377 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
5379 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
5380 syscall-template file.
5382 2019-01-31 Carlos O'Donell <carlos@redhat.com>
5383 Torvald Riegel <triegel@redhat.com>
5384 Rik Prohaska <prohaska7@gmail.com>
5387 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
5388 tst-rwlock-trywrlock-stall.
5389 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5390 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
5391 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
5392 Set __wrphase_fute to 1 only if we started the write phase.
5393 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
5394 * nptl/tst-rwlock-trywrlock-stall.c: New file.
5395 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
5396 * support/xpthread_rwlock_destroy.c: New file.
5397 * support/xthread.h: Declare xpthread_rwlock_destroy.
5399 2019-02-01 Joseph Myers <joseph@codesourcery.com>
5401 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
5404 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5407 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
5408 * libio/fileops.c (_IO_new_file_underflow): Likewise
5409 * libio/wfileops.c (_IO_wfile_underflow): Likewise
5410 * libio/putchar.c (putchar): Likewise.
5411 * libio/putchar_u.c (putchar_unlocked): Likewise.
5412 * libio/putwchar.c (putchar): Likewise.
5413 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5414 * libio/tst-bz24051.c: New test.
5415 * libio/Makefile (tests): Add tst-bz24051
5417 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
5420 regex: fix read overrun [BZ #24114]
5421 Problem found by AddressSanitizer, reported by Hongxu Chen in:
5422 https://debbugs.gnu.org/34140
5423 * posix/regexec.c (proceed_next_node):
5424 Do not read past end of input buffer.
5426 2019-01-31 Florian Weimer <fweimer@redhat.com>
5429 * nss/nss_files/files-alias.c (get_next_alias): Handle
5430 continuation line without newline at the end.
5431 * nss/tst-nss-files-alias-truncated.c: New file.
5432 * nss/Makefile [$(build-shared)] (tests): Add
5433 tst-nss-files-alias-truncated.
5434 (tst-nss-files-alias-truncated): Link with libnss_files.so.
5435 * support/namespace.h (struct support_chroot_configuration): Add
5437 (struct support_chroot): Add path_aliases member.
5438 * support/support_chroot.c (support_chroot_create): Handle
5440 (support_chroot_free): Free path_aliases.
5442 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
5444 * version.h (RELEASE): Set to "development".
5445 (VERSION): Set to "2.29.9000".
5446 * NEWS: Add section for 2.30.
5448 * version.h (RELEASE): Set to "stable".
5449 (VERSION): Set to "2.29".
5450 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
5452 * NEWS: Add the list of bugs fixed in 2.29.
5453 * manual/contrib.texi: Update contributors list with some more
5455 * manual/install.texi: Update latest versions of packages
5457 * INSTALL: Regenerated.
5459 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
5461 * po/be.po: Update translations.
5462 * po/bg.po: Likewise.
5463 * po/ca.po: Likewise.
5464 * po/cs.po: Likewise.
5465 * po/da.po: Likewise.
5466 * po/de.po: Likewise.
5467 * po/el.po: Likewise.
5468 * po/eo.po: Likewise.
5469 * po/es.po: Likewise.
5470 * po/fi.po: Likewise.
5471 * po/fr.po: Likewise.
5472 * po/gl.po: Likewise.
5473 * po/hr.po: Likewise.
5474 * po/hu.po: Likewise.
5475 * po/ia.po: Likewise.
5476 * po/id.po: Likewise.
5477 * po/it.po: Likewise.
5478 * po/ja.po: Likewise.
5479 * po/ko.po: Likewise.
5480 * po/lt.po: Likewise.
5481 * po/nb.po: Likewise.
5482 * po/nl.po: Likewise.
5483 * po/pl.po: Likewise.
5484 * po/pt_BR.po: Likewise.
5485 * po/ru.po: Likewise.
5486 * po/rw.po: Likewise.
5487 * po/sk.po: Likewise.
5488 * po/sl.po: Likewise.
5489 * po/sv.po: Likewise.
5490 * po/tr.po: Likewise.
5491 * po/uk.po: Likewise.
5492 * po/vi.po: Likewise.
5493 * po/zh_CN.po: Likewise.
5494 * po/zh_TW.po: Likewise.
5496 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
5499 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
5500 of $f3 register on $y_is_neg path.
5502 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5505 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
5506 sigaltstack.ss_flags.
5508 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
5511 * manual/time.texi (strftime): Document "%Ey".
5512 * time/strftime_l.c (__strftime_internal): Set the default width
5513 padding with zero of "%Ey" to 2.
5516 * manual/time.texi (strftime): Document "%EC" and "%EY".
5517 * time/Makefile (tests): Add tst-strftime2.
5518 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
5519 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
5520 override padding for "%Ey".
5521 If an optional flag ('_' or '-') is specified to "%EY", interpret the
5522 "%Ey" in the subformat as if decorated with that flag.
5523 * time/tst-strftime2.c: New file.
5525 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5527 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
5531 * elf/Makefile (tests): Add tst-audit13.
5532 (modules-names): Add tst-audit13mod1.
5533 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5535 * elf/rtld.c (dl_main): Handle invalid audit module version.
5536 * elf/tst-audit13.c: New file.
5537 * elf/tst-audit13mod1.c: Likewise.
5539 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5541 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
5542 returned by __hurd_at_flags.
5543 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
5544 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
5545 directly instead of __hurd_file_name_lookup.
5547 2019-01-21 Joseph Myers <joseph@codesourcery.com>
5549 * scripts/build-many-glibcs.py (Context.checkout): Default
5550 binutils version to 2.32 branch.
5552 2019-01-21 Florian Weimer <fweimer@redhat.com>
5556 resolv: Reject trailing characters in host names
5557 * include/arpa/inet.h (__inet_aton_exact): Declare.
5558 (inet_aton): Remove hidden prototype. No longer used internally.
5559 * nscd/gai.c (__inet_aton): Do not define.
5560 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
5561 * nss/digits_dots.c (__inet_aton): Likewise.
5562 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
5563 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
5564 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
5565 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
5566 (tst-resolv-trailing): Likewise.
5567 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
5569 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
5570 Make static. Add endp parameter.
5571 (__inet_aton_exact): New function.
5572 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
5573 (__inet_addr): Call inet_aton_end.
5574 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
5575 not just IPv6. Call __inet_aton_exact.
5576 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
5577 (tests): Make const. Add additional test cases with trailing
5579 (do_test): Use array_length.
5580 * resolv/tst-inet_aton_exact.c: New file.
5581 * resolv/tst-resolv-trailing.c: Likewise.
5582 * resolv/tst-resolv-nondecimal.c: Likewise.
5583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
5585 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5589 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
5590 Clear the upper 32 bits of RSI register.
5591 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
5592 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
5593 and tst-size_t-wcsnlen.
5594 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
5595 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
5597 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5601 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
5602 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5603 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5604 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
5605 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
5607 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5611 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
5612 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5613 * sysdeps/x86_64/strcmp.S: Likewise.
5614 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
5615 tst-size_t-strncmp and tst-size_t-wcsncmp.
5616 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
5617 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
5618 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
5620 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5624 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
5625 RDX_LP for length. Clear the upper 32 bits of RDX register.
5626 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
5627 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
5628 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
5629 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
5631 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5635 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
5636 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
5637 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
5638 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
5640 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
5645 length. Clear the upper 32 bits of RDX register.
5646 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5647 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5649 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5651 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
5653 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
5655 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5659 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
5660 length. Clear the upper 32 bits of RDX register.
5661 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5662 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5663 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
5665 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
5666 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
5668 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5672 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
5673 upper 32 bits of RDX register.
5674 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
5675 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
5677 * sysdeps/x86_64/x32/test-size_t.h: New file.
5678 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
5679 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
5681 2019-01-18 Florian Weimer <fweimer@redhat.com>
5684 resolv: Do not send queries for non-host-names in nss_dns.
5685 * resolv/nss_dns/dns-host.c (check_name): New function.
5686 (_nss_dns_gethostbyname2_r): Use it.
5687 (_nss_dns_gethostbyname_r): Likewise.
5688 (_nss_dns_gethostbyname4_r): Likewise.
5690 2019-01-21 Florian Weimer <fweimer@redhat.com>
5692 * resolv/inet_addr.c: Reformat to GNU style.
5693 (__inet_addr, __inet_aton): Update comment.
5695 2019-01-18 Florian Weimer <fweimer@redhat.com>
5697 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
5698 ("malloc: Use current (C11-style) atomics for fastbin access").
5699 This commit introduces a substantial performance regression on
5701 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
5702 (REMOVE_FB): Define.
5703 (_int_malloc): Use it and reindent.
5704 (_int_free): Use CAS loop with
5705 catomic_compare_and_exchange_val_rel.
5706 (malloc_consolidate): Use atomic_exchange_acq.
5709 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
5711 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
5713 (LDFLAGS-tst-minsigstksz-2): Likewise.
5714 (LDFLAGS-tst-minsigstksz-3): Likewise.
5715 (LDFLAGS-tst-minsigstksz-3a): Likewise.
5716 (LDFLAGS-tst-minsigstksz-4): Likewise.
5718 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
5720 * manual/time.texi (strftime): Fix the wording to "alternative" rather
5723 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
5725 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
5727 2019-01-16 Zack Weinberg <zackw@panix.com>
5729 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
5730 (xget_sigstack_location): New test support functions.
5731 * support/xsigstack.c: New file, implementing them.
5732 * support/tst-xsigstack.c: New test for them.
5733 * support/Makefile: Update.
5735 * signal/tst-minsigstksz-1.c
5736 * signal/tst-minsigstksz-2.c
5737 * signal/tst-minsigstksz-3.c
5738 * signal/tst-minsigstksz-3a.c
5739 * signal/tst-minsigstksz-4.c: New tests.
5740 * signal/Makefile: Run them.
5742 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5744 * po/libc.pot: Regenerate.
5746 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5748 * math/libm-test-fma.inc (fma_test_data): Set
5749 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
5751 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5753 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
5754 (do_test): Changed __vector __int128_t to __vector unsigned int.
5756 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5759 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
5760 stpcpy-avx2 and stpncpy-avx2.
5761 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
5762 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
5763 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
5765 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
5766 ifunc-strcpy.h}: rename header for a more generic name.
5767 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
5768 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
5769 AVX unaligned load is fast and vzeroupper is preferred.
5770 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
5771 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
5772 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
5773 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
5774 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
5775 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
5777 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
5779 * argp/argp-help.c: Fix typo in comment.
5780 * misc/sys/cdefs.h: Likewise.
5781 * posix/regexec.c (sift_states_iter_mb): Likewise.
5782 * socket/sockatmark.c: Likewise.
5783 * socket/sys/socket.h: Likewise.
5784 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
5785 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
5786 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
5787 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5788 * sysdeps/unix/sockatmark.c: Likewise.
5789 * time/strptime_l.c: Likewise.
5791 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5793 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
5794 missing space after the cast of "_NL_CURRENT".
5796 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5798 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
5799 ifdef to fix read of VSCR.
5800 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
5801 tst-ucontext-ppc64-vscr.c to test list.
5802 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
5804 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
5806 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
5809 2019-01-09 Jim Wilson <jimw@sifive.com>
5811 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5813 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
5815 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
5816 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
5817 __memcpy_falkor for ares.
5818 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
5820 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5823 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
5826 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
5827 4_FP_W_TYPEs are used for IEEE quad precision.
5828 * soft-fp/extendhftf2.c: Likewise.
5829 * soft-fp/extendsftf2.c: Likewise.
5830 * soft-fp/extendxftf2.c: Likewise.
5831 * soft-fp/trunctfdf2.c: Likewise.
5832 * soft-fp/trunctfhf2.c: Likewise.
5833 * soft-fp/trunctfsf2.c: Likewise.
5834 * soft-fp/trunctfxf2.c: Likewise.
5835 * sysdeps/alpha/ots_cvttx.c: Likewise.
5836 * sysdeps/alpha/ots_cvtxt.c: Likewise.
5837 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
5838 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
5839 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
5840 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
5841 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
5842 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
5843 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
5844 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
5845 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
5846 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
5847 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
5848 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
5849 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
5850 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
5851 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
5852 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
5854 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5857 * Makeconfig: Build libm with -fno-math-errno but build the remaining
5858 code with -fmath-errno.
5859 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
5860 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
5861 * string/test-strerror-errno.c: New file.
5863 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
5866 * localedata/locales/en_US (date_fmt): Add, set to
5867 "%a %d %b %Y %r %Z".
5869 2019-01-07 Florian Weimer <fweimer@redhat.com>
5872 * manual/arith.texi (Math Error Reporting): Use @code{errno}
5873 instead of @var{errno}.
5874 (Parsing of Integers): Likewise.
5875 (Parsing of Floats): Likewise.
5876 * manual/filesys.texi (Working with Directory Trees): Likewise.
5877 (Temporary Files): Likewise.
5878 * manual/job.texi (Terminal Access Functions): Likewise.
5879 * manual/llio.texi (Synchronizing I/O): Likewise.
5880 * manual/math.texi (SVID Random): Likewise.
5881 * manual/message.texi (The catgets Functions): Likewise.
5882 (Translation with gettext): Likewise.
5883 (Locating gettext catalog): Likewise.
5884 (Charset conversion in gettext): Likewise.
5885 * manual/nss.texi (NSS Module Function Internals): Likewise.
5886 * manual/search.texi (Hash Search Function): Likewise.
5887 * manual/setjmp.texi (System V contexts): Likewise.
5888 * manual/time.texi (Sleeping): Likewise.
5889 * manual/users.texi (Lookup User): Likewise.
5890 (Lookup Group): Likewise.
5892 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5894 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
5897 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
5900 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
5901 __builtin_unreachable for default case in switch.
5902 (__ieee754_yn): Likewise.
5903 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5904 (__ieee754_ynl): Likewise.
5905 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5906 (__ieee754_ynl): Likewise.
5907 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5908 (__ieee754_ynl): Likewise.
5910 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
5912 * manual/maint.texi: Use @{ and @}.
5914 2019-01-04 Florian Weimer <fweimer@redhat.com>
5916 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
5918 (do_in_chroot_1): Call it.
5920 Improve error reporting in case it is not possible to create a
5921 collision for the PTY name required by the test.
5923 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5925 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
5926 lll_wait_tid with timeout.
5927 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
5928 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
5929 futex_reltimed_wait_cancelable for cancelabla mode.
5930 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
5931 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
5933 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
5934 * sysdeps/posix/waitid.c (__sigwait): Likewise.
5935 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
5936 SYSCALL_CANCEL_NCS): New macro.
5937 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
5938 (lll_timedwait_tid): Remove macro.
5939 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
5941 (lll_timedwait_tid): Likewise.
5942 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
5944 (lll_timedwait_tid): Likewise.
5945 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
5947 (lll_timedwait_tid): Likewise.
5948 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
5949 Use INTERNAL_SYSCALL_CANCEL.
5950 * sysdeps/unix/sysv/linux/futex-internal.h
5951 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
5952 instead of __pthread_{enable,disable}_asynccancel.
5953 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5954 (lll_futex_wait_cancel): New macro.
5956 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5957 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5959 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5960 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5962 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
5963 in backtrace analysis.
5964 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
5966 (tf_send): Likewise.
5968 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
5969 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
5970 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
5971 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
5972 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5973 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5974 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
5975 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
5976 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
5977 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
5978 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
5979 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
5981 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
5982 tst-cancel-wrappers.sh.
5983 (generated): Remove tst-cancel-wrappers.out.
5984 (tst-cancel-wrappers.out): Remove rule.
5985 * nptl/tst-cancel-wrappers.sh: Remove file.
5987 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5989 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
5990 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5993 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5996 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
5997 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
5998 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
5999 close-on-exec reset for adddup2 file action.
6000 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6002 2019-01-03 Zack Weinberg <zackw@panix.com>
6004 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
6005 parameter. Only use deprecated scanf when __USE_GNU is defined
6006 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
6007 than 201103L, whichever is relevant for the language being compiled.
6009 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
6010 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
6011 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
6012 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
6013 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
6017 * libio/iovswscanf.c
6022 * stdio-common/fscanf.c
6023 * stdio-common/scanf.c
6024 * stdio-common/vfscanf.c
6025 * stdio-common/vfwscanf.c
6026 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6027 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
6028 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
6029 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
6030 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
6031 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
6032 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
6033 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
6034 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
6035 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
6036 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
6037 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
6038 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
6039 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
6040 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
6042 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
6043 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
6044 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
6046 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
6047 with a preprocessor macro.
6049 * stdio-common/bug21.c, stdio-common/scanf14.c:
6050 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
6051 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6052 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
6053 to xscanf, xfscanf, xsscanf.
6055 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
6056 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6057 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
6058 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
6060 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
6061 override feature selection macros or provide definitions of u_char etc.
6062 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
6063 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
6064 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
6067 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6070 bits/termios-misc.h.
6071 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
6072 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6073 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6074 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6075 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
6076 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
6078 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
6079 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
6080 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
6081 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
6082 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
6083 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
6085 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
6086 (sysdep_headers): Add termios-misc.h.
6088 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
6089 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6090 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6094 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
6095 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
6096 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
6097 TCSAFLUSH): Move to termios-tcflow.h.
6098 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6099 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6100 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6101 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6105 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
6106 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
6107 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
6108 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
6109 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
6110 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
6111 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
6112 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
6114 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6115 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6116 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6117 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6121 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
6122 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
6123 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
6124 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
6125 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
6127 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6128 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6129 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6130 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6135 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
6136 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
6137 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
6138 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
6139 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
6140 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
6141 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
6142 __MAX_BAUD): Move to termios-baud.h.
6143 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
6144 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
6145 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6146 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6147 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6149 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6151 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
6152 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
6153 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
6154 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
6155 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
6156 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
6158 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
6159 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
6161 [USE_MISC] (XTABS): Likewise.
6162 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6163 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6164 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6165 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
6167 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6169 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
6170 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
6171 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
6172 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
6173 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
6174 IUTF8): Move to termios-c_iflag.h.
6175 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6176 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6177 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6178 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6180 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6182 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
6183 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
6184 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
6185 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
6186 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
6187 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
6188 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
6189 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
6190 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6191 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6192 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6193 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6195 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
6196 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
6197 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
6198 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
6199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6201 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
6203 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
6205 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
6207 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
6209 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
6211 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
6212 _HAVE_C_OSPEED): Define.
6213 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
6214 _HAVE_C_OSPEED): Likewise.
6215 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
6216 _HAVE_C_OSPEED): Likewise.
6217 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
6218 (cfsetospeed): Check for define value instead of existence.
6219 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
6220 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
6221 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
6222 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
6223 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
6226 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
6228 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
6229 (TIOCSER_TEMT): Likewise.
6230 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
6231 (TEOCSER_TEMT): Likewise.
6233 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
6236 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
6238 2019-01-02 Joseph Myers <joseph@codesourcery.com>
6240 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
6242 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6244 * sysdeps/htl/pt-barrierattr-setpshared.c
6245 (pthread_barrierattr_setpshared): Add stub warning.
6246 * sysdeps/htl/pt-condattr-setpshared.c
6247 (pthread_condattr_setpshared): Likewise.
6248 * sysdeps/htl/pt-mutexattr-setpshared.c
6249 (pthread_mutexattr_setpshared): Likewise.
6250 * sysdeps/htl/pt-rwlockattr-setpshared.c
6251 (pthread_rwlockattr_setpshared): Likewise.
6252 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
6253 (pthread_mutexattr_setpshared): Likewise.
6255 2019-01-02 Joseph Myers <joseph@codesourcery.com>
6257 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
6258 constants to match with Linux 4.20.
6260 * sysdeps/mips/mips32/libm-test-ulps: Update.
6261 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6263 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
6266 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
6267 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
6268 than __typeof (...) for the a_ptr variable.
6270 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6272 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
6273 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
6274 * libio/Makefile (tests): Add tst-sprintf-ub and
6276 (CFLAGS-tst-sprintf-ub.c): New variable.
6277 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
6278 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
6279 destination buffer and check for overflows in fortified mode.
6280 * libio/libioP.h (PRINTF_CHK): New macro.
6281 * libio/tst-sprintf-chk-ub.c: New file.
6282 * libio/tst-sprintf-ub.c: Likewise.
6284 2019-01-02 Florian Weimer <fweimer@redhat.com>
6287 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
6290 2019-01-02 Florian Weimer <fweimer@redhat.com>
6292 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
6294 2019-01-01 Joseph Myers <joseph@codesourcery.com>
6296 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
6299 * sysdeps/unix/sysv/linux/netpacket/packet.h
6300 (PACKET_IGNORE_OUTGOING): New macro.
6302 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
6305 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6307 (riscv_flush_icache): New syscall.
6309 * manual/texinfo.tex: Update to version 2018-12-28.17 with
6310 trailing whitespace removed.
6311 * scripts/config.guess: Update to version 2019-01-01.
6312 * scripts/config.sub: Update to version 2019-01-01.
6313 * scripts/move-if-change: Update from gnulib.
6315 * NEWS: Update copyright dates.
6316 * catgets/gencat.c (print_version): Likewise.
6317 * csu/version.c (banner): Likewise.
6318 * debug/catchsegv.sh: Likewise.
6319 * debug/pcprofiledump.c (print_version): Likewise.
6320 * debug/xtrace.sh (do_version): Likewise.
6321 * elf/ldconfig.c (print_version): Likewise.
6322 * elf/ldd.bash.in: Likewise.
6323 * elf/pldd.c (print_version): Likewise.
6324 * elf/sotruss.sh: Likewise.
6325 * elf/sprof.c (print_version): Likewise.
6326 * iconv/iconv_prog.c (print_version): Likewise.
6327 * iconv/iconvconfig.c (print_version): Likewise.
6328 * locale/programs/locale.c (print_version): Likewise.
6329 * locale/programs/localedef.c (print_version): Likewise.
6330 * login/programs/pt_chown.c (print_version): Likewise.
6331 * malloc/memusage.sh (do_version): Likewise.
6332 * malloc/memusagestat.c (print_version): Likewise.
6333 * malloc/mtrace.pl: Likewise.
6334 * manual/libc.texinfo: Likewise.
6335 * nptl/version.c (banner): Likewise.
6336 * nscd/nscd.c (print_version): Likewise.
6337 * nss/getent.c (print_version): Likewise.
6338 * nss/makedb.c (print_version): Likewise.
6339 * posix/getconf.c (main): Likewise.
6340 * scripts/test-installation.pl: Likewise.
6341 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6343 * All files with FSF copyright notices: Update copyright dates
6344 using scripts/update-copyrights.
6345 * locale/programs/charmap-kw.h: Regenerated.
6346 * locale/programs/locfile-kw.h: Likewise.
6348 2018-12-31 Joseph Myers <joseph@codesourcery.com>
6350 * timezone/zdump.c: Update from tzcode 2018i.
6351 * timezone/zic.c: Likewise.
6353 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
6355 regex: improve Gnulib port to AIX
6356 From the glibc point of view, this removes duplicate macro
6357 definitions and is obviously safe.
6358 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
6359 * posix/regex_internal.h:
6360 (__attribute__, __attribute_warn_unused_result__):
6361 Remove; already defined elsewhere.
6363 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
6366 * malloc/malloc.c (_int_realloc): Always call memcpy for the
6367 copying operation. (ncopies had the wrong type, resulting in an
6368 integer wraparound and too few elements being copied.)
6370 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
6373 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
6374 <asm/syscalls.h> exists with __has_include__ before including it.
6376 2018-12-31 Joseph Myers <joseph@codesourcery.com>
6378 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6381 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
6383 * hurd/lookup-retry: Include <unistd.h>.
6384 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
6385 Release it on return. Handle "pid" magical lookup retry.
6387 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6390 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
6391 (t_fmt_ampm): Likewise.
6392 * localedata/locales/aa_ER (t_fmt): Likewise.
6393 (t_fmt_ampm): Likewise.
6394 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
6395 (t_fmt_ampm): Likewise.
6396 * localedata/locales/aa_ET (t_fmt): Likewise.
6397 (t_fmt_ampm): Likewise.
6398 * localedata/locales/am_ET (t_fmt): Likewise.
6399 (t_fmt_ampm): Likewise.
6400 * localedata/locales/byn_ER (t_fmt): Likewise.
6401 (t_fmt_ampm): Likewise.
6402 * localedata/locales/om_ET (t_fmt): Likewise.
6403 (t_fmt_ampm): Likewise.
6404 * localedata/locales/sid_ET (t_fmt): Likewise.
6405 (t_fmt_ampm): Likewise.
6406 * localedata/locales/so_DJ (t_fmt): Likewise.
6407 (t_fmt_ampm): Likewise.
6408 * localedata/locales/so_ET (t_fmt): Likewise.
6409 (t_fmt_ampm): Likewise.
6410 * localedata/locales/so_SO (t_fmt): Likewise.
6411 (t_fmt_ampm): Likewise.
6412 * localedata/locales/ti_ER (t_fmt): Likewise.
6413 (t_fmt_ampm): Likewise.
6414 * localedata/locales/ti_ET (t_fmt): Likewise.
6415 (t_fmt_ampm): Likewise.
6416 * localedata/locales/tig_ER (t_fmt): Likewise.
6417 (t_fmt_ampm): Likewise.
6418 * localedata/locales/wal_ET (t_fmt): Likewise.
6419 (t_fmt_ampm): Likewise.
6421 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
6422 * localedata/locales/ar_IN (t_fmt): Likewise.
6423 * localedata/locales/bhb_IN (t_fmt): Likewise.
6424 * localedata/locales/bho_IN (t_fmt): Likewise.
6425 * localedata/locales/bi_VU (t_fmt): Likewise.
6426 * localedata/locales/bn_BD (t_fmt): Likewise.
6427 * localedata/locales/bn_IN (t_fmt): Likewise.
6428 * localedata/locales/brx_IN (t_fmt): Likewise.
6429 * localedata/locales/doi_IN (t_fmt): Likewise.
6430 * localedata/locales/en_HK (t_fmt): Likewise.
6431 (t_fmt_ampm): Likewise.
6432 * localedata/locales/en_IN (t_fmt): Likewise.
6433 * localedata/locales/en_PH (t_fmt): Likewise.
6434 * localedata/locales/gu_IN (t_fmt): Likewise.
6435 * localedata/locales/hi_IN (t_fmt): Likewise.
6436 * localedata/locales/hif_FJ (t_fmt): Likewise.
6437 * localedata/locales/hne_IN (t_fmt): Likewise.
6438 * localedata/locales/kn_IN (t_fmt): Likewise.
6439 * localedata/locales/kok_IN (t_fmt): Likewise.
6440 * localedata/locales/ks_IN (t_fmt): Likewise.
6441 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
6442 * localedata/locales/mag_IN (t_fmt): Likewise.
6443 * localedata/locales/mai_IN (t_fmt): Likewise.
6444 * localedata/locales/mjw_IN (t_fmt): Likewise.
6445 * localedata/locales/ml_IN (t_fmt): Likewise.
6446 * localedata/locales/mni_IN (t_fmt): Likewise.
6447 * localedata/locales/mr_IN (t_fmt): Likewise.
6448 * localedata/locales/ms_MY (t_fmt): Likewise.
6449 * localedata/locales/pa_IN (t_fmt): Likewise.
6450 * localedata/locales/raj_IN (t_fmt): Likewise.
6451 * localedata/locales/sa_IN (t_fmt): Likewise.
6452 * localedata/locales/sat_IN (t_fmt): Likewise.
6453 * localedata/locales/sd_IN (t_fmt): Likewise.
6454 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
6455 * localedata/locales/tcy_IN (t_fmt): Likewise.
6456 * localedata/locales/the_NP (t_fmt): Likewise.
6457 * localedata/locales/to_TO (t_fmt): Likewise.
6458 * localedata/locales/ur_IN (t_fmt): Likewise.
6460 * localedata/locales/hif_FJ (d_t_fmt): Set to
6461 "%A %d %b %Y %I:%M:%S %p".
6462 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
6464 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
6465 * localedata/locales/ar_BH (t_fmt): Likewise.
6466 * localedata/locales/ar_DZ (t_fmt): Likewise.
6467 * localedata/locales/ar_EG (t_fmt): Likewise.
6468 * localedata/locales/ar_IQ (t_fmt): Likewise.
6469 * localedata/locales/ar_JO (t_fmt): Likewise.
6470 * localedata/locales/ar_KW (t_fmt): Likewise.
6471 * localedata/locales/ar_LB (t_fmt): Likewise.
6472 * localedata/locales/ar_LY (t_fmt): Likewise.
6473 * localedata/locales/ar_OM (t_fmt): Likewise.
6474 * localedata/locales/ar_QA (t_fmt): Likewise.
6475 * localedata/locales/ar_SD (t_fmt): Likewise.
6476 * localedata/locales/ar_SS (t_fmt): Likewise.
6477 * localedata/locales/ar_SY (t_fmt): Likewise.
6478 * localedata/locales/ar_TN (t_fmt): Likewise.
6479 * localedata/locales/ar_YE (t_fmt): Likewise.
6481 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
6482 (t_fmt_ampm): Likewise.
6483 * localedata/locales/gez_ET (t_fmt): Likewise.
6484 (t_fmt_ampm): Likewise.
6486 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
6487 (t_fmt_ampm): Likewise.
6488 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
6490 * localedata/locales/zh_HK (t_fmt):
6491 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
6493 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
6494 because this locale does not use the 12-hour clock.
6495 (t_fmt): Set to "%Z %H:%M:%S".
6496 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
6498 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
6499 because this locale does not use the 12-hour clock.
6500 (t_fmt): Set to "%H:%M:%S %Z".
6501 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
6503 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
6504 because this locale does not use the 12-hour clock.
6505 (t_fmt): Set to "%T".
6506 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
6507 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
6509 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
6510 because this locale does not use the 12-hour clock.
6511 (t_fmt): Set to "%H:%M:%S %Z".
6512 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
6514 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
6515 because this locale does not use the 12-hour clock.
6516 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
6517 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
6519 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6523 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
6524 (t_fmt_ampm): Likewise.
6525 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
6526 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
6527 (d_fmt): Set to "%-d.%-m.%y".
6529 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6531 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
6532 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
6533 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
6535 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
6536 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
6537 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
6539 * support/blob_repeat.c (check_mul_overflow_size_t,
6540 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
6542 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
6544 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
6546 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
6548 regex: simplify Gnulib port
6549 This simplifies the code, by removing stuff intended for porting
6550 to Gnulib but no longer needed there.
6551 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
6552 uses of libc_hidden_def, weak_alias.
6553 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
6554 _Restrict_ except for public-facing headers.
6555 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
6556 Remove; already defined elsewhere.
6557 * posix/regex.c, posix/regex_internal.h:
6558 Use __GNUC_PREREQ instead of rolling our own.
6559 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
6561 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
6563 * benchtests/bench-strlen.c (generic_strlen): New function.
6564 (memchr_strlen): New function.
6566 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6568 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
6569 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
6570 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
6572 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6574 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6576 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6578 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
6579 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
6580 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
6581 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
6582 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
6583 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
6584 <sysdeps/ieee754/flt-32/s_sincosf.c>.
6586 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6589 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
6590 PLT reference in libc.so.
6591 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
6592 _Q_lltoq and _Q_qtod PLT references in libc.so.
6594 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
6596 * benchtests/bench-memchr.c: Cleanup defines.
6597 * benchtests/bench-memcmp.c: Likewise.
6598 * benchtests/bench-memset.c: Likewise.
6599 * benchtests/bench-memset-large.c: Likewise.
6600 * benchtests/bench-memset-walk.c: Likewise.
6601 * benchtests/bench-stpcpy.c: Likewise.
6602 * benchtests/bench-stpncpy.c: Likewise.
6603 * benchtests/bench-strcat.c: Likewise.
6604 * benchtests/bench-strchr.c: Likewise.
6605 * benchtests/bench-strcmp.c: Likewise.
6606 * benchtests/bench-strcpy.c: Likewise.
6607 * benchtests/bench-strcspn.c: Likewise.
6608 * benchtests/bench-string.h: Likewise.
6609 * benchtests/bench-strlen.c: Likewise.
6610 * benchtests/bench-strncat.c: Likewise.
6611 * benchtests/bench-strncmp.c: Likewise.
6612 * benchtests/bench-strncpy.c: Likewise.
6613 * benchtests/bench-strnlen.c: Likewise.
6614 * benchtests/bench-strpbrk.c: Likewise.
6615 * benchtests/bench-strrchr.c: Likewise.
6616 * benchtests/bench-strspn.c: Likewise.
6618 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6620 * stdlib/longlong.h: Update from GCC.
6623 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
6624 * configure: Regenerated.
6625 * manual/install.texi (Tools for Compilation): Update minimum GCC
6627 * INSTALL: Regenerated.
6629 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
6631 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
6633 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
6635 * malloc/malloc.c (mremap_chunk): Additional checks.
6637 2018-12-21 Mao Han <han_mao@c-sky.com>
6639 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
6640 * scripts/build-many-glibcs.py: Add C-SKY targets.
6641 * sysdeps/csky/Implies: New file.
6642 * sysdeps/csky/Makefile: Likewise.
6643 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
6644 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
6645 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
6646 * sysdeps/csky/abiv2/memcmp.S: Likewise.
6647 * sysdeps/csky/abiv2/memcpy.S: Likewise.
6648 * sysdeps/csky/abiv2/memmove.S: Likewise.
6649 * sysdeps/csky/abiv2/memset.S: Likewise.
6650 * sysdeps/csky/abiv2/setjmp.S: Likewise.
6651 * sysdeps/csky/abiv2/start.S: Likewise.
6652 * sysdeps/csky/abiv2/strcmp.S: Likewise.
6653 * sysdeps/csky/abiv2/strcpy.S: Likewise.
6654 * sysdeps/csky/abiv2/strlen.S: Likewise.
6655 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
6656 * sysdeps/csky/abort-instr.h: Likewise.
6657 * sysdeps/csky/atomic-machine.h: Likewise.
6658 * sysdeps/csky/bits/endian.h: Likewise.
6659 * sysdeps/csky/bits/fenv.h: Likewise.
6660 * sysdeps/csky/bits/link.h: Likewise.
6661 * sysdeps/csky/bits/setjmp.h: Likewise.
6662 * sysdeps/csky/bsd-_setjmp.S: Likewise.
6663 * sysdeps/csky/bsd-setjmp.S: Likewise.
6664 * sysdeps/csky/configure: Likewise.
6665 * sysdeps/csky/configure.ac: Likewise.
6666 * sysdeps/csky/dl-machine.h: Likewise.
6667 * sysdeps/csky/dl-procinfo.c: Likewise.
6668 * sysdeps/csky/dl-procinfo.h: Likewise.
6669 * sysdeps/csky/dl-sysdep.h: Likewise.
6670 * sysdeps/csky/dl-tls.h: Likewise.
6671 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
6672 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
6673 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
6674 * sysdeps/csky/fpu/fegetenv.c: Likewise.
6675 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
6676 * sysdeps/csky/fpu/fegetmode.c: Likewise.
6677 * sysdeps/csky/fpu/fegetround.c: Likewise.
6678 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
6679 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
6680 * sysdeps/csky/fpu/fenv_private.h: Likewise.
6681 * sysdeps/csky/fpu/fesetenv.c: Likewise.
6682 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
6683 * sysdeps/csky/fpu/fesetmode.c: Likewise.
6684 * sysdeps/csky/fpu/fesetround.c: Likewise.
6685 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
6686 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
6687 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
6688 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
6689 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
6690 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
6691 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
6692 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
6693 * sysdeps/csky/fpu_control.h: Likewise.
6694 * sysdeps/csky/gccframe.h: Likewise.
6695 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
6696 * sysdeps/csky/ldsodefs.h: Likewise.
6697 * sysdeps/csky/libc-tls.c: Likewise.
6698 * sysdeps/csky/linkmap.h: Likewise.
6699 * sysdeps/csky/machine-gmon.h: Likewise.
6700 * sysdeps/csky/memusage.h: Likewise.
6701 * sysdeps/csky/nofpu/Implies: Likewise.
6702 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
6703 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
6704 * sysdeps/csky/nptl/Makefile: Likewise.
6705 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
6706 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
6707 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
6708 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
6709 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
6710 * sysdeps/csky/nptl/tls.h: Likewise.
6711 * sysdeps/csky/preconfigure: Likewise.
6712 * sysdeps/csky/sfp-machine.h: Likewise.
6713 * sysdeps/csky/sotruss-lib.c: Likewise.
6714 * sysdeps/csky/stackinfo.h: Likewise.
6715 * sysdeps/csky/sysdep.h: Likewise.
6716 * sysdeps/csky/tininess.h: Likewise.
6717 * sysdeps/csky/tst-audit.h: Likewise.
6718 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
6719 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
6720 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
6721 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
6722 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
6723 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
6724 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
6725 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
6726 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
6727 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
6728 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
6729 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
6730 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
6731 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
6732 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
6733 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
6734 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
6735 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
6736 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
6737 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
6738 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
6739 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
6740 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
6741 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
6742 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
6743 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
6744 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
6745 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
6746 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
6747 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
6748 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
6749 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
6750 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
6751 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
6752 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
6753 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
6754 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
6755 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
6756 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
6757 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
6758 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
6759 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
6760 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
6761 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
6763 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6765 * include/time.h (__difftime64): Add.
6766 * time/difftime.c (subtract): convert to 64-bit time.
6767 * time/difftime.c (__difftime64): Add.
6768 * time/difftime.c (__difftime): Wrap around __difftime64.
6770 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
6772 * manual/examples/add.c: Remove redundant "if not".
6773 * manual/examples/argp-ex1.c: Likewise.
6774 * manual/examples/argp-ex2.c: Likewise.
6775 * manual/examples/argp-ex3.c: Likewise.
6776 * manual/examples/argp-ex4.c: Likewise.
6777 * manual/examples/atexit.c: Likewise.
6778 * manual/examples/db.c: Likewise.
6779 * manual/examples/dir.c: Likewise.
6780 * manual/examples/dir2.c: Likewise.
6781 * manual/examples/execinfo.c: Likewise.
6782 * manual/examples/filecli.c: Likewise.
6783 * manual/examples/filesrv.c: Likewise.
6784 * manual/examples/fmtmsgexpl.c: Likewise.
6785 * manual/examples/genpass.c: Likewise.
6786 * manual/examples/inetcli.c: Likewise.
6787 * manual/examples/inetsrv.c: Likewise.
6788 * manual/examples/isockad.c: Likewise.
6789 * manual/examples/longopt.c: Likewise.
6790 * manual/examples/memopen.c: Likewise.
6791 * manual/examples/memstrm.c: Likewise.
6792 * manual/examples/mkdirent.c: Likewise.
6793 * manual/examples/mkfsock.c: Likewise.
6794 * manual/examples/mkisock.c: Likewise.
6795 * manual/examples/mygetpass.c: Likewise.
6796 * manual/examples/pipe.c: Likewise.
6797 * manual/examples/popen.c: Likewise.
6798 * manual/examples/rprintf.c: Likewise.
6799 * manual/examples/search.c: Likewise.
6800 * manual/examples/select.c: Likewise.
6801 * manual/examples/setjmp.c: Likewise.
6802 * manual/examples/sigh1.c: Likewise.
6803 * manual/examples/sigusr.c: Likewise.
6804 * manual/examples/stpcpy.c: Likewise.
6805 * manual/examples/strdupa.c: Likewise.
6806 * manual/examples/strftim.c: Likewise.
6807 * manual/examples/subopt.c: Likewise.
6808 * manual/examples/swapcontext.c: Likewise.
6809 * manual/examples/termios.c: Likewise.
6810 * manual/examples/testopt.c: Likewise.
6811 * manual/examples/testpass.c: Likewise.
6812 * manual/examples/timeval_subtract.c: Likewise.
6814 2018-12-19 Joseph Myers <joseph@codesourcery.com>
6816 * sysdeps/x86/fpu/math_private.h: New file.
6817 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
6819 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
6824 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6826 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
6827 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
6828 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
6829 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
6831 (_dl_show_auxv): Give a special treatment to
6832 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
6833 and AT_L3_CACHEGEOMETRY.
6834 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
6835 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
6836 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
6837 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
6839 2018-12-19 Andreas Schwab <schwab@suse.de>
6841 * nscd/connections.c (check_use): Don't abort on invalid len.
6843 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6845 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
6846 values in the 64bit value cases.
6848 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
6854 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
6860 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
6863 (__gmtime64_r): Add.
6865 (__gmtime64_r): Add.
6866 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6872 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
6875 (__localtime64_r): Add.
6877 (__localtime64_r): Add.
6878 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
6880 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6882 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
6883 kernel_sigction definition.
6885 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
6887 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
6889 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
6890 __syscall_rt_sigaction.
6891 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
6892 (kernel_sigaction): Use Linux generic defintion.
6894 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
6895 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
6896 (__syscall_rt_sigaction): Remove implementation.
6897 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
6899 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
6900 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
6901 INTERNAL_SYSCALL): Remove definitions.
6902 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
6903 action and signal set size.
6904 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
6905 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
6907 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6908 James Clarke <jrtc27@jrtc27.com>
6911 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
6912 Define if SA_RESTORER is defined.
6913 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
6914 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
6916 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
6917 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
6919 (HAS_SA_RESTORER): Define.
6920 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
6921 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
6922 (HAS_SA_RESTORER): Define.
6923 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
6924 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
6925 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
6926 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
6927 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6929 2018-12-18 Joseph Myers <joseph@codesourcery.com>
6931 * sysdeps/unix/sysv/linux/kernel-features.h
6932 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
6933 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6934 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
6935 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6936 (__ASSUME_ST_INO_64_BIT): Likewise.
6937 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6938 <kernel-features.h>.
6939 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6940 Remove conditional code.
6941 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6942 <kernel-features.h>.
6943 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6944 Remove conditional code.
6945 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
6946 <kernel-features.h>.
6947 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
6948 Remove conditional code.
6949 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
6950 <kernel-features.h>.
6951 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
6952 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
6954 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6956 * sysdeps/s390/multiarch/ifunc-resolve.h
6957 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
6958 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
6959 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
6960 Delete macro definition.
6961 (s390_libc_ifunc_init): Rename to
6962 s390_libc_ifunc_expr_stfle_init.
6963 * sysdeps/s390/bzero: Use
6964 s390_libc_ifunc_expr_stfle_init instead of
6965 s390_libc_ifunc_init.
6966 * sysdeps/s390/memcmp.c: Likewise.
6967 * sysdeps/s390/memcpy.c: Likewise.
6968 * sysdeps/s390/mempcpy.c: Likewise.
6969 * sysdeps/s390/memset.c: Likewise.
6971 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6973 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
6974 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
6976 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6978 * sysdeps/s390/multiarch/Makefile
6979 (sysdep_routines): Remove wmemcmp variants.
6980 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6981 * sysdeps/s390/multiarch/ifunc-impl-list.c
6982 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
6983 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
6984 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
6985 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
6986 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
6987 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
6988 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
6989 * sysdeps/s390/ifunc-wmemcmp.h: New file.
6991 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6993 * sysdeps/s390/multiarch/Makefile
6994 (sysdep_routines): Remove wmemset variants.
6995 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
6996 * sysdeps/s390/multiarch/ifunc-impl-list.c
6997 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
6998 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
6999 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
7000 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
7001 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
7002 * sysdeps/s390/multiarch/wmemset.c: Move to ...
7003 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
7004 * sysdeps/s390/ifunc-wmemset.h: New file.
7006 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7008 * sysdeps/s390/multiarch/Makefile
7009 (sysdep_routines): Remove wmemchr variants.
7010 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
7011 * sysdeps/s390/multiarch/ifunc-impl-list.c
7012 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
7013 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
7014 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
7015 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
7016 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
7017 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
7018 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
7019 * sysdeps/s390/ifunc-wmemchr.h: New file.
7021 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7023 * sysdeps/s390/multiarch/Makefile
7024 (sysdep_routines): Remove wcscspn variants.
7025 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
7026 * sysdeps/s390/multiarch/ifunc-impl-list.c
7027 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
7028 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
7029 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
7030 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
7031 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
7032 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
7033 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
7034 * sysdeps/s390/ifunc-wcscspn.h: New file.
7036 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7038 * sysdeps/s390/multiarch/Makefile
7039 (sysdep_routines): Remove wcspbrk variants.
7040 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
7041 * sysdeps/s390/multiarch/ifunc-impl-list.c
7042 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
7043 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
7044 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
7045 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
7046 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
7047 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
7048 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
7049 * sysdeps/s390/ifunc-wcspbrk.h: New file.
7051 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7053 * sysdeps/s390/multiarch/Makefile
7054 (sysdep_routines): Remove wcsspn variants.
7055 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
7056 * sysdeps/s390/multiarch/ifunc-impl-list.c
7057 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
7058 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
7059 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
7060 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
7061 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
7062 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
7063 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
7064 * sysdeps/s390/ifunc-wcsspn.h: New file.
7066 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7068 * sysdeps/s390/multiarch/Makefile
7069 (sysdep_routines): Remove wcsrchr variants.
7070 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
7071 * sysdeps/s390/multiarch/ifunc-impl-list.c
7072 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
7073 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
7074 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
7075 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
7076 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
7077 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
7078 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
7079 * sysdeps/s390/ifunc-wcsrchr.h: New file.
7081 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7083 * sysdeps/s390/multiarch/Makefile
7084 (sysdep_routines): Remove wcschrnul variants.
7085 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
7086 * sysdeps/s390/multiarch/ifunc-impl-list.c
7087 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
7088 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
7089 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
7090 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
7091 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
7092 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
7093 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
7094 * sysdeps/s390/ifunc-wcschrnul.h: New file.
7096 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7098 * sysdeps/s390/multiarch/Makefile
7099 (sysdep_routines): Remove wcschr variants.
7100 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
7101 * sysdeps/s390/multiarch/ifunc-impl-list.c
7102 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
7103 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
7104 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
7105 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
7106 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
7107 * sysdeps/s390/multiarch/wcschr.c: Move to ...
7108 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
7109 * sysdeps/s390/ifunc-wcschr.h: New file.
7111 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7113 * sysdeps/s390/multiarch/Makefile
7114 (sysdep_routines): Remove wcsncmp variants.
7115 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
7116 * sysdeps/s390/multiarch/ifunc-impl-list.c
7117 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
7118 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
7119 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
7120 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
7121 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
7122 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
7123 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
7124 * sysdeps/s390/ifunc-wcsncmp.h: New file.
7126 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7128 * sysdeps/s390/multiarch/Makefile
7129 (sysdep_routines): Remove wcscmp variants.
7130 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
7131 * sysdeps/s390/multiarch/ifunc-impl-list.c
7132 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
7133 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
7134 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
7135 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
7136 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
7137 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
7138 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
7139 * sysdeps/s390/ifunc-wcscmp.h: New file.
7141 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7143 * sysdeps/s390/multiarch/Makefile
7144 (sysdep_routines): Remove wcsncat variants.
7145 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
7146 * sysdeps/s390/multiarch/ifunc-impl-list.c
7147 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
7148 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
7149 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
7150 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
7151 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
7152 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
7153 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
7154 * sysdeps/s390/ifunc-wcsncat.h: New file.
7156 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7158 * sysdeps/s390/multiarch/Makefile
7159 (sysdep_routines): Remove wcscat variants.
7160 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
7161 * sysdeps/s390/multiarch/ifunc-impl-list.c
7162 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
7163 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
7164 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
7165 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
7166 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
7167 * sysdeps/s390/multiarch/wcscat.c: Move to ...
7168 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
7169 * sysdeps/s390/ifunc-wcscat.h: New file.
7171 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7173 * sysdeps/s390/multiarch/Makefile
7174 (sysdep_routines): Remove wcpncpy variants.
7175 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
7176 * sysdeps/s390/multiarch/ifunc-impl-list.c
7177 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
7178 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
7179 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
7180 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
7181 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
7182 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
7183 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
7184 * sysdeps/s390/ifunc-wcpncpy.h: New file.
7186 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7188 * sysdeps/s390/multiarch/Makefile
7189 (sysdep_routines): Remove wcsncpy variants.
7190 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
7191 * sysdeps/s390/multiarch/ifunc-impl-list.c
7192 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
7193 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
7194 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
7195 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
7196 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
7197 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
7198 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
7199 * sysdeps/s390/ifunc-wcsncpy.h: New file.
7201 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7203 * sysdeps/s390/multiarch/Makefile
7204 (sysdep_routines): Remove wcpcpy variants.
7205 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
7206 * sysdeps/s390/multiarch/ifunc-impl-list.c
7207 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
7208 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
7209 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
7210 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
7211 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
7212 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
7213 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
7214 * sysdeps/s390/ifunc-wcpcpy.h: New file.
7216 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7218 * sysdeps/s390/multiarch/Makefile
7219 (sysdep_routines): Remove wcscpy variants.
7220 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
7221 * sysdeps/s390/multiarch/ifunc-impl-list.c
7222 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
7223 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
7224 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
7225 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
7226 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
7227 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
7228 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
7229 * sysdeps/s390/ifunc-wcscpy.h: New file.
7231 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7233 * sysdeps/s390/multiarch/Makefile
7234 (sysdep_routines): Remove wcsnlen variants.
7235 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
7236 * sysdeps/s390/multiarch/ifunc-impl-list.c
7237 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
7238 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
7239 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
7240 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
7241 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
7242 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
7243 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
7244 * sysdeps/s390/ifunc-wcsnlen.h: New file.
7246 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7248 * sysdeps/s390/multiarch/Makefile
7249 (sysdep_routines): Remove wcslen variants.
7250 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
7251 * sysdeps/s390/multiarch/ifunc-impl-list.c
7252 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
7253 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
7254 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
7255 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
7256 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
7257 * sysdeps/s390/multiarch/wcslen.c: Move to ...
7258 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
7259 * sysdeps/s390/ifunc-wcslen.h: New file.
7261 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7263 * sysdeps/s390/multiarch/Makefile
7264 (sysdep_routines): Remove memrchr variants.
7265 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
7266 * sysdeps/s390/multiarch/ifunc-impl-list.c
7267 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
7268 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
7269 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
7270 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
7271 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
7272 * sysdeps/s390/multiarch/memrchr.c: Move to ...
7273 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
7274 * sysdeps/s390/ifunc-memrchr.h: New file.
7276 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7278 * sysdeps/s390/multiarch/Makefile
7279 (sysdep_routines): Remove memccpy variants.
7280 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
7281 * sysdeps/s390/multiarch/ifunc-impl-list.c
7282 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
7283 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
7284 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
7285 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
7286 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
7287 * sysdeps/s390/multiarch/memccpy.c: Move to ...
7288 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
7289 * sysdeps/s390/ifunc-memccpy.h: New file.
7291 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7293 * sysdeps/s390/multiarch/Makefile
7294 (sysdep_routines): Remove rawmemchr variants.
7295 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
7296 * sysdeps/s390/multiarch/ifunc-impl-list.c
7297 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
7298 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
7299 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
7300 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
7301 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
7302 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
7303 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
7304 * sysdeps/s390/ifunc-rawmemchr.h: New file.
7306 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7308 * sysdeps/s390/multiarch/Makefile
7309 (sysdep_routines): Remove memchr variants.
7310 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
7311 * sysdeps/s390/multiarch/ifunc-impl-list.c
7312 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
7313 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
7314 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
7315 * sysdeps/s390/multiarch/memchr.c: Move to ...
7316 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
7317 * sysdeps/s390/ifunc-memchr.h: New file.
7318 * sysdeps/s390/s390-64/memchr.S: Move to ...
7319 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
7320 for 31/64bit and ifunc handling.
7321 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
7322 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7323 * sysdeps/s390/s390-32/memchr.S: Likewise.
7325 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7327 * sysdeps/s390/multiarch/Makefile
7328 (sysdep_routines): Remove strcspn variants.
7329 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
7330 * sysdeps/s390/multiarch/ifunc-impl-list.c
7331 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
7332 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
7333 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
7334 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
7335 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
7336 * sysdeps/s390/multiarch/strcspn.c: Move to ...
7337 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
7338 * sysdeps/s390/ifunc-strcspn.h: New file.
7340 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7342 * sysdeps/s390/multiarch/Makefile
7343 (sysdep_routines): Remove strpbrk variants.
7344 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
7345 * sysdeps/s390/multiarch/ifunc-impl-list.c
7346 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
7347 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
7348 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
7349 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
7350 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
7351 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
7352 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
7353 * sysdeps/s390/ifunc-strpbrk.h: New file.
7355 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7357 * sysdeps/s390/multiarch/Makefile
7358 (sysdep_routines): Remove strspn variants.
7359 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
7360 * sysdeps/s390/multiarch/ifunc-impl-list.c
7361 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
7362 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
7363 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
7364 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
7365 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
7366 * sysdeps/s390/multiarch/strspn.c: Move to ...
7367 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
7368 * sysdeps/s390/ifunc-strspn.h: New file.
7370 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7372 * sysdeps/s390/multiarch/Makefile
7373 (sysdep_routines): Remove strrchr variants.
7374 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
7375 * sysdeps/s390/multiarch/ifunc-impl-list.c
7376 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
7377 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
7378 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
7379 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
7380 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
7381 * sysdeps/s390/multiarch/strrchr.c: Move to ...
7382 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
7383 * sysdeps/s390/ifunc-strrchr.h: New file.
7385 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7387 * sysdeps/s390/multiarch/Makefile
7388 (sysdep_routines): Remove strchrnul variants.
7389 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
7390 * sysdeps/s390/multiarch/ifunc-impl-list.c
7391 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
7392 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
7393 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
7394 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
7395 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
7396 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
7397 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
7398 * sysdeps/s390/ifunc-strchrnul.h: New file.
7400 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7402 * sysdeps/s390/multiarch/Makefile
7403 (sysdep_routines): Remove strchr variants.
7404 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
7405 * sysdeps/s390/multiarch/ifunc-impl-list.c
7406 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
7407 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
7408 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
7409 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
7410 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
7411 * sysdeps/s390/multiarch/strchr.c: Move to ...
7412 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
7413 * sysdeps/s390/ifunc-strchr.h: New file.
7415 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7417 * sysdeps/s390/multiarch/Makefile
7418 (sysdep_routines): Remove strncmp variants.
7419 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
7420 * sysdeps/s390/multiarch/ifunc-impl-list.c
7421 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
7422 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
7423 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
7424 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
7425 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
7426 * sysdeps/s390/multiarch/strncmp.c: Move to ...
7427 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
7428 * sysdeps/s390/ifunc-strncmp.h: New file.
7430 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7432 * sysdeps/s390/multiarch/Makefile
7433 (sysdep_routines): Remove strcmp variants.
7434 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
7435 * sysdeps/s390/multiarch/ifunc-impl-list.c
7436 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
7437 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
7438 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
7439 * sysdeps/s390/multiarch/strcmp.c: Move to ...
7440 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
7441 * sysdeps/s390/ifunc-strcmp.h: New file.
7442 * sysdeps/s390/s390-64/strcmp.S: Move to ...
7443 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
7444 for 31/64bit and ifunc handling.
7445 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
7446 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7447 * sysdeps/s390/s390-32/strcmp.S: Likewise.
7449 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7451 * sysdeps/s390/multiarch/Makefile
7452 (sysdep_routines): Remove strncat variants.
7453 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
7454 * sysdeps/s390/multiarch/ifunc-impl-list.c
7455 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
7456 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
7457 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
7458 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
7459 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
7460 * sysdeps/s390/multiarch/strncat.c: Move to ...
7461 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
7462 * sysdeps/s390/ifunc-strncat.h: New file.
7464 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7466 * sysdeps/s390/multiarch/Makefile
7467 (sysdep_routines): Remove strcat variants.
7468 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
7469 * sysdeps/s390/multiarch/ifunc-impl-list.c
7470 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
7471 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
7472 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
7473 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
7474 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
7475 * sysdeps/s390/multiarch/strcat.c: Move to ...
7476 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
7477 * sysdeps/s390/ifunc-strcat.h: New file.
7479 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7481 * sysdeps/s390/multiarch/Makefile
7482 (sysdep_routines): Remove stpncpy variants.
7483 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
7484 * sysdeps/s390/multiarch/ifunc-impl-list.c
7485 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
7486 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
7487 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
7488 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
7489 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
7490 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
7491 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
7492 * sysdeps/s390/ifunc-stpncpy.h: New file.
7494 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7496 * sysdeps/s390/multiarch/Makefile
7497 (sysdep_routines): Remove strncpy variants.
7498 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
7499 * sysdeps/s390/multiarch/ifunc-impl-list.c
7500 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
7501 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
7502 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
7503 * sysdeps/s390/multiarch/strncpy.c: Move to ...
7504 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
7505 * sysdeps/s390/ifunc-strncpy.h: New file.
7506 * sysdeps/s390/s390-64/strncpy.S: Move to ...
7507 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
7508 and adjust ifunc handling.
7509 * sysdeps/s390/s390-32/strncpy.S: Move to ...
7510 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
7511 and adjust ifunc handling.
7512 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
7513 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7515 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7517 * sysdeps/s390/multiarch/Makefile
7518 (sysdep_routines): Remove stpcpy variants.
7519 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
7520 * sysdeps/s390/multiarch/ifunc-impl-list.c
7521 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
7522 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
7523 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
7524 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
7525 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
7526 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
7527 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
7528 * sysdeps/s390/ifunc-stpcpy.h: New file.
7530 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7532 * sysdeps/s390/multiarch/Makefile
7533 (sysdep_routines): Remove strcpy variants.
7534 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
7535 * sysdeps/s390/multiarch/ifunc-impl-list.c
7536 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
7537 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
7538 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
7539 * sysdeps/s390/multiarch/strcpy.c: Move to ...
7540 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
7541 * sysdeps/s390/ifunc-strcpy.h: New file.
7542 * sysdeps/s390/s390-64/strcpy.S: Move to ...
7543 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
7544 for 31/64bit and ifunc handling.
7545 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
7546 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7547 * sysdeps/s390/s390-32/strcpy.S: Likewise.
7549 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7551 * sysdeps/s390/multiarch/Makefile
7552 (sysdep_routines): Remove strnlen variants.
7553 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
7554 * sysdeps/s390/multiarch/ifunc-impl-list.c
7555 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
7556 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
7557 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
7558 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
7559 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
7560 * sysdeps/s390/multiarch/strnlen.c: Move to ...
7561 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
7562 * sysdeps/s390/ifunc-strnlen.h: New file.
7564 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7566 * sysdeps/s390/multiarch/Makefile
7567 (sysdep_routines): Remove strlen variants.
7568 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
7569 * sysdeps/s390/multiarch/ifunc-impl-list.c
7570 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
7571 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
7572 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
7573 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
7574 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
7575 * sysdeps/s390/multiarch/strlen.c: Move to ...
7576 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
7577 * sysdeps/s390/ifunc-strlen.h: New file.
7579 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7581 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
7582 * sysdeps/s390/multiarch/ifunc-impl-list.c
7583 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
7584 * sysdeps/s390/ifunc-memmem.h: New file.
7585 * sysdeps/s390/memmem.c: Likewise.
7586 * sysdeps/s390/memmem-c.c: Likewise.
7587 * sysdeps/s390/memmem-vx.c: Likewise.
7589 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7591 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
7592 * sysdeps/s390/multiarch/ifunc-impl-list.c
7593 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
7594 * sysdeps/s390/ifunc-strstr.h: New file.
7595 * sysdeps/s390/strstr.c: Likewise.
7596 * sysdeps/s390/strstr-c.c: Likewise.
7597 * sysdeps/s390/strstr-vx.c: Likewise.
7599 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7601 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
7602 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
7603 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
7604 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
7606 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
7607 * sysdeps/s390/memmove-c.c: New file.
7608 * sysdeps/s390/memmove.c: Likewise.
7609 * sysdeps/s390/multiarch/ifunc-impl-list.c
7610 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
7612 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7614 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
7615 * sysdeps/s390/configure.ac: Add check for z13 support.
7616 * sysdeps/s390/configure: Regenerated.
7618 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7620 * sysdeps/s390/memcopy.h: New file.
7622 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7624 * sysdeps/s390/s390-32/bcopy.S: Remove.
7625 * sysdeps/s390/s390-64/bcopy.S: Likewise.
7627 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7629 * sysdeps/s390/ifunc-memcpy.h: New File.
7630 * sysdeps/s390/memcpy.S: Move to ...
7631 * sysdeps/s390/memcpy-z900.S ... here.
7632 Move implementations from memcpy-s390x.s to here.
7633 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
7634 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7635 Remove memcpy/mempcpy variants.
7636 * sysdeps/s390/Makefile (sysdep_routines):
7637 Add memcpy/mempcpy variants.
7638 * sysdeps/s390/multiarch/ifunc-impl-list.c
7639 (__libc_ifunc_impl_list): Adjust ifunc variants for
7641 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
7643 * sysdeps/s390/memcpy.c: ... here.
7644 Adjust ifunc variants for memcpy.
7645 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
7646 * sysdeps/s390/mempcpy.c: ... here.
7647 Adjust ifunc variants for mempcpy.
7648 * sysdeps/s390/mempcpy.S: Delete file.
7650 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7652 * sysdeps/s390/s390-64/memcpy.S: Move to ...
7653 * sysdeps/s390/memcpy.S: ... here.
7654 Adjust to be usable for 31/64bit.
7655 * sysdeps/s390/s390-32/memcpy.S: Delete File.
7656 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
7657 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
7658 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7659 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
7660 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
7661 Adjust to be usable for 31/64bit.
7662 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
7663 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
7664 * sysdeps/s390/multiarch/memcpy.c: ... here.
7665 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
7667 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7669 * sysdeps/s390/ifunc-memcmp.h: New File.
7670 * sysdeps/s390/memcmp.S: Move to ...
7671 * sysdeps/s390/memcmp-z900.S ... here.
7672 Move implementations from memcmp-s390x.s to here.
7673 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
7674 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7675 Remove memcmp variants.
7676 * sysdeps/s390/Makefile (sysdep_routines):
7677 Add memcmp variants.
7678 * sysdeps/s390/multiarch/ifunc-impl-list.c
7679 (__libc_ifunc_impl_list): Adjust ifunc variants for
7681 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
7683 * sysdeps/s390/memcmp.c: ... here.
7684 Adjust ifunc variants for memcmp.
7686 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7688 * sysdeps/s390/s390-64/memcmp.S: Move to ...
7689 * sysdeps/s390/memcmp.S: ... here.
7690 Adjust to be usable for 31/64bit.
7691 * sysdeps/s390/s390-32/memcmp.S: Delete File.
7692 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
7693 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7695 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7696 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
7697 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
7698 Adjust to be usable for 31/64bit.
7699 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
7700 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
7701 * sysdeps/s390/multiarch/memcmp.c: ... here.
7702 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
7704 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7706 * sysdeps/s390/s390-32/bzero.S: Delete file.
7707 * sysdeps/s390/s390-64/bzero.S: Likewise.
7708 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
7709 * sysdeps/s390/bzero.c: New file.
7710 * sysdeps/s390/memset-z900.S: Add bzero entry points.
7711 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
7712 * sysdeps/s390/multiarch/ifunc-impl-list.c
7713 (__libc_ifunc_impl_list): Add bzero ifunc variants.
7715 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7717 * sysdeps/s390/ifunc-memset.h: New File.
7718 * sysdeps/s390/memset.S: Move to ...
7719 * sysdeps/s390/memset-z900.S ... here.
7720 Move implementations from memset-s390x.s to here.
7721 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
7722 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
7723 Remove memset variants.
7724 * sysdeps/s390/Makefile (sysdep_routines):
7725 Add memset variants.
7726 * sysdeps/s390/multiarch/ifunc-impl-list.c
7727 (__libc_ifunc_impl_list): Adjust ifunc variants for
7729 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
7731 * sysdeps/s390/memset.c: ... here.
7732 Adjust ifunc variants for memset.
7734 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7736 * sysdeps/s390/s390-64/memset.S: Move to ...
7737 * sysdeps/s390/memset.S: ... here.
7738 Adjust to be usable for 31/64bit.
7739 * sysdeps/s390/s390-32/memset.S: Delete File.
7740 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
7741 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7743 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
7744 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
7745 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
7746 Adjust to be usable for 31/64bit.
7747 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
7748 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
7749 * sysdeps/s390/multiarch/memset.c: ... here.
7750 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
7752 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7754 * sysdeps/s390/multiarch/ifunc-resolve.h
7755 (s390_libc_ifunc_init, s390_libc_ifunc,
7756 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
7758 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7760 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
7761 * sysdeps/s390/configure.ac: Add check for z10 support.
7762 * sysdeps/s390/configure: Regenerated.
7764 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
7766 * sysdeps/i386/atomic-machine.h: Merged with ...
7767 * sysdeps/x86_64/atomic-machine.h: To ...
7768 * sysdeps/x86/atomic-machine.h: This. New file.
7770 2018-12-18 Florian Weimer <fweimer@redhat.com>
7772 Rewrite locale/gen-translit.pl in Python.
7773 * locale/Makefile (generated): Add C-translit.h.
7774 (before-compile): Add $(objpfx)C-translit.h.
7775 (C-translit.h): Move to $(objpfx). Create target directory.
7776 Build using Python script.
7777 * locale/gen-translit.py: New file.
7778 * locale/gen-translit.pl: Remove file.
7779 * locale/C-translit.h.in: Change comment character to '#' for
7780 easier parsing without a C preprocessor.
7781 * locale/C-translit.h: Remove generated file.
7782 * manual/install.texi (Tools for Compilation): Do not mention
7784 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7785 Remove locale/C-translit.h.
7786 * scripts/update-copyrights: Likewise.
7787 * INSTALL: Regenerate.
7789 2018-12-18 Florian Weimer <fweimer@redhat.com>
7792 * localedata/locales/bi_VU: Remove executable bit from file.
7794 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
7797 (__localtime64): Add.
7798 * manual/maint.texi: Document Y2038 symbol handling.
7800 (__localtime64): Add.
7801 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
7803 2018-12-17 Joseph Myers <joseph@codesourcery.com>
7805 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
7808 * scripts/glibcextract.py (compare_macro_consts): Take parameters
7809 to allow extra macros from first or second sources.
7810 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
7811 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7812 (tests-special): Add $(objpfx)tst-mman-consts.out.
7813 ($(objpfx)tst-mman-consts.out): New makefile target.
7815 2018-12-17 Mao Han <han_mao@c-sky.com>
7817 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
7818 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
7819 without stat64 system call support.
7820 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
7821 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
7822 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7823 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
7824 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
7825 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
7826 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
7827 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
7828 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
7829 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
7830 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
7832 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
7834 regex: fix storage-exhaustion error
7836 * posix/regexec.c (get_subexp):
7837 Do not continue if storage is exhausted.
7839 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
7841 regex: fix heap-use-after-free error
7843 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
7844 https://debbugs.gnu.org/32592
7845 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
7846 call extend_buffers which reallocates the re_string_t internal buffer.
7847 Local variable 'buf' was not updated in such case, resulting in
7849 * posix/regexec.c (get_subexp): Update 'buf' after call to
7852 2018-12-15 Florian Weimer <fweimer@redhat.com>
7854 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
7855 (minimum_stride_size): Use it.
7856 (support_blob_repeat_allocate): Likewise.
7858 2018-12-14 Joseph Myers <joseph@codesourcery.com>
7860 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
7865 2018-12-14 Florian Weimer <fweimer@redhat.com>
7867 * manual/process.texi (Process Creation Concepts): Remove
7868 documentation of process (ID) lifetime. List more process
7869 creation functions. Reference Process Identification section.
7870 (Process Identification): Add information about process ID
7871 lifetime. Describe Linux thread/task IDs.
7872 * manual/signal.texi (Signaling Another Process): Mention that the
7873 signal is always sent to the process.
7875 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7877 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
7878 and tst-ldbl-efgcvt.
7879 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
7880 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
7881 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
7882 (fcvt_tests, output_error, output_r_error, do_test): Use the
7883 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
7884 select the type of floating-point variables and arguments; to
7885 produce extra tests for double and conversion specifiers for
7886 printf; and to set the names of called functions.
7887 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
7888 in tst-efgcvt-template.c.
7889 * misc/tst-ldbl-efgcvt.c: Likewise.
7891 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
7893 * nss/Makefile (tst-nss-test3.out): New rule.
7895 2018-12-13 Joseph Myers <joseph@codesourcery.com>
7897 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
7900 2018-12-13 fanjinke <fanjinke@hygon.cn>
7902 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
7905 2018-12-13 Andreas Schwab <schwab@suse.de>
7908 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
7909 (__pthread_rwlock_rdlock_full): Update expected value for
7910 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
7911 * nptl/tst-rwlock-pwn.c: New file.
7912 * nptl/Makefile (tests): Add tst-rwlock-pwn.
7914 2018-12-12 Joseph Myers <joseph@codesourcery.com>
7916 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
7919 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7921 * benchtests/scripts/compare_bench.py (do_compare): write to
7922 stderr in casestat is not present.
7923 * benchtests/scripts/compare_bench.py (plot_graphs): write to
7924 stderr in case timings field is not present. Also string showing
7925 the output filename goes into the stderr.
7927 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7929 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
7930 and ZeroDivisorError exceptions.
7931 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
7932 argument to loop through user provided statistics.
7933 * benchtests/scripts/compare_bench.py (main): Include the --stats
7936 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7938 * benchtests/scripts/compare_bench.py (compare_runs): Continue
7941 2018-12-12 Florian Weimer <fweimer@redhat.com>
7943 * sysdeps/posix/timespec_get.c: Add missing “any later version”
7944 clause to copyright header.
7946 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7949 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
7950 registers saved in the stack frame.
7951 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
7952 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
7954 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7956 * include/bits/monetary-ldbl.h: New file.
7957 * include/bits/printf-ldbl.h: Likewise.
7958 * include/bits/stdio-ldbl.h: Likewise.
7959 * include/bits/stdlib-ldbl.h: Likewise.
7960 * include/bits/syslog-ldbl.h: Likewise.
7961 * include/bits/wchar-ldbl.h: Likewise.
7963 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7965 * libio/libio.h: Remove redirection for _IO_vfprintf.
7967 2018-12-11 Andreas Schwab <schwab@suse.de>
7969 * Makerules: Remove all references to abilist-pattern.
7970 (update-all-abi): Simplify find expression.
7972 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7975 * math/auto-libm-test-in: Add new test case.
7976 * math/auto-libm-test-out-pow: Regenerated.
7977 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
7979 2018-12-10 DJ Delorie <dj@redhat.com>
7982 * support/test-container.c: Move postclean step to before we
7985 2018-12-10 Joseph Myers <joseph@codesourcery.com>
7987 * scripts/gen-as-const.py (main): Handle --python option.
7988 * scripts/gen-py-const.awk: Remove.
7989 * Makerules (py-const-script): Use gen-as-const.py.
7990 ($(py-const)): Likewise.
7991 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
7992 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
7993 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
7994 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
7995 ~PTHREAD_MUTEX_NO_ELISION_NP.
7996 * manual/README.pretty-printers: Update reference to
7999 * scripts/glibcextract.py: New file.
8000 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
8001 or tempfile. Import glibcexctract.
8002 (compute_c_consts): Remove. Moved to glibcextract.py.
8003 (gen_test): Update reference to compute_c_consts.
8005 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
8006 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
8007 * sysdeps/unix/sysv/linux/Makefile
8008 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
8009 Redirect stderr as well as stdout.
8011 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
8014 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
8015 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
8016 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
8017 ALWAYS_USE_VSYSCALL.
8018 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
8019 ALWAYS_USE_VSYSCALL.
8020 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
8021 ALWAYS_USE_VSYSCALL.
8023 2018-12-10 Florian Weimer <fweimer@redhat.com>
8026 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
8027 offset instead of count for clarity. Fix typo in comment.
8028 (__old_getdents64): Keep track of previous offset. Use it to call
8030 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
8031 that d_off is never zero.
8033 2018-12-10 Andreas Schwab <schwab@suse.de>
8035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
8036 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
8037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
8038 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
8039 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
8041 2018-12-10 Joseph Myers <joseph@codesourcery.com>
8043 * timezone/private.h: Update from tzcode 2018g.
8044 * timezone/tzfile.h: Likewise.
8045 * timezone/tzselect.ksh: Likewise.
8046 * timezone/zdump.c: Likewise.
8047 * timezone/zic.c: Likewise.
8049 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8052 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
8053 (do_test): Adjust buffer size and fix format.
8055 2018-12-07 DJ Delorie <dj@redhat.com>
8058 * malloc/tst-tcfree3.c: New.
8059 * malloc/Makefile: Add it.
8061 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8063 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
8065 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8067 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
8068 used as a mask for the mode argument of __vfscanf_internal and
8069 __vfwscanf_internal.
8070 * stdio-common/vfscanf-internal.c
8071 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
8072 (__strtof128_internal): Define to __wcstof128_internal.
8073 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
8074 __strtof128_internal or __wcstof128_internal when the format of
8075 long double is the same as _Float128.
8077 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
8079 * include/unistd.h (__confstr): Add prototype and hidden prototype.
8080 * posix/confstr.c (confstr): Rename to __confstr.
8081 (__confstr): Add hidden def.
8082 (confstr): Add weak alias for __confstr.
8083 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
8086 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8088 * NEWS: Mention getcpu.
8089 * include/sched.h (__getcpu): New libc_hidden_proto.
8090 * manual/resource.texi: Document getcpu.
8091 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
8092 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
8093 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
8094 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8095 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8096 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8097 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8098 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8099 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8100 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8101 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8102 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8103 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
8105 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8106 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8107 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
8116 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8117 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8118 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8119 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8120 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8121 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8122 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8123 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8124 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
8125 * sysdeps/unix/sysv/linux/getcpu.c: New file.
8126 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
8129 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8131 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
8133 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
8135 2018-12-07 Florian Weimer <fweimer@redhat.com>
8138 * posix/Makefile (routines): Add spawn_faction_addfchdir.
8139 * posix/Versions (GLIBC_2.29): Export
8140 posix_spawn_file_actions_addfchdir_np.
8141 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
8142 * posix/spawn_faction_destroy.c
8143 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
8144 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
8145 and the field action.fchdir_action.
8146 * posix/tst-spawn-chdir.c (add_chdir): New function.
8147 (do_test): Add do_fchdir loop. Call add_chdir.
8148 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
8149 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8150 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8151 posix_spawn_file_actions_addfchdir_np.
8152 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8154 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8156 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8157 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8159 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8161 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8163 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8165 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8167 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8169 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8170 (GLIBC_2.29): Likewise.
8171 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8172 (GLIBC_2.29): Likewise.
8173 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8174 (GLIBC_2.29): Likewise.
8175 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8176 (GLIBC_2.29): Likewise.
8177 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8180 (GLIBC_2.29): Likewise.
8181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8182 (GLIBC_2.29): Likewise.
8183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8184 (GLIBC_2.29): Likewise.
8185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8186 (GLIBC_2.29): Likewise.
8187 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8189 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8191 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8193 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8194 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8196 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8198 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8200 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8203 2018-12-06 Joseph Myers <joseph@codesourcery.com>
8205 * manual/texinfo.tex: Update to version 2018-09-21.20 with
8206 trailing whitespace removed.
8207 * scripts/config.guess: Update to version 2018-11-28.
8208 * scripts/config.sub: Update to version 2018-11-28.
8209 * scripts/install-sh: Update to version 2018-03-11.20.
8210 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
8211 * scripts/move-if-change: Update to version 2018-03-07 03:47.
8213 2018-12-07 Florian Weimer <fweimer@redhat.com>
8217 * inet/tst-if_index-long.c: New file.
8218 * inet/Makefile (tests): Add tst-if_index-long.
8220 2018-12-07 Florian Weimer <fweimer@redhat.com>
8222 * support/check.h (support_record_failure_is_failed): Declare.
8223 * support/descriptors.h: New file.
8224 * support/support_descriptors.c: Likewise.
8225 * support/tst-support_descriptors.c: Likewise.
8226 * support/support_record_failure.c
8227 (support_record_failure_is_failed): New function.
8228 * support/Makefile (libsupport-routines): Add support_descriptors.
8229 (tests): Add tst-support_descriptors.
8231 2018-12-05 Zack Weinberg <zackw@panix.com>
8232 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8234 * stdio-common/vfprintf-internal.c
8235 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
8236 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
8237 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
8238 and __no_long_double.
8239 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
8240 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
8241 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
8242 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
8243 and __nldbl_*syslog* functions.
8244 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
8245 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
8246 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
8247 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
8248 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
8249 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
8250 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
8251 (__nldbl_vwprintf, __nldbl_wprintf):
8252 Directly call the appropriate __v*printf_internal routine, passing
8253 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
8255 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
8256 (__nldbl___printf_chk, __nldbl___snprintf_chk)
8257 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
8258 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
8259 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
8260 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
8261 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
8262 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
8263 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
8264 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
8265 Likewise, and also pass PRINTF_FORTIFY when appropriate.
8266 (__nldbl_syslog, __nldbl_vsyslog):
8267 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
8268 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
8270 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
8273 2018-12-05 Zack Weinberg <zackw@panix.com>
8274 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8277 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
8278 Moved here from debug/vsprintf_chk.c.
8279 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
8280 and completion logic for the strfile to match exactly what
8281 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
8282 _IO_str_init_static_internal instead of maxlen-1.
8283 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
8284 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
8285 __vsprintf_internal.
8287 * debug/vsprintf_chk.c (__vsprintf_chk)
8288 * debug/sprintf_chk.c (__sprintf_chk):
8289 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
8290 'flags' argument is positive, and slen as maxlen. No need to lock
8291 the FILE and/or construct a temporary FILE. Minimize and normalize
8292 header inclusions and variable names. Do not libc_hidden_def anything.
8294 * debug/asprintf_chk.c (__asprintf_chk)
8295 * debug/dprintf_chk.c (__dprintf_chk)
8296 * debug/fprintf_chk.c (__fprintf_chk)
8297 * debug/fwprintf_chk.c (__fwprintf_chk)
8298 * debug/printf_chk.c (__printf_chk)
8299 * debug/snprintf_chk.c (__snprintf_chk)
8300 * debug/swprintf_chk.c (__swprintf_chk)
8301 * debug/vasprintf_chk.c (__vasprintf_chk)
8302 * debug/vdprintf_chk.c (__vdprintf_chk)
8303 * debug/vfprintf_chk.c (__vfprintf_chk)
8304 * debug/vfwprintf_chk.c (__vfwprintf_chk)
8305 * debug/vprintf_chk.c (__vprintf_chk)
8306 * debug/vsnprintf_chk.c (__vsnprintf_chk)
8307 * debug/vswprintf_chk.c (__vswprintf_chk)
8308 * debug/vwprintf_chk.c (__vwprintf_chk)
8309 * debug/wprintf_chk.c (__wprintf_chk):
8310 Directly call the corresponding vxxprintf_internal function, passing
8311 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
8312 the FILE and/or construct a temporary FILE. Minimize and normalize
8313 header inclusions and variable names. Do not libc_hidden_def anything.
8315 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
8316 __obstack_vprintf_internal.
8317 (__obstack_vprintf_chk): Convert into a wrapper that calls
8318 __obstack_vprintf_internal (these two functions already had the
8319 same code) and move to new file...
8320 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
8322 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
8323 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
8324 * debug/Makefile (routines): Add vobprintf_chk.
8326 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8327 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
8328 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
8329 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
8330 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
8331 (__nldbl___obstack_vfprintf_chk):
8332 Directly call the corresponding vxxprintf_internal function,
8333 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
8334 duplicate comparison of slen with 0 or maxlen from the corresponding
8335 non-__nldbl function.
8337 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
8338 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
8339 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
8340 Remove libc_hidden_proto.
8342 * stdio-common/vfprintf-internal.c
8343 (__vfprintf_internal, __vfwprintf_internal):
8344 Do not check _IO_FLAGS2_FORTIFY.
8345 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
8346 * libio/libioP.h: Update prototype of __vsprintf_internal and add
8347 a comment explaining why it has the maxlen argument.
8348 (_IO_acquire_lock_clear_flags2_fct): Remove.
8349 (_IO_acquire_lock_clear_flags2): Remove.
8350 (_IO_release_lock): Remove conditional statement which will
8352 (_IO_acquire_lock): Remove variable which is now unused.
8353 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
8354 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
8356 * stdio-common/Makefile (tests): Add tst-bz11319 and
8357 tst-bz11319-fortify2.
8358 (CFLAGS-tst-bz11319-fortify2.c): New macro.
8359 * stdio-common/tst-bz11319-fortify2.c: New file.
8360 * stdio-common/tst-bz11319.c: Likewise.
8362 2018-12-05 Zack Weinberg <zackw@panix.com>
8363 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8365 * misc/syslog.c: Include libioP.h, not iolibio.h.
8366 (__vsyslog_internal): New function with the former body of
8367 __vsyslog_chk; takes mode_flags argument same as
8368 __v*printf_internal. Call __vfprintf_internal directly.
8370 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
8371 Remove libc_hidden_def.
8372 (__syslog, __syslog_chk): Use __vsyslog_internal.
8373 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
8375 * include/sys/syslog.h: Add multiple inclusion guard.
8376 Add prototype for __vsyslog_internal.
8377 Remove declaration and libc_hidden_proto for __vsyslog_chk.
8379 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
8380 Use __vsyslog_internal.
8382 2018-12-05 Zack Weinberg <zackw@panix.com>
8383 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8385 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
8386 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
8387 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
8389 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
8390 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
8392 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
8393 Include wctype.h here if COMPILE_WPRINTF is defined.
8394 Define __vfprintf_internal or __vfwprintf_internal, depending
8396 Temporarily, on entry to this function, update mode_flags
8397 according to the environmental settings corresponding to
8398 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
8399 Throughout, check mode_flags instead of __ldbl_is_dbl and
8400 _IO_FLAGS2_FORTIFY on the destination FILE.
8401 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
8402 Include vfprintf-internal.c. Don't include wctype.h.
8403 * stdio-common/vfprintf.c: New file. Just define __vfprintf
8404 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
8406 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
8407 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
8409 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
8411 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
8412 and add mode_flags argument; use __vfprintf_internal.
8413 (__vdprintf): New function. Alias vdprintf to this.
8414 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
8415 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
8416 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
8417 (__obstack_printf): Use __obstack_printf_internal.
8418 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
8419 public aliases __vsnprintf and vsnprintf.
8420 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
8422 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
8423 public aliases _IO_vsprintf and vsprintf.
8424 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
8425 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
8426 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
8427 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
8428 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
8430 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
8431 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
8432 * stdio-common/fprintf.c, stdio-common/fxprintf.c
8433 * stdio-common/printf.c: Use __vfprintf_internal.
8435 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
8436 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
8437 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
8439 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
8440 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
8441 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
8442 __vfwprintf_internal.
8444 * libio/libio.h: Remove libc_hidden_proto and declaration for
8446 Remove declaration of _IO_vfwprintf.
8447 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
8449 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
8451 * include/stdio.h: Add prototype for __vasprintf.
8452 (__vsnprintf): Remove declaration, because there are no more
8454 * include/wchar.h (__vfwprintf, __vswprintf): Remove
8455 declaration, because there are no more internal calls.
8457 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
8458 __vsnprintf_internal, instead of _IO_vsnprintf.
8459 * argp/argp-help.c (__argp_error, __argp_failure): Use
8460 __vasprintf_internal, instead of _IO_vasprintf.
8461 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
8462 redefine, because there are no more internal calls.
8464 2018-12-05 Zack Weinberg <zackw@panix.com>
8465 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8467 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
8468 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
8469 Include libio/strfile.h instead of libioP.h.
8470 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
8471 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
8472 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
8473 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
8474 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
8475 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
8476 necessary. Do not set __no_long_double. Normalize variable names.
8477 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
8478 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
8479 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
8480 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
8481 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
8482 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
8483 Call __vfscanf_internal / __vfwscanf_internal directly, passing
8484 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
8485 Do not set __no_long_double. Normalize variable names.
8487 2018-12-05 Zack Weinberg <zackw@panix.com>
8488 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8490 * stdio-common/isoc99_scanf.c
8491 * stdio-common/isoc99_fscanf.c
8492 * stdio-common/isoc99_sscanf.c
8493 * stdio-common/isoc99_vscanf.c
8494 * stdio-common/isoc99_vfscanf.c
8495 * stdio-common/isoc99_vsscanf.c
8496 * wcsmbs/isoc99_wscanf.c
8497 * wcsmbs/isoc99_fwscanf.c
8498 * wcsmbs/isoc99_swscanf.c
8499 * wcsmbs/isoc99_vwscanf.c
8500 * wcsmbs/isoc99_vfwscanf.c
8501 * wcsmbs/isoc99_vswscanf.c:
8502 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
8503 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
8504 No need to lock and unlock the FILE passed to that function.
8506 * stdio-common/vfscanf-internal.c
8507 (__vfscanf_internal, __vfwscanf_internal):
8508 Don't look at _IO_FLAGS2_SCANF_STD.
8509 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
8510 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
8511 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
8513 2018-12-05 Zack Weinberg <zackw@panix.com>
8514 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8516 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
8517 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
8518 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
8519 * libio/strfile.h: Add multiple inclusion guard.
8520 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
8522 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
8523 consistency with the other version of this file.
8524 (ldbl_compat_symbol): New macro.
8525 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
8528 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
8529 Define __vfscanf_internal or __vfwscanf_internal, depending on
8530 COMPILE_WSCANF; don't define any other public symbols.
8531 Remove errval and code to set errp.
8532 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
8533 as the mode_flags argument.
8534 (encode_error, conv_error, input_error): Don't set errval.
8535 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
8536 Include vfscanf-internal.c.
8537 * stdio-common/vfscanf.c: New file defining the public entry
8538 point vfscanf, which calls __vfscanf_internal.
8539 * stdio-common/vfwscanf.c: New file defining the public entry
8540 point vfwscanf, which calls __vfwscanf_internal.
8542 * stdio-common/iovfscanf.c: New file.
8543 * stdio-common/iovfwscanf.c: Likewise.
8545 * stdio-common/Makefile (routines): Add vfscanf-internal,
8546 vfwscanf-internal, iovfscanf, iovfwscanf.
8547 * stdio-common/Versions: Mention GLIBC_2.29, so that
8548 it can be used in SHLIB_COMPAT expressions.
8549 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
8550 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
8551 Call __vfscanf_internal, instead of _IO_vfscanf.
8552 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
8554 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
8557 * libio/iovsscanf.c: Clean up includes, when possible. Use
8558 _IO_strfile_read or _IO_strfile_readw, when needed. Call
8559 __vfscanf_internal or __vfwscanf_internal directly.
8560 * libio/iovswscanf.c: Likewise.
8561 * libio/swscanf.c: Likewise.
8562 * libio/vscanf.c: Likewise.
8563 * libio/vwscanf.c: Likewise.
8564 * libio/wscanf.c: Likewise.
8565 * stdio-common/isoc99_fscanf.c: Likewise.
8566 * stdio-common/isoc99_scanf.c: Likewise.
8567 * stdio-common/isoc99_sscanf.c: Likewise.
8568 * stdio-common/isoc99_vfscanf.c: Likewise.
8569 * stdio-common/isoc99_vscanf.c: Likewise.
8570 * stdio-common/isoc99_vsscanf.c: Likewise.
8571 * stdio-common/scanf.c: Likewise.
8572 * stdio-common/sscanf.c: Likewise.
8573 * wcsmbs/isoc99_fwscanf.c: Likewise.
8574 * wcsmbs/isoc99_swscanf.c: Likewise.
8575 * wcsmbs/isoc99_vfwscanf.c: Likewise.
8576 * wcsmbs/isoc99_vswscanf.c: Likewise.
8577 * wcsmbs/isoc99_vwscanf.c: Likewise.
8578 * wcsmbs/isoc99_wscanf.c: Likewise.
8580 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
8583 (__tz_compute): Replace time_t with __time64_t.
8584 (__tz_convert): Replace time_t* with __time64_t.
8585 (__offtime): Replace time_t* with __time64_t.
8587 (__gmtime_r): Adjust call to __tz_convert.
8590 (__localtime_r): Likewise.
8591 (localtime): Likewise.
8592 * time/offtime.c: Replace time_t with __time64_t.
8593 * time/tzset.c: Likewise.
8595 2018-12-04 Joseph Myers <joseph@codesourcery.com>
8597 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
8598 dynamic linker unless [$(run-built-tests) = yes].
8600 2018-12-03 DJ Delorie <dj@delorie.com>
8602 * support/test-container.c (check_for_unshare_hints): New.
8603 (main): Call it if unshare fails. Add support for "su" scriptlet
8606 2018-12-03 Joseph Myers <joseph@codesourcery.com>
8608 * scripts/gen-as-const.py (compute_c_consts): Take an argument
8609 'START' to indicate that start text should be output.
8610 (gen_test): Likewise.
8611 (main): Generate 'START' for first symbol or '--' line, or at end
8612 of input if not previously generated.
8614 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
8617 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
8618 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
8619 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
8620 ALWAYS_USE_VSYSCALL.
8622 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8625 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
8628 2018-12-03 Carlos O'Donell <carlos@redhat.com>
8631 * locale/programs/localedef.c: Declare boolean hard_links default true.
8632 (options): Add --no-hard-links option.
8633 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
8634 * locale/programs/localedef.h: Declare prototype for hard_links.
8635 * locale/programs/locfile.c (write_locale_data): Don't use hard
8636 links if hard_links is false.
8638 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
8640 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
8642 (__cache_sysconf): Likewise.
8643 (init_cacheinfo): Likewise.
8644 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
8645 populate COMMON_CPUID_INDEX_80000007 and
8646 COMMON_CPUID_INDEX_80000008.
8647 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
8648 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
8649 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
8650 (init_cpu_features): Use _Static_assert on
8651 index_arch_Fast_Unaligned_Load.
8652 __get_cpuid_registers and __get_arch_feature. Updated for
8653 cpu_features_basic. Set stepping in cpu_features.
8654 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
8655 (FEATURE_INDEX_2): New.
8656 (FEATURE_INDEX_MAX): Changed to enum.
8657 (COMMON_CPUID_INDEX_D_ECX_1): New.
8658 (COMMON_CPUID_INDEX_80000007): Likewise.
8659 (COMMON_CPUID_INDEX_80000008): Likewise.
8660 (cpuid_registers): Likewise.
8661 (cpu_features_basic): Likewise.
8662 (CPU_FEATURE_USABLE): Likewise.
8663 (bit_arch_XXX_Usable): Likewise.
8664 (cpu_features): Use cpuid_registers and cpu_features_basic.
8665 (bit_arch_XXX): Reweritten.
8666 (bit_cpu_XXX): Likewise.
8667 (index_cpu_XXX): Likewise.
8668 (reg_XXX): Likewise.
8669 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
8671 (CHECK_CPU_FEATURE): New.
8672 (CHECK_CPU_FEATURE_USABLE): Likewise.
8673 (cpu_kinds): Likewise.
8674 (do_test): Print vendor, family, model and stepping. Check
8675 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
8676 (TEST_FUNCTION): Removed.
8677 Include <support/test-driver.c> instead of
8678 "../../test-skeleton.c".
8679 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
8680 Check POPCNT instead of POPCOUNT.
8681 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
8683 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8685 * scripts/gen-as-const.py (main): Avoid emitting empty line when
8686 there is no element in `consts'.
8688 2018-12-01 Florian Weimer <fweimer@redhat.com>
8690 * support/support_capture_subprocess.c
8691 (support_capture_subprocess): Check that pipe descriptors have
8692 expected values. Close original pipe descriptors in subprocess.
8694 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8697 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
8698 attr with __pthread_default_barrierattr.
8699 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
8700 attr with __pthread_default_condattr.
8701 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
8702 attr with __pthread_default_mutexattr.
8703 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
8704 attr with __pthread_default_rwlockattr.
8706 2018-12-01 Kemi Wang <kemi.wang@intel.com>
8708 * manual/tunables.texi (POSIX Thread Tunables): New node.
8709 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
8710 * nptl/nptl-init.c: Include pthread_mutex_conf.h
8711 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
8712 __pthread_tunables_init.
8713 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
8714 (max_adaptive_count): Define.
8715 * nptl/pthread_mutex_conf.c: New file.
8716 * nptl/pthread_mutex_conf.h: New file.
8717 * sysdeps/generic/adaptive_spin_count.h: New file.
8718 * sysdeps/nptl/dl-tunables.list: New file.
8719 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8720 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
8721 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
8724 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
8727 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
8728 * stdlib/on_exit.c (__on_exit): Likewise.
8729 * stdlib/Makefile (tests): Add tst-bz20544.
8730 * stdlib/tst-bz20544.c: New test.
8732 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
8735 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
8736 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
8739 2018-11-30 Florian Weimer <fweimer@redhat.com>
8741 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
8742 Extend error logging.
8743 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
8746 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8748 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
8749 __sigismember instead of sigismember.
8750 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
8751 cancel_handler): New definitions.
8752 (do_system): Use posix_spawn instead of fork and execl and remove
8754 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
8755 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
8756 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
8757 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8758 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8759 * sysdeps/unix/sysv/linux/system.c: Likewise.
8763 * NEWS: Add new semantic for atfork with popen and system.
8764 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
8767 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8770 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
8771 modification order when accessing reloc_result->addr.
8772 * include/link.h (reloc_result): Add field init.
8773 * nptl/Makefile (tests): Add tst-audit-threads.
8774 (modules-names): Add tst-audit-threads-mod1 and
8775 tst-audit-threads-mod2.
8776 Add rules to build tst-audit-threads.
8777 * nptl/tst-audit-threads-mod1.c: New file.
8778 * nptl/tst-audit-threads-mod2.c: Likewise.
8779 * nptl/tst-audit-threads.c: Likewise.
8780 * nptl/tst-audit-threads.h: Likewise.
8782 2018-11-30 Joseph Myers <joseph@codesourcery.com>
8784 * scripts/gen-as-const.py: New file.
8785 * scripts/gen-as-const.awk: Remove.
8786 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
8788 ($(objpfx)test-as-const-%.c): Likewise.
8790 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8792 * elf/dl-exception.c: Include <_itoa.h>.
8794 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8796 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
8797 returned by __f_setlk.
8799 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
8800 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8802 * elf/Makefile (tests-internal): Add tst-create_format1.
8803 * elf/dl-exception.c (_dl_exception_create_format): Support
8805 * elf/tst-create_format1.c: New file.
8807 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
8809 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
8810 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
8812 * argp/argp-help.c (__argp_failure): Likewise.
8814 2018-11-29 Mao Han <han_mao@c-sky.com>
8816 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
8817 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
8818 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
8819 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
8820 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
8821 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
8822 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
8823 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
8824 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
8825 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
8826 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
8827 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
8828 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
8829 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
8830 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
8831 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
8832 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
8833 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
8834 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
8835 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
8836 (R_CKCORE_TLS_TPOFF32): New defines.
8838 2018-11-29 Florian Weimer <fweimer@redhat.com>
8840 * posix/Makefile (before-compile): Remove testcases.h and
8842 (generated): Add testcases.h and ptestcases.h.
8843 (testcases.h, ptestcases.h): Move to $(objpfx).
8844 (runtests.o): Add dependency on testcases.h.
8845 (runptests.o): Add dependency on ptestcases.h.
8846 * posix/testcases.h, posix/ptestcases.h: Remove files.
8847 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
8848 not touch posix/testcases.h and posix/ptestcases.h.
8850 2018-11-28 Florian Weimer <fweimer@redhat.com>
8852 support: Add signal support to support_capture_subprocess_check.
8853 * support/capture_subprocess.h (support_capture_subprocess_check):
8854 Adjust comment and rename parameter.
8855 * support/support_capture_subprocess_check.c
8856 (print_actual_status): New function.
8857 (support_capture_subprocess_check): Support negative
8858 status_or_signal. Call print_actual_status.
8859 * support/tst-support_capture_subprocess.c (do_test): Call
8860 support_capture_subprocess_check.
8861 * libio/tst-vtables-common.c (termination_status)
8862 (init_termination_status): Remove.
8863 (check_for_termination): Adjust support_capture_subprocess_check
8865 (do_test): Remove call to init_termination_status.
8867 2018-11-28 Joseph Myers <joseph@codesourcery.com>
8869 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
8870 source directory instead of a copy.
8871 (CommandList.create_copy_dir): Remove.
8873 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
8875 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8877 2018-11-28 Florian Weimer <fweimer@redhat.com>
8879 * support/support.h (support_quote_string): Do not use str
8882 2018-11-27 Joseph Myers <joseph@codesourcery.com>
8884 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
8885 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
8887 2018-11-27 Florian Weimer <fweimer@redhat.com>
8889 * support/support.h (support_quote_string): Declare.
8890 * support/support_quote_string.c: New file.
8891 * support/tst-support_quote_string.c: Likewise.
8892 * support/Makefile (libsupport-routines): Add
8893 support_quote_string.
8894 (tests): Add tst-support_quote_string.
8896 2018-11-27 Florian Weimer <fweimer@redhat.com>
8900 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
8901 descriptor leak in case of ENODEV error.
8903 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
8906 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
8907 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
8908 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
8910 2018-11-26 Carlos O'Donell <carlos@redhat.com>
8912 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
8913 Error for unknown lines.
8915 2018-11-26 Joseph Myers <joseph@codesourcery.com>
8917 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8918 Touch additional files.
8920 2018-11-26 Florian Weimer <fweimer@redhat.com>
8923 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
8926 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
8929 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
8930 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
8931 SHARED. Include sysdep.h.
8932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
8933 ALWAYS_USE_VSYSCALL.
8934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
8935 ALWAYS_USE_VSYSCALL.
8937 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
8940 * nptl/Makefile (tests-static): Add tst-cond11-static.
8942 * nptl/tst-cond11-static.c: New File.
8943 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
8944 tst-affinity-static.
8946 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
8948 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
8949 (USE_VSYSCALL): Likewise.
8950 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
8951 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
8953 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
8955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
8958 2018-11-23 Joseph Myers <joseph@codesourcery.com>
8961 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8962 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
8965 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
8967 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
8968 (tst-cet-legacy-1a-ARGS): New.
8969 ($(objpfx)tst-cet-legacy-1a): New target.
8970 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
8972 2018-11-22 Joseph Myers <joseph@codesourcery.com>
8974 * conform/conformtest.py (CompileSubTest.__init__): Set
8975 self.run_early to False.
8976 (ExecuteSubTest.__init__): Likewise.
8977 (HeaderTests.run): Try running all non-optional, non-XFAILed
8978 compilation tests in a single execution of the compiler.
8980 * conform/conformtest.py (CompileSubTest): New class.
8981 (ExecuteSubTest): Likewise.
8982 (ElementTest.run): Rename to gen_subtests. Append tests to
8983 self.subtests instead of running them.
8984 (ConstantTest.run): Likewise.
8985 (SymbolTest.run): Likewise.
8986 (TypeTest.run): Likewise.
8987 (TagTest.run): Likewise.
8988 (FunctionTest.run): Likewise.
8989 (VariableTest.run): Likewise.
8990 (MacroFunctionTest.run): Likewise.
8991 (MacroStrTest.run): Likewise.
8992 (HeaderTests.handle_test_line): Generate subtests for tests.
8993 (HeaderTests.run): Run subtests for tests.
8995 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8997 * math/Versions (GLIBC_2.29): Add pow.
8998 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
9000 * math/w_pow.c: New file.
9001 * sysdeps/i386/fpu/w_pow.c: New file.
9002 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
9003 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
9004 and add necessary aliases.
9005 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
9006 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
9007 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9008 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9009 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9010 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9011 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9012 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9013 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9014 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9015 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9016 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9017 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9018 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9019 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9024 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9025 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9026 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9027 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9028 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9029 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9030 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9031 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
9033 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
9034 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
9035 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
9037 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9039 * math/Versions (GLIBC_2.29): Add log2.
9040 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
9042 * math/w_log2.c: New file.
9043 * sysdeps/i386/fpu/w_log2.c: New file.
9044 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
9045 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
9046 and add necessary aliases.
9047 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
9048 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
9049 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9050 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9051 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9052 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9053 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9054 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9055 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9056 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9057 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9058 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9059 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9060 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9061 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9066 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9067 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9068 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9069 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9070 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9071 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9072 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9074 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9076 * math/Versions (GLIBC_2.29): Add log.
9077 * math/w_log_compat.c (__log_compat): Change to versioned compat
9079 * math/w_log.c: New file.
9080 * sysdeps/i386/fpu/w_log.c: New file.
9081 * sysdeps/ia64/fpu/e_log.S: Update.
9082 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
9083 and add necessary aliases.
9084 * sysdeps/ieee754/dbl-64/w_log.c: New file.
9085 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
9086 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9087 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9088 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9089 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9090 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9091 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9092 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9093 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9094 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9095 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9096 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9097 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9098 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9103 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9104 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9105 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9106 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9107 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9108 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9109 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9110 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
9112 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
9113 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
9114 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
9115 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
9117 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9119 * math/Versions (GLIBC_2.29): Add exp and exp2.
9120 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
9121 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
9122 * math/w_exp_compat.c (__exp_compat): Likewise.
9123 * math/w_exp.c: New file.
9124 * math/w_exp2.c: New file.
9125 * sysdeps/i386/fpu/w_exp.c: New file.
9126 * sysdeps/i386/fpu/w_exp2.c: New file.
9127 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
9128 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
9129 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
9130 and add necessary aliases.
9131 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
9132 and add necessary aliases.
9133 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
9134 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
9135 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
9136 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
9137 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9138 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9139 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9140 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9141 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9142 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9143 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9144 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9145 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9146 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9147 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9148 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9149 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9154 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9155 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9156 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9157 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9158 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9159 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9160 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9161 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
9162 (__ieee754_exp): Rename to __exp.
9163 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
9164 (__ieee754_exp): Rename to __exp.
9165 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
9166 (__ieee754_exp): Rename to __exp.
9167 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
9169 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
9171 2018-11-20 DJ Delorie <dj@redhat.com>
9173 * malloc/malloc.c (tcache_entry): Add key field.
9174 (tcache_put): Set it.
9175 (tcache_get): Likewise.
9176 (_int_free): Check for double free in tcache.
9177 * malloc/tst-tcfree1.c: New.
9178 * malloc/tst-tcfree2.c: New.
9179 * malloc/Makefile: Run the new tests.
9180 * manual/probes.texi: Document memory_tcache_double_free probe.
9182 * dlfcn/dlerror.c (check_free): Prevent double frees.
9184 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
9186 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
9188 2018-11-20 Joseph Myers <joseph@codesourcery.com>
9190 * conform/conformtest.py (ElementTest.run): Use unique identifiers
9191 in tests. Use names for format arguments.
9192 (ConstantTest.run): Likewise.
9193 (SymbolTest.run): Likewise.
9194 (TypeTest.run): Likewise.
9195 (TagTest.run): Likewise.
9196 (FunctionTest.run): Likewise.
9197 (VariableTest.run): Likewise.
9198 (MacroFunctionTest.run): Likewise.
9199 (MacroStrTest.run): Likewise.
9200 (HeaderTests.__init__): Set self.num_tests.
9201 (HeaderTests.handle_test_line): Set test.num. Increment
9204 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
9206 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
9207 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
9210 2018-11-19 Mao Han <han_mao@c-sky.com>
9212 * scripts/config.guess: Update to version 2018-08-29.
9213 * scripts/config.sub: Update to version 2018-08-29.
9215 2018-11-19 Florian Weimer <fweimer@redhat.com>
9217 support: Print timestamps in timeout handler.
9218 * support/support_test_main.c (print_timestamp): New function.
9219 (signal_handler): Use it to print the termination time and the
9220 time of the last write to standard output.
9222 2018-11-16 Zack Weinberg <zackw@panix.com>
9223 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9225 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
9226 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
9228 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
9229 and add flags argument. Check flags instead of __ldbl_is_dbl when
9230 deciding whether to set is_long_double.
9231 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
9232 passing zero for flags argument.
9233 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
9235 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9236 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
9237 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
9238 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
9239 variable names. Remove libc_hidden_def/libc_hidden_proto from
9240 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
9241 longer called from within the library.
9242 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
9243 for __nldbl___vstrfmon_l, declare it explicitly.
9245 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
9247 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9249 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
9251 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
9252 F_SETLK64, F_SETLKW64, respectively.
9253 * sysdeps/mach/hurd/f_setlk.c: New file.
9254 * sysdeps/mach/hurd/f_setlk.h: New file.
9255 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
9257 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
9258 (__libc_fcntl): Move non-flock operations to...
9259 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
9260 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
9262 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
9264 mktime: DEBUG_MKTIME cleanup
9265 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
9266 And it’s no longer needed now that glibc and Gnulib both have
9267 their own testing mechanisms for mktime.
9268 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
9270 mktime: fix non-EOVERFLOW errno handling
9272 mktime was not properly reporting failures when the underlying
9273 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
9274 them like EOVERFLOW failures, and set errno to EOVERFLOW.
9275 The problem could happen on non-glibc platforms, with Gnulib.
9276 * time/mktime.c (guess_time_tm): Remove, replacing with ...
9277 (tm_diff): ... this simpler function, which does not change errno.
9278 All callers changed to deal with errno themselves.
9279 (ranged_convert, __mktime_internal): Return failure immediately if
9280 the underlying function reports any failure other than EOVERFLOW.
9281 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
9284 mktime: fix bug with Y2038 DST transition
9286 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
9287 mishandle a DST transition that jumps over the Y2038 boundary.
9288 No such DST transitions are known so this is only a theoretical
9289 bug, but we might as well do things right.
9291 mktime: make more room for overflow
9293 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
9294 This is so that we can add tm_diff results to a previous guess,
9295 which will be useful in a later patch.
9297 mktime: simplify offset guess
9299 * time/mktime.c (__mktime_internal): Omit excess precision.
9301 mktime: new test for mktime failure
9303 Based on a test suggested by Albert Aribaud in:
9304 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
9305 * time/Makefile (tests): Add bug-mktime4.
9306 * time/bug-mktime4.c: New file.
9308 mktime: fix EOVERFLOW bug
9310 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
9311 Include libc-config.h, not config.h, for __set_errno.
9312 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
9314 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9316 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
9317 __attribute_copy__ to copy attributes from name. Drop static qualifier
9318 to avoid warnings about leaf attribute not having effect on static
9321 2018-11-13 Florian Weimer <fweimer@redhat.com>
9323 * malloc/malloc.c (fastbin_push_entry): New function.
9324 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
9325 (REMOVE_FB): Remove macro.
9326 (_int_malloc): Use fastbin_pop_entry and reindent.
9327 (_int_free): Use fastbin_push_entry.
9328 (malloc_consolidate): Use atomic_exchange_acquire.
9330 2018-11-13 Joseph Myers <joseph@codesourcery.com>
9332 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
9333 alias attribute, not with strong_alias.
9335 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
9336 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
9337 with additional parameter thread.
9338 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
9339 in terms of __hidden_ver2.
9340 (hidden_tls_def): New macro.
9341 (libc_hidden_tls_def): Likewise.
9342 (rtld_hidden_tls_def): Likewise.
9343 (libm_hidden_tls_def): Likewise.
9344 (libmvec_hidden_tls_def): Likewise.
9345 (libresolv_hidden_tls_def): Likewise.
9346 (librt_hidden_tls_def): Likewise.
9347 (libdl_hidden_tls_def): Likewise.
9348 (libnss_files_hidden_tls_def): Likewise.
9349 (libnsl_hidden_tls_def): Likewise.
9350 (libnss_nisplus_hidden_tls_def): Likewise.
9351 (libutil_hidden_tls_def): Likewise.
9352 (libutil_hidden_tls_def): Likweise.
9353 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
9354 libc_hidden_tls_def.
9355 (__sim_disabled_exceptions_thread): Likewise.
9356 (__sim_round_mode_thread): Likewise.
9358 * sysdeps/sparc/sparc-ifunc.h [SHARED]
9359 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
9360 copy attributes from name.
9362 2018-11-12 Joseph Myers <joseph@codesourcery.com>
9364 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
9365 Use __attribute_copy__ to copy attributes from name.
9367 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
9368 with __hidden_ver1 call.
9369 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
9370 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
9371 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
9372 (__cosf): Do not declare here.
9373 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
9374 (__sincosf): Do not declare here.
9375 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
9376 (__sinf): Do not declare here.
9378 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
9379 (__BIG_ENDIAN): Likewise.
9380 (__BYTE_ORDER): Likewise.
9381 (strong_alias): Likewise.
9382 (_strong_alias): Likewise.
9384 2018-11-12 Florian Weimer <fweimer@redhat.com>
9386 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
9387 function. Move after the definition of in_smallbin_range. Do not
9388 use __builtin_expect for paths that lead to a noreturn function.
9389 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
9390 because it is unclear whether this is in fact an unlikely
9392 (_int_malloc, _int_free): Adjust.
9393 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
9395 * malloc/arena.c (heap_trim): Likewise.
9397 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9399 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
9400 it, free it if needed.
9401 (reauthenticate): Test and use ccwdir.
9402 (child_init_port): In non-resetids case, test and use ccwdir.
9403 (child_chdir): New nested function to set ccwdir.
9404 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
9405 * hurd/hurd/port.h (_hurd_port_move): New function.
9406 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
9407 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
9408 * hurd/Versions (_hurd_port_move): Export function.
9409 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
9411 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
9412 of dtablesize for allocating dtable_cloexec.
9414 2018-11-09 Martin Sebor <msebor@redhat.com>
9416 * include/libc-symbols.h (__attribute_copy__): Define macro unless
9417 it's already defined.
9418 (_strong_alias): Use __attribute_copy__.
9419 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
9420 * misc/sys/cdefs.h (__attribute_copy__): New macro.
9421 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
9422 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
9423 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
9424 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
9425 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
9426 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
9427 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
9428 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
9429 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
9430 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
9431 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
9432 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
9433 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
9434 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
9435 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
9436 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
9437 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
9439 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9441 * misc/tst-efgcvt.c: Include support/check.h and
9442 support/test-driver.c. Do not include test-skeleton.c.
9443 (error_count): Remove.
9444 (output_error): Replace increments to error_count with calls to
9445 support_record_failure.
9446 (output_r_error): Likewise.
9447 (special): Likewise.
9448 (do_test): Unconditionally return zero.
9449 (TEST_FUNCTION): Remove.
9451 2018-11-09 Joseph Myers <joseph@codesourcery.com>
9453 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
9455 ($(linknamespace-header-tests)): Likewise.
9457 * conform/conformtest.py: New file.
9458 * conform/conformtest.pl: Remove.
9459 * conform/GlibcConform.pm: Likewise.
9460 * conform/glibcconform.py (KEYWORDS_C90): New constant.
9461 (KEYWORDS_C99): Likewise.
9462 (KEYWORDS): Likewise.
9463 * conform/Makefile ($(conformtest-header-tests)): Use
9464 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
9465 option. Use --header instead of --headers.
9466 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
9468 * conform/data/spawn.h-data: Likewise.
9469 * conform/data/fcntl.h-data (openat): Add space after function
9471 * conform/data/wchar.h-data (wcscasecmp): Likewise.
9472 (wcscasecmp_l): Likewise.
9473 * conform/data/termios.h-data (c_cc): Add space after element
9476 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9478 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
9479 instead of manually comparing and reporting mismatching strings.
9480 * misc/tst-ldbl-error.c (do_one_test): Likewise.
9481 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
9483 2018-11-08 Joseph Myers <joseph@codesourcery.com>
9485 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
9486 __ASSUME_SOCKETCALL.
9487 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9488 (__ASSUME_SOCKETCALL): Remove.
9489 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9490 (__ASSUME_SOCKETCALL): Likewise.
9491 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9492 (__ASSUME_SOCKETCALL): Likewise.
9493 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9494 (__ASSUME_SOCKETCALL): Likewise.
9495 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9496 (__ASSUME_SOCKETCALL): Likewise.
9497 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9498 (__ASSUME_SOCKETCALL): Likewise.
9499 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9500 (__ASSUME_SOCKETCALL): Likewise.
9502 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
9505 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
9506 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
9507 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
9508 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
9509 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
9512 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
9515 * resolv/tst-resolv-network.c: Add test for getnetbyname.
9517 2018-11-07 Joseph Myers <joseph@codesourcery.com>
9520 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9521 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9522 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9523 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9525 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9527 * support/support_test_compare_string.c
9528 (support_test_compare_string): Fix printf format.
9530 2018-11-07 Florian Weimer <fweimer@redhat.com>
9532 Implement TEST_COMPARE_STRING.
9533 * support/check.h (TEST_COMPARE_STRING): Define.
9534 (support_test_compare_string): Declare.
9535 * support/Makefile (libsupport-routines): Add
9536 support_test_compare_string.
9537 (tests): Add tst-test_compare_string.
9538 * support/support_test_compare_string.c: New file.
9539 * support/tst-test_compare_string.c: Likewise.
9541 2018-11-07 Andreas Schwab <schwab@suse.de>
9544 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
9545 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
9548 2018-11-06 Joseph Myers <joseph@codesourcery.com>
9551 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9552 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
9553 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
9554 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
9557 2018-11-06 Florian Weimer <fweimer@redhat.com>
9560 * posix/Makefile (routines): Add spawn_faction_addchdir.
9561 (tests): Add tst-spawn-chdir.
9562 * posix/Versions (GLIBC_2.29): Add
9563 posix_spawn_file_actions_addchdir_np.
9564 * posix/spawn_faction_addchdir.c: New file.
9565 * posix/spawn_faction_destroy.c
9566 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
9567 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
9568 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
9570 * posix/tst-spawn-chdir.c: New file.
9571 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
9572 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9573 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9574 posix_spawn_file_actions_addchdir_np.
9575 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9577 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9579 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9580 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9582 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9584 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9586 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9588 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9590 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9592 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9593 (GLIBC_2.29): Likewise.
9594 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9595 (GLIBC_2.29): Likewise.
9596 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9597 (GLIBC_2.29): Likewise.
9598 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9599 (GLIBC_2.29): Likewise.
9600 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9603 (GLIBC_2.29): Likewise.
9604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9605 (GLIBC_2.29): Likewise.
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9607 (GLIBC_2.29): Likewise.
9608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9609 (GLIBC_2.29): Likewise.
9610 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9612 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9614 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9616 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9617 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9619 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9621 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9623 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9626 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9628 * misc/Makefile (tests): Add tst-ldbl-error.
9629 * misc/tst-ldbl-error.c: New file.
9631 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9633 * misc/Makefile (tests): Add tst-ldbl-warn.
9634 * misc/tst-ldbl-warn.c: New file.
9636 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9638 * argp/Makefile (tests): Add tst-ldbl-argp.
9639 * argp/tst-ldbl-argp.c: New file.
9641 2018-11-05 Arjun Shankar <arjun@redhat.com>
9643 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
9644 __gconv_path_elem and call __gconv_get_path unconditionally.
9646 2018-11-05 Andreas Schwab <schwab@suse.de>
9649 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
9650 creating the first helper thread failed.
9652 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9654 * sysdeps/mach/hurd/msync.c: New file.
9656 2018-11-02 Florian Weimer <fweimer@redhat.com>
9658 * support/shell-container.c (copy_func): Call
9659 support_copy_file_range instead of copy_file_range to support
9660 cross-device copies.
9662 2018-11-02 Florian Weimer <fweimer@redhat.com>
9664 * support/test-container.c: Include <libc-pointer-arith.h> for
9667 2018-11-01 Zong Li <zong@andestech.com>
9669 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
9670 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
9671 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
9672 (__FP_FRAC_SET_8): Add implementation for RV32 use.
9674 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
9675 variable to avoid overlap arguments.
9677 2018-11-01 Joseph Myers <joseph@codesourcery.com>
9679 * posix/bug-regex22.c (main): Use puts with distinct error
9680 messages for unexpected success of re_compile_pattern, not printf
9681 with NULL argument to %s.
9683 * stdio-common/bug22.c: Include <libc-diag.h>.
9684 (do_test): Disable -Wformat-overflow= warnings around fprintf
9685 calls outputting more than INT_MAX characters.
9686 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
9687 around printf call with NULL %s argument.
9690 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
9691 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
9693 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9694 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9695 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9696 (__ASSUME_SENDTO_SYSCALL): Likewise.
9697 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9698 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
9700 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9701 (__ASSUME_CONNECT_SYSCALL): Likewise.
9702 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
9703 (__ASSUME_RECVFROM_SYSCALL): Likewise.
9704 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
9706 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
9708 [__LINUX_KERNEL_VERSION >= 0x040400]
9709 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9710 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
9713 (setsockopt): Likewise.
9715 2018-11-01 Fredrik Noring <noring@nocrew.org>
9717 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
9718 with the ISA override.
9720 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
9722 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
9725 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9727 * manual/errno.texi (EIEIO): Document how translators should
9728 translate the error message.
9729 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
9730 printing trailing whitespaces refused by git.
9731 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
9732 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9733 * hurd/Makefile (user-interfaces): Add pci.
9735 2018-10-30 Joseph Myers <joseph@codesourcery.com>
9737 * conform/linknamespace.py: New file.
9738 * conform/linknamespace.pl: Remove file.
9739 * conform/Makefile ($(linknamespace-header-tests)): Use
9740 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
9743 2018-10-30 Florian Weimer <fweimer@redhat.com>
9745 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
9748 2018-10-30 Florian Weimer <fweimer@redhat.com>
9750 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
9752 2018-10-30 Florian Weimer <fweimer@redhat.com>
9754 * stdlib/tst-strtod-overflow.c (do_test): Switch to
9755 support_blob_repeat.
9757 2018-10-30 Florian Weimer <fweimer@redhat.com>
9759 Avoid spurious test failures in stdlib/test-bz22786.
9760 * support/Makefile (libsupport-routines): Add blob_repeat.
9761 (tests): Add tst-support_blob_repeat.
9762 * support/blob_repeat.h: New file.
9763 * support/blob_repeat.c: Likewise.
9764 * support/tst-support_blob_repeat.c: Likewise.
9765 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
9766 support_blob_repeat_allocate.
9768 2018-10-30 Andreas Schwab <schwab@suse.de>
9771 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
9772 Don't use tail call.
9773 * elf/tst-unwind-main.c: New file.
9774 * elf/Makefile (tests): Add tst-unwind-main.
9775 (CFLAGS-tst-unwind-main.c): Define.
9777 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
9780 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
9782 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
9784 2018-10-29 Joseph Myers <joseph@codesourcery.com>
9786 * conform/glibcconform.py: Do not import shutil.
9787 (list_exported_functions): Use tempfile.TemporaryDirectory instead
9790 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
9791 critic_missing for versions before 3.4.
9792 * configure: Regenerated.
9793 * manual/install.texi (Tools for Compilation): Document
9794 requirement for Python to build glibc.
9795 * INSTALL: Regenerated.
9796 * Rules [PYTHON]: Make code unconditional.
9797 * benchtests/Makefile [PYTHON]: Likewise.
9798 * conform/Makefile [PYTHON]: Likewise.
9799 * manual/Makefile [PYTHON]: Likewise.
9800 * math/Makefile [PYTHON]: Likewise.
9802 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9804 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
9805 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
9806 answer to interrupt_operation, return EIEIO instead of EINTR.
9807 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
9808 _hurd_intr_rpc_msg_about_to global point to start of controlled
9809 assembly snippet. Make it check canceled flag.
9810 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
9811 the _hurd_intr_rpc_msg_about_to point.
9812 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
9813 issue, remove cancel flag check.
9815 2018-10-26 Joseph Myers <joseph@codesourcery.com>
9817 * scripts/build-many-glibcs.py: Remove compatibility for missing
9818 os.cpu_count and re.fullmatch.
9820 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
9823 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
9824 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
9825 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
9827 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9829 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
9832 2018-10-25 Florian Weimer <fweimer@redhat.com>
9836 XFAIL siginfo_t si_band conform test on sparc64.
9837 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
9838 (__SI_BAND_TYPE): Only override long int default type on sparc64.
9839 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9840 (conformtest-xfail-conds): Add sparc64-linux.
9841 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
9843 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
9845 2018-10-25 Joseph Myers <joseph@codesourcery.com>
9847 * elf/elf.h (NT_MIPS_DSP): New macro.
9848 (NT_MIPS_FP_MODE): Likewise.
9850 2018-10-25 Zong Li <zong@andestech.com>
9852 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
9853 name by adding the file extension (.so).
9855 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9857 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9858 (test-xfail-ISO11/threads.h/linknamespace,
9859 test-xfail-ISO11/threads.h/conform): Add.
9861 2018-10-24 Joseph Myers <joseph@codesourcery.com>
9863 * math/gen-libm-test.py: Import os.
9864 (ALL_FLOATS_MANUAL): New constant.
9865 (ALL_FLOATS_SUFFIX): Likewise.
9866 (Ulps.all_functions): New function.
9867 (real_all_ulps): Likewise.
9868 (generate_err_table_sub): Likewise.
9869 (generate_err_table): Likewise.
9870 (main): Handle -s and -m options.
9871 * manual/libm-err-tab.pl: Remove.
9872 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
9873 instead of libm-err-tab.pl.
9874 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
9876 * manual/install.texi (Tools for Compilation): Document
9877 requirement for Python to build manual.
9878 * INSTALL: Regenerated.
9880 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9882 * bits/time64.h: New file.
9883 * include/time.h: Replace internal_time_t with __time64_t.
9884 * posix/bits/types (__time64_t): Add.
9885 * stdlib/Makefile: Add bits/time64.h to includes.
9886 * time/tzfile.c: Replace internal_time_t with __time64_t.
9888 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9890 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
9891 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
9892 __posix_spawn_file_actions_init, __posix_spawnattr_init,
9893 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
9894 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
9896 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
9897 * posix/spawn_faction_addclose.c
9898 (__posix_spawn_file_actions_addclose): Add hidden definition.
9899 * posix/spawn_faction_adddup2.c
9900 (__posix_spawn_file_actions_adddup2): Likewise.
9901 * posix/spawn_faction_destroy.c
9902 (__posix_spawn_file_actions_destroy): Likewise.
9903 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
9905 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
9906 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
9907 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
9909 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
9910 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
9913 2018-10-24 Andreas Schwab <schwab@suse.de>
9916 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
9918 * elf/cache.c (print_cache): Likewise.
9920 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
9922 * bits/timesize.h: New file.
9923 * stdlib/Makefile (headers): Add bits/timesize.h.
9924 * sysdeps/unix/sysv/linux/bits/msq-pad.h
9925 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
9926 * sysdeps/unix/sysv/linux/bits/sem-pad.h
9927 (__SEM_PAD_AFTER_TIME): Likewise.
9928 * sysdeps/unix/sysv/linux/bits/shm-pad.h
9929 (__SHM_PAD_AFTER_TIME): Likewise.
9930 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
9931 (__MSQ_PAD_BEFORE_TIME): Likewise.
9932 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
9933 (__SEM_PAD_BEFORE_TIME): Likewise.
9934 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
9935 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9936 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
9937 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
9938 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
9939 (__MSQ_PAD_BEFORE_TIME): Likewise.
9940 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
9941 (__SEM_PAD_BEFORE_TIME): Likewise.
9942 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
9943 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
9944 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
9945 (__MSQ_PAD_BEFORE_TIME): Likewise.
9946 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
9947 (__SEM_PAD_BEFORE_TIME): Likewise.
9948 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
9949 (__SHM_PAD_BEFORE_TIME): Likewise.
9950 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
9951 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9952 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
9954 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
9956 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
9957 USE_RDTSCP is defined.
9958 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
9959 USE_RDTSCP is defined.
9961 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9963 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
9967 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
9968 independently of other flags.
9970 2018-10-23 Florian Weimer <fweimer@redhat.com>
9972 * time/tst-mktime2.c (N_STRINGS): Remove.
9973 (set_timezone): New function.
9974 (spring_forward_gap): Call it. Use FAIL_EXIT1.
9975 (mktime_test1): Report localtime failure and check errno value.
9977 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
9978 (do_test): Remove alarm call. Use set_timezone and array_length.
9980 2018-10-23 Andreas Schwab <schwab@suse.de>
9982 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
9983 (__start_context): Use END instead of PSEUDO_END.
9985 2018-10-22 Joseph Myers <joseph@codesourcery.com>
9987 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9990 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9994 * wcsmbs/c32rtomb.c: New file.
9995 * wcsmbs/mbrtoc32.c: Likewise.
9996 * wcsmbs/tst-c32-state.c: Likewise.
9997 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
9998 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
9999 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
10000 (tests): Add tst-c32-state.
10001 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
10004 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
10006 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
10007 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
10009 2018-10-19 Joseph Myers <joseph@codesourcery.com>
10012 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
10013 pair and return 0 in that case, and use saved character to
10014 interpret following character.
10015 * wcsmbs/tst-c16-surrogate.c: New file.
10016 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
10017 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
10018 Depend on $(gen-locales)
10020 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
10023 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
10024 (struct siginfo_t): Use correct type for si_band.
10026 2018-10-19 Florian Weimer <fweimer@redhat.com>
10029 * resource/bits/types/struct_rusage.h (struct rusage): Update
10030 comment on struct. Remove extraneous field comment.
10032 2018-10-18 David S. Miller <davem@davemloft.net>
10034 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
10035 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
10036 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
10037 sysdep_routines in subdir elf.
10038 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
10039 version for __vdso_clock_gettime.
10040 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
10042 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
10043 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10045 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10047 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
10049 * sysdeps/i386/init-arch.h: Removed.
10050 * sysdeps/i386/i586/init-arch.h: Likewise.
10051 * sysdeps/i386/i686/init-arch.h: Likewise.
10052 * sysdeps/i386/i686/hp-timing.h: Likewise.
10053 * sysdeps/x86_64/hp-timing.h: Likewise.
10054 * sysdeps/i386/isa.h: New file.
10055 * sysdeps/i386/i586/isa.h: Likewise.
10056 * sysdeps/i386/i686/isa.h: Likewise.
10057 * sysdeps/x86_64/isa.h: Likewise.
10058 * sysdeps/x86/hp-timing.h: New file.
10059 * sysdeps/x86/init-arch.h: Include <isa.h>.
10061 2018-10-17 Joseph Myers <joseph@codesourcery.com>
10063 * math/libm-test-pow.inc (pow_test_data): Do not allow
10064 divide-by-zero exception for pow(+/- 0, -Inf).
10066 2018-10-17 Zack Weinberg <zackw@panix.com>
10068 * manual/job.texi (Job Control is Optional): Remove node, as
10069 job control has not been optional in quite some time.
10070 (Job Control): Mention briefly that systems older than
10071 POSIX.1-2001 might not support job control.
10072 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
10073 defined on systems conforming to POSIX.1-2001.
10075 2018-10-17 Arjun Shankar <arjun@redhat.com>
10078 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
10080 * (__gconv_read_conf): Mark function static.
10081 * (once): New static variable.
10082 * (__gconv_load_conf): New function.
10083 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
10084 * iconv/gconv_db.c (once): Remove static variable.
10085 * (__gconv_compare_alias): Use __gconv_load_conf instead of
10087 * (__gconv_find_transform): Likewise.
10088 * iconv/tst-iconv-mt.c: New test.
10089 * iconv/Makefile: Add tst-iconv_mt.
10091 2018-10-17 Joseph Myers <joseph@codesourcery.com>
10093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10095 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
10096 (shmatt_t): Define as __syscall_ulong_t.
10097 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
10098 and [__SHM_PAD_AFTER_TIME].
10099 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
10100 Define shm_segsz and associated padding based on
10101 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
10102 Use __syscall_ulong_t instead of unsigned long int.
10103 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
10105 [__USE_MISC] (struct shm_info): Likewise.
10106 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
10107 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
10108 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
10109 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
10110 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
10111 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10112 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
10113 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10114 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10115 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10116 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10120 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
10121 (SHMLBA): Remove macro.
10122 (__getpagesize): Remove function declaration.
10123 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
10125 (SHMLBA): Remove macro.
10126 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
10128 (SHMLBA): Remove macro.
10129 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
10131 (SHMLBA): Remove macro.
10132 (__getpagesize): Remove function declaration.
10133 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
10135 (SHMLBA): Remove macro.
10136 (__getshmlba): Remove function declaration.
10137 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
10138 (SHMLBA): Remove macro.
10139 (__getpagesize): Remove function declaration.
10140 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
10141 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
10142 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10143 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
10144 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
10145 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
10146 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
10147 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
10148 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
10149 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
10151 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
10154 * nptl/tst-mutex10.c: New File.
10155 * nptl/Makefile (tests): Add tst-mutex10.
10156 (tst-mutex10-ENV): New variable.
10157 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
10158 Ensure that elision path is used if elision is available.
10159 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
10161 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
10163 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
10164 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
10165 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
10166 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
10168 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
10169 (__pthread_mutex_cond_lock_adjust): Likewise.
10170 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10172 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
10173 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10174 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10175 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
10177 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10178 Use atomic_load_relaxed and atomic_store_relaxed.
10179 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
10180 Use atomic_store_relaxed.
10182 2018-10-17 Andreas Schwab <schwab@suse.de>
10184 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
10185 * crypt/badsalttest.c (TIMEOUT): Likewise.
10186 * crypt/sha256c-test.c (TIMEOUT): Likewise.
10187 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
10188 * io/test-lfs.c (TIMEOUT): Likewise.
10189 * libio/tst-atime.c (TIMEOUT): Likewise.
10190 * localedata/tst-leaks.c (TIMEOUT): Likewise.
10191 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
10192 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
10193 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
10194 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
10195 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
10196 * nptl/tst-cond11.c (TIMEOUT): Likewise.
10197 * nptl/tst-cond14.c (TIMEOUT): Likewise.
10198 * nptl/tst-cond15.c (TIMEOUT): Likewise.
10199 * nptl/tst-cond24.c (TIMEOUT): Likewise.
10200 * nptl/tst-cond25.c (TIMEOUT): Likewise.
10201 * nptl/tst-kill2.c (TIMEOUT): Likewise.
10202 * nptl/tst-kill3.c (TIMEOUT): Likewise.
10203 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
10204 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
10205 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
10206 * nptl/tst-once2.c (TIMEOUT): Likewise.
10207 * nptl/tst-once3.c (TIMEOUT): Likewise.
10208 * nptl/tst-once4.c (TIMEOUT): Likewise.
10209 * nptl/tst-robust8.c (TIMEOUT): Likewise.
10210 * nptl/tst-robust9.c (TIMEOUT): Likewise.
10211 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
10212 * nptl/tst-sem14.c (TIMEOUT): Likewise.
10213 * nptl/tst-sem6.c (TIMEOUT): Likewise.
10214 * nptl/tst-signal3.c (TIMEOUT): Likewise.
10215 * nptl/tst-spin4.c (TIMEOUT): Likewise.
10216 * nptl/tst-tls3.c (TIMEOUT): Likewise.
10217 * nptl/tst-tls4.c (TIMEOUT): Likewise.
10218 * posix/tst-chmod.c (TIMEOUT): Likewise.
10219 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
10220 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
10221 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
10222 * posix/tst-regex2.c (TIMEOUT): Likewise.
10223 * posix/tst-waitid.c (TIMEOUT): Likewise.
10224 * rt/tst-aio.c (TIMEOUT): Likewise.
10225 * rt/tst-aio10.c (TIMEOUT): Likewise.
10226 * rt/tst-aio4.c (TIMEOUT): Likewise.
10227 * rt/tst-aio5.c (TIMEOUT): Likewise.
10228 * rt/tst-aio6.c (TIMEOUT): Likewise.
10229 * rt/tst-aio64.c (TIMEOUT): Likewise.
10230 * rt/tst-aio7.c (TIMEOUT): Likewise.
10231 * rt/tst-aio9.c (TIMEOUT): Likewise.
10232 * rt/tst-clock.c (TIMEOUT): Likewise.
10233 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
10234 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
10235 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
10236 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
10237 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
10238 * rt/tst-timer4.c (TIMEOUT): Likewise.
10239 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
10240 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
10241 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
10242 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
10243 * time/tst-ftime.c (TIMEOUT): Likewise.
10244 * timezone/tst-tzset.c (TIMEOUT): Likewise.
10246 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
10248 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
10249 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
10252 2018-10-15 Joseph Myers <joseph@codesourcery.com>
10254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10256 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
10257 instead of <bits/wordsize.h>.
10258 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
10259 and [__SEM_PAD_AFTER_TIME].
10260 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
10261 __syscall_ulong_t instead of unsigned long int.
10262 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
10263 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
10264 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
10265 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
10266 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
10267 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
10268 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
10269 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
10270 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10271 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10272 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10274 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
10276 regex: simplify by using intprops.h
10278 * posix/regex_internal.h [_LIBC]: Include intprops.h.
10279 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
10280 intprops.h defines them.
10282 regex: __builtin_expect → __glibc_unlikely
10284 This refactoring was prompted by a problem when the regex code is
10285 used as part of Gnulib and when the builder’s compiler does not grok
10286 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
10287 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
10288 Although this refactoring does not fix the problem directly,
10289 we might as well have Gawk use the now-preferred glibc style for when
10290 __builtin_expect is unavailable.
10291 * posix/regex_internal.h (BE): Remove.
10292 All uses replaced by __glibc_unlikely or __glibc_likely.
10294 2018-10-11 Joseph Myers <joseph@codesourcery.com>
10296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10298 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
10299 instead of <bits/wordsize.h>.
10300 (msgqnum_t): Define as __syscall_ulong_t.
10301 (msglen_t): Likewise.
10302 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
10303 and [__MSQ_PAD_AFTER_TIME].
10304 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
10305 __syscall_ulong_t instead of unsigned long int.
10306 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
10307 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
10308 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
10309 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
10310 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
10311 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
10312 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
10313 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
10314 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10315 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10316 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10318 2018-10-10 Joseph Myers <joseph@codesourcery.com>
10320 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
10321 (struct shmid_ds): Condition padding after time fields on
10322 [__WORDSIZE == 32].
10323 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
10324 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
10325 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10327 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
10328 (struct semid_ds): Condition padding after time fields on
10329 [__WORDSIZE == 32].
10330 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
10331 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
10332 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
10333 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10335 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
10336 (struct msqid_ds): Condition padding after time fields on
10337 [__WORDSIZE == 32].
10338 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
10339 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
10340 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
10341 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10343 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
10345 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
10347 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
10349 * libio/tst-readline.c (TIMEOUT): Define.
10351 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
10353 mktime fix for Gnulib + coreutils
10355 This fix affects only Gnulib. Problem discovered when
10356 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
10358 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
10359 Do not define since it is not used. Defining an unused static
10360 function prompts a warning from GCC when Coreutils is configured
10361 with --enable-gcc-warnings.
10363 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10365 * benchtests/scripts/compare_bench.py (main): set float type on
10366 threshold argument.
10368 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
10371 * localedata/locales/kl_GL (mon): Update, the relative case.
10372 (alt_mon): Add, fill with month names in the nominative case.
10373 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
10374 (d_fmt): Set to "%b %d %Y".
10376 2018-10-04 Joseph Myers <joseph@codesourcery.com>
10378 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
10379 <bits/mman-linux.h>.
10380 (PROT_READ): Don't define here.
10381 (PROT_WRITE): Likewise.
10382 (PROT_EXEC): Likewise.
10383 (PROT_NONE): Likewise.
10384 (PROT_GROWSDOWN): Likewise.
10385 (PROT_GROWSUP): Likewise.
10386 (MAP_SHARED): Likewise.
10387 (MAP_PRIVATE): Likewise.
10388 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
10389 [__USE_MISC] (MAP_FILE): Likewise.
10390 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
10391 [__USE_MISC] (MAP_ANON): Likewise.
10392 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
10393 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
10394 (MCL_CURRENT): Likewise.
10395 (MCL_FUTURE): Likewise.
10396 (MCL_ONFAULT): Likewise.
10397 [__USE_MISC] (MADV_NORMAL): Likewise.
10398 [__USE_MISC] (MADV_RANDOM): Likewise.
10399 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
10400 [__USE_MISC] (MADV_WILLNEED): Likewise.
10401 [__USE_MISC] (MADV_DONTNEED): Likewise.
10402 [__USE_MISC] (MADV_FREE): Likewise.
10403 [__USE_MISC] (MADV_REMOVE): Likewise.
10404 [__USE_MISC] (MADV_DONTFORK): Likewise.
10405 [__USE_MISC] (MADV_DOFORK): Likewise.
10406 [__USE_MISC] (MADV_HWPOISON): Likewise.
10407 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
10408 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
10409 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
10410 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
10411 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
10412 (__MAP_ANONYMOUS): New macro.
10413 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
10414 <bits/mman-linux.h> inclusion.
10415 (MAP_FIXED): Likewise.
10416 (MS_SYNC): Likewise.
10417 (MS_ASYNC): Likewise.
10418 (MS_INVALIDATE): Likewise.
10419 [__USE_MISC] (MADV_MERGEABLE): Likewise.
10420 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
10421 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
10422 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
10423 [__USE_MISC] (MADV_DONTDUMP): Likewise.
10424 [__USE_MISC] (MADV_DODUMP): Likewise.
10425 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
10426 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
10429 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
10431 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
10432 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
10433 Add test-nldbl-redirect.
10434 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
10435 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
10436 $(objpfx)libnldbl_nonshared.a.
10438 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
10440 * support/support.h (support_objdir_elf_ldso): New variable.
10441 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
10442 * support/Makefile (CFLAGS-support_paths.c): Add definition
10443 for OBJDIR_ELF_LDSO_PATH.
10444 * support/test-container.c (main): Search for the ld.so
10445 which is also used by the testsuite.
10447 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
10450 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
10451 should be "sap" rather than "sab".
10452 (day): Fix spelling of Sunday, should be "sapaat" rather than
10455 2018-10-02 Joseph Myers <joseph@codesourcery.com>
10457 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10459 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
10462 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
10463 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
10464 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
10466 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10468 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
10470 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
10472 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
10474 (CFLAGS-elision-unlock.c): Likewise.
10475 (CFLAGS-elision-timed.c): Likewise.
10476 (CFLAGS-elision-trylock.c): Likewise.
10477 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
10479 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10482 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
10483 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
10484 new fd_to_filename interface.
10485 * libio/freopen64.c (freopen64): Likewise.
10486 * libio/tst-memstream.h: New file.
10487 * libio/tst-memstream4.c: Likewise.
10488 * libio/tst-wmemstream4.c: Likewise.
10489 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
10490 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
10491 and remove internal dynamic allocation.
10493 2018-10-01 Joseph Myers <joseph@codesourcery.com>
10495 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
10496 (MREMAP_MAYMOVE): Do not define here.
10497 [__USE_GNU] (MREMAP_FIXED): Likewise.
10498 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
10499 (MREMAP_MAYMOVE): Define here instead.
10500 [__USE_GNU] (MREMAP_FIXED): Likewise.
10501 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
10502 (MREMAP_MAYMOVE): Remove.
10503 [__USE_GNU] (MREMAP_FIXED): Likewise.
10505 2018-09-28 Joseph Myers <joseph@codesourcery.com>
10507 * math/fromfp.h: Do not include <math_private.h>.
10508 * math/s_cacosh_template.c: Likewise.
10509 * math/s_casin_template.c: Likewise.
10510 * math/s_casinh_template.c: Likewise.
10511 * math/s_ccos_template.c: Likewise.
10512 * math/s_cproj_template.c: Likewise.
10513 * math/s_fdim_template.c: Likewise.
10514 * math/s_fmaxmag_template.c: Likewise.
10515 * math/s_fminmag_template.c: Likewise.
10516 * math/s_iseqsig_template.c: Likewise.
10517 * math/s_ldexp_template.c: Likewise.
10518 * math/s_nextdown_template.c: Likewise.
10519 * math/w_log1p_template.c: Likewise.
10520 * math/w_scalbln_template.c: Likewise.
10521 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10522 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10523 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10524 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10525 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10526 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10527 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10528 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10529 * sysdeps/i386/fpu/s_atanl.c: Likewise.
10530 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10531 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10532 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10533 * sysdeps/i386/fpu/s_logbl.c: Likewise.
10534 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10535 * sysdeps/i386/fpu/s_significandl.c: Likewise.
10536 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
10537 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
10538 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10539 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10540 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10541 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10542 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10543 * sysdeps/ieee754/k_standardf.c: Likewise.
10544 * sysdeps/ieee754/k_standardl.c: Likewise.
10545 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10546 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10547 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
10548 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10549 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10550 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10551 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10552 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10553 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10554 * sysdeps/ieee754/s_signgam.c: Likewise.
10555 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10556 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
10557 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
10558 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10559 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10560 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10561 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10562 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10563 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10564 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10565 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10566 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10567 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10568 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10569 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10570 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10571 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10572 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10573 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10574 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10575 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10576 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10577 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10578 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10579 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10580 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10581 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10582 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10583 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10584 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10585 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10586 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10587 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10588 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10589 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10590 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10591 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
10593 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10595 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
10598 * sysdeps/i386/dl-cet.c: Removed.
10599 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
10601 (_dl_runtime_profile_shstk): Likewise.
10602 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
10603 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
10605 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10608 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
10609 do_test_with_invalid_iov): New tests.
10610 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
10611 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
10612 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
10614 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
10615 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
10616 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
10618 2018-09-27 Joseph Myers <joseph@codesourcery.com>
10620 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10621 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
10622 (MATH_REDIRECT_BINARY_ARGS): New macro.
10623 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10624 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
10625 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
10627 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
10628 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10629 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
10630 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10631 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10632 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10633 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
10638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
10640 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
10641 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
10642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
10644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
10646 * sysdeps/generic/math_private_calls.h
10647 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
10648 Do not declare and define as an inline function.
10649 * math/divtc3.c (__divtc3): Use copysign functions instead of
10650 __copysign variants.
10651 * math/multc3.c (__multc3): Likewise.
10652 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
10653 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
10654 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10655 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10657 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10658 (__ieee754_yn): Likewise.
10659 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10660 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
10661 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10662 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10663 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
10665 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10666 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10668 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10670 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10672 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10673 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10675 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10676 (__ieee754_ynf): Likewise.
10677 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10678 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10679 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10680 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10682 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10683 (__ieee754_ynl): Likewise.
10684 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10685 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10686 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10688 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10689 (__ieee754_ynl): Likewise.
10690 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
10691 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10692 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10693 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10695 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10697 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
10698 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10699 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
10700 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10701 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10703 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10704 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
10705 using MATH_REDIRECT.
10706 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
10708 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10711 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
10712 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10713 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10714 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
10716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
10717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
10718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
10719 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10720 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10721 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10722 (round): Redirect to __round.
10723 (__roundl): Call round instead of __round.
10724 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
10726 [_ARCH_PWR5X] (__roundf): Likewise.
10727 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
10728 functions instead of __round variants.
10729 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10730 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10732 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10734 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10736 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
10737 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
10739 (__ieee754_expl): Call roundl instead of __roundl.
10741 2018-09-27 Andreas Schwab <schwab@suse.de>
10744 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
10745 (do_test): Make st1 static.
10747 2018-09-26 Andreas Schwab <schwab@suse.de>
10750 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
10751 * elf/Makefile (tests): Add tst-unwind-ctor.
10752 (modules-names): Add tst-unwind-ctor-lib.
10753 ($(objpfx)tst-unwind-ctor): Depend on
10754 $(objpfx)tst-unwind-ctor-lib.so.
10756 2018-09-26 Joseph Myers <joseph@codesourcery.com>
10758 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
10759 file. Most contents moved from ....
10760 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
10761 and include <bits/mman-map-flags-generic.h>.
10762 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10763 (sysdep_headers): Add bits/mman-map-flags-generic.h.
10764 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
10765 <bits/mman-map-flags-generic.h>.
10766 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
10767 macros defined in <bits/mman-map-flags-generic.h>.
10768 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
10769 <bits/mman-map-flags-generic.h>.
10770 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
10771 defined in <bits/mman-map-flags-generic.h>.
10773 2018-09-26 Andreas Schwab <schwab@suse.de>
10775 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
10778 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
10779 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10780 Fangrui Song <maskray@google.com>
10783 * config.make.in (have-textrel_ifunc): New define.
10784 * configure.ac: Add check if linker supports textrel relocation with
10786 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
10788 (CFLAGS-tst-ifunc-textrel.c): New rule.
10789 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
10790 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
10791 * elf/tst-ifunc-textrel.c: New file.
10793 2018-09-25 Joseph Myers <joseph@codesourcery.com>
10795 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10796 <bits/procfs-prregset.h>.
10797 (prgregset_t): Define using __prgregset_t.
10798 (prfpregset_t): Define using __prfpregset_t.
10799 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10800 (sysdep_headers): Add bits/procfs-prregset.h.
10801 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
10802 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
10803 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
10804 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
10806 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
10807 <bits/procfs-id.h> and <bits/procfs-extra.h>.
10808 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
10810 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10811 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
10812 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
10813 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
10814 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
10815 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
10816 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
10817 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
10818 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
10819 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
10820 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
10821 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
10822 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
10823 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
10824 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
10825 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
10826 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
10827 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
10828 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
10829 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
10830 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
10831 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
10832 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10833 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
10835 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
10836 AArch64 version. Include <bits/procfs.h>.
10837 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
10838 (sysdep_headers): Add bits/procfs.h.
10839 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
10840 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
10841 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
10842 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
10843 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
10844 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
10845 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
10846 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
10847 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
10848 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
10849 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
10850 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
10851 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
10852 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
10853 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
10854 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
10855 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
10857 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10859 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
10862 2018-09-25 Arjun Shankar <arjun@redhat.com>
10864 * iconv/gconv_int.h (__gconv_path_elem): Remove.
10865 (__gconv_max_path_elem_len): Likewise.
10866 (__gconv_nmodules): Likewise.
10867 (__gconv_get_path): Likewise.
10868 (path_elem): Move to ...
10869 * iconv/gconv_conf.c: ... here.
10870 (__gconv_get_path): Mark function static.
10871 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
10872 * iconv/gconv_open.c: ... here.
10874 2018-09-24 Andreas Schwab <schwab@suse.de>
10876 * scripts/haveversions.awk: New file.
10877 * Makerules ($(common-objpfx)Versions.def)
10878 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10879 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10881 * Makeconfig ($(common-objpfx)Versions.def)
10882 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
10883 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
10885 ($(common-objpfx)Versions.mk): New rule. Include it.
10886 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
10887 Emit error if build-obsolete-nsl = yes.
10888 * manual/install.texi (Configuring and compiling): Describe
10889 --enable-obsolete-nsl as unavaiable after version 2.28.
10890 * INSTALL: Regenerate.
10892 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10894 * NEWS: Add note about new TLE support on powerpc64le.
10895 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
10896 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
10898 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
10899 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
10900 * sysdeps/powerpc/powerpc32/sysdep.h,
10901 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
10902 ABORT_TRANSACTION): Remove macros.
10903 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10904 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
10905 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
10907 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10908 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
10910 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
10912 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
10915 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
10916 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
10917 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
10918 which is the same as in it_IT.
10919 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
10920 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
10922 2018-09-20 Joseph Myers <joseph@codesourcery.com>
10924 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10925 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
10926 using MATH_REDIRECT.
10927 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
10929 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
10930 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10931 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
10932 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10933 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10934 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
10936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
10937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
10938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
10939 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10940 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10941 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10942 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10943 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10944 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10945 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
10946 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10947 (ceil): Redirect to __ceil.
10948 (floor): Redirect to __floor.
10949 (trunc): Redirect to __trunc.
10950 (__truncl): Call trunc instead of __trunc.
10951 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
10953 [_ARCH_PWR5X] (__truncf): Likewise.
10954 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
10955 trunc functions instead of __trunc variants.
10956 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10958 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10960 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10962 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10965 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
10966 [__i586__ || __pentium__].
10967 [__i486__]: Handle explicitly.
10968 (HAS_CPUID): Define to 1 if above macros are undefined.
10969 (HAS_I586): Likewise.
10970 (HAS_I686): Likewise.
10972 2018-09-20 Florian Weimer <fweimer@redhat.com>
10974 * misc/tst-gethostid.c: New file.
10975 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
10976 (tst-gethostid): Link with -ldl.
10978 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
10980 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
10981 value from gethostbyname_r.
10983 2018-09-19 Carlos O'Donell <carlos@redhat.com>
10985 * stdlib/tst-setcontext9.c (f1): Rename to...
10987 (f1b): New function implementing lower half of f1 in alternate stack.
10989 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
10991 Fix mktime localtime offset confusion
10993 * include/time.h (__mktime_internal): The localtime offset is now
10994 of type long int instead of time_t. This is the longstanding type
10995 in glibc, and it is more than enough to represent difference
10996 between localtime and gmtime even if it is 32 bits and time_t is
10997 64. Changing it now will let us avoid an unnecessary change when
10998 time_t is widened to 64 bits on 32-bit platforms.
10999 * time/mktime-internal.h (mktime_offset_t): Now long int.
11001 Merge mktime, timegm from upstream Gnulib
11002 [BZ #23603][BZ #16346]
11003 This fixes some obscure problems with integer overflow.
11004 Although it looks scary, it is almost all a byte-for-byte copy
11005 from Gnulib, and the Gnulib code has been tested reasonably well.
11006 * include/intprops.h: New file, copied from Gnulib.
11007 * include/verify.h, time/mktime-internal.h:
11008 New tiny files, simplified from Gnulib.
11009 * time/mktime.c: Copy from Gnulib. This has the following changes:
11010 Do not include config.h if DEBUG_MKTIME is nonzero.
11011 Include stdbool.h, intprops.h, verify.h.
11012 Include string.h only if needed.
11013 Include stdlib.h on MS-Windows.
11014 Include mktime-internal.h.
11015 (DEBUG_MKTIME): Default to 0, and simplify later uses.
11016 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
11017 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
11018 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
11019 simplify later conditionals; default the others to zero. Use
11020 these conditionals to express only the code needed on the current
11021 platform. In uses of these conditionals, explicitly spell out how
11022 _LIBC affects things, so it’s easier to review from a glibc
11024 (WRAPV): Remove; no longer needed now that we have
11025 systematic overflow checking.
11026 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
11027 compartmentalize tzset issues. Move system-dependent tzsettish
11028 code here from mktime.
11029 (verify): Remove; now done by verify.h. All uses changed.
11030 (long_int): Use a more-conservative definition, to avoid
11032 (SHR): Remove, replacing with ...
11033 (shr): New function, which means we needn’t worry about side
11034 effects in args, and conversion analysis is simpler.
11035 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
11036 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
11037 (time_t_avg, time_t_add_ok): Remove.
11038 (mktime_min, mktime_max): New constants.
11039 (leapyear, isdst_differ): Use bool for booleans.
11040 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
11041 Use long_int, not time_t, for mktime differences.
11042 (long_int_avg): New function, replacing time_t_avg.
11043 INT_ADD_WRAPV replaces time_t_add_ok.
11044 (guess_time_tm): 6th arg is now long_int, not time_t const *.
11046 (convert_time): New function.
11047 (ranged_convert): Use it.
11048 (__mktime_internal): Last arg now points to mktime_offset_t, not
11049 time_t. All uses changed. This is a no-op on glibc, where
11050 mktime_offset_t is always time_t. Use int, not time_t, for UTC
11051 offset guess. Directly check for integer overflow instead of
11052 using a heuristic that works only 99.9...% of the time.
11053 Access *OFFSET only once, to avoid an unlikely race if the
11054 compiler delays a load and if this cascades into a signed integer
11056 (mktime): Move tzsettish code to my_tzset, and move
11057 localtime_offset to within mktime so that it doesn’t
11058 need a separate ifdef.
11059 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
11060 instead of localtime.
11061 * time/timegm.c: Copy from Gnulib. This has the following changes:
11062 Include mktime-internal.h.
11063 [!_LIBC]: Include config.h and time.h. Do not include
11064 timegm.h or time_r.h. Make __mktime_internal a macro,
11065 and include mktime-internal.h to get its declaration.
11066 (timegm): Temporary is now mktime_offset_t, not time_t.
11067 This affects only Gnulib.
11069 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
11072 * string/test-strstr.c (pr23637): New function.
11073 (test_main): Add tests with longer needles.
11074 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
11075 * string/strstr.c (AVAILABLE): Likewise.
11077 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11079 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
11081 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11083 * NEWS: Mention pow improvements.
11084 * math/Makefile (type-double-routines): Add e_pow_log_data.
11085 * sysdeps/generic/math_private.h (__exp1): Remove.
11086 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
11087 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
11088 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
11090 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
11091 (exp_inline): Remove.
11092 (__ieee754_exp): Only single double input is handled.
11093 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
11094 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
11095 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
11096 (__pow_log_data): Define.
11097 * sysdeps/ieee754/dbl-64/upow.h: Remove.
11098 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
11099 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
11100 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
11102 (CFLAGS-e_pow-fma4.c): Likewise.
11104 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
11106 Simplify tzfile fstat failure code
11108 * time/tzfile.c (__tzfile_read): Simplify slightly.
11110 Fix tzfile low-memory assertion failure
11112 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
11113 when registering time zone abbreviations.
11115 2018-09-18 Joseph Myers <joseph@codesourcery.com>
11117 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
11118 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
11119 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
11120 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11121 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
11122 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
11123 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
11124 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
11129 (__ceill): Call ceil instead of __ceil.
11130 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
11132 (__floorl): Call floor instead of __floor.
11134 2018-09-17 Joseph Myers <joseph@codesourcery.com>
11136 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11137 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
11138 using MATH_REDIRECT.
11139 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
11141 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
11142 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11144 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
11145 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11146 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11147 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11148 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
11149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
11150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
11151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
11152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
11153 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11154 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11157 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
11158 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
11159 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
11161 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
11162 functions instead of __ceil variants.
11163 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11164 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11166 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11168 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11169 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11171 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11172 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11175 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
11177 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
11178 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
11179 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
11180 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
11181 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
11182 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
11183 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
11184 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
11185 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
11186 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
11187 (ILL_BADIADDR): Remove constant.
11188 (TRAP_BRANCH): Likewise.
11189 (TRAP_HWBKPT): Likewise.
11191 2018-09-14 Joseph Myers <joseph@codesourcery.com>
11194 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
11195 Remove [_MIPS_SIM = _ABIN32] conditional case.
11196 (struct elf_prpsinfo): Likewise.
11199 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
11200 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
11201 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
11203 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
11204 elf_prpsinfo): Likewise.
11205 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
11206 elf_prpsinfo): Likewise.
11207 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
11210 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11211 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
11212 using MATH_REDIRECT.
11213 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
11215 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
11216 * sysdeps/alpha/fpu/s_rint.c: Likewise.
11217 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
11218 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11219 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11220 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11221 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
11222 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11223 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11224 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11225 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
11226 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
11227 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
11228 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
11229 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
11230 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11231 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11232 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
11233 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
11235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
11236 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
11237 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
11238 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
11239 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
11240 * sysdeps/x86_64/fpu/math_private.h: Remove file.
11241 * math/e_scalb.c (invalid_fn): Use rint functions instead of
11243 * math/e_scalbf.c (invalid_fn): Likewise.
11244 * math/e_scalbl.c (invalid_fn): Likewise.
11245 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11247 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11249 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11250 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
11251 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11253 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11255 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11257 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
11258 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
11260 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11261 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
11263 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11264 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
11265 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11266 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
11267 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11268 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
11269 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11270 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
11271 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11272 && !NO_MATH_REDIRECT] (floor): Likewise.
11273 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
11275 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
11276 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11278 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
11279 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11280 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11281 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11282 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
11283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
11284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
11285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
11286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
11287 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11288 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11291 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
11292 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
11293 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
11295 [_ARCH_PWR5X] (__floorf): Likewise.
11296 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
11298 [__SSE4_1__] (__floorf): Likewise.
11299 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
11300 instead of __floor variants.
11301 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
11302 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
11303 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
11304 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
11305 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
11306 * math/w_tgamma_compat.c (__tgamma): Likewise.
11307 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
11308 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
11309 * math/w_tgammal_compat.c (__tgammal): Likewise.
11310 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
11311 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11313 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11314 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
11315 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11316 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11318 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11319 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
11321 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11322 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
11324 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11325 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
11327 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11328 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11329 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
11330 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
11331 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11332 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11334 2018-09-12 Joseph Myers <joseph@codesourcery.com>
11336 * elf/Makefile (modules-names-tests): New variable.
11338 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11340 * NEWS: Mention log2 improvements.
11341 * math/Makefile (type-double-routines): Add e_log2_data.
11342 * sysdeps/i386/fpu/e_log2_data.c: New file.
11343 * sysdeps/ia64/fpu/e_log2_data.c: New file.
11344 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
11345 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
11346 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
11347 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
11348 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
11350 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11352 * NEWS: Mention log improvement.
11353 * math/Makefile (type-double-routines): Add e_log_data.
11354 * sysdeps/i386/fpu/e_log_data.c: New file.
11355 * sysdeps/ia64/fpu/e_log_data.c: New file.
11356 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
11357 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
11358 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
11359 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
11360 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
11361 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
11363 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
11364 Xuepeng Guo <xuepeng.guo@intel.com>
11367 * sysdeps/i386/start.S: Include <sysdep.h>
11368 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
11369 enabled. Add cfi_undefined (eip).
11371 2018-09-11 Joseph Myers <joseph@codesourcery.com>
11373 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
11375 (EXTRACT_WORDS64): Likewise.
11376 (INSERT_WORDS64): Likewise.
11377 (GET_FLOAT_WORD): Likewise.
11378 (SET_FLOAT_WORD): Likewise.
11380 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
11382 (Config.build_gcc): Use --disable-libsanitizer for first GCC
11383 build, but not for second build if --full-gcc. Use
11384 --enable-languages=all for second build if --full-gcc.
11385 (get_parser): Add --full-gcc option.
11386 (main): Update call to Context.
11388 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
11391 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
11392 Single Quotation Mark).
11393 (thousands_sep): Likewise.
11394 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
11395 * localedata/locales/it_IT (thousands_sep): Use ".".
11396 (grouping): Use "3;3".
11398 2018-09-10 Joseph Myers <joseph@codesourcery.com>
11400 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11401 x86_64 and i686 configs using --enable-obsolete-rpc
11402 --enable-obsolete-nsl.
11404 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
11406 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11408 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
11410 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
11411 Increment size of new_argv by one.
11413 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
11416 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
11417 * localedata/locales/ar_IN (d_fmt): Likewise.
11418 * localedata/locales/bhb_IN (d_fmt): Likewise.
11419 * localedata/locales/bho_IN (d_fmt): Likewise.
11420 * localedata/locales/bn_BD (d_fmt): Likewise.
11421 * localedata/locales/bn_IN (d_fmt): Likewise.
11422 * localedata/locales/doi_IN (d_fmt): Likewise.
11423 * localedata/locales/gu_IN (d_fmt): Likewise.
11424 * localedata/locales/hi_IN (d_fmt): Likewise.
11425 * localedata/locales/hne_IN (d_fmt): Likewise.
11426 * localedata/locales/kn_IN (d_fmt): Likewise.
11427 * localedata/locales/mag_IN (d_fmt): Likewise.
11428 * localedata/locales/mai_IN (d_fmt): Likewise.
11429 * localedata/locales/mjw_IN (d_fmt): Likewise.
11430 * localedata/locales/ml_IN (d_fmt): Likewise.
11431 * localedata/locales/mni_IN (d_fmt): Likewise.
11432 * localedata/locales/mr_IN (d_fmt): Likewise.
11433 * localedata/locales/pa_IN (d_fmt): Likewise.
11434 * localedata/locales/raj_IN (d_fmt): Likewise.
11435 * localedata/locales/sat_IN (d_fmt): Likewise.
11436 * localedata/locales/sd_IN (d_fmt): Likewise.
11437 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
11438 * localedata/locales/ta_IN (d_fmt): Likewise.
11439 * localedata/locales/ta_LK (d_fmt): Likewise.
11440 * localedata/locales/tcy_IN (d_fmt): Likewise.
11441 * localedata/locales/ur_IN (d_fmt): Likewise.
11443 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
11444 * localedata/locales/ks_IN (d_fmt): Likewise.
11445 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
11447 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
11448 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
11449 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
11450 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
11452 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
11454 * NEWS: Mention exp and exp2 improvements.
11455 * math/Makefile (libm-support): Remove t_exp.
11456 (type-double-routines): Add math_err and e_exp_data.
11457 * sysdeps/aarch64/libm-test-ulps: Update.
11458 * sysdeps/arm/libm-test-ulps: Update.
11459 * sysdeps/i386/fpu/e_exp_data.c: New file.
11460 * sysdeps/i386/fpu/math_err.c: New file.
11461 * sysdeps/i386/fpu/t_exp.c: Remove.
11462 * sysdeps/ia64/fpu/e_exp_data.c: New file.
11463 * sysdeps/ia64/fpu/math_err.c: New file.
11464 * sysdeps/ia64/fpu/t_exp.c: Remove.
11465 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
11466 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
11467 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
11468 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
11469 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
11470 * sysdeps/ieee754/dbl-64/math_config.h: New file.
11471 * sysdeps/ieee754/dbl-64/math_err.c: New file.
11472 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
11473 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
11474 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
11475 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
11476 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
11477 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
11478 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
11479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11482 2018-09-05 Joseph Myers <joseph@codesourcery.com>
11484 * sysdeps/alpha/fpu/math_private.h: Remove.
11486 * sysdeps/generic/math_private.h
11487 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
11488 Move this inline function ....
11489 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
11490 * include/math.h [!_ISOMAC]: To here....
11492 2018-09-04 Joseph Myers <joseph@codesourcery.com>
11494 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
11496 [!FE_HAVE_ROUNDING_MODES]: And this code ....
11497 * include/fenv.h [!_ISOMAC]: ... to here.
11498 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
11499 (feraiseexcept): Likewise.
11500 * math/fromfp.h: Do not include <fenv_private.h>.
11501 * math/s_cexp_template.c: Likewise.
11502 * math/s_csin_template.c: Likewise.
11503 * math/s_csinh_template.c: Likewise.
11504 * math/s_ctan_template.c: Likewise.
11505 * math/s_ctanh_template.c: Likewise.
11506 * math/s_iseqsig_template.c: Likewise.
11507 * math/w_acos_compat.c: Likewise.
11508 * math/w_acosf_compat.c: Likewise.
11509 * math/w_acosl_compat.c: Likewise.
11510 * math/w_asin_compat.c: Likewise.
11511 * math/w_asinf_compat.c: Likewise.
11512 * math/w_asinl_compat.c: Likewise.
11513 * math/w_j0_compat.c: Likewise.
11514 * math/w_j0f_compat.c: Likewise.
11515 * math/w_j0l_compat.c: Likewise.
11516 * math/w_j1_compat.c: Likewise.
11517 * math/w_j1f_compat.c: Likewise.
11518 * math/w_j1l_compat.c: Likewise.
11519 * math/w_jn_compat.c: Likewise.
11520 * math/w_jnf_compat.c: Likewise.
11521 * math/w_log10_compat.c: Likewise.
11522 * math/w_log10f_compat.c: Likewise.
11523 * math/w_log10l_compat.c: Likewise.
11524 * math/w_log2_compat.c: Likewise.
11525 * math/w_log2f_compat.c: Likewise.
11526 * math/w_log2l_compat.c: Likewise.
11527 * math/w_log_compat.c: Likewise.
11528 * math/w_logf_compat.c: Likewise.
11529 * math/w_logl_compat.c: Likewise.
11530 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11531 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11532 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11533 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11534 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11535 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11536 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11537 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11538 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11539 * sysdeps/ieee754/k_standardl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11552 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11553 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11557 * math/w_ilogb_template.c: Include <fenv.h> instead of
11559 * math/w_llogb_template.c: Likewise.
11560 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11561 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11563 2018-09-03 Joseph Myers <joseph@codesourcery.com>
11565 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
11566 * math/fromfp.h: Include <fenv_private.h>.
11567 * math/math-narrow.h: Likewise.
11568 * math/s_cexp_template.c: Likewise.
11569 * math/s_csin_template.c: Likewise.
11570 * math/s_csinh_template.c: Likewise.
11571 * math/s_ctan_template.c: Likewise.
11572 * math/s_ctanh_template.c: Likewise.
11573 * math/s_iseqsig_template.c: Likewise.
11574 * math/w_acos_compat.c: Likewise.
11575 * math/w_acosf_compat.c: Likewise.
11576 * math/w_acosl_compat.c: Likewise.
11577 * math/w_asin_compat.c: Likewise.
11578 * math/w_asinf_compat.c: Likewise.
11579 * math/w_asinl_compat.c: Likewise.
11580 * math/w_ilogb_template.c: Likewise.
11581 * math/w_j0_compat.c: Likewise.
11582 * math/w_j0f_compat.c: Likewise.
11583 * math/w_j0l_compat.c: Likewise.
11584 * math/w_j1_compat.c: Likewise.
11585 * math/w_j1f_compat.c: Likewise.
11586 * math/w_j1l_compat.c: Likewise.
11587 * math/w_jn_compat.c: Likewise.
11588 * math/w_jnf_compat.c: Likewise.
11589 * math/w_llogb_template.c: Likewise.
11590 * math/w_log10_compat.c: Likewise.
11591 * math/w_log10f_compat.c: Likewise.
11592 * math/w_log10l_compat.c: Likewise.
11593 * math/w_log2_compat.c: Likewise.
11594 * math/w_log2f_compat.c: Likewise.
11595 * math/w_log2l_compat.c: Likewise.
11596 * math/w_log_compat.c: Likewise.
11597 * math/w_logf_compat.c: Likewise.
11598 * math/w_logl_compat.c: Likewise.
11599 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11600 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11601 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11602 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11605 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11606 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11607 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11608 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11609 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11610 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11611 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
11612 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11613 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11614 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11615 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11616 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11617 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11618 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11619 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11620 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11621 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11622 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11624 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11625 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11626 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11627 * sysdeps/ieee754/float128/float128_private.h: Likewise.
11628 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11629 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11630 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11631 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11632 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11633 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11634 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11635 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11636 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11637 * sysdeps/ieee754/k_standardl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11640 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11641 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11645 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11647 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11648 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11649 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11650 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11651 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11652 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11653 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11654 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11655 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11657 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11662 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11663 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11664 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11666 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11667 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11668 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11669 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11670 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11671 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11672 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11673 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11674 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11675 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11676 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11677 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11678 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11679 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11680 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11681 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11682 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11683 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11684 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11685 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11686 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11687 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11688 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11689 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11690 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11691 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11692 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11693 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11694 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11695 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11696 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11697 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11698 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11699 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11700 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11701 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11702 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11703 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11704 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11705 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11706 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11707 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11708 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11710 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11713 * include/stdio.h (__libc_fatal): Mention newline in comment.
11714 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
11715 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
11716 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11717 * nss/nsswitch.c (__nss_next2): Likewise.
11718 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
11719 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
11720 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
11721 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11722 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
11723 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
11724 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
11725 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
11726 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
11727 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
11728 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
11729 * sysdeps/unix/sysv/linux/netlink_assert_response.c
11730 (__netlink_assert_response): Likewise.
11732 2018-08-31 Joseph Myers <joseph@codesourcery.com>
11734 * conform/glibcconform.py: New file.
11735 * conform/list-header-symbols.py: Likewise.
11736 * conform/list-header-symbols.pl: Remove.
11737 * conform/Makefile (tests-special): Only add linknamespace tests
11739 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
11741 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
11744 * support/Makefile (libsupport-routines): Add
11745 support_copy_file_range and xcopy_file_range.
11746 * support/support.h: Include <sys/types.h>.
11747 (support_copy_file_range): New prototype.
11748 * support/support_copy_file_range.c: New file. Copied and
11749 modified from io/copy_file_range-compat.c.
11750 * support/test-container.c (copy_one_file): Call xcopy_file_rang
11751 instead of copy_file_range.
11752 * support/xcopy_file_range.c: New file.
11753 * support/xunistd.h (xcopy_file_range): New prototype.
11755 2018-08-30 Carlos O'Donell <carlos@redhat.com>
11757 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
11758 xpthread_create and xpthread_join.
11760 2018-08-30 Florian Weimer <fweimer@redhat.com>
11762 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
11764 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
11766 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
11769 2018-08-29 Joseph Myers <joseph@codesourcery.com>
11771 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
11772 and minus_oflow as non-finite.
11774 2018-08-28 Joseph Myers <joseph@codesourcery.com>
11776 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
11777 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
11778 moved to fenv_private.h except for ...
11779 (TOINT_INTRINSICS): Kept in math_private.h.
11780 (roundtoint): Likewise.
11781 (converttoint): Likewise.
11782 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
11783 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11784 * sysdeps/arm/math_private.h: Remove.
11785 * sysdeps/generic/fenv_private.h: New file. Contents moved from
11787 * sysdeps/generic/math_private.h: ... this file. Include
11788 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
11789 Include <fenv_private.h>. Remove functions and macros moved to
11791 * sysdeps/i386/fpu/math_private.h: Remove.
11792 * sysdeps/mips/math_private.h: Move to ....
11793 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
11794 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
11795 [__mips_hard_float] conditional. Include next <fenv_private.h>.
11796 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
11797 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11798 * sysdeps/powerpc/fpu/math_private.h: Do not include
11800 * sysdeps/riscv/rvf/math_private.h: Move to ....
11801 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
11802 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
11804 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
11805 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
11806 * sysdeps/sparc/fpu/math_private.h: Remove.
11807 * sysdeps/i386/fpu/fenv_private.h: Move to ....
11808 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
11809 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
11811 * sysdeps/x86_64/fpu/math_private.h: Do not include
11812 <sysdeps/i386/fpu/fenv_private.h>.
11814 2018-08-28 Florian Weimer <fweimer@redhat.com>
11817 * posix/tst-regcomp-truncated.c: New file.
11818 * posix/Makefile (tests): Add it.
11819 (tst-regcomp-truncated.out): Depend on generated locales.
11821 2018-08-28 Florian Weimer <fweimer@redhat.com>
11823 * support/test-container.c (main): Treat unshare failure with
11824 EPERM as an unsupported test.
11826 2018-08-28 Florian Weimer <fweimer@redhat.com>
11829 nscd: Fix use-after-free in addgetnetgrentX and its callers.
11830 * nscd/netgroupcache.c
11831 (addgetnetgrentX): Add tofreep parameter. Do not free
11832 heap-allocated buffer.
11833 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
11834 (addgetnetgrentX_ignore): New function.
11835 (addgetnetgrent): Call it.
11836 (readdgetnetgrent): Likewise.
11838 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11840 * string/memmem.c: Use memcmp for first match.
11842 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
11845 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
11847 2018-08-27 DJ Delorie <dj@redhat.com>
11849 * support/Makefile (others): Don't list programs explicitly as a
11850 dependency of "others".
11852 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11854 * sysdeps/generic/math-tests-trap-force.h: New file.
11855 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
11856 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
11857 * sysdeps/powerpc/math-tests.h: Remove file.
11858 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
11860 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
11861 Torvald Riegel <triegel@redhat.com>
11864 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
11865 Update r to include the set wake-request flag if waiters are
11866 remaining after spinning.
11868 2018-08-27 Joseph Myers <joseph@codesourcery.com>
11870 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
11872 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
11875 regex: fix uninitialized memory access
11876 I introduced this bug into gnulib in commit
11877 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
11878 eventually it was merged into glibc. The bug was found by
11879 project-repo <bugs@feusi.co> and reported here:
11880 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
11881 Diagnosis and draft fix reported by Assaf Gordon here:
11882 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
11883 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
11884 * posix/regex_internal.c (build_wcs_upper_buffer):
11885 Fix bug when mbrtowc returns 0.
11887 2018-08-24 Carlos O'Donell <carlos@redhat.com>
11889 * po/be.po: Update translation.
11891 2018-08-24 DJ Delorie <dj@delorie.com>
11893 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
11896 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11899 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
11900 create temporary files in source tree.
11902 2018-08-24 Joseph Myers <joseph@codesourcery.com>
11904 * sysdeps/generic/math-tests-trap.h: New file.
11905 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
11906 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
11907 * sysdeps/aarch64/math-tests.h: Remove file.
11908 * sysdeps/arm/math-tests.h: Likewise.
11909 * sysdeps/riscv/math-tests.h: Likewise.
11910 * sysdeps/aarch64/math-tests-trap.h: New file.
11911 * sysdeps/arm/math-tests-trap.h: Likewise.
11912 * sysdeps/riscv/math-tests-trap.h: Likewise.
11914 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
11916 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
11917 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
11918 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
11919 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
11920 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
11921 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
11922 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11923 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
11924 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
11925 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11926 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11927 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11928 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11929 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
11930 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
11931 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
11932 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11933 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11935 2018-08-23 Joseph Myers <joseph@codesourcery.com>
11937 * sysdeps/generic/math-tests-exceptions.h: New file.
11938 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
11939 (EXCEPTION_TESTS_float): Do not define here.
11940 (EXCEPTION_TESTS_double): Likewise.
11941 (EXCEPTION_TESTS_long_double): Likewise.
11942 (EXCEPTION_TESTS_float128): Likewise.
11943 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
11945 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
11946 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
11947 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
11948 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
11949 * sysdeps/mips/math-tests.h: Likewise.
11950 * sysdeps/nios2/math-tests.h: Likewise.
11951 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11952 (EXCEPTION_TESTS_float): Do not define here.
11953 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
11954 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
11955 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
11957 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11959 * NEWS: Move optimized sinf entry to 2.29.
11961 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11963 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
11965 2018-08-22 DJ Delorie <dj@redhat.com>
11967 * Makefile (testroot.pristine): New rules to initialize the
11968 test-in-container "testroot".
11969 * Makerules (all-testsuite): Add tests-container.
11970 * Rules (tests-expected): Add tests-container.
11971 (binaries-all-tests): Likewise.
11972 (tests-container): New, run these tests in the testroot container.
11973 * support/Makefile (others): Add *-container, support_paths.c,
11974 xmkdirp, and links-dso-program.
11975 * support/links-dso-program-c.c: New.
11976 * support/links-dso-program.cc: New.
11977 * support/test-container.c: New.
11978 * support/shell-container.c: New.
11979 * support/echo-container.c: New.
11980 * support/true-container.c: New.
11981 * support/xmkdirp.c: New.
11982 * support/xsymlink.c: New.
11983 * support/support_paths.c: New.
11984 * support/support.h: Add support paths prototypes.
11985 * support/xunistd.h: Add xmkdirp () and xsymlink ().
11987 * nss/tst-nss-test3.c: Convert to test-in-container.
11988 * nss/tst-nss-test3.root/: New.
11990 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
11992 regex: port Gnulib code to z/OS POSIX environment
11993 Problem reported by Arnold Robbins in:
11994 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
11995 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
11998 2018-08-22 Joseph Myers <joseph@codesourcery.com>
12000 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
12001 (ROUNDING_TESTS_double): Remove.
12002 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
12003 (ROUNDING_TESTS_double): Remove.
12004 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
12005 (ROUNDING_TESTS_double): Remove.
12006 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
12007 (ROUNDING_TESTS_float): Remove.
12008 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
12009 (ROUNDING_TESTS_float): Remove.
12010 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
12011 (ROUNDING_TESTS_float): Remove.
12012 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
12013 !TEST_MATHVEC here.
12014 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12015 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12017 * sysdeps/generic/math-tests-rounding.h: New file.
12018 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
12019 (ROUNDING_TESTS_float): Do not define here.
12020 (ROUNDING_TESTS_double): Likewise.
12021 (ROUNDING_TESTS_long_double): Likewise.
12022 (ROUNDING_TESTS_float128): Likewise.
12023 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
12024 (ROUNDING_TESTS_double): Undefine before defining.
12025 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
12026 (ROUNDING_TESTS_double): Undefine before defining.
12027 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
12028 (ROUNDING_TESTS_double): Undefine before defining.
12029 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
12030 (ROUNDING_TESTS_float): Undefine before defining.
12031 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
12032 (ROUNDING_TESTS_float): Undefine before defining.
12033 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
12034 (ROUNDING_TESTS_float): Undefine before defining.
12035 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
12036 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
12038 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
12039 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
12040 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
12041 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12042 (ROUNDING_TESTS_float): Do not define here.
12043 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
12044 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
12045 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
12046 (ROUNDING_TESTS_float): Likewise.
12047 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
12048 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
12049 * sysdeps/mips/math-tests.h [__mips_soft_float]
12050 (ROUNDING_TESTS_float): Likewise.
12051 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
12052 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
12053 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
12054 (ROUNDING_TESTS_double): Likewise.
12055 (ROUNDING_TESTS_long_double): Likewise.
12057 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
12059 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
12060 (PF_XDP): New macro.
12061 (AF_XDP): New macro.
12062 (SOL_XDP): New macro.
12064 2018-08-21 Joseph Myers <joseph@codesourcery.com>
12066 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
12067 (TCP_INQ): Likewise.
12068 (TCP_CM_INQ): Likewise.
12069 (TCP_REPAIR_ON): Likewise.
12070 (TCP_REPAIR_OFF): Likewise.
12071 (TCP_REPAIR_OFF_NO_WP): Likewise.
12072 (struct tcp_zerocopy_receive): New type.
12074 2018-08-21 Florian Weimer <fweimer@redhat.com>
12076 * support/support.h (support_descriptor_supports_holes): Declare.
12077 * support/Makefile (libsupport-routines): Add
12078 support_descriptor_supports_holes.
12079 * support/support_descriptor_supports_holes.c: New file.
12080 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
12081 and stop testing if holes are not supported.
12082 * io/test-lfs.c (do_prepare): Likewise.
12083 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
12085 * timezone/tst-tzset.c (create_tz_file): Likewise.
12086 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
12088 (do_prepare): Set it.
12089 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
12091 2018-08-21 Florian Weimer <fweimer@redhat.com>
12094 * Makeconfig (+cflags): Do not sort (and deduplicate).
12096 2018-08-21 Florian Weimer <fweimer@redhat.com>
12098 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
12099 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
12101 2018-08-20 Florian Weimer <fweimer@redhat.com>
12103 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
12104 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
12106 2018-08-20 Joseph Myers <joseph@codesourcery.com>
12108 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
12109 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
12110 and ssi_arch members.
12112 * elf/elf.c (NT_VMCOREDD): New macro.
12113 (AT_MINSIGSTKSZ): Likewise.
12115 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12118 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
12119 s_cosf-ppc64 and s_cosf-power8.
12120 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
12121 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12122 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12123 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
12125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
12126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
12127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
12128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12130 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
12131 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12133 2018-08-17 Florian Weimer <fweimer@redhat.com>
12135 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12137 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
12139 * malloc/malloc.c (_int_malloc): Additional binning code checks.
12141 2018-08-16 Florian Weimer <fweimer@redhat.com>
12143 * configure.ac: Add --with-nonshared-cflags option.
12144 * config.make.in (extra-nonshared-cflags): Set variable.
12145 * Makeconfig (CFLAGS-.oS): Use it.
12146 * manual/install.texi (Configuring and compiling): Document
12147 --with-nonshared-cflags.
12148 * configure: Regenerate.
12149 * INSTALL: Likewise.
12151 2018-08-16 Florian Weimer <fweimer@redhat.com>
12153 * Makeconfig (ASFLAGS): Always append required assembler flags.
12155 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
12157 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
12158 (malloc_consolidate): Likewise.
12160 2018-08-16 Pochang Chen <johnchen902@gmail.com>
12162 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
12164 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
12166 * benchtests/bench-strlen.c (do_test): Allocate buffers before
12169 * benchtests/bench-strlen.c: Print performance numbers in json.
12171 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12173 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12174 (sysdep_routines): Build strcmp-power9 and strncmp-power9
12175 only for little endian.
12176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12177 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
12178 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
12179 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
12180 Add check for little endian.
12181 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12182 (__strcmp_power9): Add check for little endian.
12183 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
12184 Add check for little endian.
12185 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12186 (__strncmp_power9): Add check for little endian.
12187 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
12188 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
12189 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
12190 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
12191 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
12193 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
12195 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
12196 [!STRLEN](STRLEN): Set to __strlen.
12197 * sysdeps/aarch64/multiarch/strlen.c: New file.
12198 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
12199 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
12200 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
12201 (__libc_ifunc_impl_list): Add strlen.
12202 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
12203 strlen_generic and strlen_asimd.
12205 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12207 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
12208 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
12209 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12211 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12213 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
12215 2018-08-14 Florian Weimer <fweimer@redhat.com>
12218 * include/stdio.h (__vfxprintf): Declare.
12219 * stdio-common/fxprintf.c (__vfxprintf): New function.
12220 (__fxprintf): Call it.
12221 * misc/err.c (convert_and_print): Remove function.
12222 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
12223 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
12224 * misc/Makefile (tests): Add tst-warn-wide.
12225 * misc/tst-warn-wide.c: New file.
12227 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
12228 Szabolcs Nagy <szabolcs.nagy@arm.com>
12230 * NEWS: Mention sinf, cosf, sincosf.
12231 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
12232 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
12233 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
12234 constants rather than including generic sincosf.h.
12235 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
12236 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
12237 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
12238 (reduced_cos): Remove.
12239 (sinf_poly): New function.
12240 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
12242 2018-08-14 Florian Weimer <fweimer@redhat.com>
12246 * nss/nss_files/files-alias.c (get_next_alias): During :include:
12247 processing, bail out if no room, and close the stream before
12249 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
12250 (tst-nss-files-alias-leak): Link with libdl.
12251 (tst-nss-files-alias-leak.out): Depend on nss_files.
12253 * nss/tst-nss-files-alias-leak.c: New file.
12255 2018-08-14 Florian Weimer <fweimer@redhat.com>
12257 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
12258 server_user, stat_user.
12260 2018-08-13 Joseph Myers <joseph@codesourcery.com>
12262 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12264 (io_pgetevents): New syscall.
12267 * manual/install.texi (Configuring and compiling): Do not list
12268 tools used for testing pretty printers here.
12269 (Tools for Compilation): List Python, PExpect and GDB here.
12270 Update descriptions of uses of Perl and Python.
12271 * INSTALL: Regenerate.
12273 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12276 2018-08-13 Florian Weimer <fweimer@redhat.com>
12278 * misc/error.c (error): Add missing va_end call.
12279 (error_at_line): Likewise.
12281 2018-08-13 Florian Weimer <fweimer@redhat.com>
12283 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
12285 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12287 * benchtests/scripts/benchout.schema.json (properties): Add
12290 * benchtests/bench-skeleton.c (main): Add duration and
12291 iterations attributes.
12293 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
12295 regex: Gnulib unibyte RRI uses bytes not chars
12296 Adjust the non-glibc code to agree with what Gawk needs for
12297 rational range interpretation (RRI) for regular expression ranges.
12298 In unibyte locales, Gawk wants ranges to use the underlying byte
12299 rather than the character code point. This change does not affect
12301 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
12302 In unibyte locales, use the byte value rather than
12303 running it through btowc.
12305 2018-08-10 Joseph Myers <joseph@codesourcery.com>
12307 * sysdeps/generic/math-tests-snan.h: New file.
12308 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
12309 (SNAN_TESTS_float): Do not define here.
12310 (SNAN_TESTS_double): Likewise.
12311 (SNAN_TESTS_long_double): Likewise.
12312 (SNAN_TESTS_float128): Likewise.
12313 * sysdeps/i386/fpu/math-tests-snan.h: New file.
12314 * sysdeps/i386/fpu/math-tests.h: Remove file.
12315 * sysdeps/ia64/math-tests-snan.h: New file.
12316 * sysdeps/ia64/math-tests.h: Remove file.
12317 * sysdeps/x86/math-tests.h: Likewise.
12318 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
12320 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
12321 Szabolcs Nagy <szabolcs.nagy@arm.com>
12323 * math/Makefile: Add s_sincosf_data.c.
12324 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
12325 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
12326 (sincosf_poly): Likewise.
12327 (reduce_small): Likewise.
12328 (reduce_large): Likewise.
12329 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
12330 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
12331 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
12332 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
12334 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
12335 Szabolcs Nagy <szabolcs.nagy@arm.com>
12337 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
12338 (converttoint): Use lround.
12339 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
12340 document the semantics when TOINT_INTRINSICS is set.
12341 (converttoint): Likewise.
12342 (TOINT_RINT): Remove.
12343 (TOINT_SHIFT): Remove.
12344 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
12347 2018-08-10 Florian Weimer <fweimer@redhat.com>
12350 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
12352 (__old_getdents64): Use getdents64. Convert entries without
12354 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
12355 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
12356 tst-readdir64-compat.
12358 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12360 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
12363 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12365 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
12366 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
12367 code to s390x-mcount.h and #include it.
12368 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
12369 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12372 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12374 * stdlib/Versions: Remove __fentry__.
12375 * sysdeps/i386/Versions: Add __fentry__.
12376 * sysdeps/x86_64/Versions: Add __fentry__.
12378 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12380 * sysdeps/s390/Makefile: Register the new tests.
12381 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
12382 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
12383 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
12384 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
12385 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
12386 * sysdeps/s390/tst-dl-runtime.c: New file.
12388 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12390 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12393 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12395 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12398 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12400 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12403 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12405 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12408 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12410 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12411 Use symbolic offsets for stack variables.
12413 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12415 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12416 Use symbolic offsets for stack variables.
12418 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12420 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12421 Use symbolic offsets for stack variables.
12423 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12425 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12426 Use symbolic offsets for stack variables.
12428 2018-08-09 Joseph Myers <joseph@codesourcery.com>
12430 * math/gen-libm-test.py: New file.
12431 * math/gen-libm-test.pl: Remove.
12432 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
12433 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
12435 ($(libm-test-c-noauto-obj)): Likewise.
12436 ($(libm-test-c-auto-obj)): Likewise.
12437 ($(libm-test-c-narrow-obj)): Likewise.
12438 (regen-ulps): Likewise.
12439 * math/README.libm-test: Update references to gen-libm-test.pl.
12440 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
12441 referencing gen-libm-test.pl.
12442 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
12443 * math/libm-test-support.c: Likewise.
12444 * math/libm-test-support.h: Likewise.
12445 * sysdeps/generic/libm-test-ulps: Likewise.
12447 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
12449 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
12452 2018-08-08 Joseph Myers <joseph@codesourcery.com>
12454 * math/libm-test-nextdown.inc (do_test): Move comment to ....
12455 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
12457 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
12459 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
12461 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
12462 __pthread_setspecific): Add hidden proto.
12463 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
12464 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
12466 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12468 * benchtests/bench-string.h (buf1_size, buf2_size): New
12470 (init_sizes): New function.
12471 (test_init): Use it.
12472 (alloc_buf, exit_error): New functions.
12473 (alloc_bufs): Use ALLOC_BUF.
12474 (realloc_bufs): Remove.
12475 * benchtests/bench-memcmp.c (do_test): Adjust.
12476 * benchtests/bench-memset-large.c (do_test): Likewise.
12477 * benchtests/bench-memset-walk.c (do_test): Likewise.
12478 * benchtests/bench-memset.c (do_test): Likewise.
12479 * benchtests/bench-strncmp.c (do_test): Likewise.
12481 2018-08-06 Andreas Schwab <schwab@suse.de>
12483 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
12484 of CONST_THREAD_AREA.
12486 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
12488 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
12489 (STATE_SAVE_MASK): Likewise.
12490 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
12491 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
12492 (STATE_SAVE_MASK): Likewise.
12493 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
12494 instead of <cpu-features.h>.
12496 2018-08-03 DJ Delorie <dj@redhat.com>
12498 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
12499 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
12501 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
12503 2018-08-03 Joseph Myers <joseph@codesourcery.com>
12505 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
12506 after TEST_* calls.
12507 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
12508 * math/libm-test-logb.inc (logb_test_data): Likewise.
12510 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
12512 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
12513 * string/strstr.c (AVAILABLE): Likewise.
12515 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12517 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
12519 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
12520 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
12521 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
12523 2018-08-03 Carlos O'Donell <carlos@redhat.com>
12525 * po/be.po: Update translation.
12527 * po/be.po: Update translation.
12529 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12531 * sysdeps/x86/cpu-features-offsets.sym
12532 (rtld_global_ro_offsetof): Removed.
12533 (CPU_FEATURES_SIZE): Likewise.
12534 (CPUID_OFFSET): Likewise.
12535 (CPUID_SIZE): Likewise.
12536 (CPUID_EAX_OFFSET): Likewise.
12537 (CPUID_EBX_OFFSET): Likewise.
12538 (CPUID_ECX_OFFSET): Likewise.
12539 (CPUID_EDX_OFFSET): Likewise.
12540 (FAMILY_OFFSET): Likewise.
12541 (MODEL_OFFSET): Likewise.
12542 (FEATURE_OFFSET): Likewise.
12543 (FEATURE_SIZ): Likewise.
12544 (COMMON_CPUID_INDEX_1): Likewise.
12545 (COMMON_CPUID_INDEX_7): Likewise.
12546 (FEATURE_INDEX_1): Likewise.
12547 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
12549 2018-08-02 Carlos O'Donell <carlos@redhat.com>
12551 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
12552 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
12553 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
12554 (install-locales): Depend on install-locale-archive.
12555 (install-locale-archive): Define.
12556 (install-locale-files): Define.
12557 (build-one-locale): Define macro.
12558 * manual/install.texi (Running make install): Document.
12559 * manual/INSTALL: Regenerate.
12561 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12563 * benchtests/scripts/compare_strings.py: Import traceback.
12564 (parse_file): Pretty-print error.
12566 * NEWS: Mention the change.
12567 * elf/dl-tunables.list: Rename tune namespace to cpu.
12568 * sysdeps/powerpc/dl-tunables.list: Likewise.
12569 * sysdeps/x86/dl-tunables.list: Likewise.
12570 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
12572 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
12573 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
12574 * manual/README.tunables: Likewise.
12575 * manual/tunables.texi: Likewise.
12576 * sysdeps/powerpc/cpu-features.c: Likewise.
12577 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
12578 (init_cpu_features): Likewise.
12579 * sysdeps/x86/cpu-features.c: Likewise.
12580 * sysdeps/x86/cpu-features.h: Likewise.
12581 * sysdeps/x86/cpu-tunables.c: Likewise.
12582 * sysdeps/x86_64/Makefile: Likewise.
12583 * sysdeps/x86/dl-cet.c: Likewise.
12585 2018-08-02 Joseph Myers <joseph@codesourcery.com>
12588 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
12589 [__mips_hard_float].
12590 (FE_UNDERFLOW): Likewise.
12591 (FE_OVERFLOW): Likewise.
12592 (FE_DIVBYZERO): Likewise.
12593 (FE_INVALID): Likewise.
12594 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
12595 (FE_TOWARDZERO): Define only if [__mips_hard_float].
12596 (FE_UPWARD): Likewise.
12597 (FE_DOWNWARD): Likewise.
12598 (__FE_UNDEFINED): Define if [!__mips_hard_float]
12599 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
12600 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
12601 [__mips_hard_float].
12602 (FP_ROUNDMODE): Likewise.
12603 (FP_RND_NEAREST): Likewise.
12604 (FP_RND_ZERO): Likewise.
12605 (FP_RND_PINF): Likewise.
12606 (FP_RND_MINF): Likewise.
12607 (FP_EX_INVALID): Likewise.
12608 (FP_EX_OVERFLOW): Likewise.
12609 (FP_EX_UNDERFLOW): Likewise.
12610 (FP_EX_DIVZERO): Likewise.
12611 (FP_EX_INEXACT): Likewise.
12612 (FP_INIT_ROUNDMODE): Likewise.
12613 * sysdeps/mips/nofpu/fesetenv.c: New file.
12614 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
12616 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12618 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
12619 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
12620 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
12621 conditional on [FE_UPWARD].
12623 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
12625 regex: fix memory leak in Gnulib
12626 Problem and fix reported by Assaf Gordon in:
12627 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
12628 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
12629 range_ends members too, as they are defined in 'struct
12630 re_charset_t' even if not _LIBC. This affects only Gnulib.
12632 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
12634 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
12636 (get_common_indices): This.
12637 (init_cpu_features): Updated.
12639 2018-08-01 Joseph Myers <joseph@codesourcery.com>
12641 * sysdeps/generic/math-tests-snan-payload.h: New file.
12642 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
12643 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
12644 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
12645 * sysdeps/generic/math-tests.h: Include
12646 <math-tests-snan-payload.h>.
12647 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12648 * sysdeps/hppa/math-tests.h: Remove file.
12649 * sysdeps/mips/math-tests.h [!__mips_nan2008]
12650 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
12651 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
12654 * sysdeps/generic/math-tests-snan-cast.h: New file.
12655 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
12656 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
12657 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
12658 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
12660 2018-08-01 Carlos O'Donel <carlos@redhat.com>
12662 * version.h (RELEASE): Set to "development".
12663 (VERSION): Set to "2.28.9000".
12664 * NEWS (2.29): New section.
12666 * version.h (RELEASE): Set to "stable".
12667 (VERSION): Set to "2.28".
12668 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
12669 * NEWS: Add the list of bugs fixed in 2.28.
12671 * po/ca.po: Update to latest version.
12672 * po/cs.po: Likewise
12673 * po/da.po: Likewise
12674 * po/el.po: Likewise
12675 * po/eo.po: Likewise
12676 * po/es.po: Likewise
12677 * po/fi.po: Likewise
12678 * po/fr.po: Likewise
12679 * po/gl.po: Likewise
12680 * po/hu.po: Likewise
12681 * po/ia.po: Likewise
12682 * po/id.po: Likewise
12683 * po/it.po: Likewise
12684 * po/ja.po: Likewise
12685 * po/ko.po: Likewise
12686 * po/lt.po: Likewise
12687 * po/nb.po: Likewise
12688 * po/nl.po: Likewise
12689 * po/pt_BR.po: Likewise
12690 * po/ru.po: Likewise
12691 * po/rw.po: Likewise
12692 * po/sk.po: Likewise
12693 * po/sl.po: Likewise
12694 * po/tr.po: Likewise
12695 * po/zh_CN.po: Likewise
12696 * po/zh_TW.po: Likewise
12698 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12700 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
12702 (init): ... before initializing libpthread.
12704 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
12705 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
12706 (__mach_setup_tls): ... new function.
12707 (mach_setup_tls): New alias.
12708 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
12709 __mach_setup_thread.
12710 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
12711 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
12712 * mach/Versions [libc] (mach_setup_tls): Add symbol.
12713 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
12715 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12717 * manual/install.texi: Update versions.
12718 * INSTALL: Regenerate.
12720 * manual/contrib.texi (Contributors): Update contributions.
12722 2018-07-31 Carlos O'Donell <carlos@redhat.com>
12724 * po/be.po: Update translations.
12726 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12728 * sysdeps/sh/libm-test-ulps: Update.
12730 2018-07-30 Carlos O'Donell <carlos@redhat.com>
12732 * po/bg.po: Update translations.
12733 * po/de.po: Likewise.
12734 * po/hr.po: Likewise.
12735 * po/pt_BR.po: Likewise.
12736 * po/sv.po: Likewise.
12737 * po/vi.po: Likewise.
12739 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12742 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12743 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
12744 (CFLAGS-tst-cet-property-1.o): New.
12745 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
12746 ($(objpfx)tst-cet-property-2): Likewise.
12747 ($(objpfx)tst-cet-property-2.out): Likewise.
12748 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
12749 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
12750 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
12751 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
12752 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
12754 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
12757 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
12759 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12761 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
12762 __sbrk): Do not set attribute_hidden.
12763 * sysdeps/mach/hurd/not-errno.h: New file.
12764 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12765 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
12767 2018-07-27 Carlos O'Donell <carlos@redhat.com>
12769 * po/uk.po: Update translations.
12770 * po/cs.po: Likewise.
12771 * po/pl.po: Likewise.
12773 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
12775 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
12776 parse beyond the note end.
12778 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12780 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
12781 kernel does not support OFD locks.
12782 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
12784 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12786 * sysdeps/mach/hurd/Versions (libc): Make __access and
12787 __access_noerrno external so they can override the ld symbols.
12788 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
12789 __writev, __open64, __access_noerrno extern so they can be overrided.
12790 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
12791 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
12793 2018-07-26 Carlos O'Donell <carlos@redhat.com>
12795 * po/libc.pot: Regenerate.
12797 2018-07-26 Joseph Myers <joseph@codesourcery.com>
12799 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
12801 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12804 * sysdeps/x86/cpu-features.c (get_extended_indices): New
12806 (init_cpu_features): Call get_extended_indices for both Intel
12808 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
12809 Remove "for AMD" comment.
12811 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
12814 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
12815 COMMON_CPUID_INDEX_80000001.
12817 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
12819 * string/tst-xbzero-opt.c (use_test_buffer): New function.
12820 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
12822 2018-07-26 Florian Weimer <fweimer@redhat.com>
12824 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
12825 aliases for symbols not in the implementation namespace.
12827 2018-07-25 Carlos O'Donell <carlos@redhat.com>
12830 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
12831 lowercase in LATIN script.
12832 * localedata/Makefile (test-input): Add en_US.UTF-8.
12833 * localedata/en_US.UTF-8.in: New file.
12834 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
12835 and restore old tests.
12836 * posix/tst-regexloc.c (do_test): Add back range expression test.
12838 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12840 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
12842 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12844 * nptl/threads.h: Move to ...
12845 * sysdeps/nptl/threads.h: ... here.
12846 * sysdeps/hurd/stdc-predef.h: New file.
12848 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12850 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
12851 tst-cet-setcontext-1 if CET is enabled.
12852 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
12853 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
12855 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12857 * include/threads.h: Move to ...
12858 * sysdeps/nptl/threads.h: ... here.
12859 * sysdeps/htl/threads.h: New file.
12860 * conform/Makefile (linknamespace-libs-ISO11): Use
12861 static-thread-library instead of linking libpthread.
12862 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
12864 2018-07-25 Florian Weimer <fweimer@redhat.com>
12866 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
12867 nanoseconds into seconds.
12868 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
12869 (do_test): Likewise.
12870 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
12871 (do_test): Likewise. Avoid nanosecond overflow and spurious
12872 timeouts due to system load.
12873 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
12874 (child_wait): Increment it.
12875 (do_test): Wait as long as necessary until all expected threads
12878 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
12879 H.J. Lu <hongjiu.lu@intel.com>
12881 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
12883 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
12884 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
12885 (__push___start_context): New.
12886 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
12888 (__getcontext): Record the current shadow stack base. Save the
12889 caller's shadow stack pointer and base.
12890 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
12891 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
12892 (__push___start_context): New prototype.
12893 (__makecontext): Call __push___start_context to allocate a new
12894 shadow stack, push __start_context onto the new stack as well
12895 as the new shadow stack.
12896 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
12898 (__setcontext): Restore the target shadow stack.
12899 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
12901 (__swapcontext): Record the current shadow stack base. Save
12902 the caller's shadow stack pointer and base. Restore the target
12904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12905 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
12906 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
12908 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12910 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
12911 tst-setcontext8 and tst-setcontext9.
12912 * stdlib/tst-setcontext6.c: New file.
12913 * stdlib/tst-setcontext7.c: Likewise.
12914 * stdlib/tst-setcontext8.c: Likewise.
12915 * stdlib/tst-setcontext9.c: Likewise.
12917 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12919 * stdlib/Makefile ((tests): Add tst-setcontext5.
12920 * stdlib/tst-setcontext5.c: New file.
12922 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12924 * stdlib/Makefile (tests): Add tst-setcontext4.
12925 * stdlib/tst-setcontext4.c: New file.
12927 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12929 * stdlib/Makefile (tests): Add tst-swapcontext1.
12930 * stdlib/tst-swapcontext1.c: New test.
12932 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12934 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
12935 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
12936 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
12937 and tst-cet-legacy-4c.
12938 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
12939 and tst-cet-legacy-mod-4.
12940 (CFLAGS-tst-cet-legacy-2.c): New.
12941 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
12942 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
12943 (CFLAGS-tst-cet-legacy-3.c): Likewise.
12944 (CFLAGS-tst-cet-legacy-4.c): Likewise.
12945 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
12946 ($(objpfx)tst-cet-legacy-1): Likewise.
12947 ($(objpfx)tst-cet-legacy-2): Likewise.
12948 ($(objpfx)tst-cet-legacy-2.out): Likewise.
12949 ($(objpfx)tst-cet-legacy-2a): Likewise.
12950 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
12951 ($(objpfx)tst-cet-legacy-4): Likewise.
12952 ($(objpfx)tst-cet-legacy-4.out): Likewise.
12953 ($(objpfx)tst-cet-legacy-4a): Likewise.
12954 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
12955 (tst-cet-legacy-4a-ENV): Likewise.
12956 ($(objpfx)tst-cet-legacy-4b): Likewise.
12957 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
12958 (tst-cet-legacy-4b-ENV): Likewise.
12959 ($(objpfx)tst-cet-legacy-4c): Likewise.
12960 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
12961 (tst-cet-legacy-4c-ENV): Likewise.
12962 * sysdeps/x86/tst-cet-legacy-1.c: New file.
12963 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
12964 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
12965 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
12966 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
12967 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
12968 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
12969 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
12970 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
12971 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
12972 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
12974 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12976 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12977 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12979 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12980 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12983 2018-07-25 Andreas Schwab <schwab@suse.de>
12986 * locale/weightwc.h (findidx): Handle the case where usrc is a
12987 prefix of cp but one character too short.
12989 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12991 * NEWS: Add ISO C threads addition.
12993 2018-07-24 Florian Weimer <fweimer@redhat.com>
12995 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12996 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
12997 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
13000 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13002 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
13003 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
13004 <sys/prctl.h> and <asm/prctl.h>.
13005 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
13006 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
13008 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
13009 ARCH_CET_LEGACY_BITMAP.
13010 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
13011 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
13012 * sysdeps/x86/libc-start.c: Include <startup.h>.
13014 2018-07-24 Florian Weimer <fweimer@redhat.com>
13016 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
13017 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
13019 2018-07-24 Rical Jasan <rj@2c3t.io>
13020 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13021 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13024 * manual/debug.texi: Update adjacent chapter name.
13025 * manual/probes.texi: Likewise.
13026 * manual/threads.texi (ISO C Threads): New section.
13027 (POSIX Threads): Convert to a section.
13029 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13030 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13033 * nptl/Makefile (tests): Add new test files.
13034 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
13035 * nptl/tst-cnd-basic.c: Likewise.
13036 * nptl/tst-cnd-broadcast.c: Likewise.
13037 * nptl/tst-cnd-timedwait.c: Likewise.
13038 * nptl/tst-mtx-basic.c: Likewise.
13039 * nptl/tst-mtx-recursive.c: Likewise.
13040 * nptl/tst-mtx-timedlock.c: Likewise.
13041 * nptl/tst-mtx-trylock.c: Likewise.
13042 * nptl/tst-thrd-basic.c: Likewise.
13043 * nptl/tst-thrd-detach.c: Likewise.
13044 * nptl/tst-thrd-sleep.c: Likewise.
13045 * nptl/tst-tss-basic.c: Likewise.
13047 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13050 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13051 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
13053 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13054 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13055 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13056 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13057 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13058 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13059 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13060 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13061 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13062 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13063 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13064 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
13071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13072 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13073 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13074 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13075 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13076 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13077 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13078 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13079 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13080 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
13081 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
13082 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
13083 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
13084 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
13086 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13087 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13088 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13089 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13090 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13091 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13092 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13093 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13094 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13095 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13096 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13097 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13104 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13105 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13106 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13107 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13108 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13109 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13110 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13111 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13114 * conform/data/threads.h-data (thread_local): New macro.
13115 (TSS_DTOR_ITERATIONS): Likewise.
13117 (tss_dtor_t): Likewise.
13118 (tss_create): New function.
13119 (tss_get): Likewise.
13120 (tss_set): Likewise.
13121 (tss_delete): Likewise.
13122 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
13123 tss_get, and tss_set objects.
13124 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13125 * nptl/tss_create.c: New file.
13126 * nptl/tss_delete.c: Likewise.
13127 * nptl/tss_get.c: Likewise.
13128 * nptl/tss_set.c: Likewise.
13129 * sysdeps/nptl/threads.h (thread_local): New define.
13130 (TSS_DTOR_ITERATIONS): Likewise.
13131 (tss_t): New typedef.
13132 (tss_dtor_t): Likewise.
13133 (tss_create): New prototype.
13134 (tss_get): Likewise.
13135 (tss_set): Likewise.
13136 (tss_delete): Likewise.
13139 * conform/data/threads.h-data (cnd_t): New type.
13140 (cnd_init): New function.
13141 (cnd_signal): Likewise.
13142 (cnd_broadcast): Likewise.
13143 (cnd_wait): Likewise.
13144 (cnd_timedwait): Likewise.
13145 (cnd_destroy): Likewise.
13146 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
13147 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
13149 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13150 * nptl/cnd_broadcast.c: New file.
13151 * nptl/cnd_destroy.c: Likewise.
13152 * nptl/cnd_init.c: Likewise.
13153 * nptl/cnd_signal.c: Likewise.
13154 * nptl/cnd_timedwait.c: Likewise.
13155 * nptl/cnd_wait.c: Likewise.
13156 * sysdeps/nptl/threads.h (cnd_t): New type.
13157 (cnd_init): New prototype.
13158 (cnd_signa): Likewise.
13159 (cnd_broadcast): Likewise.
13160 (cnd_wait): Likewise.
13161 (cnd_timedwait): Likewise.
13162 (cnd_destroy): Likewise.
13165 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
13166 (once_flag): New type.
13167 (call_once): New function.
13168 * nptl/Makefile (libpthread-routines): Add call_once object.
13169 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
13170 * nptl/call_once.c: New file.
13171 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
13172 (once_flag): New type.
13173 (call_once): New prototype.
13176 * conform/data/threads.h-data (mtx_plain): New constant.
13177 (mtx_recursive): Likewise.
13178 (mtx_timed): Likewise.
13180 (mtx_init): New function.
13181 (mtx_lock): Likewise.
13182 (mtx_timedlock): Likewise.
13183 (mtx_trylock): Likewise.
13184 (mtx_unlock): Likewise.
13185 (mtx_destroy): Likewise.
13186 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
13187 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
13188 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
13189 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
13190 * nptl/mtx_destroy.c: New file.
13191 * nptl/mtx_init.c: Likewise.
13192 * nptl/mtx_lock.c: Likewise.
13193 * nptl/mtx_timedlock.c: Likewise.
13194 * nptl/mtx_trylock.c: Likewise.
13195 * nptl/mtx_unlock.c: Likewise.
13196 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
13197 (mtx_recursive): Likewise.
13198 (mtx_timed): Likewise.
13200 (mtx_init): New prototype.
13201 (mtx_lock): Likewise.
13202 (mtx_timedlock): Likewise.
13203 (mtx_trylock): Likewise.
13204 (mtx_unlock): Likewise.
13205 (mtx_destroy): Likewise.
13208 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
13209 (linknamespace-libs-ISO11): Add libpthread.a.
13210 * conform/data/threads.h-data: New file: add C11 thrd_* types and
13212 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
13213 * nptl/Makefile (headers): Add threads.h.
13214 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
13215 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
13217 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
13218 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
13219 thrd_join, thrd_sleep, and thrd_yield symbols.
13220 * nptl/descr.h (struct pthread): Add c11 field.
13221 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
13222 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
13223 routine with expected function prototype.
13224 (__pthread_create_2_1): Add C11 threads check based on attribute
13226 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
13227 * nptl/thrd_create.c: New file.
13228 * nptl/thrd_current.c: Likewise.
13229 * nptl/thrd_detach.c: Likewise.
13230 * nptl/thrd_equal.c: Likewise.
13231 * nptl/thrd_exit.c: Likewise.
13232 * nptl/thrd_join.c: Likewise.
13233 * nptl/thrd_priv.h: Likewise.
13234 * nptl/thrd_sleep.c: Likewise.
13235 * nptl/thrd_yield.c: Likewise.
13236 * include/threads.h: Likewise.
13238 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13240 * bits/indirect-return.h: New file.
13241 * misc/sys/cdefs.h (__glibc_has_attribute): New.
13242 * sysdeps/x86/bits/indirect-return.h: Likewise.
13243 * stdlib/Makefile (headers): Add bits/indirect-return.h.
13244 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
13245 (swapcontext): Add __INDIRECT_RETURN.
13246 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
13247 (prepare_test_buffer): Use it.
13249 2018-07-24 Andreas Schwab <schwab@suse.de>
13252 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
13253 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
13255 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13257 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
13258 Redefine if shadow stack is enabled.
13259 (SYSCALL_ERROR_LABEL): Likewise.
13260 (__vfork): Pop shadow stack and jump back to to caller directly
13261 when shadow stack is in use.
13262 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
13263 Redefine if shadow stack is enabled.
13264 (SYSCALL_ERROR_LABEL): Likewise.
13265 (__vfork): Pop shadow stack and jump back to to caller directly
13266 when shadow stack is in use.
13268 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13270 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
13273 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
13276 2018-07-20 Joseph Myers <joseph@codesourcery.com>
13278 * scripts/build-many-glibcs.py (Context.checkout): Default
13279 binutils version to 2.31 branch.
13281 2018-07-20 Zong Li <zong@andestech.com>
13283 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
13284 URL of gcc's tarball.
13286 2018-07-20 Florian Weimer <fweimer@redhat.com>
13289 * posix/regcomp.c (build_equiv_class): When comparing weights, do
13290 not compare an extra byte after the end of the weights.
13292 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13294 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
13296 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
13298 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
13299 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
13300 * scripts/check-execstack.awk: Consider `xfail' variable containing a
13301 list of libraries whose stack executability is expected.
13302 * elf/Makefile ($(objpfx)check-execstack.out): Pass
13303 $(check-execstack-xfail) to check-execstack.awk through `xfail'
13305 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
13306 libc.so libpthread.so.
13308 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
13310 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
13312 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
13314 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
13316 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
13318 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13320 * benchtests/scripts/compare_bench.py (__main__): use the argparse
13321 library to improve command line parsing.
13322 (__main__): make schema file as optional parameter (--schema),
13323 defaulting to benchtests/scripts/benchout.schema.json.
13324 (main): move out of the parsing stuff to __main_ and leave it
13325 only as caller of main comparison functions.
13327 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
13329 * NEWS: Add a note for Intel CET status.
13330 * manual/install.texi: Likewise.
13331 * INSTALL: Regenerated.
13333 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
13336 * localedata/locales/oc_FR (mon): Rename to...
13337 (alt_mon): This, then update October (typo fix).
13338 (mon): New content (genitive case, month names preceded by
13342 * localedata/locales/oc_FR (abday): Update all items.
13343 (day): Update Wednesday and Saturday (typo fixes).
13344 (abmon): Update all items, except May.
13345 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
13346 (LC_IDENTIFICATION): Bump the revision number and date.
13347 Keep the "category" entries in alphabetic order.
13348 (LC_ADDRESS): Remove no longer needed comment.
13349 (LC_COLLATE): Use “copy "ca_ES"”.
13350 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
13353 2018-07-18 Joseph Myers <joseph@codesourcery.com>
13355 * grp/tst_fgetgrent.c: Include <unistd.h>.
13356 (main): Use mkstemp instead of tmpnam.
13357 * io/test-utime.c (main): Likewise.
13358 * posix/annexc.c (macrofile): Change to modifiable array.
13359 (main): Remove macrofile here.
13360 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
13362 (check_header): Do not remove macrofile here.
13363 * posix/bug-getopt1.c: Include <stdlib.h>.
13364 (do_test): Use mkstemp instead of tmpnam.
13365 * posix/bug-getopt2.c: Include <stdlib.h>.
13366 (do_test): Use mkstemp instead of tmpnam.
13367 * posix/bug-getopt3.c: Include <stdlib.h>.
13368 (do_test): Use mkstemp instead of tmpnam.
13369 * posix/bug-getopt4.c: Include <stdlib.h>.
13370 (do_test): Use mkstemp instead of tmpnam.
13371 * posix/bug-getopt5.c: Include <stdlib.h>.
13372 (do_test): Use mkstemp instead of tmpnam.
13373 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
13374 (main): Use mkstemp instead of tmpnam.
13375 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
13376 (main): Use mkstemp instead of tmpnam.
13377 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
13378 (main): use mkstemp instead of tmpnam.
13379 * stdlib/isomac.c (macrofile): Change to modifiable array.
13380 (main): Remove macrofile here.
13381 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
13383 (check_header): Do not remove macrofile here.
13385 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13387 * manual/tunables.texi: Document glibc.tune.x86_ibt and
13388 glibc.tune.x86_shstk.
13390 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13392 * NEWS: Mention --enable-cet.
13393 * manual/install.texi: Document --enable-cet.
13394 * INSTALL: Regenerated.
13396 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13398 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
13399 Add _CET_NOTRACK before indirect jump to jump table.
13401 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13403 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
13404 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13407 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13409 * sysdeps/i386/i686/multiarch/strcat-sse2.S
13410 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13413 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13415 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
13416 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13419 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13421 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
13422 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13425 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13427 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
13428 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13430 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
13432 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13434 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
13435 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13438 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13440 * sysdeps/i386/i686/multiarch/memset-sse2.S
13441 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13444 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13446 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
13447 indirect jump to jump table.
13449 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13451 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
13452 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13454 (MEMCPY): Likewise.
13456 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13458 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
13459 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13461 (MEMCPY): Likewise.
13463 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13465 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13466 _CET_NOTRACK before indirect jump to jump table.
13468 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13470 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
13471 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13474 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13476 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
13477 indirect jump to jump table.
13479 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
13482 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
13483 (LOCALES): Likewise.
13484 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
13485 * localedata/locales/sah_RU: New file.
13486 * localedata/sah_RU.UTF-8.in: New file.
13488 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13490 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
13492 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13493 _CET_ENDBR to indirect jump targets and adjust jump destination
13495 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
13497 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13498 _CET_ENDBR to indirect jump targets and adjust jump destination
13500 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
13502 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
13503 _CET_ENDBR to indirect jump targets and adjust jump destination
13506 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13508 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13511 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13513 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
13515 (_dl_tlsdesc_undefweak): Likewise.
13516 (_dl_tlsdesc_dynamic): Likewise.
13517 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
13518 (_dl_tlsdesc_resolve_rel): Likewise.
13519 (_dl_tlsdesc_resolve_rela): Likewise.
13520 (_dl_tlsdesc_resolve_hold): Likewise.
13521 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
13522 (_dl_tlsdesc_undefweak): Likewise.
13523 (_dl_tlsdesc_dynamic): Likewise.
13524 (_dl_tlsdesc_resolve_rela): Likewise.
13525 (_dl_tlsdesc_resolve_hold): Likewise.
13527 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13529 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
13531 * sysdeps/x86_64/crti.S (_init): Likewise.
13534 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
13537 * localedata/locales/os_RU (mon): Rename to...
13539 (mon): Import from CLDR (genitive case).
13541 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13543 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
13544 cet-tunables.h> when CET is enabled.
13546 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
13549 * configure.ac: Add --enable-cet.
13550 * configure: Regenerated.
13551 * elf/Makefille (all-built-dso): Add a comment.
13552 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
13553 Include <dl-prop.h>.
13554 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
13556 * elf/dl-open.c: Include <dl-prop.h>.
13557 (dl_open_worker): Call _dl_open_check.
13558 * elf/rtld.c: Include <dl-prop.h>.
13559 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
13561 * sysdeps/generic/dl-prop.h: New file.
13562 * sysdeps/i386/dl-cet.c: Likewise.
13563 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
13564 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
13565 * sysdeps/x86/cet-tunables.h: Likewise.
13566 * sysdeps/x86/check-cet.awk: Likewise.
13567 * sysdeps/x86/configure: Likewise.
13568 * sysdeps/x86/configure.ac: Likewise.
13569 * sysdeps/x86/dl-cet.c: Likewise.
13570 * sysdeps/x86/dl-procruntime.c: Likewise.
13571 * sysdeps/x86/dl-prop.h: Likewise.
13572 * sysdeps/x86/libc-start.h: Likewise.
13573 * sysdeps/x86/link_map.h: Likewise.
13574 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
13576 (_dl_runtime_profile): Likewise.
13577 (_dl_runtime_resolve_shstk): New.
13578 (_dl_runtime_profile_shstk): Likewise.
13579 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
13581 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
13582 (CFLAGS-.os): Likewise.
13583 (CFLAGS-.op): Likewise.
13584 (CFLAGS-.oS): Likewise.
13585 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
13587 (tests-special): Add $(objpfx)check-cet.out.
13588 (cet-built-dso): New.
13589 (+$(cet-built-dso:=.note)): Likewise.
13590 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
13591 ($(objpfx)check-cet.out): New.
13592 (generated): Add check-cet.out.
13593 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
13595 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
13596 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13597 (init_cpu_features): Call get_cet_status to check CET status
13598 and update dl_x86_feature_1 with CET status. Call
13599 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
13600 (set_x86_shstk). Disable and lock CET in libc.a.
13601 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
13602 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
13603 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13604 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
13605 (_CET_ENDBR): Define if not defined.
13606 (ENTRY): Add _CET_ENDBR.
13607 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
13609 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
13611 (_dl_runtime_profile): Likewise.
13613 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
13616 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
13617 restore r2 on longjmp.
13618 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
13620 Added rules to build test tst-setjmp-bug21895-static.
13621 Added module setjmp-bug21895 and rules to build a shared object from it.
13622 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
13623 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
13625 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
13627 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
13628 * benchtests/bench-strstr.c: Likewise.
13629 * string/memmem.c (FASTSEARCH): Define.
13630 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
13631 Add support for FASTSEARCH.
13632 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
13633 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
13634 (FASTSEARCH): Define.
13635 * string/test-strcasestr.c: Rename __strnlen to strnlen.
13636 * string/test-strstr.c: Likewise.
13638 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
13640 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
13641 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
13643 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
13644 H.J. Lu <hongjiu.lu@intel.com>
13646 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
13647 (__longjmp): Restore shadow stack pointer if shadow stack is
13648 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13649 isn't defined for __longjmp_cancel.
13650 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
13651 (_setjmp): Save shadow stack pointer if shadow stack is enabled
13652 and SHADOW_STACK_POINTER_OFFSET is defined.
13653 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
13654 (setjmp): Save shadow stack pointer if shadow stack is enabled
13655 and SHADOW_STACK_POINTER_OFFSET is defined.
13656 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
13657 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13658 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13659 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
13661 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13662 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13663 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
13664 Remove jmp_buf-ssp.sym.
13665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13667 (____longjmp_chk): Restore shadow stack pointer if shadow stack
13668 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13669 * sysdeps/x86/Makefile (gen-as-const-headers): Add
13671 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
13672 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
13673 (__longjmp): Restore shadow stack pointer if shadow stack is
13674 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
13675 isn't defined for __longjmp_cancel.
13676 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
13677 (__sigsetjmp): Save shadow stack pointer if shadow stack is
13678 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
13680 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
13683 * nptl/pthread_create.c: Include <tls-setup.h>.
13684 (__pthread_create_2_1): Call tls_setup_tcbhead.
13685 * sysdeps/generic/tls-setup.h: New file.
13686 * sysdeps/x86/nptl/tls-setup.h: Likewise.
13687 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13688 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
13690 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
13692 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13693 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
13694 (X86_FEATURE_1_SHSTK): Likewise.
13695 (CET_ENABLED): Likewise.
13696 (IBT_ENABLED): Likewise.
13697 (SHSTK_ENABLED): Likewise.
13699 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
13702 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
13703 (LOCALES): Likewise.
13704 * localedata/dsb_DE.UTF-8.in: New file.
13705 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
13707 2018-07-12 Florian Weimer <fweimer@redhat.com>
13709 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
13710 __mprotect, not mprotect.
13712 2018-07-11 Florian Weimer <fweimer@redhat.com>
13714 * io/Makefile (headers): Add bits/statx.h.
13716 2018-07-10 Mike FABIAN <mfabian@redhat.com>
13718 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
13719 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
13721 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
13722 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
13725 2018-07-10 Florian Weimer <fweimer@redhat.com>
13727 * io/Makefile (routines): Add statx.
13728 (tests-internal): Add tst-statx.
13729 * io/Versions (GLIBC_2.28): Export statx.
13730 * io/bits/statx.h: New file.
13731 * io/sys/stat.h [__USE_GNU]: Include it.
13732 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
13733 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
13735 * io/statx.c: New file.
13736 * io/statx_generic.: Likewise.
13737 * io/tst-statx.: Likewise.
13738 * include/bits/statx.h: Likewise.
13739 * sysdeps/unix/sysv/linux/kernel-features.h
13740 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
13741 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13742 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
13743 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
13745 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13746 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
13747 * sysdeps/unix/sysv/linux/statx.c: New file.
13748 * manual/filesys.texi: Note that statx is undocumented.
13749 * sysdeps/**/libc*.abilist: Update.
13751 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13753 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
13754 a kernel issue which lead to test failure in some cases.
13756 2018-07-10 Florian Weimer <fweimer@redhat.com>
13759 * posix/regexec.c (check_node_accept_bytes): When comparing
13760 weights, do not compare an extra byte after the end of the
13763 2018-07-10 Florian Weimer <fweimer@redhat.com>
13765 * libio/readline.c: Fix copyright year.
13766 * libio/tst-readline.c Likewise.
13767 * nss/tst-nss-files-hosts-getent.c: Likewise.
13769 2018-07-06 Florian Weimer <fweimer@redhat.com>
13772 * nss/nss_files/files-XXX.c (internal_getent): Use
13773 __libc_readline_unlocked. Seek back to the start of the line if
13774 parsing failes with ERANGE.
13775 (get_contents_ret, get_contents): Remove.
13776 * nss/tst-nss-files-hosts-getent.c: New file.
13777 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
13778 (tst-nss-files-hosts-getent): Link with -ldl.
13780 2018-07-06 Florian Weimer <fweimer@redhat.com>
13782 * include/stdio.h (__libc_readline_unlocked): Declare.
13783 (__ftello64, __fseeko64): Declare aliases.
13784 * libio/readline.c: New file.
13785 * libio/tst-readline.c: Likewise.
13786 (routines): Add readline.
13787 (tests-internal): Add tst-readlime.
13788 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
13789 __libc_readline_unlocked.
13790 * libio/fseeko.c (__fseeko): Rename from fseeko.
13791 (fseeko): Add alias.
13792 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
13793 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
13794 (fseeko64): Add alias.
13795 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
13796 * libio/ftello64.c (__ftello64): Rename from ftello64.
13797 (ftello64): Add alias.
13799 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13801 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
13804 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13806 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
13807 Use dl_hwcap without masking.
13808 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
13809 Remove HWCAP_CPUID.
13811 2018-07-06 Florian Weimer <fweimer@redhat.com>
13813 * conform/conformtest.pl (checknamespace): Escape literal braces
13814 in regular expressions.
13816 2018-07-06 Amit Pawar <amit.pawar@amd.com>
13818 * sysdeps/x86/cpu-features.c (get_common_indeces):
13819 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
13820 * sysdeps/x86/cpu-features.c (init_cpu_features):
13821 AVX_Fast_Unaligned_Load is disabled for Excavator core.
13823 2018-07-05 Florian Weimer <fweimer@redhat.com>
13825 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
13827 (CFLAGS-elf-init.oS): Likewise.
13829 2018-07-05 Florian Weimer <fweimer@redhat.com>
13830 Carlos O'Donell <carlos@redhat.com>
13832 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
13833 $(no-stack-protector). stack_chk_fail_local.c can be compiled
13834 with stack protector enabled because there is no risk of infinite
13837 2018-07-05 Maciej W. Rozycki <macro@mips.com>
13841 * libc-abis (ABSOLUTE): New ABI.
13842 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
13843 * NEWS: Mention the new ABI.
13845 2018-07-05 Florian Weimer <fweimer@redhat.com>
13848 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
13849 (RENAME_WHITEOUT): Define.
13850 [__USE_GNU] (renameat2): Declare.
13851 * stdio-common/Makefile (routines): Add renameat2.
13852 (tests): Add tst-renameat2.
13853 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
13854 * stdio-common/renameat2.c: New file.
13855 * stdio-common/tst-renameat2.c: Likewise.
13856 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
13857 * manual/filesys.texi (Temporary Files): Note that renameat2 is
13859 * sysdeps/unix/sysv/linux/kernel-features.h
13860 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
13861 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13862 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13863 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13864 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
13865 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13866 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
13867 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13868 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
13869 * include/stdio.h (__renameat): Add alias for renameat.
13870 * stdio-common/renameat.c (__renameat): Rename from renameat.
13871 Add hidden definition and alias.
13872 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13873 * sysdeps/mach/hurd/renameat.c: Likewise.
13874 * sysdeps/**/libc*.abilist: Add renameat2.
13876 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13878 * posix/bug-regex33.c: Fix build after regex sync.
13880 2018-07-04 Carlos O'Donell <carlos@redhat.com>
13883 * localedata/tst-langinfo-setlocale.c: New file.
13884 * localedata/tst-langinfo-setlocale-static.c: New file.
13885 * localedata/tst-langinfo-newlocale.c: New file.
13886 * localedata/tst-langinfo-newlocale-static.c: New file.
13887 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
13888 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
13889 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
13890 (tests-static): Remove tst-langinfo-static. Add
13891 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
13892 (tests-special): Remove $(objpfx)tst-langinfo.out,
13893 $(objpfx)tst-langinfo-static.out. Add
13894 $(objpfx)tst-langinfo-setlocale.out,
13895 $(objpfx)tst-langinfo-newlocale.out,
13896 $(objpfx)tst-langinfo-setlocale-static.out,
13897 $(objpfx)tst-langinfo-newlocale-static.out.
13898 ($(objpfx)tst-langinfo.out): Remove.
13899 ($(objpfx)tst-langinfo-static.out): Remove.
13900 ($(objpfx)tst-langinfo-newlocale.out): New target.
13901 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
13902 (test-xfail-tst-langinfo-newlocale-static): Add.
13903 ($(objpfx)tst-langinfo-setlocale.out): New target.
13904 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
13905 * localedata/tst-langinfo.c: Call test_locale.
13906 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
13909 2018-07-04 Florian Weimer <fweimer@redhat.com>
13911 testrun.sh: Implement --tool=strace, --tool=valgrind
13912 * Makefile (testrun-script): Define variable.
13913 (testrun.sh): Use variable.
13914 * manual/install.texi (Tools for Compilation): make 4.0 or later
13916 * configure.ac: Check for make 4.0 or later.
13917 * INSTALL: Regenerate.
13918 * configure: Likewise.
13920 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13926 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
13927 * posix/PCRE.tests: Remove invalid test.
13928 * posix/bug-regex28.c: Fix expected values for used syntax.
13929 * posix/bug-regex37.c: New file.
13930 * posix/bug-regex38.c: Likewise.
13931 * posix/regcomp.c: Sync with gnulib.
13932 * posix/regex.c: Likewise.
13933 * posix/regex.h: Likewise.
13934 * posix/regex_internal.c: Likewise.
13935 * posix/regex_internal.h: Likewise.
13936 * posix/regexec.c: Likewise.
13938 2018-06-26 Mike FABIAN <mfabian@redhat.com>
13941 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
13942 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
13943 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
13944 * localedata/unicode-gen/PropList.txt: likewise.
13945 * localedata/unicode-gen/UnicodeData.txt: likewise.
13946 * localedata/charmaps/UTF-8: Regenerate.
13947 * localedata/locales/i18n_ctype: likewise.
13948 * localedata/locales/tr_TR: likewise.
13949 * localedata/locales/translit_circle: likewise.
13950 * localedata/locales/translit_cjk_compat: likewise.
13951 * localedata/locales/translit_combining: likewise.
13952 * localedata/locales/translit_compat: likewise.
13953 * localedata/locales/translit_font: likewise.
13954 * localedata/locales/translit_fraction: likewise.
13956 2018-07-03 Florian Weimer <fweimer@redhat.com>
13959 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
13960 * stdio-common/tst-printf.sh: Adjust expected output.
13961 * LICENSES: Update.
13963 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13965 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
13968 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13970 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
13971 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
13972 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
13973 * stdio-common/tst-printfsz-islongdouble.c: New file.
13974 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
13975 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
13976 [subdir == stdio-common] (routines): Add ieee128-printf_size.
13977 [subdir == stdio-common] (tests-internal): Add
13978 test-printf-size-ieee128, and test-printf-size-ibm128.
13979 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
13980 (CFLAGS-test-printf-size-ibm128.c): New variables.
13981 [subdir == stdio-common] (tests-special): Add
13982 $(objpfx)test-printf-size-ieee128.out and
13983 $(objpfx)test-printf-size-ibm128.out.
13984 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
13985 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
13986 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
13987 __printf_sizeieee128.
13988 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
13990 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
13992 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
13995 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13997 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
13998 (exp2f_inline): Likewise.
13999 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
14000 (__math_uflowf): Likewise.
14001 (__math_may_uflowf): Likewise.
14002 (__math_divzerof): Likewise.
14003 (__math_invalidf): Likewise.
14004 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
14005 (__math_oflowf): Likewise.
14006 (__math_uflowf): Likewise.
14007 (__math_may_uflowf): Likewise.
14008 (__math_divzerof): Likewise.
14009 (__math_invalidf): Likewise.
14011 2018-06-29 DJ Delorie <dj@redhat.com>
14012 Carlos O'Donell <carlos@redhat.com>
14015 * include/libc-symbols.h: Comment the freeres framework.
14016 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
14017 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
14018 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
14019 * dlfcn/dlerror.c: Include libc-symbols.h
14020 (__dlerror_main_freeres): New function.
14021 * dlfcn/dlfreeres.c: New file.
14022 * dlfcn/sdlfreeres.c: New file.
14023 * include/dlfcn.h: Declare __dlerror_main_freeres.
14024 * malloc/set-freeres.c: Declare __libdl_freeres, and
14025 __libpthread_freeres.
14026 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
14027 the releavant libraries are loaded.
14028 * malloc/thread-freeres.c: Add comments.
14029 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
14030 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
14031 * nptl/allocatestack.c (__nptl_free_stacks): New function.
14032 (__free_stacks): Rename to...
14033 (free_stacks): ...this. Mark static.
14034 (queue_stack): Call free_stacks.
14035 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
14036 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
14037 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
14038 ptr_freeres element from struct.
14039 (pthread_functions): Remove .ptr_freeres from struct initializer.
14040 [SHARED] (nptl_freeres): Remove.
14041 * nptl/nptlfreeres.c: New file.
14043 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
14044 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
14046 (__free_stacks): Rename to...
14047 (__nptl_stacks_freeres): ...this.
14048 (__shm_directory_freeres): Declare.
14049 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
14050 (__nptl_unwind_freeres): ...this.
14051 * resolv/res-close.c: Add comment.
14052 * resolv/resolv_conf.c: Include libc-symbols.h.
14053 * string/strerror_l.c: Include libc-symbols.h.
14054 * sunrpc/rpc_thread.c: Include libc-symbols.h.
14055 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
14056 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
14057 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
14059 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14061 * stdlib/tst-strfmon_l.c: Add tests for long double.
14063 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
14066 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
14067 * localedata/locales/dsb_DE: New file.
14069 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14072 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
14074 (alt_mon): New entry, import from CLDR (nominative case).
14076 2018-06-29 Sylvain Lesage <severo@rednegra.net>
14079 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
14081 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
14083 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14084 Use vector registers.
14086 * sysdeps/aarch64/multiarch/memmove_falkor.S
14087 (__memcpy_falkor): Use vector registers.
14089 2018-06-29 Martin Sebor <msebor@redhat.com>
14091 * manual/stdio.texi (Customizing Printf): Mention interaction
14092 with GCC built-ins.
14094 2018-06-29 Maciej W. Rozycki <macro@mips.com>
14097 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
14098 `st_value' is 0 if `st_shndx' is SHN_ABS.
14099 * elf/tst-absolute-zero.c: New file.
14100 * elf/tst-absolute-zero-lib.c: New file.
14101 * elf/tst-absolute-zero-lib.lds: New file.
14102 * elf/Makefile (tests): Add `tst-absolute-zero'.
14103 (modules-names): Add `tst-absolute-zero-lib'.
14104 (LDLIBS-tst-absolute-zero-lib.so): New variable.
14105 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
14106 ($(objpfx)tst-absolute-zero: New dependency.
14108 2018-06-29 Zack Weinberg <zackw@panix.com>
14110 * configure.ac: New command-line option --disable-crypt.
14111 Force --disable-nss-crypt when --disable-crypt is given, with a
14112 warning if it was explicitly enabled.
14113 * configure: Regenerate.
14114 * config.make.in: New boolean substitution variable $(build-crypt).
14115 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
14116 when $(build-crypt).
14117 * manual/install.texi: Document --disable-crypt.
14118 * INSTALL: Regenerate.
14120 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
14121 which is never set.
14122 * conform/Makefile: Only include libcrypt.a in
14123 linknamespace-libs-xsi and linknamespace-libs-XPG4
14124 when $(build-crypt).
14125 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
14126 USE_CRYPT to 1 when $(build-crypt).
14127 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
14128 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
14129 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
14131 2018-06-29 Zack Weinberg <zackw@panix.com>
14133 * crypt/crypt.h, posix/unistd.h: Update comments and
14134 prototypes for crypt and crypt_r.
14136 * manual/crypt.texi (Cryptographic Functions): New initial
14138 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
14139 (Unpredictable Bytes): Improve initial exposition. Clarify error
14140 behavior of getentropy and getrandom.
14141 * manual/examples/genpass.c: Generate a salt using getentropy
14142 instead of the current time. Use hash $5$ (SHA-2-256).
14143 * manual/examples/testpass.c: Demonstrate validation against
14144 hashes generated with three different one-way functions.
14146 * manual/intro.texi: crypt.texi does not need an overview
14149 * manual/nss.texi, manual/memory.texi, manual/socket.texi
14150 * manual/terminal.texi: Consistently refer to "passphrases"
14151 * instead of "passwords", and to the "user database" instead
14152 * of the "password database".
14153 * manual/users.texi: Similarly. Add notes about how actual
14154 passphrase hashes are now stored in the shadow database.
14155 Remove 20-year-old junk todo note.
14157 2018-06-29 Zack Weinberg <zackw@panix.com>
14159 * manual/crypt.texi: Use a normal top-level @node declaration.
14160 Move most of the introductory text to the 'crypt' section.
14161 Move the example programs below the @deftypefun for 'crypt_r'.
14162 Move the 'getpass' section...
14163 * manual/terminal.texi: ...here.
14165 2018-06-29 Zack Weinberg <zackw@panix.com>
14166 Florian Weimer <fweimer@redhat.com>
14168 * posix/unistd.h: Do not declare encrypt.
14169 (_XOPEN_CRYPT): Remove macro definition.
14170 (crypt): Declare only for _USE_MISC.
14171 * stdlib/stdlib.h: Do not declare setkey.
14172 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
14173 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
14175 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
14176 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
14177 into compat symbols. Don't define initial_perm if it's not
14179 * crypt/cert.c: Link explicitly with the expected versions for
14180 setkey and encrypt. If they are not available at all, mark
14181 the test as unsupported.
14183 * sunrpc/des_crypt.c: Unconditionally block linkage with
14184 cbc_crypt and ecb_crypt for new binaries.
14185 * sunrpc/des_soft.c: Unconditionally block linkage with
14186 des_setparity for new binaries.
14188 * manual/crypt.texi: Remove the entire "DES Encryption"
14189 section. Also remove the paragraph talking about FIPS 140-2
14190 from the introduction.
14191 * manual/string.texi (strfry, memfrob): Revise. Recommend use
14192 of libgcrypt for "real" encryption, not DES.
14193 * manual/conf.texi (Constants for Sysconf): Mention that
14194 _XOPEN_CRYPT is no longer impelemented.
14196 * conform/data/unistd.h-data: Remove crypt function declaration.
14198 2018-06-29 Florian Weimer <fweimer@redhat.com>
14201 * malloc/hooks.c: Update comments on restoring of dumped heaps.
14202 (disallow_malloc_check): Remove variable.
14203 (__malloc_check_init): Adjust.
14204 (malloc_set_state): Update comment.
14205 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
14208 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14211 * localedata/locales/ast_ES (mon): Rename to...
14213 (mon): Import from CLDR (genitive case).
14215 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
14216 Jakub Sitnicki <jkbs@redhat.com>
14219 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
14220 on NLM_F_DUMP_INTR.
14222 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
14224 * manual/llio.texi: Remove spurious space.
14226 2018-06-28 Florian Weimer <fweimer@redhat.com>
14229 * time/bits/types/struct_timespec.h: Change header inclusion guard to
14232 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14234 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
14235 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
14236 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
14237 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
14238 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
14239 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
14240 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
14242 2018-06-27 Maciej W. Rozycki <macro@mips.com>
14245 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
14246 Copy and null-terminate entries that are not terminated, in
14247 addition to empty ones.
14249 2018-06-27 Florian Weimer <fweimer@redhat.com>
14252 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
14253 (extend_alloca_account): Remove.
14254 * manual/stdio.texi (Variable Arguments Output): Update comment.
14256 2018-06-27 Joseph Myers <joseph@codesourcery.com>
14258 * nptl/sockperf.c: Remove file.
14260 2018-06-27 Florian Weimer <fweimer@redhat.com>
14263 * elf/dl-deps.c (_dl_map_object_deps): Use struct
14264 scratch_buffer instead of extend_alloca.
14266 2018-06-27 Florian Weimer <fweimer@redhat.com>
14269 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
14270 scratch_buffer instead of extend_alloca. Update comments.
14272 2018-06-27 Florian Weimer <fweimer@redhat.com>
14275 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
14276 instead of extend_alloca.
14278 2018-06-26 Joseph Myers <joseph@codesourcery.com>
14281 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
14282 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
14284 * scripts/test-installation.pl: Put temporary files in build
14285 directory, not /tmp.
14286 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
14287 (CFLAGS-bug4.c): Likewise.
14288 (CFLAGS-bug5.c): Likewise.
14289 (CFLAGS-test-fseek.c): Likewise.
14290 (CFLAGS-test-popen.c): Likewise.
14291 (CFLAGS-test_rdwr.c): Likewise.
14292 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
14294 * stdio-common/bug4.c (main): Likewise.
14295 * stdio-common/bug5.c (main): Likewise.
14296 * stdio-common/test-fseek.c (TESTFILE): Likewise.
14297 * stdio-common/test-popen.c (do_test): Likewise.
14298 * stdio-common/test_rdwr.c (main): Likewise.
14300 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
14302 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
14303 (sem_open): Set sem.newsem.pad to zero for valgrind.
14305 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14308 * NEWS: Mention fcntl64 addition.
14309 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
14310 * login/utmp_file.c: Likewise.
14311 * sysdeps/posix/fdopendir.c: Likewise.
14312 * sysdeps/posix/opendir.c: Likewise.
14313 * sysdeps/unix/pt-fcntl.c: Likewise.
14314 * include/fcntl.h (__libc_fcntl64, __fcntl64,
14315 __fcntl64_nocancel_adjusted): New prototype.
14316 (__fcntl_nocancel_adjusted): Remove prototype.
14317 * io/Makefile (routines): Add fcntl64.
14318 (CFLAGS-fcntl64.c): New rule.
14319 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
14320 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
14321 * io/fcntl.h (fcntl64): Add prototype and redirect if
14322 __USE_FILE_OFFSET64 is defined.
14323 * io/fcntl64.c: New file.
14324 * manual/llio.text: Add a note for which commands fcntl acts a
14325 cancellation point.
14326 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
14327 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
14328 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
14330 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
14331 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
14333 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
14334 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
14335 to __fcntl64_nocancel.
14336 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
14337 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
14338 to __fcntl64_nocancel.
14339 * sysdeps/generic/not-cancel.h: Likewise.
14340 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
14341 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
14342 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14343 (fcntl64): New symbol.
14344 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14345 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14346 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14349 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14350 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14351 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14352 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14353 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14354 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
14355 fcntl64): Likewise.
14356 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
14358 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14362 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14363 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14364 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14369 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14370 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14373 2018-06-26 Florian Weimer <fweimer@redhat.com>
14375 Run thread shutdown functions in an explicit order.
14376 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
14378 (__libc_thread_freeres): Call thread shutdown functions
14380 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
14381 * include/string.h (__strerror_thread_freeres): Declare.
14382 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
14383 arena_thread_freeres. No longer static. Remove thread shutdown
14385 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
14387 * resolv/res-close.c (__res_thread_freeres): Renamed from
14388 res_thread_freeres. No longer static. Remove thread shutdown
14390 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
14391 * resolv/resolv_conf.c (freeres): Remove incorrect section
14392 attribute and use libc_freeres_fn.
14393 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
14394 strerror_thread_freeres. No longer static. Remove thread
14395 shutdown hook registration.
14396 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
14397 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
14398 shutdown hook registration.
14399 * Makerules (shlib.lds): Do not provide section boundary symbols
14400 for __libc_thread_subfreeres.
14401 * manual/memory.texi (Basic Allocation): Update comment.
14403 2018-06-26 Florian Weimer <fweimer@redhat.com>
14405 Remove always-defined _RPC_THREAD_SAFE_ macro.
14406 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
14407 Do not define _RPC_THREAD_SAFE_.
14408 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
14410 * sunrpc/clnt_perr.c: Likewise.
14411 * sunrpc/clnt_raw.c: Likewise.
14412 * sunrpc/clnt_simp.c: Likewise.
14413 * sunrpc/key_call.c: Likewise.
14414 * sunrpc/rpc_common.c: Likewise.
14415 * sunrpc/rpc_main.c: Likewise.
14416 * sunrpc/rpc_thread.c: Likewise.
14417 * sunrpc/svc.c: Likewise.
14418 * sunrpc/svc_raw.c: Likewise.
14419 * sunrpc/svc_simple.c: Likewise.
14420 * sumrpc/svcauth_des.c: Likewise.
14422 2018-06-26 Florian Weimer <fweimer@redhat.com>
14424 * libio/Makefile (tests-internal): Add tst-vtables,
14425 tst-vtables-interposed.
14426 * libio/tst-vtables.c: New file.
14427 * libio/tst-vtables-common.c: Likewise.
14428 * libio/tst-vtables-interposed.c: Likewise.
14430 2018-06-26 Florian Weimer <fweimer@redhat.com>
14432 * support/support_test_main.c (support_test_main): Only call
14433 setvbuf if not disables.
14434 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
14435 * support/test-driver.h (struct test_config): Add no_setvbuf member.
14437 2018-06-26 Florian Weimer <fweimer@redhat.com>
14440 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
14442 2018-06-25 Florian Weimer <fweimer@redhat.com>
14445 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14446 Use struct scratch_buffer instead of extend_alloca.
14448 2018-06-25 Florian Weimer <fweimer@redhat.com>
14451 * nss/getent.c (initgroups_keys): Use dynarray instead of
14454 2018-06-25 Florian Weimer <fweimer@redhat.com>
14457 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
14458 Use struct scratch_buffer instead of extend_alloca.
14460 2018-06-25 Florian Weimer <fweimer@redhat.com>
14463 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
14464 back to malloc directly, without stack allocations.
14466 2018-06-25 Florian Weimer <fweimer@redhat.com>
14469 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
14472 2018-06-25 Florian Weimer <fweimer@redhat.com>
14475 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
14477 * nscd/hstcache.c (addhstbyX): Likewise.
14478 * nscd/pwdcache.c (addpwbyX): Likewise.
14479 * nscd/servicescache.c (addservbyX): Likewise.
14481 2018-06-25 Florian Weimer <fweimer@redhat.com>
14484 * nscd/connections.c (read_cmdline): New function.
14485 (restart): Use it. Update comment.
14487 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14490 * localedata/locales/csb_PL (mon): Rename to...
14492 (abmon): Rename to...
14493 (ab_alt_mon): This.
14494 (mon): Add with proper genitive forms, copy from Wikipedia.
14497 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14500 * localedata/locales/csb_PL (mon): Fix typos:
14501 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
14502 (yesstr): Add, value is "jo".
14503 (nostr): Add, value is "nié".
14505 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14507 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
14508 all log1p and significand functions on m680x0.
14509 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
14510 of s_significand.c..
14511 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14512 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
14513 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
14514 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
14515 s_log1p.c and include it..
14517 2018-06-21 Vincent Chen <vincentc@andestech.com>
14519 * elf/elf.h (R_NDS32_NONE): New define.
14520 (R_NDS32_32_RELA): Likewise.
14521 (R_NDS32_COPY): Likewise.
14522 (R_NDS32_GLOB_DAT): Likewise.
14523 (R_NDS32_JUMP_SLOT): Likewise.
14524 (R_NDS32_RELATIVE): Likewise.
14525 (R_NDS32_TLS_TPOFF): Likewise.
14526 (R_NDS32_TLS_DESC): Likewise.
14528 2018-06-21 Mark Wielaard <mark@klomp.org>
14530 * elf/elf.h (R_BPF_MAP_FD): Removed.
14531 (R_BPF_64_64, R_BPF_64_32): New.
14533 2018-06-21 Florian Weimer <fweimer@redhat.com>
14536 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
14537 Renamed from libc_feholdsetround_ctx.
14538 (default_libc_feresetround_ctx): Renamed from
14539 libc_feresetround_ctx.
14540 (default_libc_feholdsetround_noex_ctx): Renamed from
14541 libc_feholdsetround_noex_ctx.
14542 (default_libc_feresetround_noex_ctx): Renamed from
14543 libc_feresetround_noex_ctx.
14544 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
14545 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
14546 forwardning to the old implementations under the new names.
14547 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
14548 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
14549 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
14550 (libc_feresetround_ctx): Forward to default implements for i386
14551 and MATH_SET_BOTH_ROUNDING_MODES.
14552 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
14553 Add -DMATH_SET_BOTH_ROUNDING_MODES.
14555 2018-06-20 Joseph Myers <joseph@codesourcery.com>
14557 * string/tst-cmp.c: Include <libc-diag.h>.
14558 (strncmp_max): Disable -Wstringop-overflow= around call to
14560 (strncasecmp_max): Disable -Wstringop-overflow= around call to
14563 * string/bug-strpbrk1.c: Include <libc-diag.h>.
14564 (main): Disable -Wunused-value around call to strpbrk.
14565 * string/bug-strspn1.c: Include <libc-diag.h>.
14566 (main): Disable -Wunused-value around call to strspn.
14568 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14569 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14571 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
14572 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
14574 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14576 * math/Makefile (libm-calls): Move s_significandF to...
14577 (gen-libm-calls): ... here.
14578 * math/s_significand_template.c: New file.
14579 * math/s_significand.c: Removed.
14580 * math/s_significandf.c: Removed.
14581 * math/s_significandl.c: Removed.
14582 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
14583 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
14585 * math/e_exp2_template.c (declare_mgen_finite_alias,
14586 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
14587 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
14588 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
14590 2018-06-20 Florian Weimer <fweimer@redhat.com>
14592 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
14594 2018-06-19 Joseph Myers <joseph@codesourcery.com>
14597 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
14598 floating-point number to strtod functions rather than possibly
14599 negating result of those functions.
14600 * stdio-common/tst-scanf-round.c: New file.
14601 * stdio-common/Makefile (tests): Add tst-scanf-round.
14602 ($(objpfx)tst-scanf-round): Depend on $(libm).
14604 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14606 * sysdeps/mach/hurd/localplt.data: Move to...
14607 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
14608 R_386_GLOB_DAT like on Linux i386.
14610 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14612 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
14613 (SHM_STAT_ANY): New macro.
14614 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
14615 (SHM_STAT_ANY): Likewise.
14616 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
14617 (SHM_STAT_ANY): Likewise.
14618 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
14619 (SHM_STAT_ANY): Likewise.
14620 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
14621 (SHM_STAT_ANY): Likewise.
14622 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
14623 (SHM_STAT_ANY): Likewise.
14624 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
14625 (SHM_STAT_ANY): Likewise.
14626 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
14627 (SHM_STAT_ANY): Likewise.
14628 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
14629 (SHM_STAT_ANY): Likewise.
14630 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
14631 (SHM_STAT_ANY): Likewise.
14632 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
14633 (SHM_STAT_ANY): Likewise.
14634 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
14635 (SHM_STAT_ANY): Likewise.
14637 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
14638 (SEM_STAT_ANY): New macro.
14639 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
14640 (SEM_STAT_ANY): Likewise.
14641 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
14642 (SEM_STAT_ANY): Likewise.
14643 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
14644 (SEM_STAT_ANY): Likewise.
14645 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
14646 (SEM_STAT_ANY): Likewise.
14647 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
14648 (SEM_STAT_ANY): Likewise.
14649 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
14650 (SEM_STAT_ANY): Likewise.
14651 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
14652 (SEM_STAT_ANY): Likewise.
14653 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
14654 (SEM_STAT_ANY): Likewise.
14655 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
14656 (SEM_STAT_ANY): Likewise.
14658 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
14659 (MSG_STAT_ANY): New macro.
14660 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
14661 (MSG_STAT_ANY): Likewise.
14662 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
14663 (MSG_STAT_ANY): Likewise.
14664 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
14665 (MSG_STAT_ANY): Likewise.
14666 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
14667 (MSG_STAT_ANY): Likewise.
14668 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
14669 (MSG_STAT_ANY): Likewise.
14670 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
14671 (MSG_STAT_ANY): Likewise.
14672 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
14673 (MSG_STAT_ANY): Likewise.
14674 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
14675 (MSG_STAT_ANY): Likewise.
14676 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
14677 (MSG_STAT_ANY): Likewise.
14679 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14680 (MAP_TYPE): Change value to 0x2b.
14682 2018-06-18 Florian Weimer <fweimer@redhat.com>
14685 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
14686 socket with SOCK_CLOEXEC.
14688 2018-06-18 Joseph Myers <joseph@codesourcery.com>
14691 * sysdeps/powerpc/powerpc64/le/Makefile
14692 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
14693 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
14694 (gnulib-tests): Also add $(f128-loader-link) for
14695 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
14697 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
14699 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
14700 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
14702 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
14703 (sendfile64): New strong alias.
14704 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
14705 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
14706 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
14707 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
14709 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
14710 ___pthread_get_cleanup_stack.
14711 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
14712 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
14713 * mach/shortcut.awk: Make syscall stubs include
14714 <mach-shortcuts-hidden.h> and add hidden definition.
14715 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
14716 (__mach_msg): Add hidden prototype.
14717 * mach/msg.c: Include <mach.h>.
14718 (__mach_msg): Add hidden definition.
14719 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
14720 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
14721 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
14722 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
14723 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
14724 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
14725 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
14726 prototype and definition.
14727 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
14728 hidden target for _hurd_self_sigstate.
14730 2018-06-15 Joseph Myers <joseph@codesourcery.com>
14733 * stdlib/tst-strtod-nan-sign-main.c: New file.
14734 * stdlib/tst-strtod-nan-sign.c: Likewise.
14735 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
14736 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
14737 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
14738 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
14739 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
14741 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
14744 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
14747 2018-06-14 Florian Weimer <fweimer@redhat.com>
14750 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
14751 that the result stays within the ISO-8859-1 range.
14752 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
14753 characters are defined in IBM273.
14755 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
14757 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
14758 __mach_task_self): Remove attribute_hidden.
14760 2018-06-14 Joseph Myers <joseph@codesourcery.com>
14762 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
14763 ignore -Wrestrict for one test.
14765 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
14766 Szabolcs Nagy <szabolcs.nagy@arm.com>
14768 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
14770 2018-06-14 Florian Weimer <fweimer@redhat.com>
14772 * scripts/update-abilist.sh: Accept empty list of files to patch.
14774 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
14776 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
14777 test-xfail-check-abi-libmachuser): Add.
14778 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
14779 __libc_read and __libc_write to __read and __write.
14780 * sysdeps/hurd/include/hurd/port.h: New file.
14781 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
14782 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
14783 __thread_switch, __evc_wait): Move declarations to...
14784 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
14786 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
14787 use PLT to call _hurd_self_sigstate.
14789 2018-06-13 Joseph Myers <joseph@codesourcery.com>
14792 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
14793 MAX_EXP as overflowing.
14794 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
14796 (round_str): Output also whether result overflows in each rounding
14798 * stdlib/tst-strtod-round-data: Add more tests.
14799 * stdlib/tst-strtod-round-data.h: Regenerated.
14800 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
14801 (TEST): Handle extra arguments for overflow flags.
14802 (struct test_overflow): New type.
14803 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
14804 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
14805 (test_in_one_mode): Take argument with overflow information.
14806 (do_test): Update calls to test_in_one_mode.
14808 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14810 * elf/dl-load (_dl_dst_substitute): Correct comment.
14811 (_dl_dst_count): Likewise.
14813 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
14814 lll_futex_timed_wait.
14816 2018-06-12 Joseph Myers <joseph@codesourcery.com>
14819 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
14821 * math/test-nan-const.c: New file.
14822 * math/Makefile (tests): Add test-nan-const.
14823 (CFLAGS-test-nan-const.c): New variable.
14825 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14827 * benchtests/scripts/compare_strings.py (process_results): Add
14828 funcs argument. Compare only functions which are selected.
14829 (main): Check if base function is among selected functions.
14830 Pass selected functions to process_results.
14831 (__main__): Add -f/--functions argument.
14833 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
14834 Hongbo Zhang <hongbo.zhang@linaro.org>
14836 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
14837 __memcpy_falkor for phecda core.
14838 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
14839 __memmove_falkor for phecda core.
14840 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
14841 __memset_falkor for phecda core.
14842 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
14844 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
14845 macro to identify phecda core.
14847 2018-06-12 Carlos O'Donell <carlos@redhat.com>
14848 Andreas Schwab <schwab@suse.de>
14849 Dmitry V. Levin <ldv@altlinux.org>
14850 Florian Weimer <fweimer@redhat.com>
14857 * elf/dl-dst.h: Remove DL_DST_COUNT.
14858 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
14859 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
14860 (is_dst): Comment. Support ELF gABI.
14861 (_dl_dst_count): Comment. Simplify and count DSTs.
14862 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
14863 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
14866 2018-06-12 Zack Weinberg <zackw@panix.com>
14868 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
14869 * sysdeps/unix/sysv/linux/dl-sysdep.c
14870 Include not-cancel.h. Use __close_nocancel instead of __close,
14871 __open64_nocancel instead of __open, __read_nocancel instead of
14872 __libc_read, and __write_nocancel instead of __libc_write.
14874 * csu/check_fds.c (check_one_fd)
14875 * sysdeps/posix/fdopendir.c (__fdopendir)
14876 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
14877 instead of __fcntl and/or __libc_fcntl.
14879 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
14880 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
14881 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
14882 Use __open64_nocancel instead of __open_nocancel.
14884 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
14885 hidden_proto declarations to the end and issue them if either
14886 IS_IN(libc) or IS_IN(rtld).
14887 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
14888 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
14889 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
14890 read_nocancel, waitpid_nocancel, write_nocancel.
14892 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
14893 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
14894 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
14896 * nptl/pt-fcntl.c: New file.
14897 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
14898 (libpthread-routines): Add pt-fcntl.
14899 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
14900 (__libc_fcntl): Remove attribute_hidden.
14901 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
14902 __fcntl_nocancel_adjusted, not fcntl_common.
14903 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
14904 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
14905 to fcntl_nocancel.c.
14906 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
14907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
14908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14909 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
14911 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
14912 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
14913 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
14914 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
14915 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
14916 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
14917 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
14918 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
14919 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
14920 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
14921 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
14922 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
14923 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
14924 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
14925 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
14926 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
14927 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
14928 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
14929 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
14930 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
14932 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
14933 libpthread-routines.
14934 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
14937 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
14938 __libc_read, and __write instead of __libc_write. Define
14939 __open64 in addition to __open.
14941 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
14945 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
14946 to _private_tm[3] and add __glibc_reserved2.
14947 Add _Static_assert of offset of __private_ss == 0x30.
14948 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
14949 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
14951 2018-06-12 Florian Weimer <fweimer@redhat.com>
14953 x86: Make strncmp usable from rtld.
14954 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
14955 __strncmp_ia32 if in libc (and not in rtld).
14956 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
14957 strncmp if not in libc (and not to __strncmp_sse2).
14959 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
14962 * localedata/locales/gd_GB (mon): Rename to...
14964 (mon): Import from CLDR (genitive case).
14965 * localedata/locales/hsb_DE (mon): Rename to...
14967 (mon): Import from CLDR (genitive case).
14968 * localedata/locales/wa_BE (mon): Rename to...
14970 (mon): Add, fill with the proper genitive forms, but CLDR data
14971 is incomplete; completed according to the comments in this file.
14972 (d_t_fmt): Do not use "di" before the month name, no longer needed.
14974 * localedata/locales/wa_BE (country_name): Reword
14975 "Beljike" -> "Beldjike".
14977 2018-06-11 Joseph Myers <joseph@codesourcery.com>
14980 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
14981 cases of non-finite arguments.
14982 * math/libm-test-fma.inc (fma_test_data): Add more tests.
14984 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
14987 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
14989 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14992 * include/unistd.h (__execvpex): New prototype.
14993 * posix/Makefile (tests): Add tst-spawn4.
14994 (tests-internal): Add tst-spawn4-compat.
14995 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
14996 * posix/tst-spawn4-compat.c: New file.
14997 * posix/tst-spawn4.c: Likewise.
14998 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
14999 binaries as shell scripts.
15000 * sysdeps/posix/spawni.c (__spawni): Likewise.
15002 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
15005 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
15006 ($(all-built-dso:=.dynsym): New target.
15007 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
15008 ($(objpfx)check-initfini.out): New target.
15009 (generated): Add check-initfini.out.
15010 * scripts/check-initfini.awk: New file.
15011 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
15013 * sysdeps/alpha/crti.S (_init): Mark as hidden.
15015 * sysdeps/arm/crti.S (_init): Mark as hidden.
15017 * sysdeps/hppa/crti.S (_init): Mark as hidden.
15019 * sysdeps/i386/crti.S (_init): Mark as hidden.
15021 * sysdeps/ia64/crti.S (_init): Mark as hidden.
15023 * sysdeps/m68k/crti.S (_init): Mark as hidden.
15025 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
15027 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
15029 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
15031 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
15033 * sysdeps/nios2/crti.S (_init): Mark as hidden.
15035 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
15037 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
15039 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
15041 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
15043 * sysdeps/sh/crti.S (_init): Mark as hidden.
15045 * sysdeps/sparc/crti.S (_init): Mark as hidden.
15047 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
15050 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15052 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
15053 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
15054 and TF redirection to KFtype and KF only when the default
15055 long double type is not the IEEE 128-bit floating point type.
15057 2018-06-05 Joseph Myers <joseph@codesourcery.com>
15059 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
15061 (HWCAP_USCAT): Likewise.
15062 (HWCAP_ILRCPC): Likewise.
15063 (HWCAP_FLAGM): Likewise.
15064 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15066 (_dl_aarch64_cap_flags): Add new flag names.
15068 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15069 (MAP_FIXED_NOREPLACE): New macro.
15070 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
15071 (MAP_FIXED_NOREPLACE): Likewise.
15072 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
15073 (MAP_FIXED_NOREPLACE): Likewise.
15074 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15075 (MAP_FIXED_NOREPLACE): Likewise.
15076 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15077 (MAP_FIXED_NOREPLACE): Likewise.
15078 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15079 (MAP_FIXED_NOREPLACE): Likewise.
15080 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15081 (MAP_FIXED_NOREPLACE): Likewise.
15082 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
15083 (MAP_FIXED_NOREPLACE): Likewise.
15084 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15085 (MAP_FIXED_NOREPLACE): Likewise.
15086 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
15087 (MAP_FIXED_NOREPLACE): Likewise.
15088 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15089 (MAP_FIXED_NOREPLACE): Likewise.
15090 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15091 (MAP_FIXED_NOREPLACE): Likewise.
15092 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
15093 (MAP_FIXED_NOREPLACE): Likewise.
15094 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
15095 (MAP_FIXED_NOREPLACE): Likewise.
15096 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
15097 (MAP_FIXED_NOREPLACE): Likewise.
15099 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15102 2018-06-04 Joseph Myers <joseph@codesourcery.com>
15104 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15107 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15109 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
15111 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
15113 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15115 * benchtests/scripts/compare_string.py: (process_results) Catch
15116 exception in non-existent base_func and catch exception in
15117 non-existent attribute.
15118 (parse_file) Catch exception if input file does not exist.
15120 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15122 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
15123 options to avoid diff calculation and omit header, respectively.
15124 (main): process --no-diff and --no-header
15126 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15127 H.J. Lu <hongjiu.lu@intel.com>
15129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15130 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
15132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15133 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
15134 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
15135 and __wcsncmp_sse2.
15136 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
15137 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
15138 AVX unaligned load is fast and vzeroupper is preferred.
15139 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
15140 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
15141 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
15142 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
15143 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
15144 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
15145 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
15146 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
15147 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
15148 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
15151 2018-06-01 Florian Weimer <fweimer@redhat.com>
15153 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
15154 configuring with --disable-multi-arch, building with
15155 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
15158 2018-06-01 Florian Weimer <fweimer@redhat.com>
15160 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
15161 results from building with “-march=x86-64 -mtune=generic
15162 -mfpmath=sse” and running on a Haswell-era CPU.
15164 2018-06-01 Joseph Myers <joseph@codesourcery.com>
15167 * soft-fp/sqrttf2.c: Remove file.
15168 * soft-fp/sqrtdf2.c: Move to ....
15169 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
15171 (__sqrtdf2): Make conditional on
15172 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15174 * soft-fp/sqrtsf2.c: Move to ....
15175 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
15177 (__sqrtsf2): Make conditional on
15178 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15180 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
15181 (gcc-double-routines): Remove sqrtdf2.
15182 (gcc-quad-routines): Remove sqrttf2.
15183 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15184 Do not filter out sqrtsf2 and sqrtdf2.
15185 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15186 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
15188 2018-06-01 Florian Weimer <fweimer@redhat.com>
15190 * sysdeps/generic/libcidn.abilist: Remove file.
15192 2018-06-01 Florian Weimer <fweimer@redhat.com>
15195 * libio/strfile.h (struct _IO_str_fields): Rename members to
15196 discourage their use and add comment.
15197 (_IO_STR_DYNAMIC): Remove unused macro.
15198 * libio/strops.c (_IO_str_init_static_internal): Do not use
15199 callback pointers. Call malloc and free.
15200 (_IO_str_overflow): Do not use callback pointers. Call malloc
15202 (enlarge_userbuf): Likewise.
15203 (_IO_str_finish): Call free.
15204 * libio/wstrops.c (_IO_wstr_init_static): Initialize
15205 _allocate_buffer_unused.
15206 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
15208 (enlarge_userbuf): Likewise.
15209 (_IO_wstr_finish): Call free.
15210 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
15211 _allocate_buffer_unused, _free_buffer_unused.
15212 * libio/memstream.c (__open_memstream): Likewise.
15213 * libio/vasprintf.c (_IO_vasprintf): Likewise.
15214 * libio/wmemstream.c (open_wmemstream): Likewise.
15216 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
15218 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
15221 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15223 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
15224 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
15225 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
15227 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
15229 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
15231 2018-05-29 Florian Weimer <fweimer@redhat.com>
15233 * support/Makefile (libsupport-routines): Add
15234 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
15235 xpthread_barrierattr_setpshared.
15236 * support/xpthread_barrierattr_destroy.c: New file.
15237 * support/xpthread_barrierattr_init.c: Likewise.
15238 * support/xpthread_barrierattr_setpshared.c: Likewise.
15240 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
15243 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
15244 _r_debug and update DT_DEBUG for debugger.
15246 2018-05-29 Florian Weimer <fweimer@redhat.com>
15248 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
15249 (tst-strtod5i.out): Likewise.
15251 2018-05-25 Joseph Myers <joseph@codesourcery.com>
15253 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
15254 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
15255 (sparc64-quad-routines): New variable. Moved from ....
15256 [$(subdir) = soft-fp] (sysdep_routines): Add
15257 $(sparc64-quad-routines). Moved from ....
15258 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
15259 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
15260 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
15262 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
15263 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
15264 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
15265 * sysdeps/sparc/sparc64/qp_add.c: ... here.
15266 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
15267 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
15268 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
15269 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
15270 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
15271 * sysdeps/sparc/sparc64/qp_div.c: ... here.
15272 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
15273 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
15274 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
15275 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
15276 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
15277 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
15278 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
15279 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
15280 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
15281 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
15282 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
15283 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
15284 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
15285 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
15286 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
15287 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
15288 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
15289 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
15290 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
15291 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
15292 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
15293 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
15294 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
15295 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
15296 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
15297 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
15298 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
15299 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
15300 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
15301 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
15302 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
15303 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
15304 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
15305 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
15306 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
15307 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
15308 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
15309 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
15310 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
15311 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
15312 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
15313 * sysdeps/sparc/sparc64/qp_util.c: ... here.
15314 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
15315 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
15316 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
15317 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
15318 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
15319 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
15321 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
15322 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
15323 (sparc32-quad-routines): New variable. Moved from ....
15324 [$(subdir) = soft-fp] (sysdep_routines): Add
15325 $(sparc32-quad-routines). Moved from ....
15326 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
15327 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
15329 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
15330 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
15331 * sysdeps/sparc/sparc32/q_add.c: ... here.
15332 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
15333 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
15334 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
15335 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
15336 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
15337 * sysdeps/sparc/sparc32/q_div.c: ... here.
15338 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
15339 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
15340 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
15341 * sysdeps/sparc/sparc32/q_feq.c: ... here.
15342 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
15343 * sysdeps/sparc/sparc32/q_fge.c: ... here.
15344 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
15345 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
15346 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
15347 * sysdeps/sparc/sparc32/q_fle.c: ... here.
15348 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
15349 * sysdeps/sparc/sparc32/q_flt.c: ... here.
15350 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
15351 * sysdeps/sparc/sparc32/q_fne.c: ... here.
15352 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
15353 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
15354 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
15355 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
15356 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
15357 * sysdeps/sparc/sparc32/q_mul.c: ... here.
15358 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
15359 * sysdeps/sparc/sparc32/q_neg.c: ... here.
15360 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
15361 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
15362 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
15363 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
15364 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
15365 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
15366 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
15367 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
15368 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
15369 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
15370 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
15371 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
15372 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
15373 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
15374 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
15375 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
15376 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
15377 * sysdeps/sparc/sparc32/q_sub.c: ... here.
15378 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
15379 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
15380 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
15381 * sysdeps/sparc/sparc32/q_util.c: ... here.
15382 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
15383 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
15384 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
15385 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
15387 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15388 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15390 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
15391 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
15392 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
15393 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
15395 2018-05-24 Joseph Myers <joseph@codesourcery.com>
15397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
15399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15401 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
15402 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
15404 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15407 * math/math.h [C++] (iseqsig): Fix parameter type for the long
15410 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15412 * sysdeps/sh/Implies: Remove sh/soft-fp.
15413 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
15414 * sysdeps/sh/sfp-machine.h: ... here.
15416 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15418 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15419 (__mempcpy_erms): Skip zero length.
15420 (__memmove_erms): Likewise.
15421 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15422 (__memset_erms): Likewise.
15424 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15426 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
15427 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15428 Add functions moved from ....
15429 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
15430 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
15431 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
15433 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
15434 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
15435 * sysdeps/alpha/e_sqrtl.c: ... here.
15436 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
15437 * sysdeps/alpha/local-soft-fp.h: ... here.
15438 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
15439 * sysdeps/alpha/ots_add.c: ... here.
15440 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
15441 * sysdeps/alpha/ots_cmp.c: ... here.
15442 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
15443 * sysdeps/alpha/ots_cmpe.c: ... here.
15444 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
15445 * sysdeps/alpha/ots_cvtqux.c: ... here.
15446 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
15447 * sysdeps/alpha/ots_cvtqx.c: ... here.
15448 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
15449 * sysdeps/alpha/ots_cvttx.c: ... here.
15450 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
15451 * sysdeps/alpha/ots_cvtxq.c: ... here.
15452 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
15453 * sysdeps/alpha/ots_cvtxt.c: ... here.
15454 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
15455 * sysdeps/alpha/ots_div.c: ... here.
15456 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
15457 * sysdeps/alpha/ots_mul.c: ... here.
15458 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
15459 * sysdeps/alpha/ots_nintxq.c: ... here.
15460 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
15461 * sysdeps/alpha/ots_sub.c: ... here.
15462 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
15463 * sysdeps/alpha/sfp-machine.h: ... here.
15465 2018-05-23 Florian Weimer <fweimer@redhat.com>
15473 Switch to extern IDNA implementation (libidn2).
15474 * libidn: Remove subdirectory.
15475 * LICENSES: Do not mention licensing conditions for the removed
15477 * config.h.in (HAVE_LIBIDN): Remove.
15478 * include/dlfcn.h (__libc_dlopen): Update comment.
15479 * include/idna.h: Remove file.
15480 * inet/Makefile (routines): Add idna.
15481 (tests-static, tests-internal): Add tst-idna_name_classify.
15482 (LOCALES): Generate locales for tests.
15483 (tst-idna_name_classify.out): Depend on generated locales.
15484 * inet/idna_name_classify.c: New file.
15485 * inet/tst-idna_name_classify.c: Likewise.
15486 * inet/net-internal.h (__idna_to_dns_encoding)
15487 (__idna_from_dns_encoding): Declare.
15488 * inet/net-internal.h (enum idna_name_classification): Define.
15489 (__idna_name_classify): Declare.
15490 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
15491 __idna_from_dns_encoding.
15492 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
15493 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
15494 name as a fallback in case of encoding errors.
15495 (getnameinfo): Use DEPRECATED_NI_IDN.
15496 * inet/idna.c: New file.
15497 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
15498 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
15499 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
15500 (modules-names): Add tst-no-libidn2.
15501 (extra-test-objs): Add tst-no-libidn2.os.
15502 (LDFLAGS-tst-no-libidn2.so): Set soname.
15503 (LOCALES): Set, and generate locales.
15504 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
15505 (tst-resolv-ai_idn-latin1): Likewise.
15506 (tst-resolv-ai_idn-nolibidn2): Likewise.
15507 (tst-resolv-ai_idn.out): Depend on locales.
15508 (tst-resolv-ai_idn-latin1.out): Depend on locales.
15509 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
15511 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
15512 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
15513 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
15514 * resolv/tst-resolv-ai_idn.c: New file.
15515 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
15516 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
15517 * resolv/tst-no-libidn2.c: Likewise.
15518 * support/support_format_addrinfo.c (format_ai_flags): Do not
15519 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
15520 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
15521 (gaih_inet): Call __idna_to_dns_encoding and
15522 __idna_from_dns_encoding, and use the original (punycode) name if
15523 __idna_from_dns_encoding fails due to an encoding error.
15524 (getaddrinfo): Use DEPRECATED_AI_IDN.
15525 * sysdeps/unix/inet/Subdirs (libidn): Remove.
15526 * sysdeps/unix/inet/configure: Remove file.
15527 * sysdeps/unix/inet/configure.ac: Likewise.
15529 2018-05-23 Florian Weimer <fweimer@redhat.com>
15531 Implement allocate_once.
15532 * include/allocate_once.h: New file.
15533 * misc/allocate_once.c: Likewise.
15534 * misc/tst-allocate_once.c: Likewise.
15535 * misc/Makefile (routines): Add allocate_once.
15536 (tests-internal): Add tst-allocate_once.
15537 (generated): Add tst-allocate_once.mtrace,
15538 tst-allocate_once-mem.out.
15539 (tests-special): Add tst-allocate_once-mem.out.
15540 (tst-allocate_once-ENV): Set MALLOC_TRACE.
15541 (tst-allocate_once-mem.out): Call mtrace.
15542 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
15544 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15547 * string/test-memcpy.c (do_test1): New function.
15548 (test_main): Call it.
15550 2018-05-23 Andreas Schwab <schwab@suse.de>
15554 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
15555 (L(preloop_large)): Save initial destination pointer in %r11 and
15556 use it instead of %rax after the loop.
15557 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
15559 2018-05-22 Joseph Myers <joseph@codesourcery.com>
15561 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
15562 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
15563 -I../soft-fp. Moved from ....
15564 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
15565 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
15566 * sysdeps/aarch64/e_sqrtl.c: ... here.
15567 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
15568 * sysdeps/aarch64/sfp-machine.h: ... here.
15570 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
15571 -Wmaybe-uninitialized around access to fq[0].
15572 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15576 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
15577 aliases for non-libc case of versioned symbols.
15578 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
15579 (llseek): Define as compat symbol if
15580 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
15582 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
15583 Make into a compat symbol, disabled for minimum symbol version
15584 GLIBC_2.28 and later.
15585 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
15587 2018-05-22 Florian Weimer <fweimer@redhat.com>
15589 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
15590 not add -mpreferred-stack-boundary=4.
15591 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
15592 (stack-align-test-flags): Likewise.
15593 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
15595 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
15596 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
15597 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
15598 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
15599 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
15600 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
15601 (CFLAGS-tst-align2.c): Likewise.
15603 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15605 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
15606 (index_arch_Prefer_FSRM): Likewise.
15607 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15608 Also check Prefer_FSRM.
15609 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
15610 Also return OPTIMIZE (erms) for Prefer_FSRM.
15612 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15614 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
15615 (index_cpu_FSRM): Likewise.
15616 (reg_FSRM): Likewise.
15618 2018-05-18 Joseph Myers <joseph@codesourcery.com>
15620 * math/gen-tgmath-tests.py: Import sys.
15621 (Tests.__init__): Initialize macros_seen.
15622 (Tests.add_tests): Add macro to macros_seen. Only generate tests
15623 if requested to do so for this macro.
15624 (Tests.add_all_tests): Take argument for macro for which to
15626 (Tests.check_macro_list): New function.
15627 (main): Handle check-list argument and argument specifying macro
15628 for which to generate tests.
15629 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
15630 [PYTHON] (tgmath3-macro-tests): Likewise.
15631 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
15632 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
15633 not test-tgmath3.c.
15634 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
15635 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
15637 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
15638 [PYTHON] ($(foreach
15639 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
15641 [PYTHON] (tests-special): Add
15642 $(objpfx)test-tgmath3-macro-list.out.
15643 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
15645 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
15646 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
15650 * time/tzset.c (SECSPERDAY): Cast to time_t.
15651 * time/tst-y2039.c: New file.
15652 * time/Makefile (tests): Add tst-y2039.
15654 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15656 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15657 (PREFETCH_ONE_SET): Remove duplicate line.
15659 2018-05-17 Florian Weimer <fweimer@redhat.com>
15661 * sysdeps/generic/math-type-macros-double.h: Include
15662 <math-nan-payload-double.h> after <libm-alias-double.h>.
15663 * sysdeps/generic/math-type-macros-float.h: Include
15664 <math-nan-payload-float.h> after <libm-alias-float.h>.
15665 * sysdeps/generic/math-type-macros-float128.h: Include
15666 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
15667 * sysdeps/generic/math-type-macros-ldouble.h: Include
15668 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
15670 2018-05-17 Andreas Schwab <schwab@suse.de>
15672 * resolv/res_send.c (__res_context_send): Don't set errno when
15673 returing error after malloc failure.
15675 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
15677 * nptl/allocatestack.c (allocate_stack): Remove the
15678 !__ASSUME_PRIVATE_FUTEX paths.
15679 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
15680 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15682 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
15683 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15684 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15685 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
15686 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
15687 !__ASSUME_PRIVATE_FUTEX path.
15688 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
15689 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
15690 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
15691 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
15692 !__ASSUME_PRIVATE_FUTEX macros.
15693 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15694 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15695 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15696 * sysdeps/unix/sysv/linux/kernel-features.h
15697 (__ASSUME_PRIVATE_FUTEX): Removed.
15699 2018-05-17 Joseph Myers <joseph@codesourcery.com>
15701 * math/Makefile (libm-narrow-fns): Add div.
15702 (libm-test-funcs-narrow): Likewise.
15703 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
15704 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
15705 * math/gen-auto-libm-tests.c (test_functions): Add div.
15706 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
15707 (NARROW_DIV_ROUND_TO_ODD): Likewise.
15708 (NARROW_DIV_TRIVIAL): Likewise.
15709 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
15711 (__ddivl): Likewise.
15712 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
15714 (CFLAGS-nldbl-ddiv.c): New variable.
15715 (CFLAGS-nldbl-fdiv.c): Likewise.
15716 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15718 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
15720 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
15721 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
15722 * math/auto-libm-test-in: Add tests of div.
15723 * math/auto-libm-test-out-narrow-div: New generated file.
15724 * math/libm-test-narrow-div.inc: New file.
15725 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
15726 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
15727 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
15728 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
15729 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
15730 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
15731 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
15732 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
15736 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
15739 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
15740 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
15741 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
15742 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
15743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15744 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15745 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15746 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15747 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15748 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15749 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15750 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15751 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15752 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15753 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15754 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15755 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15756 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15761 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15762 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15763 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15764 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15765 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15766 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15767 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15768 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15770 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15773 * nscd/nscd-client.h (sendfileall): Remove prototype.
15774 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
15775 (handle_request): Use writeall instead of sendfileall.
15776 * nscd/aicache.c (addhstaiX): Likewise.
15777 * nscd/grpcache.c (cache_addgr): Likewise.
15778 * nscd/hstcache.c (cache_addhst): Likewise.
15779 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15780 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
15781 * nscd/pwdcache.c (cache_addpw): Likewise.
15782 * nscd/servicescache.c (cache_addserv): Likewise.
15783 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
15784 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
15785 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
15788 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
15790 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
15791 Include <string/strncat.c>.
15792 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
15794 (__GI___strncat): New hidden alias.
15796 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15798 * sysdeps/mips/mips32/libm-test-ulps: Update.
15799 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15801 2018-05-16 Florian Weimer <fweimer@redhat.com>
15803 * support/Makefile (libsupport-routines): Add support_quote_blob,
15804 support_test_compare_blob.
15805 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
15806 * support/check.h (TEST_COMPARE_BLOB): Define.
15807 (support_test_compare_blob): Declare.
15808 * support/support.h (support_quote_blob): Declare.
15809 * support/support_quote_blob.c: New file.
15810 * support/support_test_compare_blob.c: Likewise.
15811 * support/tst-support_quote_blob.c: Likewise.
15812 * support/tst-test_compare_blob.c: Likewise.
15814 2018-05-16 Florian Weimer <fweimer@redhat.com>
15816 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
15817 of <strtod_nan_double.h>.
15818 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
15819 instead of SET_MANTISSA.
15820 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
15821 of include <strtod_nan_float.h>.
15822 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
15823 instead of <strtod_nan_ldouble.h>.
15824 * stdlib/strtod_nan_double.h: Move to ...
15825 * sysdeps/generic/math-nan-payload-double.h: ... here.
15826 (FLOAT): Remove definition.
15827 (SET_MANTISSA): Rename to ...
15828 (SET_NAN_PAYLOAD): ... this.
15829 * stdlib/strtod_nan_float.h: Move to ...
15830 * sysdeps/generic/math-nan-payload-float.h: ... here.
15831 (FLOAT): Remove definition.
15832 (SET_MANTISSA): Rename to ...
15833 (SET_NAN_PAYLOAD): ... this.
15834 * sysdeps/generic/math-type-macros-double.h: Include
15835 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
15836 instead of <math-svid-compat.h>.
15837 * sysdeps/generic/math-type-macros-float.h: Include
15838 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
15839 instead of <math-svid-compat.h>.
15840 * sysdeps/generic/math-type-macros-float128.h: Include
15841 <math-nan-payload-float128.h>.
15842 * sysdeps/generic/math-type-macros-ldouble.h: Include
15843 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
15844 instead of <math-svid-compat.h>.
15845 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
15846 check for definition.
15847 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
15848 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
15849 Include <ieee754_float128.h>.
15850 (FLOAT): Remove definition.
15851 (SET_MANTISSA): Rename to ...
15852 (SET_NAN_PAYLOAD): ... this.
15853 * sysdeps/ieee754/float128/strtof128_nan.c: Include
15854 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
15855 Do not include <float128_private.h>.
15856 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
15857 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
15858 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
15859 (FLOAT): Remove definition.
15860 (SET_MANTISSA): Rename to ...
15861 (SET_NAN_PAYLOAD): ... this.
15862 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
15863 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
15864 (FLOAT): Remove definition.
15865 (SET_MANTISSA): Rename to ...
15866 (SET_NAN_PAYLOAD): ... this.
15867 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
15868 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
15869 (FLOAT): Remove definition.
15870 (SET_MANTISSA): Rename to ...
15871 (SET_NAN_PAYLOAD): ... this.
15872 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
15873 of "../stdlib/strtod_nan_double.h".
15874 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
15875 of "../stdlib/strtod_nan_float.h".
15876 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
15877 instead of "../stdlib/strtod_nan_ldouble.h".
15878 * manual/arith.texi (Parsing of Floats): Adjust comment.
15880 2018-05-16 Joseph Myers <joseph@codesourcery.com>
15882 * math/Makefile (libm-narrow-fns): Add mul.
15883 (libm-test-funcs-narrow): Likewise.
15884 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
15885 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
15886 * math/gen-auto-libm-tests.c (test_functions): Add mul.
15887 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
15888 (NARROW_MUL_ROUND_TO_ODD): Likewise.
15889 (NARROW_MUL_TRIVIAL): Likewise.
15890 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
15891 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
15893 (__dmull): Likewise.
15894 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
15896 (CFLAGS-nldbl-dmul.c): New variable.
15897 (CFLAGS-nldbl-fmul.c): Likewise.
15898 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15900 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
15902 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
15903 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
15904 * math/auto-libm-test-in: Add tests of mul.
15905 * math/auto-libm-test-out-narrow-mul: New generated file.
15906 * math/libm-test-narrow-mul.inc: New file.
15907 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
15908 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
15909 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
15910 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
15911 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
15912 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
15913 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
15914 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
15915 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
15916 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
15917 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
15918 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
15919 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
15920 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
15921 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
15922 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
15923 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
15924 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
15925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15926 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15927 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15928 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15929 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15930 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15931 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15932 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15933 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15934 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15935 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15936 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15937 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15938 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15943 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15944 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15945 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15946 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15947 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15948 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15949 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15950 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15952 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15954 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15955 with *%eax in call.
15957 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15959 * sysdeps/i386/ldsodefs.h: Removed.
15960 * sysdeps/x86_64/ldsodefs.h: Moved to ...
15961 * sysdeps/x86/ldsodefs.h: This.
15962 (La_i86_regs): New.
15963 (La_i86_retval): Likewise.
15964 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
15965 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
15967 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15969 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
15972 2018-05-13 Alan Modra <amodra@gmail.com>
15974 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
15975 R_PARISC_TLS_DTPOFF32 reloc addend.
15977 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15979 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
15980 * math/math.h: Restrict the prototype definition for the functions
15981 issignaling(_Float128) and iszero(_Float128); and template
15982 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
15983 __HAVE_FLOAT128_UNLIKE_LDBL.
15984 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
15985 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15986 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
15987 __f128() constants; define the type _Float128 as long double;
15988 and reuse long double in __CFLOAT128.
15990 2018-05-11 Joseph Myers <joseph@codesourcery.com>
15992 * sysdeps/generic/math_private.h: Do not include
15994 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
15996 * math/fromfp.h: Include <math-barriers.h>.
15997 * math/math-narrow.h: Likewise.
15998 * math/s_nextafter.c: Likewise.
15999 * math/s_nexttowardf.c: Likewise.
16000 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
16001 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
16002 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
16003 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
16004 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16005 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16006 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16008 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16009 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16010 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16011 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16012 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16013 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16014 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
16015 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16016 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16017 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16018 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16019 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16020 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16021 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16022 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16023 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16024 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16025 * sysdeps/ieee754/k_standardl.c: Likewise.
16026 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16027 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16028 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16029 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16030 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16031 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16032 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16033 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16034 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16035 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16036 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16037 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16038 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16039 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16040 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16041 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16042 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
16043 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
16044 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16045 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16046 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
16047 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
16049 2018-05-11 Florian Weimer <fweimer@redhat.com>
16051 Use 64-bit epoch values in the time zone file parser.
16052 * include/time.h (internal_time_t): Define.
16053 (__tzfile_compute): Use it.
16054 * time/tzfile.c (struct leap): Use internal_time_t for epoch
16056 (transitions): Switch to internal_time_t.
16057 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
16059 (__tzfile_compute): Use internal_time_t for timer argument. Check
16060 for truncation before calling __offtime.
16062 2018-05-11 Florian Weimer <fweimer@redhat.com>
16065 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
16066 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
16068 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
16069 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
16070 export without --enable-obsolete-rpc.
16071 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
16072 symbol. This should not have been exported, ever.
16074 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
16077 * localedata/locales/gd_GB (abmon): Fix typo in May:
16078 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
16080 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
16082 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
16083 Use multiple registers to copy data in loop tail.
16085 * sysdeps/aarch64/multiarch/memmove_falkor.S
16086 (__memmove_falkor): Use multiple registers to move data in
16089 2018-05-10 Joseph Myers <joseph@codesourcery.com>
16091 * math/math-underflow.h: New file.
16092 * sysdeps/generic/math_private.h: Do not include <float.h>.
16093 (fabs_tg): Remove macro. Moved to math-underflow.h.
16094 (min_of_type_f): Likewise.
16095 (min_of_type_): Likewise.
16096 (min_of_type_l): Likewise.
16097 (min_of_type_f128): Likewise.
16098 (min_of_type): Likewise.
16099 (math_check_force_underflow): Likewise.
16100 (math_check_force_underflow_nonneg): Likewise.
16101 (math_check_force_underflow_complex): Likewise.
16102 * math/e_exp2_template.c: Include <math-underflow.h>.
16103 * math/k_casinh_template.c: Likewise.
16104 * math/s_catan_template.c: Likewise.
16105 * math/s_catanh_template.c: Likewise.
16106 * math/s_ccosh_template.c: Likewise.
16107 * math/s_cexp_template.c: Likewise.
16108 * math/s_clog10_template.c: Likewise.
16109 * math/s_clog_template.c: Likewise.
16110 * math/s_csin_template.c: Likewise.
16111 * math/s_csinh_template.c: Likewise.
16112 * math/s_csqrt_template.c: Likewise.
16113 * math/s_ctan_template.c: Likewise.
16114 * math/s_ctanh_template.c: Likewise.
16115 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16116 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16117 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16118 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16119 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16120 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16121 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16123 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16125 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16126 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16127 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16128 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16129 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16130 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16132 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16133 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16134 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16135 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16136 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16137 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16138 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16139 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16140 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16141 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16142 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16143 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16144 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16145 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16146 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16147 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16148 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16149 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16150 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16151 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16152 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16153 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16154 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16155 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16156 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16157 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16158 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16159 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16160 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16161 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16162 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16163 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16164 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16165 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16166 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16167 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16168 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16169 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16170 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16171 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16172 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16173 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16174 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16175 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16176 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16177 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16178 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16179 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16180 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16181 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16182 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16183 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16184 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16185 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16186 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16187 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16188 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
16189 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16190 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16191 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16192 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16193 * sysdeps/x86/fpu/powl_helper.c: Likewise.
16194 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
16195 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
16196 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16197 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16198 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16200 2018-05-09 Joseph Myers <joseph@codesourcery.com>
16202 * sysdeps/generic/math-barriers.h: New file.
16203 * sysdeps/generic/math_private.h [!math_opt_barrier]
16204 (math_opt_barrier): Move to math-barriers.h.
16205 [!math_opt_barrier] (math_force_eval): Likewise.
16206 * sysdeps/aarch64/fpu/math-barriers.h: New file.
16207 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
16209 (math_force_eval): Likewise.
16210 * sysdeps/alpha/fpu/math-barriers.h: New file.
16211 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
16213 (math_force_eval): Likewise.
16214 * sysdeps/x86/fpu/math-barriers.h: New file.
16215 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
16217 (math_force_eval): Likewise.
16218 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
16219 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
16220 multiple-include guard for rename.
16221 * sysdeps/powerpc/fpu/math-barriers.h: New file.
16222 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
16224 (math_force_eval): Likewise.
16226 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
16230 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
16232 * stdlib/Makefile (test-bz22786): New test.
16233 * stdlib/test-bz22786.c: New test.
16235 2018-05-09 Joseph Myers <joseph@codesourcery.com>
16237 * include/math-narrow-eval.h: New file. Contents moved from ....
16238 * sysdeps/generic/math_private.h: ... here.
16239 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
16240 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
16241 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
16242 * stdlib/strtod_l.c: Likewise.
16243 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16244 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16245 * sysdeps/i386/fpu/s_fdim.c: Likewise.
16246 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16247 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16248 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16249 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16250 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16251 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16252 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16253 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16254 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
16255 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16256 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16257 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16258 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16259 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16260 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16261 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16262 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16263 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16264 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16265 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16266 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16267 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16268 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16269 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16270 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16271 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16273 2018-05-08 Andreas Schwab <schwab@suse.de>
16275 * sysdeps/nptl/internaltypes.h: Fix comment.
16277 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
16279 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16280 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
16283 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
16285 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
16286 of I into loop header.
16287 * benchtests/bench-memmove-walk.c
16288 (test_main): Likewise.
16290 2018-05-07 Alexandre Oliva <oliva@gnu.org>
16293 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16294 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16296 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16299 * elf/dl-load.c (open_verify): Fix stack overflow.
16300 * elf/Makefile (tst-big-note): New test.
16301 * elf/tst-big-note-lib.S: New.
16302 * elf/tst-big-note.c: New.
16304 2018-05-04 Joseph Myers <joseph@codesourcery.com>
16306 * scripts/abilist.awk: Ignore absolute symbols.
16307 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
16308 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
16309 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
16310 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
16311 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
16312 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
16313 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16314 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
16315 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
16316 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
16317 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
16318 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
16319 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
16320 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
16321 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
16322 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
16323 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
16324 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
16325 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16326 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
16327 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
16328 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
16329 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
16330 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
16331 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
16332 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
16333 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
16334 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
16335 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16336 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
16337 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
16338 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16339 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
16340 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
16341 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
16342 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
16343 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
16344 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
16345 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
16346 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
16347 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
16348 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16349 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
16350 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
16351 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16352 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
16353 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
16354 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
16355 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
16356 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
16357 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
16358 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
16359 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
16360 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
16361 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16362 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
16363 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
16364 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16365 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
16366 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
16367 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
16368 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
16369 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
16370 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
16371 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
16372 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
16373 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
16374 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16375 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
16376 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
16377 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16378 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
16379 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
16380 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
16381 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
16382 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
16383 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
16384 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
16385 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
16386 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
16387 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16388 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
16389 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
16390 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16391 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
16392 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
16393 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
16394 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
16395 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
16396 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
16397 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
16398 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16400 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
16401 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16402 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
16403 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
16404 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16405 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
16406 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
16407 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
16408 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
16409 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
16410 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
16411 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
16412 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16414 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
16415 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16416 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
16417 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
16418 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16419 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
16420 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
16421 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
16422 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
16423 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
16424 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
16425 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
16426 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
16427 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
16428 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16429 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
16430 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
16431 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16432 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
16433 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
16434 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
16435 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
16436 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
16437 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
16438 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16439 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
16440 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16442 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
16443 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
16444 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
16445 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
16446 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16447 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
16448 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
16449 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
16450 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
16451 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
16452 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
16453 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
16454 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
16455 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
16456 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
16457 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
16458 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
16459 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
16460 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16461 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16463 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
16464 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
16465 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
16466 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16467 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
16468 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
16469 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
16470 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
16471 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
16472 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
16473 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16474 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
16475 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
16476 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16477 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
16478 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
16479 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
16480 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
16481 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16482 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
16483 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
16484 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16485 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
16486 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
16487 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
16488 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
16489 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
16490 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
16491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
16492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
16494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
16497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
16498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
16499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
16500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
16502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
16504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
16505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
16508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
16520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
16521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
16526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
16527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
16528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
16532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
16533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
16541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
16542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
16543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
16550 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16551 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
16553 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16554 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16555 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
16556 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16557 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16558 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16559 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
16560 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
16561 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16562 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
16563 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16564 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
16565 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
16566 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16568 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16569 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
16570 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
16571 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16572 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
16573 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
16574 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
16575 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
16576 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
16577 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
16578 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
16579 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16581 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16582 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
16583 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
16584 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16585 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
16586 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
16587 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
16588 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
16589 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
16590 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
16591 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
16592 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
16593 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
16594 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16595 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
16596 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
16597 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16598 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
16599 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
16600 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
16601 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
16602 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
16603 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
16604 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
16605 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16607 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
16608 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16609 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
16610 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
16611 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16612 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
16613 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
16614 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
16615 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
16616 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
16617 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
16618 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
16619 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16621 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
16622 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16623 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
16624 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
16625 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16626 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
16627 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
16628 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
16629 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
16630 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
16631 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
16632 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
16633 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
16634 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
16635 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16636 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
16637 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
16638 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16639 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
16640 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
16641 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
16642 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
16643 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
16644 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
16645 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16646 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
16647 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
16648 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
16649 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16650 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
16651 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
16652 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16653 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
16654 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
16655 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
16656 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
16657 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
16658 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
16660 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16663 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
16664 Use atomic_load_acquire to load __tid.
16666 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16668 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
16669 Restore the pointer into %rdx, after syscall and use %rdx,
16670 instead of %rsi, to restore context.
16672 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16674 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
16675 Pop the pointer into %rdx after syscall and use %rdx, instead
16676 of %rsi, to restore context.
16678 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
16680 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
16681 handlers after setjmp.
16682 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
16684 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
16685 <libc-pointer-arith.h>.
16686 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
16687 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
16688 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
16689 _JUMP_BUF_SIGSET_BITS_PER_WORD.
16690 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
16691 * sysdeps/x86/__longjmp_cancel.S: New file.
16692 * sysdeps/x86/longjmp.c: Likewise.
16693 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
16695 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16697 * NEWS: Add ustat.h deprecation entry.
16698 * bits/ustat.h: Remove file.
16699 * misc/sys/ustat.h: Likewise.
16700 * misc/ustat.h: Likewise.
16701 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
16702 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
16703 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
16704 compatibility mode.
16705 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
16706 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
16707 generic Linux implementation.
16709 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16711 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
16712 * math/w_expl_compat.c: Likewise.
16713 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
16715 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16717 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16719 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16721 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
16722 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
16723 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
16725 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
16726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16727 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16728 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
16729 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
16732 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16734 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
16736 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
16737 * math/w_asin_template.c: Likewise.
16738 * math/w_atanh_template.c: Likewise.
16740 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16742 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
16743 to powerpc/powerpc64/be for big-endian.
16744 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
16747 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
16748 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
16749 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
16750 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
16751 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16752 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
16753 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
16754 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
16755 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
16756 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16757 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
16758 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
16759 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
16760 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
16761 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
16762 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
16763 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
16764 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
16765 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
16766 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
16767 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
16768 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16769 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
16770 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
16771 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
16772 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16773 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
16774 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
16775 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
16776 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16777 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16778 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16780 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
16781 adjusted to imply powerpc64 and older processors on powerpc64/be.
16782 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
16783 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
16784 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
16785 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
16786 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
16787 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
16788 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
16789 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
16790 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
16791 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
16792 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
16793 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
16794 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
16795 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
16796 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
16797 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
16798 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
16799 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
16800 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
16801 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
16802 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
16803 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
16804 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
16805 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
16806 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
16807 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
16808 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
16809 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
16810 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
16811 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
16812 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
16814 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
16815 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
16816 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
16817 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
16819 * sysdeps/powerpc/powerpc64/be/Implies: New file.
16820 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
16821 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
16822 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
16824 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
16825 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
16826 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
16827 * sysdeps/powerpc/powerpc64le/configure: Likewise.
16828 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
16829 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
16830 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
16831 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
16832 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
16833 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
16834 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
16836 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
16837 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
16838 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
16839 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
16840 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
16841 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
16842 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
16843 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
16844 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
16845 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
16846 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
16848 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
16849 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
16850 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
16851 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
16852 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
16853 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
16854 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
16855 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
16856 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
16857 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
16858 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
16859 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
16861 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
16862 and adjusted to imply olders processors.
16863 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
16864 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
16865 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
16866 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
16867 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
16868 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
16869 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
16870 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
16871 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
16872 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
16873 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
16875 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
16877 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
16878 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
16880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
16882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
16883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
16885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
16887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
16889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
16891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
16892 powerpc64 and adjusted.
16893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
16894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
16895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
16898 2018-04-27 Joseph Myers <joseph@codesourcery.com>
16900 * sysdeps/tile: Remove.
16901 * sysdeps/unix/sysv/linux/tile: Likewise.
16902 * README (tilegx-*-linux-gnu): Remove from list of supported
16904 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
16905 contribution of support for generic Linux kernel syscall
16907 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
16908 tilegx configurations.
16909 (Config.install_linux_headers): Do not handle tile.
16910 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
16912 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
16913 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
16914 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16915 conditional undefine and redefine.
16916 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
16918 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
16919 conditional undefine and redefine.
16921 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
16923 * signal/tst-sigaction.c: New file to test BZ #23069.
16924 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
16926 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16929 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
16930 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
16931 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
16932 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16934 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16936 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
16937 _DIRENT_MATCHES_DIRENT64 is not defined.
16938 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
16939 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
16941 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
16942 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
16944 2018-04-25 Joseph Myers <joseph@codesourcery.com>
16946 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
16947 version to GCC 8 branch.
16949 2018-04-24 Joseph Myers <joseph@codesourcery.com>
16951 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
16952 (check_no_hidden): Use type of original function when declaring
16955 * sysdeps/unix/sysv/linux/sys/ptrace.h
16956 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
16957 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
16958 (struct __ptrace_seccomp_metadata): New type.
16959 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16960 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16961 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
16962 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16963 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
16964 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16965 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16966 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16967 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16968 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16969 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16970 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16971 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
16972 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16973 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
16974 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16976 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16978 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
16980 * dirent/versionsort.c (versionsort): Likewise.
16981 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
16982 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
16983 * dirent/versionsort64.c (versionsort64): Likewise.
16984 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
16985 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
16986 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
16987 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
16988 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
16989 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
16990 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
16991 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16992 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
16993 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
16994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
16995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
16996 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
16997 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
16999 2018-04-23 Joseph Myers <joseph@codesourcery.com>
17001 * elf/elf.h (NT_PPC_PKEY): New macro.
17003 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
17006 * localedata/locales/hr_HR: fix thousands_sep and
17009 2018-04-20 Joseph Myers <joseph@codesourcery.com>
17011 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
17012 (XTABS): Define to TAB3.
17014 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17016 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17018 * dirent/scandir-tail-common.c: New file.
17019 * dirent/scandir-tail.c: Use scandir-tail-common.c.
17020 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
17021 * dirent/scandir.c: Use scandir-tail-common.c.
17022 * dirent/scandirat.c: Likewise.
17023 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
17024 * dirent/scandir64.c (scandir64): Always build and alias to scandir
17025 if _DIRENT_MATCHES_DIRENT64 is defined.
17026 * dirent/scandirat64.c (scandirat64): Likewise.
17027 * include/dirent.h (__scandir_tail): Only define iff
17028 _DIRENT_MATCHES_DIRENT64 is not defined.
17029 (__scandir64_tail): Define regardless.
17030 (__scandirat, scandirat64): Remove libc_hidden_proto.
17031 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
17032 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
17033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
17034 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
17035 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17036 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
17037 * sysdeps/unix/sysv/linux/scandir64.c: New file.
17039 2018-04-20 Joseph Myers <joseph@codesourcery.com>
17041 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
17043 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
17045 (_dl_aarch64_cap_flags): Add asimdfhm.
17047 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
17049 * sysdeps/nios2/libm-test-ulps: Update.
17051 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17053 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
17054 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
17056 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
17058 (_DIRENT_MATCHES_DIRENT64): Undef
17059 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
17060 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
17061 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
17062 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
17063 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
17064 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
17065 use getdents64 syscalls as base.
17066 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
17067 symbol if required.
17068 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
17069 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
17070 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
17071 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
17072 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
17073 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
17074 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
17075 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
17076 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17077 (__get_clockfreq_via_proc_openprom): Use __getdents64.
17078 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
17080 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17082 * scripts/test_printers_common.py (init_test): Disable lock elision.
17084 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17086 * math/test-tgmath.c (count_double, count_float,
17087 count_ldouble, count_cdouble, count_cfloat,
17088 count_cldouble): Use volatile int.
17090 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17092 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
17093 (conformtest-xfail-conds): Add i386-gnu.
17094 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
17096 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
17097 ipc_perm.cuid, ipc_perm.cgid): Likewise.
17098 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
17099 msqid_ds.msg_lrpid): Likewise.
17100 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
17102 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
17103 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
17104 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
17105 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
17107 (struct statvfs64): Likewise.
17108 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
17110 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
17111 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
17112 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
17113 instead of wait_queue.
17114 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
17115 instead of vm_area_struct.
17116 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
17117 struct sched_param definition to it.
17118 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17119 * bits/types/struct_sched_param.h: New file.
17120 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
17121 <bits/types/struct_sched_param.h> instead of <sched.h>.
17122 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
17123 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
17124 generic version but include <bits/pthreadtypes.h> to make struct
17125 sigevent's sigev_notify_attributes field a pthread_attr_t*.
17126 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
17128 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
17129 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
17130 [__USE_XOPEN] (OFDEL): New macro.
17131 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
17132 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
17133 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
17135 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
17136 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
17137 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
17139 * sysdeps/i386/sys/ucontext.h: Likewise.
17140 * sysdeps/m68k/sys/ucontext.h: Likewise.
17141 * sysdeps/mips/sys/ucontext.h: Likewise.
17142 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
17143 * sysdeps/mach/hurd/i386/Makefile
17144 (test-xfail-POSIX/fcntl.h/conform): Add.
17145 (test-xfail-POSIX/signal.h/conform): Add.
17146 (test-xfail-POSIX/semaphore.h/conform): Add.
17147 (test-xfail-POSIX/regex.h/conform): Add.
17148 (test-xfail-POSIX/aio.h/conform): Add.
17149 (test-xfail-POSIX/mqueue.h/conform): Add.
17150 (test-xfail-POSIX/sys/types.h/conform): Add.
17151 (test-xfail-UNIX98/fcntl.h/conform): Add.
17152 (test-xfail-UNIX98/netdb.h/conform): Add.
17153 (test-xfail-UNIX98/signal.h/conform): Add.
17154 (test-xfail-UNIX98/semaphore.h/conform): Add.
17155 (test-xfail-UNIX98/regex.h/conform): Add.
17156 (test-xfail-UNIX98/aio.h/conform): Add.
17157 (test-xfail-UNIX98/ftw.h/conform): Add.
17158 (test-xfail-UNIX98/mqueue.h/conform): Add.
17159 (test-xfail-UNIX98/netinet/in.h/conform): Add.
17160 (test-xfail-UNIX98/sys/wait.h/conform): Add.
17161 (test-xfail-UNIX98/sys/sem.h/conform): Add.
17162 (test-xfail-UNIX98/sys/uio.h/conform): Add.
17163 (test-xfail-UNIX98/sys/socket.h/conform): Add.
17164 (test-xfail-UNIX98/sys/types.h/conform): Add.
17165 (test-xfail-UNIX98/stdlib.h/conform): Add.
17166 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
17167 (test-xfail-POSIX2008/fcntl.h/conform): Add.
17168 (test-xfail-POSIX2008/netdb.h/conform): Add.
17169 (test-xfail-POSIX2008/signal.h/conform): Add.
17170 (test-xfail-POSIX2008/semaphore.h/conform): Add.
17171 (test-xfail-POSIX2008/regex.h/conform): Add.
17172 (test-xfail-POSIX2008/aio.h/conform): Add.
17173 (test-xfail-POSIX2008/mqueue.h/conform): Add.
17174 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
17175 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
17176 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
17177 (test-xfail-POSIX2008/sys/types.h/conform): Add.
17178 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
17179 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
17180 (test-xfail-XOPEN2K/netdb.h/conform): Add.
17181 (test-xfail-XOPEN2K/signal.h/conform): Add.
17182 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
17183 (test-xfail-XOPEN2K/regex.h/conform): Add.
17184 (test-xfail-XOPEN2K/aio.h/conform): Add.
17185 (test-xfail-XOPEN2K/ftw.h/conform): Add.
17186 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
17187 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
17188 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
17189 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
17190 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
17191 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
17192 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
17193 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
17194 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
17195 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
17196 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
17197 (test-xfail-XOPEN2K8/signal.h/conform): Add.
17198 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
17199 (test-xfail-XOPEN2K8/regex.h/conform): Add.
17200 (test-xfail-XOPEN2K8/aio.h/conform): Add.
17201 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
17202 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
17203 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
17204 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
17205 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
17206 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
17207 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
17208 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
17209 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
17210 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
17211 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
17213 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
17214 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
17216 2018-04-18 Joseph Myers <joseph@codesourcery.com>
17218 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17219 --enable-obsolete for powerpc-linux-gnuspe.
17221 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17223 * conform/data/sys/un.h-data: Allow sun_ prefix.
17224 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
17226 * sysdeps/mach/include/mach.h: Likewise.
17227 * sysdeps/mach/include/mach/mig_support.h: Likewise.
17228 * sysdeps/mach/include/mach_error.h: Likewise.
17230 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17232 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
17233 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
17234 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
17235 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
17237 2018-04-16 Andreas Schwab <schwab@suse.de>
17240 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
17242 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17244 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
17245 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
17247 2018-04-12 DJ Delorie <dj@redhat.com>
17249 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17252 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17254 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
17255 (struct kernel_sigaction): Use the same definition on 31bit as is used
17258 2018-04-09 Florian Weimer <fweimer@redhat.com>
17261 * resolv/res_send.c (send_dg): Use designated initializers instead
17262 of assignment to zero-initialize other fields of struct mmsghdr.
17264 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17266 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
17267 __READDIR_ALIAS): Undefine after usage.
17268 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
17269 __READDIR_R_ALIAS): Likewise.
17270 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
17271 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
17272 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
17273 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
17274 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
17275 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
17276 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17277 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17278 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
17279 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
17280 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
17281 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
17282 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17283 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
17284 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
17285 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
17286 * sysdeps/unix/sysv/linux/readdir.c: New file.
17287 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
17288 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
17289 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
17291 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17293 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
17295 * manual/charset.texi (Converting a Character): Fix typo.
17297 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17301 * sysdeps/arm/libm-test-ulps: Update.
17303 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
17304 as base implementation.
17305 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17306 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17307 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17308 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17309 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17310 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
17311 remove unrequired definitions and update comments.
17312 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
17313 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
17314 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
17315 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
17316 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
17317 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
17318 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
17319 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
17320 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
17321 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
17322 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
17323 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17324 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17325 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
17326 and RESET_SA_RESTORER hooks.
17328 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
17330 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17332 2018-04-05 Florian Weimer <fweimer@redhat.com>
17334 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
17335 integer overflow, memory leak on error, and indeterminate errno
17336 value. Add a null wide character to terminate the result string.
17337 * manual/charset.texi (Converting a Character): Mention embedded
17338 null bytes in the mbrtowc input string. Explain what happens in
17339 the -2 result case. Do not claim that mbrtowc is simple or
17340 obvious to use. Adjust the description of the code example. Use
17341 @code, not @var, for concrete variables.
17343 2018-04-05 Florian Weimer <fweimer@redhat.com>
17345 * manual/examples/mbstouwcs.c: New file.
17346 * manual/charset.texi (Converting a Character): Include it.
17348 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17350 * include/dirent.h (dirfd): Add hidden proto.
17351 * dirent/dirfd.c (dirfd): Add hidden def.
17352 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
17353 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
17355 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17357 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
17358 sin, cos and sincos to 1 ULP.
17360 2018-04-04 Maciej W. Rozycki <macro@mips.com>
17363 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
17365 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
17366 * elf/tst-absolute-sym.c: New file.
17367 * elf/tst-absolute-sym-lib.c: New file.
17368 * elf/tst-absolute-sym-lib.lds: New file.
17369 * elf/Makefile (tests): Add `tst-absolute-sym'.
17370 (modules-names): Add `tst-absolute-sym-lib'.
17371 (LDLIBS-tst-absolute-sym-lib.so): New variable.
17372 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
17373 ($(objpfx)tst-absolute-sym): New dependency.
17376 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
17378 (SYMBOL_ADDRESS): New macro.
17379 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
17380 SYMBOL_ADDRESS for symbol address calculation.
17381 * elf/dl-runtime.c (_dl_fixup): Likewise.
17382 (_dl_profile_fixup): Likewise.
17383 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
17384 * elf/rtld.c (dl_main): Likewise.
17385 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
17386 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
17387 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
17388 (elf_machine_rela): Likewise.
17389 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
17390 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
17391 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17392 (elf_machine_rela): Likewise.
17393 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17394 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
17395 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
17396 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
17398 (elf_machine_reloc): Likewise.
17399 (elf_machine_got_rel): Likewise.
17400 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
17401 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
17402 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17404 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17406 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
17407 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17409 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17411 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17412 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17414 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17416 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
17417 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17419 2018-04-04 Zack Weinberg <zackw@panix.com>
17421 * sysdeps/generic/internal-signals.h: Include signal.h,
17422 sigsetops.h, and stdbool.h.
17423 (__libc_signal_block_all): Actually block all signals.
17424 (__libc_signal_block_app): Likewise.
17425 (__libc_signal_restore_set): Actually restore the signal mask.
17427 2018-04-04 Florian Weimer <fweimer@redhat.com>
17429 inet: Actually build and run tst-deadline.
17430 * inet/Makefile (tests-internal): Add tst-deadline and do not
17431 overwrite the variable.
17432 (tests-static-internal): Remove variable.
17434 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
17437 * bits/uio-ext.h (RWF_APPEND): New.
17438 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
17439 * manual/llio.texi: Document RWF_APPEND.
17440 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
17441 (RWF_SUPPORTED): Add RWF_APPEND.
17443 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17446 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
17447 check for internal nptl signals.
17448 * nptl/sigaction.c (__sigaction): Likewise.
17449 * signal/sigaddset.c (sigaddset): Likewise.
17450 * signal/sigdelset.c (sigdelset): Likewise.
17451 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17452 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
17454 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
17455 to filter out internal nptl signals.
17456 * signal/tst-sigset.c (do_test): Check ech signal indidually and
17457 also check realtime signals using standard macros.
17458 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
17459 __is_internal_signal, __libc_signal_block_all,
17460 __libc_signal_block_app, __libc_signal_restore_set): New functions.
17461 * sysdeps/nptl/sigfillset.c: Remove file.
17462 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
17463 Change return to bool.
17464 (__clear_internal_signals): Remove SIGTIMER clean since it is
17465 equal to SIGCANEL on Linux.
17466 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
17467 signal set was constructed using standard functions.
17469 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17471 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
17472 ifname is too long.
17473 * hurd/hurdsig.c (interrupted_reply_port_location): Use
17474 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
17475 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
17477 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
17478 * signal/sigaddset.c: Include <sigsetopts.h>.
17479 * signal/sigdelset.c: Likewise.
17481 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17483 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
17485 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
17486 logic as sin and cos.
17488 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17490 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
17491 inputs. Return correct sign.
17492 (do_sincos): Remove small input check before do_sin, let do_sin set
17497 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17499 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
17500 (do_cos_slow): Likewise.
17501 (do_sin_slow): Likewise.
17502 (reduce_and_compute): Likewise.
17507 (sloww1): Likewise.
17508 (sloww2): Likewise.
17510 (bslow1): Likewise.
17511 (bslow2): Likewise.
17512 (cslow2): Likewise.
17514 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17516 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
17517 (do_cos): Remove corp parameter and calculations.
17518 (do_sin): Likewise.
17519 (do_sincos): Remove cor variable.
17520 (__sin): Use do_sincos for huge inputs.
17522 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17523 (reduce_and_compute_sincos): Remove unused function.
17525 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17527 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
17528 reduce_sincos, improve accuracy to 136 bits.
17529 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
17530 (__sin): Use improved reduction and simplified do_sincos calculation.
17532 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17534 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17536 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
17537 (do_sincos_2): Likewise.
17538 (__sin): Remove middle range reduction case.
17540 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
17543 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17545 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
17546 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
17549 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
17551 2018-04-03 Joseph Myers <joseph@codesourcery.com>
17553 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17556 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17558 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
17559 Remove definitions.
17560 (opendir_oflags): Use O_DIRECTORY regardless.
17561 (__opendir, __opendirat): Remove need_isdir_precheck usage.
17562 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
17564 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17566 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
17567 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
17569 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
17570 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
17571 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
17572 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
17573 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
17574 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
17576 * htl/Makefile: Bump licence to LGPL 2.1+.
17577 * htl/alloca_cutoff.c: Likewise.
17578 * htl/cthreads-compat.c: Likewise.
17579 * htl/lockfile.c: Likewise.
17580 * htl/pt-alloc.c: Likewise.
17581 * htl/pt-cancel.c: Likewise.
17582 * htl/pt-cleanup.c: Likewise.
17583 * htl/pt-create.c: Likewise.
17584 * htl/pt-dealloc.c: Likewise.
17585 * htl/pt-detach.c: Likewise.
17586 * htl/pt-exit.c: Likewise.
17587 * htl/pt-getattr.c: Likewise.
17588 * htl/pt-initialize.c: Likewise.
17589 * htl/pt-internal.h: Likewise.
17590 * htl/pt-join.c: Likewise.
17591 * htl/pt-self.c: Likewise.
17592 * htl/pt-setcancelstate.c: Likewise.
17593 * htl/pt-setcanceltype.c: Likewise.
17594 * htl/pt-sigmask.c: Likewise.
17595 * htl/pt-spin-inlines.c: Likewise.
17596 * htl/pt-testcancel.c: Likewise.
17597 * htl/pt-yield.c: Likewise.
17598 * htl/tests/test-1.c: Likewise.
17599 * htl/tests/test-10.c: Likewise.
17600 * htl/tests/test-11.c: Likewise.
17601 * htl/tests/test-12.c: Likewise.
17602 * htl/tests/test-13.c: Likewise.
17603 * htl/tests/test-14.c: Likewise.
17604 * htl/tests/test-15.c: Likewise.
17605 * htl/tests/test-16.c: Likewise.
17606 * htl/tests/test-17.c: Likewise.
17607 * htl/tests/test-2.c: Likewise.
17608 * htl/tests/test-3.c: Likewise.
17609 * htl/tests/test-4.c: Likewise.
17610 * htl/tests/test-5.c: Likewise.
17611 * htl/tests/test-6.c: Likewise.
17612 * htl/tests/test-7.c: Likewise.
17613 * htl/tests/test-8.c: Likewise.
17614 * htl/tests/test-9.c: Likewise.
17615 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
17616 * sysdeps/htl/bits/cancelation.h: Likewise.
17617 * sysdeps/htl/bits/pthread-np.h: Likewise.
17618 * sysdeps/htl/bits/pthread.h: Likewise.
17619 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
17620 * sysdeps/htl/bits/semaphore.h: Likewise.
17621 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
17622 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
17623 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
17624 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
17625 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
17626 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
17627 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
17628 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
17629 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
17630 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
17631 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
17632 * sysdeps/htl/old_pt-atfork.c: Likewise.
17633 * sysdeps/htl/pt-atfork.c: Likewise.
17634 * sysdeps/htl/pt-attr-destroy.c: Likewise.
17635 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
17636 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
17637 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
17638 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
17639 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
17640 * sysdeps/htl/pt-attr-getscope.c: Likewise.
17641 * sysdeps/htl/pt-attr-getstack.c: Likewise.
17642 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
17643 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
17644 * sysdeps/htl/pt-attr-init.c: Likewise.
17645 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
17646 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
17647 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
17648 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
17649 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
17650 * sysdeps/htl/pt-attr-setscope.c: Likewise.
17651 * sysdeps/htl/pt-attr-setstack.c: Likewise.
17652 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
17653 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
17654 * sysdeps/htl/pt-attr.c: Likewise.
17655 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
17656 * sysdeps/htl/pt-barrier-init.c: Likewise.
17657 * sysdeps/htl/pt-barrier-wait.c: Likewise.
17658 * sysdeps/htl/pt-barrier.c: Likewise.
17659 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
17660 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
17661 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
17662 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
17663 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
17664 * sysdeps/htl/pt-cond-destroy.c: Likewise.
17665 * sysdeps/htl/pt-cond-init.c: Likewise.
17666 * sysdeps/htl/pt-cond-signal.c: Likewise.
17667 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
17668 * sysdeps/htl/pt-cond-wait.c: Likewise.
17669 * sysdeps/htl/pt-cond.c: Likewise.
17670 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
17671 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
17672 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
17673 * sysdeps/htl/pt-condattr-init.c: Likewise.
17674 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
17675 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
17676 * sysdeps/htl/pt-destroy-specific.c: Likewise.
17677 * sysdeps/htl/pt-equal.c: Likewise.
17678 * sysdeps/htl/pt-getconcurrency.c: Likewise.
17679 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
17680 * sysdeps/htl/pt-getschedparam.c: Likewise.
17681 * sysdeps/htl/pt-getspecific.c: Likewise.
17682 * sysdeps/htl/pt-init-specific.c: Likewise.
17683 * sysdeps/htl/pt-key-create.c: Likewise.
17684 * sysdeps/htl/pt-key-delete.c: Likewise.
17685 * sysdeps/htl/pt-key.h: Likewise.
17686 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
17687 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
17688 * sysdeps/htl/pt-mutex-init.c: Likewise.
17689 * sysdeps/htl/pt-mutex-lock.c: Likewise.
17690 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
17691 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
17692 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
17693 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
17694 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
17695 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
17696 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
17697 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
17698 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
17699 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
17700 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
17701 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
17702 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
17703 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
17704 * sysdeps/htl/pt-mutexattr.c: Likewise.
17705 * sysdeps/htl/pt-once.c: Likewise.
17706 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
17707 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
17708 * sysdeps/htl/pt-rwlock-init.c: Likewise.
17709 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
17710 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
17711 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
17712 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
17713 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
17714 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
17715 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
17716 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
17717 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
17718 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
17719 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
17720 * sysdeps/htl/pt-setconcurrency.c: Likewise.
17721 * sysdeps/htl/pt-setschedparam.c: Likewise.
17722 * sysdeps/htl/pt-setschedprio.c: Likewise.
17723 * sysdeps/htl/pt-setspecific.c: Likewise.
17724 * sysdeps/htl/pt-spin.c: Likewise.
17725 * sysdeps/htl/pt-startup.c: Likewise.
17726 * sysdeps/htl/pthread.h: Likewise.
17727 * sysdeps/htl/sem-close.c: Likewise.
17728 * sysdeps/htl/sem-destroy.c: Likewise.
17729 * sysdeps/htl/sem-getvalue.c: Likewise.
17730 * sysdeps/htl/sem-init.c: Likewise.
17731 * sysdeps/htl/sem-open.c: Likewise.
17732 * sysdeps/htl/sem-post.c: Likewise.
17733 * sysdeps/htl/sem-timedwait.c: Likewise.
17734 * sysdeps/htl/sem-trywait.c: Likewise.
17735 * sysdeps/htl/sem-unlink.c: Likewise.
17736 * sysdeps/htl/sem-wait.c: Likewise.
17737 * sysdeps/hurd/htl/pt-kill.c: Likewise.
17738 * sysdeps/i386/htl/pt-machdep.h: Likewise.
17739 * sysdeps/mach/htl/pt-block.c: Likewise.
17740 * sysdeps/mach/htl/pt-spin.c: Likewise.
17741 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
17742 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
17743 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
17744 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
17745 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
17746 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
17747 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
17748 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
17749 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
17750 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
17751 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
17752 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
17753 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
17754 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
17755 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
17756 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
17757 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
17758 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
17759 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
17760 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
17761 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
17762 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
17763 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
17764 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
17765 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
17766 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
17767 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
17768 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
17769 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
17770 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
17771 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
17772 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
17773 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
17774 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
17775 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
17776 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
17777 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
17778 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
17779 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
17780 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
17781 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
17782 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
17783 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
17785 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
17786 * README: Remove the mention of out-of-tree patches needed for
17789 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
17790 (UTIME_NOW, UTIME_OMIT): Define macros.
17792 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
17793 instead of pthread_detach.
17794 (__cthread_fork): Call __pthread_create instead of pthread_create.
17795 (__cthread_keycreate): Call __pthread_key_create instead of
17796 pthread_key_create.
17797 (__cthread_getspecific): Call __pthread_getspecific instead of
17798 pthread_getspecific.
17799 (__cthread_setspecific): Call __pthread_setspecific instead of
17800 pthread_setspecific.
17801 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
17802 __pthread_mutex_unlock instead of pthread_mutex_lock and
17803 pthread_mutex_unlock.
17804 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
17805 ___pthread_get_cleanup_stack.
17806 (__pthread_get_cleanup_stack): New strong alias.
17807 * htl/pt-create.c: Include <pthreadP.h>.
17808 (entry_point): Call __pthread_exit instead of pthread_exit.
17809 (pthread_create): Rename to __pthread_create.
17810 (pthread_create): New strong alias.
17811 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
17812 (pthread_detach): New strong alias.
17813 (__pthread_detach): Call __pthread_cond_broadcast instead of
17814 pthread_cond_broadcast.
17815 * htl/pt-exit.c: Include <pthreadP.h>.
17816 (__pthread_exit): Call __pthread_setcancelstate and
17817 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
17818 __pthread_get_cleanup_stack.
17819 * htl/pt-testcancel.c: Include <pthreadP.h>.
17820 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
17821 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
17822 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
17823 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
17824 pthread_attr_getstacksize.
17825 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
17826 Rename to __pthread_attr_getstackaddr.
17827 (pthread_attr_getstackaddr): New strong alias.
17828 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
17829 Rename to __pthread_attr_getstacksize.
17830 (pthread_attr_getstacksize): New strong alias.
17831 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
17832 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
17833 (pthread_attr_setstack): New strong alias.
17834 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
17835 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
17836 pthread_attr_getstacksize, pthread_attr_setstacksize and
17837 pthread_attr_setstackaddr.
17838 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
17839 Rename to __pthread_attr_setstackaddr.
17840 (pthread_attr_setstackaddr): New strong alias.
17841 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
17842 Rename to __pthread_attr_setstacksize.
17843 (pthread_attr_setstacksize): New strong alias.
17844 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
17845 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
17847 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
17848 (__pthread_key_create): New hidden def.
17849 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
17850 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
17851 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
17852 __pthread_exit, __pthread_key_create, __pthread_getspecific,
17853 __pthread_setspecific, __pthread_setcancelstate,
17854 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
17855 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
17856 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
17858 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
17859 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
17860 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
17861 (pthread_attr_setstackaddr): New strong alias.
17862 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
17863 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
17864 (pthread_attr_setstacksize): New strong alias.
17865 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
17866 (call_exit): Call __pthread_exit instead of pthread_exit.
17867 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
17868 (_pthread_mutex_init): New hidden definition.
17869 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
17870 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
17871 instead of pthread_attr_init and pthread_attr_setstack.
17873 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
17874 __vm_deallocate instead of vm_allocate and vm_deallocate.
17875 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
17877 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
17879 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
17881 * hurd/siginfo.c: Include <libioP.h>.
17882 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
17883 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
17885 * mach/devstream.c: Include <libioP.h>.
17886 (dealloc_ref): Call __mach_port_deallocate instead of
17887 mach_port_deallocate.
17888 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
17889 Call __mach_port_deallocate instead of mach_port_deallocate.
17890 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
17892 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
17894 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
17895 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
17896 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
17898 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
17900 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
17901 instead of sysconf.
17902 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
17903 __clock_gettime instead of clock_gettime.
17904 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
17905 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17906 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
17907 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17908 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
17910 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
17911 __clock_gettime and __nanosleep instead of clock_gettime and
17913 * hurd/catch-signal.c (hurd_catch_signal): Rename to
17914 __hurd_catch_signal.
17915 (hurd_catch_signal): New strong alias.
17916 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
17917 __hurd_catch_signal instead of hurd_catch_signal.
17918 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
17919 * hurd/hurdexec.c (_hurd_init): Add hidden def.
17920 * hurd/hurdinit.c (_hurd_init): Add hidden def.
17921 * hurd/hurdsig.c: Include <mach/mig_support.h>.
17922 (_hurd_thread_sigstate): Add hidden def.
17923 (_hurd_internal_post_signal): Use __mutex_unlock instead of
17925 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
17926 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
17927 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
17928 __hurd_file_name_path_lookup.
17929 (hurd_file_name_path_lookup): New strong alias.
17930 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
17931 hurd_file_name_path_lookup.
17932 * mach/errstring.c (mach_error_type): Add hidden def.
17933 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
17934 * mach/mutex-init.c (__mutex_init): Add hidden def.
17935 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
17936 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
17937 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
17938 * sysdeps/mach/hurd/getcwd.c
17939 (_hurd_canonicalize_directory_name_internal): Rename to
17940 __hurd_canonicalize_directory_name_internal.
17941 (_hurd_canonicalize_directory_name_internal): New strong alias.
17942 (__canonicalize_directory_name_internal, __getcwd): Call
17943 __hurd_canonicalize_directory_name_internal instead of
17944 _hurd_canonicalize_directory_name_internal.
17945 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
17946 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
17948 * sysdeps/hurd/include/hurd.h: New file.
17949 * sysdeps/hurd/include/hurd/fd.h: New file.
17950 * sysdeps/hurd/include/hurd/signal.h: New file.
17951 * sysdeps/mach/include/lock-intern.h: New file.
17952 * sysdeps/mach/include/mach.h: New file.
17953 * sysdeps/mach/include/mach/mig_support.h: New file.
17954 * sysdeps/mach/include/mach_error.h: New file.
17955 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
17957 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
17958 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
17959 _HEADER_H_HIDDEN_DEF macro.
17960 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
17961 _hurd_fd_error_signal): Add hidden prototype.
17962 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
17964 * libio/iolibio.h (_IO_puts): New hidden prototype.
17965 * libio/ioputs.c (_IO_puts): New hidden def.
17966 * sysdeps/mach/hurd/localplt.data: New file.
17968 2018-04-02 Agustina Arzille <avarzille@riseup.net>
17969 Amos Jeffries <squid3@treenet.co.nz>
17970 David Michael <fedora.dm0@gmail.com>
17971 Marco Gerards <marco@gnu.org>
17972 Marcus Brinkmann <marcus@gnu.org>
17973 Neal H. Walfield <neal@gnu.org>
17974 Pino Toscano <toscano.pino@tiscali.it>
17975 Richard Braun <rbraun@sceen.net>
17976 Roland McGrath <roland@gnu.org>
17977 Samuel Thibault <samuel.thibault@ens-lyon.org>
17978 Thomas DiModica <ricinwich@yahoo.com>
17979 Thomas Schwinge <tschwinge@gnu.org>
17981 * htl: New directory.
17982 * sysdeps/htl: New directory.
17983 * sysdeps/hurd/htl: New directory.
17984 * sysdeps/i386/htl: New directory.
17985 * sysdeps/mach/htl: New directory.
17986 * sysdeps/mach/hurd/htl: New directory.
17987 * sysdeps/mach/hurd/i386/htl: New directory.
17988 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
17989 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
17990 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
17992 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17994 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
17995 signals in thread created for runing timers.
17997 2018-04-01 Florian Weimer <fweimer@redhat.com>
17999 * support/support_format_addrinfo.c (support_format_addrinfo):
18000 Include unknown error number in formatted result.
18002 2018-03-29 Florian Weimer <fweimer@redhat.com>
18004 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
18007 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18009 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
18010 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
18011 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18012 (__ASSUME_CLONE_BACKWARDS): Define.
18014 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
18017 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
18018 early when linux sentinel value is set.
18020 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18022 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
18024 2018-03-27 Andreas Schwab <schwab@suse.de>
18027 * resolv/res_send.c (__res_context_send): Return ENOMEM if
18028 allocation of private copy of nsaddr_list fails.
18030 2018-03-26 Joseph Myers <joseph@codesourcery.com>
18033 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
18034 * sysdeps/unix/sysv/linux/umount.c: ... here.
18035 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
18036 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
18037 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
18038 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
18040 * sysdeps/unix/sysv/linux/umount.S: Likewise.
18041 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
18043 2018-03-26 Andreas Schwab <schwab@suse.de>
18045 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
18046 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
18047 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
18048 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
18049 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
18050 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
18051 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
18052 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
18053 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
18054 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
18055 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
18056 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
18057 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
18058 (R_RISCV_NUM): Define.
18060 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18062 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
18063 TLS declaration of errno.
18064 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
18066 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
18067 (ARCH_SETUP_TLS): Likewise.
18068 * sysdeps/mach/hurd/libc-start.h: New file copied from
18069 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
18070 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
18071 instead of __libc_setup_tls.
18072 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
18073 __libc_setup_tls before initializing libpthread and running _hurd_init
18074 which starts the signal thread.
18075 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
18077 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18079 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
18082 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
18083 after it is defined.
18085 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
18086 Max Horn <max@quendi.de>
18090 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
18092 * string/test-memmove.c (do_test2): New testcase.
18094 2018-03-22 Joseph Myers <joseph@codesourcery.com>
18096 * sysdeps/generic/frame.h: Remove file.
18097 * sysdeps/arm/frame.h: Likewise.
18098 * sysdeps/hppa/frame.h: Likewise.
18099 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
18101 (GET_FRAME): Likewise.
18102 (GET_STACK): Likewise.
18103 (CALL_SIGHANDLER): Likewise.
18104 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
18106 (GET_FRAME): Likewise.
18107 (GET_STACK): Likewise.
18108 (CALL_SIGHANDLER): Likewise.
18109 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
18110 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18111 (GET_FRAME): Likewise.
18112 (GET_STACK): Likewise.
18113 (CALL_SIGHANDLER): Likewise.
18114 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
18115 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18116 (GET_FRAME): Likewise.
18117 (GET_STACK): Likewise.
18118 (ADVANCE_STACK_FRAME): Likewise.
18119 (CALL_SIGHANDLER): Likewise.
18120 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
18121 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18122 (GET_FRAME): Likewise.
18123 (GET_STACK): Likewise.
18124 (CALL_SIGHANDLER): Likewise.
18125 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
18126 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18127 (GET_FRAME): Likewise.
18128 (GET_STACK): Likewise.
18129 (CALL_SIGHANDLER): Likewise.
18130 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
18131 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18132 (GET_FRAME): Likewise.
18133 (GET_STACK): Likewise.
18134 (CALL_SIGHANDLER): Likewise.
18135 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
18136 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18137 (GET_FRAME): Likewise.
18138 (GET_STACK): Likewise.
18139 (CALL_SIGHANDLER): Likewise.
18140 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
18141 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18142 (GET_FRAME): Likewise.
18143 (GET_STACK): Likewise.
18144 (CALL_SIGHANDLER): Likewise.
18145 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
18146 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18147 (GET_FRAME): Likewise.
18148 (GET_STACK): Likewise.
18149 (CALL_SIGHANDLER): Likewise.
18150 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
18151 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18152 (GET_FRAME): Likewise.
18153 (GET_STACK): Likewise.
18154 (CALL_SIGHANDLER): Likewise.
18155 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
18156 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18157 (GET_FRAME): Likewise.
18158 (GET_STACK): Likewise.
18159 (CALL_SIGHANDLER): Likewise.
18160 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
18161 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18162 (GET_FRAME): Likewise.
18163 (GET_STACK): Likewise.
18164 (CALL_SIGHANDLER): Likewise.
18165 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
18166 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18167 (FIRST_FRAME_POINTER): Likewise.
18168 (ADVANCE_STACK_FRAME): Likewise.
18169 (GET_STACK): Likewise.
18170 (GET_FRAME): Likewise.
18171 (CALL_SIGHANDLER): Likewise.
18172 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
18173 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18174 (ADVANCE_STACK_FRAME): Likewise.
18175 (GET_STACK): Likewise.
18176 (GET_FRAME): Likewise.
18177 (CALL_SIGHANDLER): Likewise.
18178 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
18179 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18180 (GET_FRAME): Likewise.
18181 (GET_STACK): Likewise.
18182 (CALL_SIGHANDLER): Likewise.
18183 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
18184 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18185 (GET_FRAME): Likewise.
18186 (GET_STACK): Likewise.
18187 (CALL_SIGHANDLER): Likewise.
18189 2018-03-21 Joseph Myers <joseph@codesourcery.com>
18191 * sysdeps/x86_64/backtrace.c: Move to ....
18192 * debug/backtrace.c: ... here.
18193 * sysdeps/aarch64/backtrace.c: Remove file.
18194 * sysdeps/alpha/backtrace.c: Likewise.
18195 * sysdeps/hppa/backtrace.c: Likewise.
18196 * sysdeps/ia64/backtrace.c: Likewise.
18197 * sysdeps/mips/backtrace.c: Likewise.
18198 * sysdeps/nios2/backtrace.c: Likewise.
18199 * sysdeps/riscv/backtrace.c: Likewise.
18200 * sysdeps/sh/backtrace.c: Likewise.
18201 * sysdeps/tile/backtrace.c: Likewise.
18203 2018-03-20 Joseph Myers <joseph@codesourcery.com>
18206 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
18209 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
18212 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
18213 possibly overflowing computations.
18215 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
18217 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
18218 values from Linux-specific section now that it is in the GNU section.
18219 * sysdeps/gnu/errlist.c: Regenerate.
18221 2018-03-20 Joseph Myers <joseph@codesourcery.com>
18223 * math/Makefile (libm-narrow-fns): Add sub.
18224 (libm-test-funcs-narrow): Likewise.
18225 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
18226 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
18227 * math/gen-auto-libm-tests.c (test_functions): Add sub.
18228 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
18229 (NARROW_SUB_ROUND_TO_ODD): Likewise.
18230 (NARROW_SUB_TRIVIAL): Likewise.
18231 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
18233 (__dsubl): Likewise.
18234 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
18236 (CFLAGS-nldbl-dsub.c): New variable.
18237 (CFLAGS-nldbl-fsub.c): Likewise.
18238 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18240 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
18242 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
18243 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
18244 * math/auto-libm-test-in: Add tests of sub.
18245 * math/auto-libm-test-out-narrow-sub: New generated file.
18246 * math/libm-test-narrow-sub.inc: New file.
18247 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
18248 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
18249 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
18250 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
18251 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
18252 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
18253 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
18255 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
18261 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
18262 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
18263 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
18264 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
18265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18266 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18267 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18268 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18269 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18270 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18271 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18272 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18273 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18274 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18275 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18276 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18277 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18278 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18283 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18284 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18285 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18286 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18287 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18288 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18289 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18290 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18291 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18292 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18294 2018-03-19 Joseph Myers <joseph@codesourcery.com>
18297 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
18299 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
18301 * benchtests/bench-timing.h (attribute_hidden): Undefine.
18303 2018-03-18 Richard Braun <rbraun@sceen.net>
18305 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
18308 2018-03-18 Agustina Arzille <avarzille@riseup.net>
18310 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
18311 (__libc_cleanup_fct): Define function.
18312 (__libc_cleanup_region_start, __libc_cleanup_region_end,
18313 __libc_cleanup_end): Rewrite implementation using
18314 __attribute__ ((__cleanup__)).
18315 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
18316 * hurd/Makefile (routines): Add hurdlock.
18317 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
18319 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
18320 * hurd/hurdpid.c: Include <lowlevellock.h>
18321 (_S_msg_proc_newids): Use lll_wait to synchronize.
18322 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
18323 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
18324 * mach/Makefile (lock-headers): Remove machine-lock.h.
18325 * mach/lock-intern.h: Include <lowlevellock.h> instead of
18327 (__spin_lock_t): New type.
18328 (__SPIN_LOCK_INITIALIZER): New macro.
18329 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
18330 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
18331 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
18332 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
18333 (__mutex_init): Initialize with lll.
18334 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
18335 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
18337 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18338 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
18339 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
18340 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
18341 (__setpgid): Use lll for synchronization.
18342 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
18343 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
18344 instead of <cthreads.h>.
18345 (_IO_lock_inexpensive): New macro
18346 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
18347 (__libc_lock_self0): New declaration.
18348 (__libc_lock_owner_self): New macro.
18349 (__libc_key_t): Remove type.
18350 (_LIBC_LOCK_INITIALIZER): New macro.
18351 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
18352 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
18353 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
18354 __libc_lock_define_initialized_recursive,
18355 __rtld_lock_define_initialized_recursive,
18356 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
18357 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
18358 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
18359 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
18360 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
18361 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
18362 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
18364 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
18365 * hurd/hurdlock.c: New file.
18366 * hurd/hurdlock.h: New file.
18367 * mach/lowlevellock.h: New file
18369 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18371 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
18372 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
18373 when opening a symlink with O_NOFOLLOW.
18374 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
18375 path when flags contains O_NOFOLLOW.
18376 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
18377 if flags contains O_DIRECTORY and the result is a directory.
18378 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
18379 oneself when the pointer given in D is nul (as set by ext2fs).
18380 * sysdeps/mach/hurd/mlockall.c: New file.
18381 * sysdeps/mach/hurd/munlockall.c: New file.
18383 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18385 * hurd/hurdsig.c: Include <pthread.h>.
18386 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
18387 get the signal thread stack layout.
18388 * hurd/Makefile (headers): Remove threadvar.h.
18389 (inline-headers): Remove threadvar.h.
18390 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
18391 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
18392 __hurd_threadvar_max, __hurd_errno_location.
18393 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
18394 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
18395 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
18396 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
18397 unless TLS is not initialized yet, in which case we do not need a
18398 critical section yet anyway.
18399 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
18401 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
18403 (__hurd_threadvar_index): Remove enum.
18404 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
18405 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
18407 (__hurd_reply_port0): New variable declaration.
18408 (__hurd_local_reply_port): New macro.
18409 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
18410 (interrupted_reply_port_location): Add thread_t parameter. Use it
18411 with THREAD_TCB to access thread-local variables.
18412 (_hurdsig_abort_rpcs): Pass ss->thread to
18413 interrupted_reply_port_location.
18414 (_hurd_internal_post_signal): Likewise.
18415 (_hurdsig_init): Use presence of cthread_fork instead of
18416 __hurd_threadvar_stack_mask to start signal thread by hand.
18417 Remove signal thread threadvar initialization.
18418 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
18419 * hurd/sigunwind.c: Include <hurd/threadvar.h>
18420 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
18422 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
18424 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
18425 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
18426 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
18427 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
18428 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
18429 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
18430 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
18432 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
18433 <hurd/threadvar.h>.
18434 [IS_IN(rtld)] (rtld_errno): New variable.
18435 [IS_IN(rtld)] (__errno_location): New weak function.
18436 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
18437 * sysdeps/mach/hurd/errno.c: Remove file.
18438 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
18439 (__fork): Remove THREADVAR_SPACE macro and its use.
18440 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
18442 (init): Do not initialize threadvar.
18443 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
18445 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
18446 __hurd_local_reply_port instead of threadvar.
18447 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
18448 _hurd_sigstate fields.
18449 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
18450 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
18451 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
18452 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
18453 instead of threadvar.
18454 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
18455 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
18456 (use_threadvar, global_reply_port): Remove variables.
18457 (__hurd_reply_port0): New variable.
18458 (__mig_get_reply_port): Use __hurd_local_reply_port and
18459 __hurd_reply_port0 instead of threadvar.
18460 (__mig_dealloc_reply_port): Likewise.
18461 (__mig_init): Do not initialize threadvar.
18462 * sysdeps/mach/hurd/profil.c: Fix comment.
18463 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
18464 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
18465 cthread_keycreate, cthread_getspecific, cthread_setspecific to
18466 __cthread_fork, __cthread_detach, __pthread_getattr_np,
18467 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
18468 __cthread_setspecific.
18469 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
18470 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
18471 __cthread_t instead of cthread_fork, cthread_detach,
18472 pthread_getattr_np, pthread_attr_getstack.
18473 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
18474 __cthread_keycreate.
18475 (cthread_getspecific): Rename to __cthread_getspecific.
18476 (cthread_setspecific): Rename to __cthread_setspecific.
18477 (__libc_getspecific): Use __cthread_getspecific instead of
18478 cthread_getspecific.
18479 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
18480 __cthread_keycreate instead of cthread_keycreate.
18481 (__libc_setspecific): Use __cthread_setspecific instead of
18482 cthread_setspecific.
18483 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
18485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
18486 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
18487 testing whether it is defined.
18489 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18491 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
18493 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
18494 * sysdeps/mach/i386/thread_state.h
18495 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
18497 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
18499 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
18501 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
18502 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
18504 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
18506 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
18507 descriptor instead of creating a new one.
18508 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
18510 * mach/setup-thread.c: Include <ldsodefs.h>.
18511 (__mach_setup_thread): Call _dl_allocate_tls, pass
18512 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
18513 MACHINE_THREAD_STATE_FLAVOR, before getting
18514 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
18515 MACHINE_THREAD_STATE_FLAVOR with the result.
18516 * hurd/hurdfault.c (_hurdsig_fault_init): Call
18517 MACHINE_THREAD_STATE_FIX_NEW.
18518 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
18519 too. Add original thread parameter.
18521 2018-03-16 Joseph Myers <joseph@codesourcery.com>
18523 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
18524 Remove inline function.
18526 * sysdeps/i386/fpu/libm-test-ulps: Update.
18527 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18529 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
18531 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
18534 2018-03-15 Joseph Myers <joseph@codesourcery.com>
18536 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
18537 (__sincos_code): Remove define and undefine.
18538 [__FAST_MATH__] (__sincos): Remove inline function.
18539 [__FAST_MATH__] (__sincosf): Remove inline function.
18540 [__FAST_MATH__] (__sincosl): Remove inline function.
18541 (__atan2l): Remove inline functions.
18542 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
18543 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
18545 (floor): Remove inline function.
18547 [__FAST_MATH__] (__ldexp_code): Remove macro.
18548 [__FAST_MATH__] (ldexp): Remove inline function.
18549 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
18550 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
18551 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
18552 [__USE_ISOC99] (__lrint_code): Remove macro.
18553 [__USE_ISOC99] (__llrint_code): Likewise.
18554 [__USE_ISOC99] (lrintf): Remove inline function.
18555 [__USE_ISOC99] (lrint): Likewise.
18556 [__USE_ISOC99] (lrintl): Likewise.
18557 [__USE_ISOC99] (llrint): Likewise.
18558 [__USE_ISOC99] (llrintf): Likewise.
18559 [__USE_ISOC99] (llrintl): Likewise.
18561 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18563 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
18564 (__ieee754_sqrtf): Remove.
18565 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
18566 (__ieee754_sqrtf): Remove.
18567 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
18568 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18569 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
18570 (__ieee754_sqrtf): Remove.
18571 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
18572 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
18575 (__ieee754_sqrt): Remove.
18576 (__ieee754_sqrtf): Remove.
18577 (__ieee754_sqrtl): Remove.
18578 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18579 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
18580 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
18581 (__ieee754_sqrtf): Remove.
18582 (__ieee754_sqrtl): Remove.
18584 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18586 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
18587 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18588 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18589 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
18590 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
18591 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18592 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18593 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18595 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
18596 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
18597 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18598 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18599 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
18600 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
18601 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18602 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18603 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18604 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18605 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
18606 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18607 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
18608 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
18609 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
18610 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18611 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18612 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18613 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
18614 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
18615 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18616 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18617 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
18618 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
18619 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
18620 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
18621 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18623 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
18624 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18625 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18626 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
18627 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18628 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18629 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18630 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18631 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
18632 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
18633 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18634 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
18636 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18638 * include/math.h (sqrt): Declare with asm redirect.
18641 (sqrtf128): Likewise.
18642 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
18643 nonlib and libnldbl with -fmath-errno.
18644 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
18645 * math/w_sqrt_template.c: Likewise.
18646 * math/w_sqrtf_compat.c: Likewise.
18647 * math/w_sqrtl_compat.c: Likewise.
18648 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
18649 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
18650 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
18653 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18655 * benchtests/Makefile: Define _ISOMAC.
18656 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
18657 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
18658 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
18659 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
18660 * benchtests/bench-timing.h: Define attribute_hidden.
18662 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
18664 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
18667 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18670 * localedata/locales/cs_CZ (mon): Rename to...
18672 (mon): Import from CLDR (genitive case).
18674 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18677 * localedata/locales/el_CY (abmon): Rename to...
18678 (ab_alt_mon): This.
18679 (abmon): Import from CLDR (abbreviated genitive case).
18680 * localedata/locales/el_GR (abmon): Rename to...
18681 (ab_alt_mon): This.
18682 (abmon): Import from CLDR (abbreviated genitive case).
18684 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
18687 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
18689 2018-03-15 Robert Buj <robert.buj@gmail.com>
18692 * localedata/locales/ca_ES (abmon): Rename to...
18693 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18694 (mon): Rename to...
18696 (abmon): Import from CLDR (genitive case, month names preceded by
18699 (abday): Synchronize with CLDR.
18700 (d_t_fmt): Likewise.
18704 (LC_TIME): Improve indentation.
18705 (LC_TELEPHONE): Likewise.
18706 (LC_NAME): Likewise.
18707 (LC_ADDRESS): Likewise.
18709 2018-03-14 Joseph Myers <joseph@codesourcery.com>
18711 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
18712 (lrintf): Remove definitions used only with old GCC.
18713 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
18714 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
18715 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
18716 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
18717 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
18718 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
18719 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
18720 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
18721 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
18722 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
18723 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
18724 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
18725 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
18726 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
18727 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
18728 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
18729 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
18730 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
18731 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
18732 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
18733 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
18734 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
18735 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
18736 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
18737 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
18738 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
18739 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
18740 [__FAST_MATH__] (__M_SQRT2): Remove macro.
18742 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18744 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
18745 instruction to unbreak builds with binutils 2.26 and older.
18747 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
18749 * sysdeps/aarch64/strncmp.S (count): New macro.
18750 (strncmp): Store misaligned length in SRC1 in COUNT.
18751 (mutual_align): Adjust.
18752 (misaligned8): Load dword at a time when it is safe.
18754 2018-03-12 Zack Weinberg <zackw@panix.com>
18758 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
18759 if the _IO_EOF_SEEN bit is already set; update commentary.
18760 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
18761 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18763 * support/support_openpty.c, support/tty.h: New files.
18764 * support/Makefile (libsupport-routines): Add support_openpty.
18766 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
18768 * libio/Makefile (tests): Add tst-fgetc-after-eof.
18769 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
18771 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
18773 * po/pt_BR.po: Update translations.
18775 2018-03-12 David Michael <fedora.dm0@gmail.com>
18777 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
18778 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
18779 get a port to the startup server.
18781 2018-03-11 Zack Weinberg <zackw@panix.com>
18783 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
18784 before nldbl-compat.h.
18786 2018-03-10 Zack Weinberg <zackw@panix.com>
18788 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
18789 math.h or math_private.h.
18791 * sysdeps/alpha/fpu/s_isnan.c
18792 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
18793 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
18794 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
18795 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
18796 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
18797 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
18798 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
18799 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
18800 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
18801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
18802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
18803 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
18804 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
18805 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
18806 Include math_private.h.
18808 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
18809 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
18810 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
18811 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
18812 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
18813 * sysdeps/powerpc/power7/fpu/s_logb.c:
18814 Include math.h and math_private.h.
18816 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
18817 uses of $at in .set noat / .set at.
18819 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
18821 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
18822 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
18823 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
18824 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
18827 2018-03-09 Florian Weimer <fweimer@redhat.com>
18829 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
18832 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
18835 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
18836 Add nop before __startcontext, add explaining comments.
18838 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18841 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
18843 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
18844 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
18845 Do not build hardware transactional code for __SPE__.
18846 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18847 (__lll_trylock_elision): Likewise.
18848 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18849 (__lll_unlock_elision): Likewise.
18851 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
18852 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
18853 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18854 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
18855 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
18856 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
18857 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
18858 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
18859 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
18860 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
18861 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
18862 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
18863 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
18864 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
18865 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
18866 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
18867 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
18868 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
18869 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
18870 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
18871 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
18872 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18873 (__ASSUME_CLONE_BACKWARDS): Define.
18874 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
18875 __clone2 if __NR_clone2 is defined.
18876 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18877 (__ASSUME_CLONE_BACKWARDS): Likewise.
18878 * sysdeps/unix/sysv/linux/i386/kernel-features.h
18879 (__ASSUME_CLONE_BACKWARDS): Likewise.
18880 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18881 (__ASSUME_CLONE2): Likewise.
18882 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18883 (__ASSUME_CLONE_BACKWARDS3): Likewise.
18884 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
18885 variants and the define architecture can use.
18886 (__ASSUME_CLONE_DEFAULT): Define as default.
18887 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18888 (__ASSUME_CLONE_BACKWARDS): Likewise.
18889 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18890 (__ASSUME_CLONE_BACKWARDS): Likewise.
18891 * sysdeps/unix/sysv/linux/s390/kernel-features.h
18892 (__ASSUME_CLONE_BACKWARDS2): Likewise.
18894 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
18896 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
18898 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
18901 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
18902 (do_test_limit): Likewise.
18904 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
18905 for every implementation.
18906 (do_test): Likewise.
18908 * benchtests/bench-strncmp.c: Convert output to json.
18910 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18912 * io/futimens.c: Add missing start-of-file descriptive comment.
18913 * io/utime.c: Likewise.
18914 * misc/futimesat.c: Likewise.
18915 * misc/utimes.c: Likewise.
18916 * sysdeps/mach/hurd/futimesat.c: Likewise.
18917 * sysdeps/mach/hurd/utimes.c: Likewise.
18918 * sysdeps/posix/utime.c: Likewise.
18919 * sysdeps/posix/utimes.c: Likewise.
18920 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
18921 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18922 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
18923 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
18925 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18927 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
18929 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
18930 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
18931 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
18932 (__futimens): Move implementation to...
18933 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
18934 utime_tvalue_from_tspec): ... new helper functions.
18935 (hurd_futimens): New function.
18936 * sysdeps/mach/hurd/futimesat.c: New file.
18937 * sysdeps/mach/hurd/utimensat.c: New file.
18939 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
18941 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
18942 UTIME_OMIT): New macros.
18943 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
18944 before reverting to converting time spec to time value and calling
18946 * sysdeps/mach/hurd/utime-helper.c: New file.
18947 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
18948 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
18949 reverting to utime_tvalue_from_tval and __file_utimes.
18950 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
18951 (__lutimes): Just call hurd_futimens after lookup.
18952 * sysdeps/mach/hurd/utimes.c: Likewise.
18954 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18956 * bits/sigaction.h: Add include guard.
18957 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
18958 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
18959 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
18960 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
18961 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
18962 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
18963 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18964 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
18965 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
18967 2018-03-05 Joseph Myers <joseph@codesourcery.com>
18969 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
18970 -Wmaybe-uninitialized for -Os.
18971 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
18974 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18976 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
18977 __INO_T_MATCHES_INO64_T is defined.
18978 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
18979 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
18981 * dirent/alphasort64.c: Likewise.
18982 * dirent/scandir.c: Likewise.
18983 * dirent/scandir64-tail.c: Likewise.
18984 * dirent/scandir64.c: Likewise.
18985 * dirent/scandirat.c: Likewise.
18986 * dirent/scandirat64.c: Likewise.
18987 * dirent/versionsort.c: Likewise.
18988 * dirent/versionsort64.c: Likewise.
18989 * include/dirent.h: Likewise.
18991 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
18992 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
18993 for socketpair endpoint.
18994 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
18995 WRITE_BUFFER_SIZE as buffer size for sending socket.
18996 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
18997 issue on system where send is implemented with sendto syscall.
18998 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
18999 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
19000 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
19001 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
19004 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
19005 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
19006 sa_restorer for vDSO case.
19007 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
19009 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19011 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
19012 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
19013 * hurd/hurd/ioctl.h: Include <mach/port.h>
19014 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
19015 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
19016 <mach/mach_types.h> and <mach/message.h>.
19017 (headers): Move mach/param.h to bits/mach/param.h.
19018 * sysdeps/mach/i386/mach/param.h: Move file to ...
19019 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
19020 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
19022 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
19023 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
19024 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
19025 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
19026 trivial, for C++ conformity.
19027 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
19028 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
19029 Process mig output through $(migheadersed).
19030 * hurd/Makefile (migheadersed): Define variable.
19031 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
19032 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
19034 * hurd/hurd.h: Include <bits/types/sigset_t.h>
19035 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
19036 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
19037 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
19038 <bits/types/sigset_t.h>.
19039 [!defined __USE_GNU]: Do not #error out.
19040 (struct hurd_sigstate): Use _NSIG instead of NSIG.
19041 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
19042 Include <stddef.h> and <bits/types/sigset_t.h>
19043 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
19044 instead of sighandler_t.
19045 * stdlib/errno.h (error_t): Move definition to...
19046 * bits/types/error_t.h: ... new header.
19047 * stdlib/Makefile (headers): Add bits/types/error_t.h.
19048 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
19049 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
19050 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
19051 * hurd/hurd.h: Include <bits/types/error_t.h>
19052 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
19053 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
19054 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
19055 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
19056 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
19057 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
19058 * sysdeps/mach/hurd/futimens.c: New file.
19060 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
19063 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
19064 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
19065 * nscd/gai.c (__nss_hosts_database): Readd definition.
19066 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
19067 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
19068 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
19070 2018-03-02 Joseph Myers <joseph@codesourcery.com>
19072 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
19073 (ifunc_one): Likewise.
19075 2018-03-01 DJ Delorie <dj@delorie.com>
19078 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
19081 2018-03-01 Maciej W. Rozycki <macro@mips.com>
19083 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
19084 `match_pid' parameter.
19085 (td_ta_thr_iter): Update accordingly.
19087 2018-03-01 Florian Weimer <fweimer@redhat.com>
19089 * nptl/Makefile (install-lib-ldscripts): Remove.
19090 (install): Remove rule.
19091 ($(inst_libdir)/libpthread.so): Likewise.
19093 2018-03-01 Mike FABIAN <mfabian@redhat.com>
19096 * localedata/locales/an_ES: update month and day names,
19097 improve d_fmt, improve postal_fmt, add country_post,
19100 2018-03-01 Mike FABIAN <mfabian@redhat.com>
19102 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
19103 Ukrainian instead of Bulgarian.
19105 2018-03-01 Florian Weimer <fweimer@redhat.com>
19107 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
19110 2018-03-01 Florian Weimer <fweimer@redhat.com>
19112 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
19113 * nptl/Makefile (routines): Add pthread_atfork.
19114 (static-only-routines): Set to pthread_atfork.
19115 (libpthread-routines): Remove pthread_atfork.
19116 (libpthread-static-only-routines): Remove.
19117 (install): Update comment.
19118 (libpthread.so): Do not install libpthread_nonshared.a.
19119 (tests): Do not link with libpthread_nonshared.a.
19120 (generated): Remove libpthread_nonshared.a.
19121 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
19122 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
19123 with libpthread_nonshared.a.
19125 2018-02-28 Joseph Myers <joseph@codesourcery.com>
19128 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
19129 (libc_feholdexcept_setroundf128): New macro.
19130 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
19133 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
19135 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
19136 * include/inttypes.h: New file.
19138 2018-02-27 Joseph Myers <joseph@codesourcery.com>
19140 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
19141 -Os in two more places.
19143 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19145 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
19146 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
19147 be sorted correctly at the moment because of a bug.
19149 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19151 [BZ #22550] - es_ES locale (and other es_* locales): collation should
19152 treat ñ as a primary different character, sync the collation
19153 for Spanish with CLDR.
19154 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
19155 * localedata/Makefile: Add new test files.
19156 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
19157 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
19159 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
19160 * localedata/am_ET.UTF-8.in: New test file.
19161 * localedata/az_AZ.UTF-8.in: Likewise.
19162 * localedata/be_BY.UTF-8.in: Likewise.
19163 * localedata/ber_DZ.UTF-8.in: Likewise.
19164 * localedata/ber_MA.UTF-8.in: Likewise.
19165 * localedata/bg_BG.UTF-8.in: Likewise.
19166 * localedata/br_FR.UTF-8.in: Likewise.
19167 * localedata/cmn_TW.UTF-8.in: Likewise.
19168 * localedata/crh_UA.UTF-8.in: Likewise.
19169 * localedata/csb_PL.UTF-8.in: Likewise.
19170 * localedata/cv_RU.UTF-8.in: Likewise.
19171 * localedata/cy_GB.UTF-8.in: Likewise.
19172 * localedata/dz_BT.UTF-8.in: Likewise.
19173 * localedata/eo.UTF-8.in: Likewise.
19174 * localedata/es_ES.UTF-8.in: Likewise.
19175 * localedata/fa_IR.UTF-8.in: Likewise.
19176 * localedata/fi_FI.UTF-8.in: Likewise.
19177 * localedata/fil_PH.UTF-8.in: Likewise.
19178 * localedata/fur_IT.UTF-8.in: Likewise.
19179 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
19180 * localedata/ha_NG.UTF-8.in: Likewise.
19181 * localedata/ig_NG.UTF-8.in: Likewise.
19182 * localedata/ik_CA.UTF-8.in: Likewise.
19183 * localedata/kk_KZ.UTF-8.in: Likewise.
19184 * localedata/ku_TR.UTF-8.in: Likewise.
19185 * localedata/ky_KG.UTF-8.in: Likewise.
19186 * localedata/ln_CD.UTF-8.in: Likewise.
19187 * localedata/mi_NZ.UTF-8.in: Likewise.
19188 * localedata/ml_IN.UTF-8.in: Likewise.
19189 * localedata/mn_MN.UTF-8.in: Likewise.
19190 * localedata/mr_IN.UTF-8.in: Likewise.
19191 * localedata/mt_MT.UTF-8.in: Likewise.
19192 * localedata/nb_NO.UTF-8.in: Likewise.
19193 * localedata/om_KE.UTF-8.in: Likewise.
19194 * localedata/os_RU.UTF-8.in: Likewise.
19195 * localedata/ps_AF.UTF-8.in: Likewise.
19196 * localedata/ro_RO.UTF-8.in: Likewise.
19197 * localedata/ru_RU.UTF-8.in: Likewise.
19198 * localedata/sc_IT.UTF-8.in: Likewise.
19199 * localedata/se_NO.UTF-8.in: Likewise.
19200 * localedata/sq_AL.UTF-8.in: Likewise.
19201 * localedata/sv_SE.UTF-8.in: Likewise.
19202 * localedata/szl_PL.UTF-8.in: Likewise.
19203 * localedata/tg_TJ.UTF-8.in: Likewise.
19204 * localedata/tk_TM.UTF-8.in: Likewise.
19205 * localedata/tt_RU.UTF-8.in: Likewise.
19206 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
19207 * localedata/ug_CN.UTF-8.in: Likewise.
19208 * localedata/uz_UZ.UTF-8.in: Likewise.
19209 * localedata/vi_VN.UTF-8.in: Likewise.
19210 * localedata/yi_US.UTF-8.in: Likewise.
19211 * localedata/yo_NG.UTF-8.in: Likewise.
19212 * localedata/zh_CN.UTF-8.in: Likewise.
19213 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
19214 file and fix bugs in the collation.
19215 * localedata/locales/az_AZ: Likewise.
19216 * localedata/locales/be_BY: Likewise.
19217 * localedata/locales/ber_DZ: Likewise.
19218 * localedata/locales/ber_MA: Likewise.
19219 * localedata/locales/bg_BG: Likewise.
19220 * localedata/locales/br_FR: Likewise.
19221 * localedata/locales/br_FR@euro: Likewise.
19222 * localedata/locales/ca_ES: Likewise.
19223 * localedata/locales/cns11643_stroke: Likewise.
19224 * localedata/locales/crh_UA: Likewise.
19225 * localedata/locales/cs_CZ: Likewise.
19226 * localedata/locales/csb_PL: Likewise.
19227 * localedata/locales/cv_RU: Likewise.
19228 * localedata/locales/cy_GB: Likewise.
19229 * localedata/locales/da_DK: Likewise.
19230 * localedata/locales/dz_BT: Likewise.
19231 * localedata/locales/en_CA: Likewise.
19232 * localedata/locales/eo: Likewise.
19233 * localedata/locales/es_CU: Likewise.
19234 * localedata/locales/es_EC: Likewise.
19235 * localedata/locales/es_ES: Likewise.
19236 * localedata/locales/es_US: Likewise.
19237 * localedata/locales/et_EE: Likewise.
19238 * localedata/locales/fa_IR: Likewise.
19239 * localedata/locales/fi_FI: Likewise.
19240 * localedata/locales/fil_PH: Likewise.
19241 * localedata/locales/fur_IT: Likewise.
19242 * localedata/locales/gez_ER@abegede: Likewise.
19243 * localedata/locales/ha_NG: Likewise.
19244 * localedata/locales/hr_HR: Likewise.
19245 * localedata/locales/hsb_DE: Likewise.
19246 * localedata/locales/hu_HU: Likewise.
19247 * localedata/locales/ig_NG: Likewise.
19248 * localedata/locales/ik_CA: Likewise.
19249 * localedata/locales/is_IS: Likewise.
19250 * localedata/locales/iso14651_t1_pinyin: Likewise.
19251 * localedata/locales/kk_KZ: Likewise.
19252 * localedata/locales/ku_TR: Likewise.
19253 * localedata/locales/ky_KG: Likewise.
19254 * localedata/locales/ln_CD: Likewise.
19255 * localedata/locales/lt_LT: Likewise.
19256 * localedata/locales/lv_LV: Likewise.
19257 * localedata/locales/mi_NZ: Likewise.
19258 * localedata/locales/ml_IN: Likewise.
19259 * localedata/locales/mn_MN: Likewise.
19260 * localedata/locales/mr_IN: Likewise.
19261 * localedata/locales/mt_MT: Likewise.
19262 * localedata/locales/nb_NO: Likewise.
19263 * localedata/locales/om_KE: Likewise.
19264 * localedata/locales/os_RU: Likewise.
19265 * localedata/locales/pl_PL: Likewise.
19266 * localedata/locales/ps_AF: Likewise.
19267 * localedata/locales/ro_RO: Likewise.
19268 * localedata/locales/ru_RU: Likewise.
19269 * localedata/locales/ru_UA: Likewise.
19270 * localedata/locales/sc_IT: Likewise.
19271 * localedata/locales/se_NO: Likewise.
19272 * localedata/locales/si_LK: Likewise.
19273 * localedata/locales/sq_AL: Likewise.
19274 * localedata/locales/sv_FI: Likewise.
19275 * localedata/locales/sv_FI@euro: Likewise.
19276 * localedata/locales/sv_SE: Likewise.
19277 * localedata/locales/szl_PL: Likewise.
19278 * localedata/locales/tg_TJ: Likewise.
19279 * localedata/locales/ti_ER: Likewise.
19280 * localedata/locales/tk_TM: Likewise.
19281 * localedata/locales/tl_PH: Likewise.
19282 * localedata/locales/tr_TR: Likewise.
19283 * localedata/locales/tt_RU: Likewise.
19284 * localedata/locales/tt_RU@iqtelif: Likewise.
19285 * localedata/locales/ug_CN: Likewise.
19286 * localedata/locales/uk_UA: Likewise.
19287 * localedata/locales/uz_UZ: Likewise.
19288 * localedata/locales/uz_UZ@cyrillic: Likewise.
19289 * localedata/locales/vi_VN: Likewise.
19290 * localedata/locales/yi_US: Likewise.
19291 * localedata/locales/yo_NG: Likewise.
19293 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19295 * gen-locales.mk: Make test files which contain @ modifiers in their
19297 * localedata/gen-locale.sh: Likewise.
19299 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19301 * posix/tst-fnmatch.input: Fix results for range expressions
19303 * posix/tst-regexloc.c: Do not use a range expression for
19304 de_DE.ISO-8859-1 locale.
19306 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19308 * posix/bug-regex5.c: Fix test case because with the new
19309 iso14651_t1_common file, the da_DK locale now has 6 collating elements
19310 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
19313 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19315 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
19316 downloaded from ISO, the collation order of @-. and space has changed.
19317 Therefore, this test file needed to be adapted.
19318 * localedata/fr_CA.UTF-8.in: Likewise.
19319 * localedata/fr_FR.UTF-8.in: Likewise.
19320 * localedata/uk_UA.UTF-8.in: Likewise.
19322 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19324 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
19325 order of ȥ in the new iso14651_t1_common file.
19326 * localedata/pl_PL.UTF-8.in: Likewise.
19328 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19330 * localedata/locales/iso14651_t1_common: Add sections for various
19331 scripts to the iso14651_t1_common file.
19333 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19335 * localedata/locales/iso14651_t1_common: Use the code point of a
19336 character in the fourth collation level instead of IGNORE for all
19337 entries which have IGNORE on all 4 levels.
19339 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19341 * localedata/locales/iso14651_t1_common: Add some convenient collation
19342 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
19343 rules similar to those in CLDR.
19345 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19347 * localedata/locales/iso14651_t1_common: The new version of this
19348 file downloaded from ISO contained several syntax errors which
19349 are fixed by this patch.
19351 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19353 * localedata/locales/iso14651_t1_common: replace all <U.....>
19354 with <U000.....> because glibc understands only 4 digit or 8 digit
19356 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19358 * localedata/locales/iso14651_t1_common: Necessary changes
19359 to make the file downloaded from ISO usable by glibc.
19361 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19364 * localedata/locales/iso14651_t1_common: Update file to
19365 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
19367 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19369 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
19370 of <nptl/pthreadP.h>
19371 (thread_attr_compare): Move function to...
19372 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
19373 * sysdeps/nptl/timer_routines.h: ... new header.
19374 * sysdeps/mach/hurd/gai_misc.h: New file.
19376 2018-02-26 Joseph Myers <joseph@codesourcery.com>
19378 * string/strcoll_l.c: Include <libc-diag.h>.
19379 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
19380 declarations of seq1 and seq2.
19383 * stdlib/atoi.c (atoi): Use libc_hidden_def.
19384 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
19386 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
19390 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
19391 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
19392 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
19393 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
19394 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
19395 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
19397 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19399 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
19400 macros used in __ptrace_request.
19402 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
19405 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
19407 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
19408 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
19409 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
19412 2018-02-23 Joseph Myers <joseph@codesourcery.com>
19415 * ctype/ctype.c (tolower): Use libc_hidden_def.
19416 (toupper): Likewise.
19417 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
19418 [!_ISOMAC] (toupper): Likewise.
19420 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19422 * localedata/Makefile: Remove --quiet argument when
19425 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19428 * localedata/locales/pt_BR (LC_TIME): use / instead of -
19430 * localedata/locales/pt_PT (LC_TIME): likewise
19432 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19435 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
19436 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
19437 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
19439 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19443 * nptl/Makefile (routines): Remove unregister-atfork.
19444 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
19445 (fork_handler_alloc): Remove function.
19446 (fork_handlers, fork_handler_init): New variables.
19447 (__fork_lock): Rename to atfork_lock.
19448 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
19449 to use a dynamic array to add/remove atfork handlers.
19450 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19451 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
19452 Remove declaration.
19453 (fork_handler): Remove next, refcntr, and need_signal member.
19454 (__run_fork_handler_type): New enum.
19455 (__run_fork_handlers): New prototype.
19456 * nptl/register-atfork.c: Remove file.
19457 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
19459 * sysdeps/nptl/nptl-signals.h: Move to ...
19460 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
19462 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
19463 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
19464 unnecessary check for SIGTIMER.
19465 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
19466 remove unnecessary removal of SIGTIMER.
19467 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
19468 include-signals.h rename.
19469 * nptl/pthreadP.h: Likewise.
19470 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
19471 __is_internal_signal instead of __nptl_is_internal_signal.
19473 2018-02-22 Andrew Waterman <andrew@sifive.com>
19476 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
19477 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
19478 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
19479 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
19481 2018-02-22 DJ Delorie <dj@delorie.com>
19483 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
19485 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
19487 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
19488 do_misaligned, not misaligned8.
19490 2018-02-22 Steve Ellcey <sellcey@cavium.com>
19492 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19493 Add memcpy_thunderx2.
19494 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
19496 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
19497 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
19498 and IS_THUNDERX2PA checks.
19499 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
19500 Use macro to set name appropriately.
19501 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
19502 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
19503 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
19505 (IS_THUNDERX2): New macro.
19507 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
19509 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19511 2018-02-21 Zack Weinberg <zackw@panix.com>
19513 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
19514 Define here, unconditionally.
19515 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
19516 * libio/libioP.h: Remove #if 0 blocks.
19517 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
19518 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
19519 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
19521 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
19522 Assume weak_alias is always defined.
19524 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
19525 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
19526 Remove #if 0 and #ifdef TODO blocks.
19527 Assume text_set_element is always defined.
19529 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
19530 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
19531 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
19533 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
19534 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
19535 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
19536 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
19537 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
19538 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
19539 Reformat bit flags for _flags field to make occupancy clearer.
19541 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
19542 Keep definitions consistent with those in libio/libio.h.
19544 * libio/libio.h (_IO_file_flags): Remove macro.
19545 All uses changed to _flags.
19547 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
19548 (__HAVE_COLUMN, _IO_BE): Don't define.
19549 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
19550 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
19551 * libio/libioP.h (EOF): Don't define.
19552 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
19553 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
19554 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
19555 testing _IO_UNIFIED_JUMPTABLES.
19557 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
19558 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
19559 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
19560 (_IO_size_t): Delete; all uses changed to size_t.
19561 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
19562 (_IO_off_t): Delete; all uses changed to off_t.
19563 (_IO_off64_t): Delete; all uses changed to off64_t.
19564 (_IO_pid_t): Delete; all uses changed to pid_t.
19565 (_IO_uid_t): Delete; all uses changed to uid_t.
19566 (_IO_wint_t): Delete; all uses changed to wint_t.
19567 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
19568 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
19569 (_IO_cookie_io_functions_t): Delete; all uses changed to
19570 cookie_io_functions_t.
19571 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
19572 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
19573 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
19574 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
19576 * libio/iofopncook.c: Remove unnecessary forward declarations.
19577 * libio/iolibio.h: Correct outdated commentary.
19578 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
19579 * stdio-common/fxprintf.c (__fxprintf_nocancel):
19580 Remove unnecessary casts.
19581 * stdio-common/getline.c: Use _IO_getdelim directly.
19582 Don't redefine ssize_t.
19583 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
19584 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
19585 Remove outdated comments.
19586 * stdio-common/vfscanf.c: Don't redefine va_list.
19588 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
19589 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
19590 Remove preprocessor conditionals on _LIBC and __USE_GNU,
19591 which are always true, and __cplusplus, which is always false.
19593 2018-02-21 Joseph Myers <joseph@codesourcery.com>
19597 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
19598 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
19599 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
19600 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
19602 [!_ISOMAC] (putc_unlocked): Likewise.
19603 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
19604 define inline if [__USE_EXTERN_INLINES].
19605 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
19610 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
19611 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
19612 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
19613 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
19614 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
19616 * time/tzfile.c (__tzfile_read): Likewise.
19618 2018-02-21 Mike FABIAN <mfabian@redhat.com>
19621 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
19623 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19625 * io/fcntl.h: Fix a typo in a comment.
19627 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
19630 * include/features.h: Add _ISOC11_SOURCE to test for whether to
19631 define _DEFAULT_SOURCE.
19632 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
19634 2018-02-21 Florian Weimer <fweimer@redhat.com>
19637 * elf/cache.c (save_cache): Call fsync on temporary file before
19639 (save_aux_cache): Call fdatasync on temporary file before renaming
19642 2018-02-21 Florian Weimer <fweimer@redhat.com>
19645 * include/caller.h: Remove file.
19646 * elf/dl-caller.c: Likewise.
19647 * elf/Makefile (dl-routines): Remove dl-caller.
19648 (shared-only-routines): Do not add dl-caller.
19649 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
19651 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
19653 (dl_open_worker): Do not call __check_caller.
19654 (_dl_open): Do not set caller_dl_open member.
19655 * elf/rtld.c (_rtld_global_ro): Do not initialize
19656 _dl_check_caller member.
19657 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
19658 _dl_check_caller member.
19659 (_dl_check_caller): Remove declaration.
19660 * sysdeps/unix/sysv/linux/dl-execstack.c
19661 (_dl_make_stack_executable): Do not call __check_caller.
19663 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19665 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
19666 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
19668 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19670 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
19673 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
19676 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
19677 of 199606L, 200112L, and 200809L.
19678 (_XOPEN_SOURCE): Document special values of 600 and 700.
19679 (_ISOC11_SOURCE): Document macro.
19680 (_ATFILE_SOURCE): Likewise.
19681 (_FORTIFY_SOURCE): Likewise.
19683 2018-02-19 Joseph Myers <joseph@codesourcery.com>
19687 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
19688 and define as weak alias of __ferror_unlocked. Use
19690 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
19692 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
19693 function if [__USE_EXTERN_INLINES].
19694 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
19697 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
19700 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
19702 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19705 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
19706 the GLIBC_2.1 version.
19708 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
19711 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
19712 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
19713 intl/tst-gettext-de.po from po/de.po by removing the
19714 POT-Creation-Date line.
19715 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
19717 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
19720 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19722 * mach/Makefile (headers): Add mach/param.h.
19723 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
19724 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
19725 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
19726 (__ptsname_r): Move implementation to...
19727 (__ptsname_internal): ... new function. Add filling the STP
19730 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
19732 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
19735 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
19737 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
19740 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19742 * nptl/Makefile (tst-mutex8-ENV): Delete.
19743 * nptl/tst-mutex8.c (check_type):
19744 Add runtime check if mutex will be elided.
19746 2018-02-15 Joseph Myers <joseph@codesourcery.com>
19750 * manual/install.texi (Configuring and compiling): Describe
19751 passing CC and CFLAGS on configure command line, not as
19752 environment variables. Use @code markup on those variables.
19753 Specify what options go in CC and what go in CFLAGS. Note the
19754 requirement to compile with optimization.
19755 * INSTALL: Regenerated.
19758 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
19759 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
19760 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
19761 __sigprocmask instead of sigprocmask.
19762 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
19764 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
19765 __sigsetjmp and sigprocmask.
19768 * include/argz.h (argz_next): Use libc_hidden_proto.
19769 (__argz_next): Likewise.
19770 * string-argz-next.c (__argz_next): Use libc_hidden_def.
19771 (argz_next): Use libc_hidden_weak.
19774 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
19776 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
19780 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
19782 * libio/iofputs.c (fputs): Use libc_hidden_weak.
19786 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
19787 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
19788 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
19789 (__feof_unlocked): New declaration, and inline function if
19790 [__USE_EXTERN_INLINES].
19791 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
19792 instead of feof_unlocked.
19793 * intl/localealias.c [_LIBC] (FEOF): Likewise.
19794 * nss/nsswitch.c (nss_parse_file): Likewise.
19795 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
19797 * time/getdate.c (__getdate_r): Likewise.
19798 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
19799 Define as macro to call __feof_unlocked.
19801 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19803 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
19805 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
19807 * math/Makefile: Remove mpexp.c and mplog.c
19808 * sysdeps/i386/fpu/mpexp.c: Delete file.
19809 * sysdeps/i386/fpu/mplog.c: Likewise.
19810 * sysdeps/ia64/fpu/mpexp.c: Likewise.
19811 * sysdeps/ia64/fpu/mplog.c: Likewise.
19812 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
19813 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
19814 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
19815 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19816 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
19817 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
19818 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
19819 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
19820 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
19821 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19822 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
19823 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
19824 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19825 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
19826 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
19827 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19829 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19831 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19833 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19835 * sysdeps/sh/libm-test-ulps: Update.
19837 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19839 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
19842 2018-02-12 Zack Weinberg <zackw@panix.com>
19845 * posix/sys/types.h: Don't include sys/sysmacros.h.
19846 * misc/sys/sysmacros.h: Remove the conditional deprecation
19847 warnings for the macros defined by this header.
19849 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19851 * manual/probes.texi: Remove slowexp probes.
19852 * math/Makefile: Remove slowexp.
19853 * sysdeps/generic/math_private.h (__slowexp): Remove.
19854 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
19855 document error bounds.
19856 * sysdeps/i386/fpu/slowexp.c: Remove.
19857 * sysdeps/ia64/fpu/slowexp.c: Remove.
19858 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
19859 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
19860 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
19861 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
19862 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
19863 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
19864 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
19865 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
19866 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
19867 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
19868 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
19870 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
19873 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
19874 * benchtests/pow-inputs: Update comment for slow path cases.
19875 * manual/probes.texi (slowpow_p10): Delete removed probe.
19876 (slowpow_p10): Likewise.
19877 * math/Makefile: Remove halfulp.c and slowpow.c.
19878 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
19879 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
19880 (__halfulp): Remove.
19881 (__slowpow): Remove.
19882 * sysdeps/i386/fpu/halfulp.c: Delete file.
19883 * sysdeps/i386/fpu/slowpow.c: Likewise.
19884 * sysdeps/ia64/fpu/halfulp.c: Likewise.
19885 * sysdeps/ia64/fpu/slowpow.c: Likewise.
19886 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
19887 improve comments and add error analysis.
19888 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
19889 (power1): Remove function:
19890 (log1): Remove error argument, add error analysis.
19891 (my_log2): Remove function.
19892 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
19893 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19894 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
19895 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
19896 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
19897 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
19898 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
19899 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
19900 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
19901 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
19902 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
19903 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19904 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
19905 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19907 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
19909 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
19910 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
19912 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
19915 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
19916 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
19917 and PTRACE_SETHBPREGS.
19919 2018-02-10 Zack Weinberg <zackw@panix.com>
19922 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
19924 * malloc/tst-malloc-stats-cancellation.c: New test case.
19925 * malloc/Makefile: Add new test case.
19927 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
19929 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
19931 2018-02-10 Joseph Myers <joseph@codesourcery.com>
19933 * math/Makefile (libm-narrow-fns): Add add.
19934 (libm-test-funcs-narrow): Likewise.
19935 * math/Versions (GLIBC_2.28): Add narrowing add functions.
19936 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
19937 * math/gen-auto-libm-tests.c (test_functions): Add add.
19938 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
19939 (NARROW_ADD_ROUND_TO_ODD): Likewise.
19940 (NARROW_ADD_TRIVIAL): Likewise.
19941 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
19943 (__daddl): Likewise.
19944 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
19946 (CFLAGS-nldbl-dadd.c): New variable.
19947 (CFLAGS-nldbl-fadd.c): Likewise.
19948 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19950 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
19952 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
19953 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
19954 * math/auto-libm-test-in: Add tests of add.
19955 * math/auto-libm-test-out-narrow-add: New generated file.
19956 * math/libm-test-narrow-add.inc: New file.
19957 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
19958 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
19959 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
19960 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
19961 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
19962 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
19963 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
19964 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
19965 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
19966 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
19967 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
19968 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
19969 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
19970 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
19971 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
19972 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
19973 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
19974 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
19975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19976 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19977 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19978 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19979 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19980 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19981 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19982 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19983 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19984 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19985 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19986 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19987 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19988 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19993 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19994 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19995 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19996 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19997 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19998 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19999 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20000 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20001 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20002 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20004 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
20005 (f128-pairs): New variable.
20006 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
20007 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
20009 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
20010 Also make tests add $(f128-loader-link) to gnulib-tests.
20012 2018-02-09 DJ Delorie <dj@redhat.com>
20015 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
20016 64-bit ELF type for 64-bit ELF objects.
20018 2018-02-09 Joseph Myers <joseph@codesourcery.com>
20020 * math/libm-test-driver.c (snan_tests_arg): New variable.
20021 * math/libm-test-support.h (snan_tests_arg): New declaration.
20022 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
20024 * math/Makefile (test-type-pairs): New variable.
20025 (test-type-pairs-f64xf128-yes): Likewise.
20026 (tests): Add test-narrow-macros.
20027 (libm-test-funcs-narrow): New variable.
20028 (libm-test-c-narrow): Likewise.
20029 (generated): Add $(libm-test-c-narrow).
20030 (libm-tests-base-narrow): New variable.
20031 (libm-tests-narrow): Likewise.
20032 (libm-tests): Add $(libm-tests-narrow).
20033 (libm-tests-for-type): Handle $(libm-tests-narrow).
20034 (libm-test-c-narrow-obj): New variable.
20035 ($(libm-test-c-narrow-obj)): New rule.
20036 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
20037 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
20038 $(o-iterator) to set dependencies and CFLAGS.
20039 * math/gen-auto-libm-tests.c: Document use for narrowing
20041 (output_for_one_input_case): Take argument NARROW.
20042 (generate_output): Likewise. Update call to
20043 output_for_one_input_case.
20044 (main): Take --narrow option. Update call to generate_output.
20045 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
20046 (apply_lit): Update call to _apply_lit.
20047 (apply_arglit): New function.
20048 (parse_args): Handle "a" arguments.
20049 (parse_auto_input): Handle format names using ":".
20050 * math/README.libm-test: Document "a" parameter type.
20051 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
20052 (ARG_TYPE_TRUE_MIN): Likewise.
20053 (ARG_TYPE_MAX): Likwise.
20054 (ARG_MIN_EXP): Likewise.
20055 (ARG_MAX_EXP): Likewise.
20056 (ARG_MANT_DIG): Likewise.
20057 (TEST_COND_arg_ibm128): Likewise.
20058 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
20059 (TEST_COND_arg_fmt): New macro.
20060 (init_max_error): Update prototype.
20061 * math/libm-test-support.c (test_ibm128): New variable.
20062 (init_max_error): Take argument testing_ibm128 and set test_ibm128
20063 instead of using [TEST_COND_ibm128] conditional.
20064 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
20065 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
20066 [TEST_NARROW] (TEST_MSG): New definition.
20067 (arg_plus_zero): New macro.
20068 (arg_minus_zero): Likewise.
20069 (arg_plus_infty): Likewise.
20070 (arg_minus_infty): Likewise.
20071 (arg_qnan_value_pl): Likewise.
20072 (arg_qnan_value): Likewise.
20073 (arg_snan_value_pl): Likewise.
20074 (arg_snan_value): Likewise.
20075 (arg_max_value): Likewise.
20076 (arg_min_value): Likewise.
20077 (arg_min_subnorm_value): Likewise.
20078 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
20079 (RUN_TEST_LOOP_aa_f): New macro.
20080 (TEST_SUFF): New macro.
20081 (TEST_SUFF_STR): Likewise.
20082 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
20083 (TEST_COND_any_ibm128): New macro.
20084 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
20085 this_func. Update call to init_max_error.
20086 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
20087 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
20088 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
20089 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
20090 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
20091 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
20092 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
20093 * math/test-math-scalar.h (TEST_NARROW): Likewise.
20094 * math/test-math-vector.h (TEST_NARROW): Likewise.
20095 * math/test-arg-double.h: New file.
20096 * math/test-arg-float128.h: Likewise.
20097 * math/test-arg-float32x.h: Likewise.
20098 * math/test-arg-float64.h: Likewise.
20099 * math/test-arg-float64x.h: Likewise.
20100 * math/test-arg-ldouble.h: Likewise.
20101 * math/test-math-narrow.h: Likewise.
20102 * math/test-narrow-macros.c: Likewise.
20103 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
20104 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
20105 test-narrow-macros-ldbl-64.
20106 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
20108 * math/bits/mathcalls-narrow.h: New file.
20109 * include/bits/mathcalls-narrow.h: Likewise.
20110 * math/math-narrow.h: Likewise.
20111 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
20112 (__MATHCALL_NARROW_ARGS_2): Likewise.
20113 (__MATHCALL_NARROW_ARGS_3): Likewise.
20114 (__MATHCALL_NARROW_NORMAL): Likewise.
20115 (__MATHCALL_NARROW_REDIR): Likewise.
20116 (__MATHCALL_NARROW): Likewise.
20117 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
20118 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
20120 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20121 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
20122 (libm-narrow-fns): New variable.
20123 (libm-narrow-types-basic): Likewise.
20124 (libm-narrow-types-ldouble-yes): Likewise.
20125 (libm-narrow-types-float128-yes): Likewise.
20126 (libm-narrow-types-float128-alias-yes): Likewise.
20127 (libm-narrow-types): Likewise.
20128 (libm-routines): Add narrowing functions.
20129 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
20130 (libc_feholdexcept_setroundf128): New macro.
20131 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
20132 * sysdeps/ieee754/float128/float128_private.h: Include
20133 <math/math-narrow.h>.
20134 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
20135 Undefine and redefine.
20136 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
20137 (libm_alias_float_ldouble): Undefine and redefine.
20138 (libm_alias_double_ldouble): Likewise.
20140 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
20142 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
20144 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
20147 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
20149 * manual/creature.texi: Convert references to gcc.info to gcc.
20150 * manual/stdio.texi: Likewise.
20151 * manual/string.texi: Likewise.
20153 2018-02-07 Joseph Myers <joseph@codesourcery.com>
20156 * posix/bits/types.h (__int_least8_t): New typedef.
20157 (__uint_least8_t): Likewise.
20158 (__int_least16_t): Likewise.
20159 (__uint_least16_t): Likewise.
20160 (__int_least32_t): Likewise.
20161 (__uint_least32_t): Likewise.
20162 (__int_least64_t): Likewise.
20163 (__uint_least64_t): Likewise.
20164 * sysdeps/generic/stdint.h (int_least8_t): Define using
20166 (int_least16_t): Define using __int_least16_t.
20167 (int_least32_t): Define using __int_least32_t.
20168 (int_least64_t): Define using __int_least64_t.
20169 (uint_least8_t): Define using __uint_least8_t.
20170 (uint_least16_t): Define using __uint_least16_t.
20171 (uint_least32_t): Define using __uint_least32_t.
20172 (uint_least64_t): Define using __uint_least64_t.
20173 * wcsmbs/uchar.h: Include <bits/types.h>.
20174 (char16_t): Define using __uint_least16_t conditional only on
20176 (char32_t): Define using __uint_least32_t conditional only on
20178 * wcsmbs/test-char-types.c: New file.
20179 * wcsmbs/Makefile (tests): Add test-char-types.
20181 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
20184 2018-02-07 Zack Weinberg <zackw@panix.com>
20186 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
20187 Delete all contents except for definitions of _G_HAVE_MMAP and
20188 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
20189 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
20190 sysdeps/unix/sysv/linux/_G_config.h. Make same content
20193 * libio/libio.h: Don't include bits/_G_config.h here.
20194 Include stddef.h with __need_wchar_t defined. Include
20195 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
20196 Define _IO_iconv_t here, directly.
20197 Don't define _IO_HAVE_ST_BLKSIZE.
20198 * libio/libioP.h: Include _G_config.h here. Move include of
20199 shlib-compat.h up with rest of includes. Simplify conditionals
20200 controlling definition of _IO_JUMPS_OFFSET.
20202 * csu/init.c: Remove always-true #if around entire file.
20203 Don't include stdio.h. Set _IO_stdin_used to hardwired
20204 constant 0x20001, and update commentary.
20205 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
20206 Replace all uses of _G_va_list with __gnuc_va_list.
20207 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
20208 instead of #if _IO_HAVE_ST_BLKSIZE.
20209 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
20210 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
20213 * libio/bits/libio.h: Move back to libio/libio.h and adjust
20214 multiple-include guard to match.
20215 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
20217 Remove preprocessor conditionals that are always true and/or
20218 redundant to other preprocessor conditionals in the same nest.
20219 Include shlib-compat.h unconditionally.
20220 Error out if _LIBC is not defined, or if _ISOMAC is defined,
20221 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
20222 defined after including stdio.h.
20223 Use __BEGIN_DECLS/__END_DECLS.
20225 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
20226 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
20227 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
20229 2018-02-07 Zack Weinberg <zackw@panix.com>
20231 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
20232 New single-type headers split from _G_config.h.
20233 * libio/bits/types/cookie_io_functions_t.h
20234 * libio/bits/types/struct_FILE.h
20235 New single-type headers split from libio.h.
20237 * libio/Makefile: Install the above new headers. Don't install
20238 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
20240 * libio/_G_config.h, libio/libio.h: Delete file.
20242 * libio/bits/libio.h: Remove improper-inclusion guard.
20243 Include stdio.h and don't repeat anything that it does.
20244 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
20245 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
20246 __io_read_fn as cookie_read_function_t,
20247 __io_write_fn as cookie_write_function_t,
20248 __io_seek_fn as cookie_seek_function_t,
20249 __io_close_fn as cookie_close_function_t,
20250 and _IO_cookie_io_functions_t as cookie_io_functions_t.
20251 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
20252 here, in the "compatibility defines" section. Remove an #if 0
20253 block. Use the "body" macros from bits/types/struct_FILE.h to
20254 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
20255 and _IO_ferror_unlocked.
20256 Move prototypes of __uflow and __overflow...
20258 * libio/stdio.h: ...here. Don't include bits/libio.h.
20259 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
20260 directly from stdarg.h. Include bits/types/__fpos_t.h,
20261 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
20262 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
20263 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
20264 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
20265 cookie_io_functions_t, not _IO_cookie_io_functions_t;
20266 __ssize_t, not _IO_ssize_t. Unconditionally define
20267 BUFSIZ as 8192 and EOF as (-1).
20269 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
20270 macros from bits/types/struct_FILE.h instead of _IO_* macros
20271 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
20272 instead of _IO_ssize_t.
20273 * libio/bits/stdio2.h: Similarly.
20275 * libio/iolibio.h: Add multiple-include guard.
20276 Include bits/libio.h after stdio.h.
20277 * libio/libioP.h: Add multiple-include guard.
20278 Include stdio.h and bits/libio.h before iolibio.h.
20280 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
20281 * include/bits/types/cookie_io_functions_t.h
20282 * include/bits/types/struct_FILE.h: New wrappers.
20284 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
20285 Get definitions of _G_fpos_t and _G_fpos64_t from
20286 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
20287 respectively. Remove improper-inclusion guards.
20289 * conform/data/stdio.h-data: Update expectations of va_list.
20290 * scripts/check-installed-headers.sh: Remove special case for
20291 libio.h and _G_config.h.
20293 2018-02-07 Joseph Myers <joseph@codesourcery.com>
20297 * include/sys/sysmacros.h [!_ISOMAC]
20298 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
20299 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
20300 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
20301 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
20303 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
20304 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
20306 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
20307 Undefine and redefine to add use __gnu_dev_ prefix.
20308 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
20310 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
20311 and define as hidden inline function.
20312 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
20314 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
20316 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
20317 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
20318 (gnu_dev_minor): Likewise.
20319 (gnu_dev_makedev): Likewise.
20320 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
20322 * posix/wordexp.c (exec_comm_child): Likewise.
20323 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
20324 instead of minor and __gnu_dev_major instead of major.
20325 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
20326 __gnu_dev_major instead of major.
20327 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
20328 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
20329 instead of gnu_dev_minor.
20330 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
20331 (SLAVE_P): Likewise.
20332 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
20333 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
20337 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
20339 * locale/weightwc.h (findidx): Likewise.
20341 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
20343 * manual/probes.texi (slowlog): Delete documentation of removed probe.
20344 (slowlog_inexact): Likewise
20345 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
20346 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
20348 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
20351 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
20352 missing second underscore to parameter name.
20354 2018-02-06 Joseph Myers <joseph@codesourcery.com>
20360 * bits/byteswap.h: Update file comment. Do not include
20361 <bits/byteswap-16.h>.
20362 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
20364 (__bswap_16): Define as inline function.
20365 (__bswap_constant_32): Reformat definition.
20366 (__bswap_32): Always define as inline function, not macro, using
20367 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
20368 otherwise __bswap_constant_32.
20369 (__bswap_constant_64): Reformat definition. Do not use
20370 __extension__ here.
20371 (__bswap_64): Always define as inline function, not macro. Use
20372 __extension__ on function definition. Use __builtin_bswap64 if
20373 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
20374 * string/test-endian-file-scope.c: New file.
20375 * string/test-endian-sign-conversion.c: Likewise.
20376 * string/Makefile (headers): Remove bits/byteswap-16.h.
20377 (tests): Add test-endian-file-scope and
20378 test-endian-sign-conversion.
20379 (CFLAGS-test-endian-sign-conversion.c): New variable.
20380 * bits/byteswap-16.h: Remove file.
20381 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
20382 * sysdeps/ia64/bits/byteswap.h: Likewise.
20383 * sysdeps/m68k/bits/byteswap.h: Likewise.
20384 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20385 * sysdeps/s390/bits/byteswap.h: Likewise.
20386 * sysdeps/tile/bits/byteswap.h: Likewise.
20387 * sysdeps/x86/bits/byteswap-16.h: Likewise.
20388 * sysdeps/x86/bits/byteswap.h: Likewise.
20391 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
20392 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
20393 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
20394 199901L] (__restrict): Define to restrict.
20397 * string/testcopy.c: Include <support/support.h>. Do not include
20398 <malloc.h>. Use <support/test-driver.c>.
20399 (main): Rename to do_test. Make static. Use xmalloc instead of
20403 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
20404 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
20405 (SSIZE_MAX): Define to INT_MAX.
20406 * posix/test-ssize-max.c: New file.
20407 * posix/Makefile (tests): Add test-ssize-max.
20410 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
20411 <support/support.h>. Do not include <malloc.h>.
20412 (query_auxv): Use xmalloc instead of malloc.
20415 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
20416 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
20419 2018-02-06 Florian Weimer <fweimer@redhat.com>
20422 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20423 Use scratch_buffer instead of extend_alloca.
20425 2018-02-06 Zack Weinberg <zackw@panix.com>
20427 * libio/stdio.h: Don't define getc or putc as macros.
20428 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
20429 not _IO_getc and _IO_putc.
20431 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
20432 * stdio-common/tstgetln.c: Don't redefine ssize_t.
20434 2018-02-06 Joseph Myers <joseph@codesourcery.com>
20436 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
20437 (TCP_FASTOPEN_NO_COOKIE): Likewise.
20439 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
20442 * elf/elf.h (NT_PRFPREG): New macro.
20443 (NT_S390_VXRS_LOW): Likewise.
20444 (NT_S390_VXRS_HIGH): Likewise.
20445 (NT_S390_GS_CB): Likewise.
20446 (NT_S390_GS_BC): Likewise.
20447 (NT_S390_RI_CB): Likewise.
20449 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
20450 (MAP_SYNC): New macro.
20451 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
20453 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
20454 (MAP_SYNC): Likewise.
20455 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
20456 (MAP_SYNC): Likewise.
20457 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
20458 (MAP_SYNC): Likewise.
20459 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
20460 (MAP_SYNC): Likewise.
20461 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
20462 (MAP_SYNC): Likewise.
20463 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
20464 (MAP_SYNC): Likewise.
20465 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
20467 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
20470 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
20471 (MAP_SHARED_VALIDATE): New macro.
20472 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20473 (MAP_SHARED_VALIDATE): Likewise.
20475 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20477 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
20478 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
20479 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20481 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20483 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
20484 (DT_NUM): Updated to 35.
20486 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20488 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
20489 __builtin_expect with __glibc_likely and __glibc_unlikely.
20490 (elf_machine_rela): Likewise.
20491 (elf_machine_lazy_rel): Likewise.
20493 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20495 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
20496 __builtin_expect with __glibc_likely and __glibc_unlikely.
20497 (elf_machine_lazy_rel): Likewise.
20499 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20502 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
20504 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
20506 2018-02-05 Andreas Schwab <schwab@suse.de>
20509 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
20512 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20514 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
20515 not check against PTHREAD_STACK_MIN.
20517 2018-02-02 Sean McKean <smckean83@gmail.com>
20520 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
20522 2018-02-02 Florian Weimer <fweimer@redhat.com>
20525 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
20526 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
20527 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
20528 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
20529 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
20530 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
20531 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
20532 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
20533 * manual/llio.texi (Scatter-Gather): Mention offset -1.
20534 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
20535 * misc/tst-preadvwritev2.c (do_test): Call it.
20536 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
20538 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
20540 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
20542 * benchtests/bench-memcmp.c: Print json instead of plain text.
20544 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
20547 2018-02-01 Joseph Myers <joseph@codesourcery.com>
20549 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20551 (s390_sthyi): New syscall.
20553 * sysdeps/generic/ldbl-classify-compat.h: New file.
20554 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
20555 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
20556 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
20557 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
20558 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
20559 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
20560 * sysdeps/ieee754/dbl-64/s_finite.c: Include
20561 <ldbl-classify-compat.h>.
20562 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20563 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
20564 <ldbl-classify-compat.h>.
20565 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20566 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
20567 <ldbl-classify-compat.h>.
20568 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20569 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
20570 <ldbl-classify-compat.h>.
20571 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20572 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
20573 <ldbl-classify-compat.h>.
20574 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20575 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
20576 <ldbl-classify-compat.h>.
20577 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20578 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
20579 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20580 * sysdeps/m68k/coldfire/math_private.h: Remove file.
20581 * sysdeps/microblaze/math_private.h: Likewise.
20582 * sysdeps/nios2/math_private.h: Likewise.
20583 * sysdeps/sh/math_private.h: Likewise.
20585 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
20586 * sysdeps/m68k/coldfire/math_private.h: ... here.
20587 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
20588 * sysdeps/tile/math_private.h: Likewise.
20589 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
20591 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
20594 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
20596 (libc_fetestexcept): Likewise.
20597 (libc_feupdateenv_test): Likewise.
20598 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
20599 (libc_fetestexcept): Likewise.
20600 (libc_feupdateenv_test): Likewise.
20601 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
20602 (libc_fetestexcept): Likewise.
20603 (libc_feupdateenv_test): Likewise.
20604 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
20605 (libc_fetestexcept): Likewise.
20606 (libc_feupdateenv_test): Likewise.
20608 * sysdeps/generic/math_private.h
20609 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
20610 New inline function.
20611 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
20614 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
20615 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
20616 * sysdeps/generic/math_private.h
20617 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
20619 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
20621 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
20623 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
20625 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
20627 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
20629 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
20630 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
20631 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
20632 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
20633 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
20634 (__fegetenv): Likewise.
20635 (fesetenv): Likewise.
20636 (__fesetenv): Likewise.
20637 (feupdateenv): Likewise.
20638 (__feupdateenv): Likewise.
20639 (fegetround): Likewise.
20640 (__fegetround): Likewise.
20641 (fesetround): Likewise.
20642 (__fesetround): Likewise.
20644 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
20645 (feraiseexcept): New macro.
20646 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
20647 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
20649 (__feraiseexcept): Likewise.
20650 (feclearexcept): Likewise.
20651 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
20652 (__feraiseexcept): Likewise.
20653 (feclearexcept): Likewise.
20654 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
20655 (__feraiseexcept): Likewise.
20656 (feclearexcept): Likewise.
20657 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
20658 (__feraiseexcept): Likewise.
20659 (feclearexcept): Likewise.
20660 (fetestexcept): Likewise.
20662 * sysdeps/m68k/coldfire/math-tests.h: New file.
20664 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
20665 * sysdeps/m68k/bits/fenv.h: ... here.
20666 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
20668 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
20670 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
20672 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
20674 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
20676 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
20678 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
20679 (__FE_UNDEFINED): New enum constant.
20680 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
20682 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
20684 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
20686 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
20687 to match generic bits/fenv.h.
20688 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
20691 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
20693 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
20694 * soft-fp/half.h (union _FP_UNION_H): Likewise.
20695 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
20696 * soft-fp/single.h (union _FP_UNION_S): Likewise.
20698 2018-02-01 Carlos O'Donell <carlos@redhat.com>
20699 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
20700 Joseph Myers <joseph@codesourcery.com>
20703 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
20704 (__log1p): Disable -Wmaybe-uninitialized for -Os around
20705 computation using c.
20706 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
20707 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
20708 computation using c.
20710 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20712 * version.h (RELEASE): Set to "development".
20713 (VERSION): Set to "2.27.9000".
20714 * NEWS (2.28): New section.
20716 * version.h (RELEASE): Set to "stable".
20717 (VERSION): Set to "2.27".
20718 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
20720 * NEWS: Add the list of bugs fixed in 2.27.
20722 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20724 * stdlib/test-atexit-race-common.c (do_test): Check stack size
20725 against PTHREAD_STACK_MIN.
20727 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
20729 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
20731 (Rafal Luzynski, Andreas Schwab): Update.
20733 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
20736 * NEWS: List the languages which actually use the alternative
20737 months feature in this release. Also explain that "alt_mon" and
20738 "ab_alt_mon" are optional.
20740 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
20743 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
20745 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
20747 * manual/install.texi (Tools for Compilation): Update the newest
20748 versions of gcc, binutils, texinfo, gawk, bison, and sed.
20749 * INSTALL: Regenerated.
20751 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20753 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
20754 instead of __builtin_expect.
20756 2018-01-30 Florian Weimer <fweimer@redhat.com>
20758 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
20760 * nss/tst-nss-getpwent.c (do_test): Likewise.
20762 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
20765 * localedata/locales/hr_HR (mon): Rename to...
20767 (mon): Import from CLDR (genitive case).
20768 (d_t_fmt): Update the comment.
20770 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
20772 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
20773 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
20774 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
20776 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20778 * mach/Versions: Fix version when __mach_host_self_ was added.
20779 * hurd/Versions: Fix version when _hurd_exec_paths was added.
20780 * sysdeps/mach/hurd/i386/ld.abilist: New file.
20781 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
20782 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
20783 * sysdeps/mach/hurd/i386/libc.abilist: New file.
20784 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
20785 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
20786 * sysdeps/mach/hurd/i386/libm.abilist: New file.
20787 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
20788 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
20789 * sysdeps/mach/hurd/i386/librt.abilist: New file.
20790 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
20791 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
20792 || to respect codestyle.
20793 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
20794 (do_test_bz20181): Rename accordingly.
20795 * malloc/malloc.c: Include <assert.h>.
20796 (assert): Do not define.
20797 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
20798 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
20799 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
20800 * sysdeps/mach/hurd/hp-timing.h: New file.
20801 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
20803 2018-01-29 Darius Rad <darius@bluespec.com>
20805 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
20807 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
20809 * sysdeps/init_array/crti.S (.section .init_array): Add
20810 PREINIT_FUNCTION when defined.
20811 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
20812 * config.h.in: Regenerate.
20813 * manual/platform.texi: Add RISC-V documenation for
20814 __riscv_flush_icache.
20815 * sysdeps/riscv/__longjmp.S: New file.
20816 * sysdeps/riscv/backtrace.c: Likewise.
20817 * sysdeps/riscv/bits/endian.h: Likewise.
20818 * sysdeps/riscv/bits/setjmp.h: Likewise.
20819 * sysdeps/riscv/bits/wordsize.h: Likewise.
20820 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
20821 * sysdeps/riscv/bsd-setjmp.c: Likewise.
20822 * sysdeps/riscv/dl-trampoline.S: Likewise.
20823 * sysdeps/riscv/gccframe.h: Likewise.
20824 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
20825 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
20826 * sysdeps/riscv/machine-gmon.h: Likewise.
20827 * sysdeps/riscv/memusage.h: Likewise.
20828 * sysdeps/riscv/setjmp.S: Likewise.
20829 * sysdeps/riscv/sys/asm.h: Likewise.
20830 * sysdeps/riscv/tls-macros.h: Likewise.
20831 * sysdeps/riscv/dl-tls.h: New file.
20832 * sysdeps/riscv/libc-tls.c: Likewise.
20833 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
20834 * sysdeps/riscv/nptl/tls.h: Likewise.
20835 * sysdeps/riscv/stackinfo.h: Likewise.
20836 * sysdeps/riscv/bits/fenv.h: New file.
20837 * sysdeps/riscv/e_sqrtl.c: Likewise.
20838 * sysdeps/riscv/fpu_control.h: Likewise.
20839 * sysdeps/riscv/math-tests.h: Likewise.
20840 * sysdeps/riscv/nofpu/Implies: Likewise.
20841 * sysdeps/riscv/sfp-machine.h: Likewise.
20842 * sysdeps/riscv/tininess.h: Likewise.
20843 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
20844 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
20845 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
20846 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
20847 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
20848 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
20849 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
20850 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
20851 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
20852 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
20853 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
20854 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
20855 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
20856 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
20857 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
20858 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
20859 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
20860 * sysdeps/riscv/rvd/s_finite.c: Likewise.
20861 * sysdeps/riscv/rvd/s_fma.c: Likewise.
20862 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
20863 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
20864 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
20865 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
20866 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
20867 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
20868 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
20869 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
20870 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
20871 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
20872 * sysdeps/riscv/rvf/fegetround.c: Likewise.
20873 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
20874 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
20875 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
20876 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
20877 * sysdeps/riscv/rvf/fesetround.c: Likewise.
20878 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
20879 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
20880 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
20881 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
20882 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
20883 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
20884 * sysdeps/riscv/rvf/math_private.h: Likewise.
20885 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
20886 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
20887 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
20888 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
20889 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
20890 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
20891 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
20892 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
20893 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
20894 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
20895 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
20896 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
20897 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
20898 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
20899 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
20900 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
20901 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
20902 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
20903 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
20904 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
20905 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
20906 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20907 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
20908 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
20909 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
20910 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
20911 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
20912 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
20913 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
20914 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
20915 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
20916 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
20917 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
20918 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
20919 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
20920 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
20921 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
20922 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
20923 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
20924 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
20925 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
20926 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
20927 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
20928 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
20929 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
20930 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
20931 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
20932 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
20933 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
20934 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
20935 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
20936 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
20937 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
20938 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
20939 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
20940 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
20941 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
20942 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
20943 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
20944 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
20945 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
20946 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
20947 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
20948 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
20949 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20950 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
20951 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
20952 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
20953 * sysdeps/riscv/Implies: New file.
20954 * sysdeps/riscv/Makefile: Likewise.
20955 * sysdeps/riscv/configure: Likewise.
20956 * sysdeps/riscv/configure.ac: Likewise.
20957 * sysdeps/riscv/nptl/Makefile: Likewise.
20958 * sysdeps/riscv/preconfigure: Likewise.
20959 * sysdeps/riscv/rv64/Implies-after: Likewise.
20960 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
20961 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
20962 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
20963 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
20964 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
20965 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
20966 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
20967 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
20968 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
20969 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
20970 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
20971 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
20972 (Config): Likewise.
20974 2018-01-29 Florian Weimer <fweimer@redhat.com>
20977 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
20978 libnsl_hidden_proto.
20979 * include/rpcsvc/yp.h (yp_xdrall): Declare with
20980 libnsl_hidden_proto.
20981 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
20982 * nis/Makefile (libnsl-routines): Add nss-default only for
20983 build-obsolete-nsl.
20984 * nis/nis_defaults.c (__nis_default_ttl): Add
20985 libnsl_hidden_nolink_def.
20986 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
20988 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
20989 * nis/ypclnt.c (yp_maplist): Likewise.
20991 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
20993 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20994 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
20996 2018-01-29 Joseph Myers <joseph@codesourcery.com>
20998 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
20999 clean -dxfq for git updates when replacing sources.
21001 * scripts/build-many-glibcs.py (Config.build_gcc): Use
21002 --disable-libcilkrts unconditionally, not just for the final GCC
21005 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21008 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21011 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
21014 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21017 * localedata/locales/be_BY (mon): Rename to...
21018 (alt_mon): This, then synchronize with CLDR (nominative case).
21019 (abmon): Rename to...
21020 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
21021 (mon): Import from CLDR (genitive case).
21023 * localedata/locales/be_BY@latin (mon): Rename to...
21025 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
21027 * localedata/locales/be_BY@latin (lang_name): Reworded to
21028 "biełaruskaja mova".
21030 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21033 * localedata/locales/el_CY (mon): Renamed to...
21035 (mon): Import from CLDR (genitive case).
21036 * localedata/locales/el_GR: Likewise.
21038 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21041 * localedata/locales/ru_RU (mon): Rename to...
21043 (abmon): Rename to...
21044 (ab_alt_mon): This.
21045 (mon): Import from CLDR (genitive case).
21046 (abmon): Copy from the old content except the 5th month which is
21047 now in the genitive case, even when abbreviated.
21048 * localedata/locales/ru_UA: Likewise.
21049 * time/tst-strptime.c (day_tests): Add an actual example of
21050 a difference between %b and %Ob in Russian.
21052 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21054 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
21055 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
21057 * resolv/res-close.c: Include <stdlib.h>.
21058 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
21059 <sys/wait.h>, <time.h>, <sys/uio.h>.
21060 (NOT_CANCEL_H): Add inclusion guard.
21061 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
21062 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
21063 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
21065 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
21066 vm_address_t * to ElfW(Addr) * for dl_main parameter.
21067 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
21069 * sysdeps/pthread/timer_create.c (timer_create): Do not use
21070 timer_ptr2id to cast struct timer_node * to void *.
21071 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
21072 --disable-libcilkrts to gcc configure.
21073 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
21074 and make them the default for now.
21075 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
21076 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
21077 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
21078 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
21079 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
21081 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
21082 __task_terminate would ever return successfully.
21083 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
21085 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
21086 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
21087 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
21088 critical section to make code simpler and avoid warning.
21089 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
21090 critical section to make code simpler and avoid warning.
21091 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
21092 const char * instead of char *.
21093 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
21094 __hurd_file_name_split, hurd_file_name_split,
21095 __hurd_directory_name_split, hurd_directory_name_split,
21096 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
21097 hurd_file_name_path_lookup): Make lookup function parameter take a
21098 const char *name instead of char *name.
21099 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
21100 __hurd_directory_name_split): Likewise.
21101 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
21102 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
21103 * sysdeps/mach/hurd/check_native.c: New file.
21104 * sysdeps/mach/hurd/check_pf.c: New file.
21105 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
21106 (__freeifaddrs): Define macro to freeifaddrs.
21107 * sysdeps/mach/hurd/libhurduser.abilist: New file.
21108 * sysdeps/mach/libmachuser.abilist: New file.
21109 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
21110 (do_test_bz20181): Rename accordingly.
21111 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
21112 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
21114 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
21115 version only if __USE_EXTERN_INLINES is defined.
21116 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
21117 __hurd_sockfail): Likewise.
21118 (_hurd_fd_get): Always declare functions, and provide inline versions
21119 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
21120 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
21121 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
21122 _hurd_port_set): Always declare functions, and provide inline versions
21123 only if __USE_EXTERN_INLINES and _LIBC are defined and
21125 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
21126 _hurd_critical_section_unlock): Likewise.
21127 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
21128 * __hurd_threadvar_location): Likewise.
21129 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
21130 _hurd_userlink_clear): Likewise.
21131 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
21132 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
21133 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
21134 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
21135 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
21136 __spin_lock_locked): Likewise.
21137 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
21138 __spin_lock_locked): Likewise.
21139 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
21140 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
21141 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
21142 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
21143 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
21144 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
21145 _POSIX_NO_TRUNC): Define to 0.
21146 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
21147 check size against PTHREAD_STACK_MIN.
21148 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
21149 IS_IN(libpthread)]: Include <sigsetops.h>.
21150 * mach/Makefile (user-interfaces): Add mach/gnumach.
21151 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
21152 * sysdeps/mach/configure (mach_interface_list): Regenerate.
21153 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
21154 instead of invalid -1.
21155 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
21156 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
21157 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
21160 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
21162 * hurd/fcntl-internal.h: New file.
21164 2018-01-27 James Clarke <jrtc27@jrtc27.com>
21166 * sysdeps/hppa/fpu/libm-test-ulps: Update.
21168 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21170 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
21173 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
21174 Build only shared objects.
21176 2018-01-26 Carlos O'Donell <carlos@redhat.com>
21178 * README: Update for hppa.
21180 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21182 * sysdeps/sparc/fpu/libm-test-ulps: Update
21183 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
21185 2018-01-26 Carlos O'Donell <carlos@redhat.com>
21189 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21192 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21193 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21194 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21195 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21198 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21201 * bits/types/__cancel_jmp_buf_tag.h: New file.
21202 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21203 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21204 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21205 * nptl/Makefile (headers): Add
21206 bits/types/__cancel_jmp_buf_tag.h.
21207 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21208 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21209 * sysdeps/nptl/pthread.h: Include
21210 <bits/types/__cancel_jmp_buf_tag.h>.
21211 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21213 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21215 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
21218 * localedata/locales/uk_UA (mon): Renamed to...
21220 (alt_digits): "0" removed and then renamed to...
21222 (date_fmt): Definition changed not to use the alternative
21225 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
21227 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
21228 FLAG_RISCV_FLOAT_ABI_DOUBLE.
21229 * elf/elf.h (EF_RISCV_RVC): New define.
21230 (EF_RISCV_FLOAT_ABI): Likewise.
21231 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
21232 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
21233 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
21234 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
21235 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
21237 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
21239 2018-01-25 Andreas Schwab <schwab@suse.de>
21241 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
21243 * sysdeps/gnu/configure: Regenerate.
21244 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
21245 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21247 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
21248 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
21249 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
21250 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
21251 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
21253 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
21255 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
21256 URL, and run autoconf, make it the default for now.
21258 2018-01-24 Joseph Myers <joseph@codesourcery.com>
21260 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21261 soft-float ColdFire configuration.
21263 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
21264 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
21265 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
21267 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
21270 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
21272 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
21274 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
21277 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
21278 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
21279 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
21282 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
21285 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
21286 Rename to __reserved and add comment.
21287 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
21288 Rename to __reserved.
21290 2018-01-24 Joseph Myers <joseph@codesourcery.com>
21292 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21293 i686-gnu configurations.
21294 (Context.run_builds): Include mig, gnumach and hurd in components
21296 (Context.checkout): Add mig, gnumach and hurd to components.
21297 (Context.checkout_tar): Add URL mappings for mig, gnumach and
21299 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
21300 (Config.build): Install gnumach headers, build mig and install
21301 hurd headers for 'gnu' OS.
21302 (Config.install_gnumach_headers): New function.
21303 (Config.install_hurd_headers): Likewise.
21304 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
21305 when building for 'gnu' OS.
21307 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
21309 * manual/tunables.texi (Hardware Capability Tunables): Fix
21312 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
21314 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
21315 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
21316 (ALTMON_11, ALTMON_12): Improve documentation.
21317 * manual/time.texi (strftime): Likewise.
21319 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21322 * localedata/locales/pl_PL: Alternative month names added,
21323 primary month names are genitive now.
21324 * time/tst-strptime.c (day_tests): Actually use a genitive case
21325 of a month name in Polish language.
21327 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21330 * manual/locale.texi: Document ALTMON_1..12 constants for
21331 nl_langinfo. Specify when to use ALTMON instead of MON.
21332 * manual/time.texi (strftime, strptime): Document GNU extension
21333 permitting O modifier with %B and %b. Specify when to use
21336 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21339 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
21340 names, define them as the same as abbreviated month names explicitly.
21341 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
21342 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
21343 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
21344 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
21345 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
21346 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
21347 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
21348 _NL_WABALTMON_12): New enum constants.
21349 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
21350 wab_alt_mon, and ab_alt_mon_defined members.
21351 (time_output): Output ab_alt_mon and wab_alt_mon members.
21352 (time_read): Read them, initialize them as copies of abmon and wabmon
21353 respectively if they are missing, initialize ab_alt_mon_defined.
21354 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
21355 * locale/programs/locfile-kw.h: Regenerate.
21356 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
21357 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
21359 * time/strftime_l.c (a_altmonth, aam_len): New macros.
21360 [!COMPILE_WIDE] (ABALTMON_1): New macro.
21361 (__strftime_internal): Handle %Ob and %Oh formats.
21362 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
21363 (__strptime_internal): Handle %Ob and %Oh formats.
21364 * time/tst-strptime.c (day_tests): Add more tests to parse different
21365 forms of month names including the new %Ob format specifier.
21367 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21370 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
21371 define them as the same as primary full month names explicitly.
21372 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
21373 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
21374 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
21375 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
21376 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
21377 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
21378 _NL_WALTMON_12): New enum constants.
21379 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
21380 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
21382 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
21383 walt_mon, and alt_mon_defined members.
21384 (time_output): Output alt_mon and walt_mon members.
21385 (time_read): Read them, initialize them as copies of mon and wmon
21386 respectively if they are missing, initialize alt_mon_defined.
21387 * locale/programs/locfile-kw.gperf (alt_mon): Define.
21388 * locale/programs/locfile-kw.h: Regenerate.
21389 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
21390 * localedata/tst-langinfo.c (map): Add tests for the new constants
21391 ALTMON_1 .. ALTMON_12.
21392 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
21394 * time/strftime_l.c (f_altmonth): New macro.
21395 (__strftime_internal): Handle %OB format.
21396 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
21397 (__strptime_internal): Handle %OB format.
21398 * time/tst-strptime.c (day_tests): Add tests to parse different forms
21399 of month names including the new %OB format specifier.
21401 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21404 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
21405 from ABORT_TRANSACTION.
21406 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
21407 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
21408 ABORT_TRANSACTION_IMPL): Likewise.
21409 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
21410 Linux code, but remove the code that aborts transactions.
21412 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
21414 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
21416 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
21418 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
21419 in date: "2004-14-09" should be "2004-09-14".
21420 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
21421 "2003-15-09" should be "2003-09-15".
21423 2018-01-18 Arjun Shankar <arjun@redhat.com>
21429 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
21431 (_int_memalign): check for integer overflow before calling
21433 * malloc/tst-malloc-too-large.c: New test.
21434 * malloc/Makefile: Add tst-malloc-too-large.
21436 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
21438 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
21439 in date: "2017-24-07" should be "2017-07-24".
21440 * localedata/locales/mai_IN: Likewise.
21441 * localedata/locales/mai_NP: Likewise.
21443 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
21445 * po/ru.po: Update translations.
21447 2018-01-17 Joseph Myers <joseph@codesourcery.com>
21450 * sysdeps/hppa/backtrace.c: New file.
21452 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
21455 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
21456 align La_x86_64_retval to VEC_SIZE.
21458 2018-01-16 Joseph Myers <joseph@codesourcery.com>
21460 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
21461 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
21463 2018-01-16 Florian Weimer <fweimer@redhat.com>
21465 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
21466 Move tst-thread-exit-clobber ...
21467 [$(CXX)] (tests-unsupported): ... to here.
21469 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21471 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
21472 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
21473 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21474 (_dl_aarch64_cap_flags): Update.
21475 (_DL_HWCAP_COUNT): Update.
21477 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21479 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
21480 (_DL_HWCAP_LAST): Remove.
21481 (_DL_HWCAP_COUNT): Move to ...
21482 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21483 (_DL_HWCAP_COUNT): ... here.
21485 2018-01-16 Florian Weimer <fweimer@redhat.com>
21487 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
21488 mode with GNU extensions.
21490 2018-01-15 Alan Hayward <alan.hayward@arm.com>
21492 * elf/elf.h (NT_ARM_SVE): Define.
21494 2018-01-15 Florian Weimer <fweimer@redhat.com>
21497 * nptl/tst-minstack-throw.cc: New file.
21498 * nptl/Makefile (tests): Add tst-minstack-throw.
21499 (LDLIBS-tst-minstack-throw): Link with libstdc++.
21500 [!CXX] (tests-unsupported): Add tst-minstack-throw.
21502 2018-01-15 Joseph Myers <joseph@codesourcery.com>
21504 * scripts/build-many-glibcs.py (Context.checkout): Default
21505 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
21508 2018-01-13 Carlos O'Donell <carlos@redhat.com>
21511 * elf/elf.h (DF_1_STUB): Define.
21512 (DF_1_PIE): Define.
21514 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21517 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
21518 Do not add 0.5 to integer or out-of-range arguments.
21520 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21522 * po/bg.po: Update translations.
21523 * po/cs.po: Likewise.
21524 * po/de.po: Likewise.
21525 * po/ko.po: Likewise.
21526 * po/pl.po: Likewise.
21527 * po/sv.po: Likewise.
21528 * po/uk.po: Likewise.
21529 * po/vi.po: Likewise.
21531 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21533 * aarch64/start.S (_start): Use __wrap_main.
21534 (__wrap_main): New local symbol.
21536 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21540 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
21541 generic_getcwd if the path returned by getcwd syscall is not absolute.
21542 * io/tst-getcwd-abspath.c: New test.
21543 * io/Makefile (tests): Add tst-getcwd-abspath.
21545 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
21547 * malloc/malloc.c (malloc_consolidate): Add size check.
21549 2018-01-12 Florian Weimer <fweimer@redhat.com>
21551 * support/write_message.c (write_message): Preserve errno.
21552 * support/check.c (print_failure): Likewise.
21553 * support/support_test_verify_impl.c (support_test_verify_impl):
21555 * support/support_test_compare_failure.c
21556 (support_test_compare_failure): Likewise.
21558 2018-01-12 Florian Weimer <fweimer@redhat.com>
21561 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
21562 Prevent installation of libnsl.so.
21563 (libnsl-inhibit-o): Do not build (or install) static libraries.
21565 2018-01-12 Egmont Koblinger <egmont@gmail.com>
21568 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
21569 before the day number which may produce a double space.
21570 (date_fmt): Likewise.
21572 2018-01-12 Joseph Myers <joseph@codesourcery.com>
21574 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
21575 instead of fegetenv.
21577 2018-01-11 Joseph Myers <joseph@codesourcery.com>
21580 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
21581 comment to say exceptions are discarded.
21582 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
21584 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
21587 2018-01-11 Florian Weimer <fweimer@redhat.com>
21589 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
21592 2018-01-11 Florian Weimer <fweimer@redhat.com>
21595 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
21596 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
21598 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21601 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
21602 negative arguments in test for NaN or infinity argument.
21604 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
21606 * po/libc.pot: Regenerate.
21608 2018-01-10 Florian Weimer <fweimer@redhat.com>
21611 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
21612 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
21614 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21616 * hurd/hurd/fd.h: Include <fcntl.h>
21617 (__hurd_at_flags): New function.
21618 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
21619 with call to __hurd_at_flags.
21620 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
21621 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
21623 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
21624 (__access_noerrno): Use __faccessat_common instead of access_common.
21625 (__access): Likewise.
21626 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
21627 with a call to __faccessat.
21628 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
21629 (__faccessat_common): ... this. Move implementation of __access into it when
21630 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
21631 reauthenticate_cwdir_at helper to implement AT mechanism.
21632 (__faccessat_noerrno): New function, just calls __faccessat_common.
21633 (__faccessat): New function, just calls __faccessat_common.
21634 (faccessat): Define weak alias.
21636 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21639 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21640 (CFLAGS-s_fmaxmagl.c): New variable.
21641 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
21644 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
21645 long int for arguments of possibly overflowing addition or
21647 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21649 2018-01-09 Joseph Myers <joseph@codesourcery.com>
21652 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21653 (CFLAGS-e_remainderl.c): New variable.
21656 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
21658 (CFLAGS-s_cacoshl.c): Likewise.
21659 (CFLAGS-s_casinhl.c): Likewise.
21660 (CFLAGS-s_catanl.c): Likewise.
21661 (CFLAGS-s_catanhl.c): Likewise.
21662 (CFLAGS-s_cexpl.c): Likewise.
21663 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
21664 (CFLAGS-s_csinhl.c): Likewise.
21665 (CFLAGS-s_clogl.c): Likewise.
21666 (CFLAGS-s_clog10l.c): Likewise.
21667 (CFLAGS-s_csinl.c): Likewise.
21668 (CFLAGS-s_csqrtl.c): Likewise.
21670 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
21671 2017-01-09 Svante Signell <svante.signell@gmail.com>
21673 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
21674 (_hurd_exec_paths): New function.
21675 * hurd/hurd.h (_hurd_exec): Deprecate function.
21676 (_hurd_exec_paths): Declare function.
21677 * hurd/Versions: Export _hurd_exec_paths.
21678 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
21679 (__execve): Use __getcwd to build absolute path, and use
21680 _hurd_exec_paths instead of _hurd_exec.
21681 * sysdeps/mach/hurd/spawni.c: Likewise.
21682 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
21685 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
21687 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
21688 test instead of failing in case of ENOENT returned by posix_openpt.
21690 2018-01-08 Florian Weimer <fweimer@redhat.com>
21692 resolv: Support binary labels in test framework.
21693 * support/resolv_test.c (struct to_be_freed): Remove.
21694 (struct compressed_name): New.
21695 (allocate_compressed_name, ascii_tolower)
21696 (compare_compressed_name): New functions.
21697 (struct resolv_response_builder): Update type of
21698 compression_offsets for use with tsearch. Rempve to_be_freed.
21699 (response_push_pointer_to_free): Remove function.
21700 (resolv_response_add_name): Rewrite using struct compressed_name
21701 and tsearch instead of hsearch_r.
21702 (response_builder_allocate): Remove initialization of
21703 compression_offsets.
21704 (response_builder_free): Update for removal of to_be_freed. Use
21705 tdestroy instead of hdestroy_r.
21706 * resolv/Makefile (tests): Add tst-resolv-binary.
21707 (tst-resolv-binary): Link with -lresolv -lpthread.
21709 2018-01-08 Florian Weimer <fweimer@redhat.com>
21711 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
21712 time. Pass positive flag instead of negative flag to
21713 support_test_compare_failure.
21714 (support_test_compare_failure): Change negative parameter to
21716 * support/support_test_compare_failure.c (report)
21717 (support_test_compare_failure): Likewise.
21718 * support/tst-test_compare.c (return_ssize_t, return_int): New.
21719 (do_test): Check int/size_t, ssize_t/size_t comparisons.
21721 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
21724 * nptl/descr.h (stackblock, stackblock_size): Update comments.
21725 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
21726 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
21728 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21730 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
21732 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21733 Add s_sincosf-sse2 and s_sincosf-fma.
21734 (CFLAGS-s_sincosf-fma.c): New.
21735 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
21736 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
21737 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
21738 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
21739 __sincosf is defined.
21741 2018-01-08 Florian Weimer <fweimer@redhat.com>
21743 * nptl/tst-thread-exit-clobber.cc: New file.
21744 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
21746 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
21747 (tests): Add tst-thread-exit-clobber.
21748 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
21750 2018-01-08 Florian Weimer <fweimer@redhat.com>
21752 * support/check.h (support_static_assert): Define.
21753 (TEST_COMPARE): Use it.
21755 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
21757 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
21758 [!__RLIM_T_MATCHES_RLIM64_T]
21759 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
21760 __getrlimit64. Add libc_hidden_weak.
21762 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
21764 * elf/elf.h (R_RISCV_NONE): New define.
21765 (R_RISCV_32): Likewise.
21766 (R_RISCV_64): Likewise.
21767 (R_RISCV_RELATIVE): Likewise.
21768 (R_RISCV_COPY): Likewise.
21769 (R_RISCV_JUMP_SLOT): Likewise.
21770 (R_RISCV_TLS_DTPMOD32): Likewise.
21771 (R_RISCV_TLS_DTPMOD64): Likewise.
21772 (R_RISCV_TLS_DTPREL32): Likewise.
21773 (R_RISCV_TLS_DTPREL64): Likewise.
21774 (R_RISCV_TLS_TPREL32): Likewise.
21775 (R_RISCV_TLS_TPREL64): Likewise.
21776 * Makerules (make-link-multidir): Make directories before linking into
21778 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
21780 (VDSO_HASH_LINUX_4_15): Likewise.
21781 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
21782 in subdirectories of lib.
21783 * nptl/Makefile (/librt.so): Always depend on
21784 "$(shared-thread-library)".
21786 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21788 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
21789 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
21790 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
21792 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
21793 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21795 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
21796 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
21797 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
21798 * sysdeps/gnu/glob-lstat-compat.c: New file.
21799 * sysdeps/gnu/glob64-lstat-compat.c: New file.
21800 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
21802 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21804 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
21805 Reserve 16 chars to reloc_addr before calling _itoa_word.
21807 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21810 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
21811 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
21813 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
21814 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
21816 * resource/tst-getrlimit.c: Add copyright header.
21818 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21819 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21821 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21822 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
21823 Define __GI_getrlimit64 as weak alias of __getrlimit64.
21824 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
21826 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
21827 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
21828 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
21829 RLIM64_INFINITY): Fix values to match the kernel ones.
21830 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
21831 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
21832 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
21833 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
21834 getrlimit64@@GLIBC_2_27.
21835 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
21837 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
21838 getrlimit, setrlimit, getrlimit64 and setrlimit64.
21839 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
21840 setrlimit, getrlimit64 and setrlimit64.
21842 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
21845 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
21846 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
21848 2018-01-04 Joseph Myers <joseph@codesourcery.com>
21850 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
21851 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
21852 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
21854 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21858 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
21859 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
21863 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
21864 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
21865 * sysdeps/alpha/fpu/s_floor.c: Likewise.
21866 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
21868 2018-01-04 Florian Weimer <fweimer@redhat.com>
21871 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21872 Align the stack before calling exit.
21873 * stdlib/tst-makecontext-align.c: New file.
21874 * stdlib/Makefile (tests): Add tst-makecontext-align.
21876 2018-01-04 Florian Weimer <fweimer@redhat.com>
21878 Add support for calling dlvsym from libc.so.
21879 * include/dlfcn.h (__libc_dlvsym): Declare.
21880 * elf/Makefile (tests-static-internal): Add
21881 tst-libc_dlvsym-static.
21882 (tests-internal): Add tst-libc_dlvsym.
21883 (modules-names): Add tst-libc_dlvsym-dso.
21884 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
21885 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
21886 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
21887 object tst-libc_dlvsym-dso.so needs to be built before running
21889 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
21890 * elf/Versions: Export __libc_dlvsym.
21891 * elf/dl-libc.c (struct do_dlvsym_args): New.
21892 (do_dlvsym, __libc_dlvsym): New functions.
21893 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
21894 (_dl_open_hook2): New variable.
21895 (__libc_register_dl_open_hook): Set it.
21896 * elf/tst-libc_dlvsym-dso.c: New file.
21897 * elf/tst-libc_dlvsym-static.c: Likewise.
21898 * elf/tst-libc_dlvsym.c: Likewise.
21899 * elf/tst-libc_dlvsym.h: Likewise.
21901 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21903 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
21904 include <sys/mount.h>.
21906 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
21908 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
21909 Add __NO_MATH_ERRNO__ check.
21911 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21913 * sysdeps/mips/mips32/libm-test-ulps: Update.
21914 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21916 2018-01-02 Florian Weimer <fweimer@redhat.com>
21918 * misc/tst-pselect.c: Add copyright header.
21920 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21922 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
21924 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
21926 (settrlimit): Rename into setrlimit.
21927 (__sttrlimit): Rename into __setrlimit.
21929 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
21930 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
21931 never defined in that case.
21933 2018-01-02 Joseph Myers <joseph@codesourcery.com>
21935 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
21937 * sysdeps/arm/libm-test-ulps: Update.
21939 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
21940 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
21942 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21944 * NEWS: Add cosf and sincosf to list of optimized functions.
21946 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
21949 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
21950 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
21951 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
21952 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
21954 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
21957 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
21959 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
21960 making a copy of it.
21962 2018-01-01 Joseph Myers <joseph@codesourcery.com>
21964 * manual/texinfo.tex: Update to version 2017-12-26.21 with
21965 trailing whitespace removed.
21966 * scripts/config.guess: Update to version 2018-01-01.
21967 * scripts/config.sub: Update to version 2018-01-01.
21968 * scripts/move-if-change: Update from gnulib.
21970 * NEWS: Update copyright dates.
21971 * catgets/gencat.c (print_version): Likewise.
21972 * csu/version.c (banner): Likewise.
21973 * debug/catchsegv.sh: Likewise.
21974 * debug/pcprofiledump.c (print_version): Likewise.
21975 * debug/xtrace.sh (do_version): Likewise.
21976 * elf/ldconfig.c (print_version): Likewise.
21977 * elf/ldd.bash.in: Likewise.
21978 * elf/pldd.c (print_version): Likewise.
21979 * elf/sotruss.sh: Likewise.
21980 * elf/sprof.c (print_version): Likewise.
21981 * iconv/iconv_prog.c (print_version): Likewise.
21982 * iconv/iconvconfig.c (print_version): Likewise.
21983 * locale/programs/locale.c (print_version): Likewise.
21984 * locale/programs/localedef.c (print_version): Likewise.
21985 * login/programs/pt_chown.c (print_version): Likewise.
21986 * malloc/memusage.sh (do_version): Likewise.
21987 * malloc/memusagestat.c (print_version): Likewise.
21988 * malloc/mtrace.pl: Likewise.
21989 * manual/libc.texinfo: Likewise.
21990 * nptl/version.c (banner): Likewise.
21991 * nscd/nscd.c (print_version): Likewise.
21992 * nss/getent.c (print_version): Likewise.
21993 * nss/makedb.c (print_version): Likewise.
21994 * posix/getconf.c (main): Likewise.
21995 * scripts/test-installation.pl: Likewise.
21996 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21998 * All files with FSF copyright notices: Update copyright dates
21999 using scripts/update-copyrights.
22000 * locale/programs/charmap-kw.h: Regenerated.
22001 * locale/programs/locfile-kw.h: Likewise.
22003 2017-12-31 Zack Weinberg <zackw@panix.com>
22005 * libio/bits/libio-ldbl.h: Correct check for improper
22006 inclusion. Add own multiple include guard.
22008 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
22009 Dmitry V. Levin <ldv@altlinux.org>
22013 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
22014 string token expansion. Check for NULL pointer or empty string possibly
22015 returned by expand_dynamic_string_token.
22016 (decompose_rpath): Check for empty path after dynamic string
22019 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
22022 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
22024 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
22025 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
22026 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
22027 and PTRACE_SYSCALL.
22028 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
22029 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22030 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22032 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22033 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22035 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
22036 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22037 __ptrace_peeksiginfo_flags, ptrace): Move to ...
22038 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
22039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22040 bits/ptrace-shared.h.
22041 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
22042 <bits/ptrace-shared.h>.
22043 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22044 __ptrace_peeksiginfo_flags, ptrace): Remove.
22045 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22046 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22047 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22048 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22049 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22051 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22054 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
22055 end of the loop. Improve comments.
22057 2017-12-29 Zack Weinberg <zackw@panix.com>
22060 * manual/errno.texi (Checking for Errors): Explicitly say that errno
22061 might be set on success.
22063 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22066 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
22067 is unchanged on success.
22069 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
22071 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
22073 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
22074 expand_dynamic_string_token): Likewise.
22075 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
22078 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
22081 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
22082 is set and name contains ':', and all code depending on these checks.
22084 2017-12-24 Zack Weinberg <zackw@panix.com>
22086 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
22087 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
22089 * libio/libio.h: Rename the original version of this file to
22090 libio/bits/libio.h. Error out if not included by stdio.h or the
22092 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
22093 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
22094 if not included by bits/libio.h or the stub _G_config.h.
22095 * sysdeps/unix/sysv/linux/_G_config.h: Move to
22096 sysdeps/unix/sysv/linux/bits. Error out if not included by
22097 bits/libio.h or the stub _G_config.h.
22098 * libio/stdio.h: Include bits/libio.h, not libio.h.
22099 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
22100 well as libio.h and _G_config.h.
22102 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
22103 * libio/strfile.h, stdio-common/vfscanf.c
22104 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
22105 Include stdio.h, not _G_config.h nor libio.h.
22106 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
22107 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
22109 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
22111 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
22114 * stdlib/getrandom.c (getrandom): Fix comment.
22115 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
22117 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
22120 * manual/arith.texi (strtoul): Fix a typo.
22123 * manual/arith.texi (finite): Fix the description of the return
22126 2017-12-22 Eric Blake <ebb9@byu.net>
22128 Avoid gcc warnings on cygwin
22129 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
22130 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
22131 Avoid unused variable.
22133 2017-12-22 Florian Weimer <fweimer@redhat.com>
22135 * io/Makefile (routines): Add copy_file_range.
22136 (tests): Add tst-copy_file_range.
22137 (tests-static, tests-internal): Add tst-copy_file_range-compat.
22138 * io/Versions (GLIBC_2.27): Export copy_file_range.
22139 * io/copy_file_range-compat.c: New file.
22140 * io/copy_file_range.c: Likewise.
22141 * io/tst-copy_file_range-compat.c: Likewise.
22142 * io/tst-copy_file_range.c: Likewise.
22143 * manual/llio.texi (Copying File Data): New section.
22144 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
22145 * support/Makefile (libsupport-routines): Add support-xfstat,
22146 xftruncate, xlseek.
22147 * support/support-xfstat.c: New file.
22148 * support/xftruncate.c: Likewise.
22149 * support/xlseek.c: Likewise.
22150 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
22151 * sysdeps/unix/sysv/linux/**.abilist: Update.
22152 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
22154 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
22156 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22157 disable-multi-arch variant to aarch64-linux-gnu.
22159 2017-12-20 Joseph Myers <joseph@codesourcery.com>
22161 * manual/texinfo.tex: Update to version 2017-12-18.20 with
22162 trailing whitespace removed.
22163 * scripts/config.guess: Update to version 2017-12-17.
22164 * scripts/config.sub: Update to version 2017-11-23.
22165 * scripts/install-sh: Update to version 2017-09-23.17.
22166 * scripts/move-if-change: Update to version 2017-09-13 06:45.
22168 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22170 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
22171 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22172 * sysdeps/tile/_mcount.S (__mcount): Likewise.
22173 * sysdeps/tile/crti.S (_init, _fini): Likewise.
22174 * sysdeps/tile/crtn.S: Likewise.
22175 * sysdeps/tile/dl-start.S (_start): Likewise.
22176 * sysdeps/tile/dl-trampoline.S: Likewise.
22177 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
22178 * sysdeps/tile/start.S (_start): Likewise.
22179 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
22180 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
22181 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
22182 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
22183 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
22184 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
22185 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
22187 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
22189 * sysdeps/tile/preconfigure: Remove tilegx folder.
22190 * sysdeps/tile/tilegx/Implies: Move definitions to ...
22191 * sysdeps/tile/Implies: ... here.
22192 * sysdeps/tile/tilegx/Makefile: Move rules to ...
22193 * sysdeps/tile/Makefile: ... here.
22194 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
22195 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
22196 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
22197 * sysdeps/tile/bits/wordsize.h: ... here.
22198 * sysdeps/tile/tilegx/*: Move to ...
22199 * sysdeps/tile/*: ... here.
22200 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
22201 * sysdeps/tile/tilegx32/Implies: ... here.
22202 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
22203 * sysdeps/tile/tilegx64/Implies: ... here.
22204 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
22206 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
22207 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
22208 * sysdeps/unix/sysv/linux/tile/*: ... here.
22209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
22210 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
22211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
22212 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
22214 * README: Remove tilepro-*-linux-gnu from supported architecture.
22215 * scripts/build-many-glibcs.py: Likewise.
22216 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22217 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
22218 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
22219 elf_machine_matches_host, elf_machine_dynamic,
22220 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
22221 howto, elf_machine_rela): Likewise.
22222 * sysdeps/tile/dl-start.S (_start): Likewise.
22223 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
22224 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
22225 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
22226 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
22227 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
22228 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
22230 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
22231 * sysdeps/tile/preconfigure: Likewise.
22232 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
22233 POINTER_CHK_GUARD): Likewise.
22234 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
22235 * sysdeps/tile/start.S (_start): Likewise.
22236 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
22238 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
22239 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
22241 * sysdeps/unix/sysv/linux/tile/bits/environments.h
22242 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
22243 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
22245 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
22246 * sysdeps/tile/tilepro/Implies: Remove file.
22247 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
22248 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
22249 * sysdeps/tile/tilepro/memchr.c: Likewise.
22250 * sysdeps/tile/tilepro/memcpy.S: Likewise.
22251 * sysdeps/tile/tilepro/memset.c: Likewise.
22252 * sysdeps/tile/tilepro/memusage.h: Likewise.
22253 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
22254 * sysdeps/tile/tilepro/strchr.c: Likewise.
22255 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
22256 * sysdeps/tile/tilepro/strlen.c: Likewise.
22257 * sysdeps/tile/tilepro/strrchr.c: Likewise.
22258 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
22259 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
22260 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22261 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
22262 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
22263 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
22265 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
22266 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22267 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
22268 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
22269 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22270 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
22271 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
22272 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
22273 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
22274 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
22275 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
22276 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
22277 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
22278 tilepro mention in comment.
22280 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
22281 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
22282 * nptl/pthread_join_common.c: New file: common function used on
22283 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
22284 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
22285 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
22286 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22287 (cleanup): Move definition to pthread_join_common.c.
22288 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
22289 Remove superflous checks.
22290 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
22293 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
22295 * sysdeps/aarch64/libm-test-ulps: Update.
22297 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22299 * sysdeps/aarch64/memset.S (MEMSET): Define.
22301 2017-12-20 Florian Weimer <fweimer@redhat.com>
22304 nptl: Provide full implementation of pthread_self in libc.so.
22305 * nptl/Makefile (routines): Add pthread_self.
22306 (libpthread-routines): Replace pthread_self with
22307 compat-pthread_self.
22308 * nptl/forward.c (pthread_self): Remove.
22309 * nptl/nptl-init.c (pthread_functions): Do not initialize
22311 * nptl/pthread_self.c (pthread_self): Remove weak alias.
22312 * nptl/compat-pthread_self.c: New file.
22313 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
22314 Remove ptr_pthread_self.
22316 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
22318 * posix/regcomp.c: Fix spelling in comments.
22319 * posix/regex.h: Likewise.
22320 * posix/regex_internal.c: Likewise.
22321 * posix/regexec.c: Likewise.
22323 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
22326 * math/Makefile [C++] (tests): Add test for iseqsig.
22327 * math/math.h [C++] (iseqsig): New implementation, which does
22328 not rely on __MATH_TG/__builtin_types_compatible_p.
22329 * math/test-math-iseqsig.cc: New file.
22330 * sysdeps/powerpc/powerpc64le/Makefile
22331 (CFLAGS-test-math-iseqsig.cc): New variable.
22333 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
22335 * elf/dl-load.c (is_trusted_path): Remove.
22336 (fillin_rpath): Remove check_trusted argument and its use,
22337 all callers changed.
22339 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22342 * Makeconfig (link-pie-before-libc): Replace -pie with
22343 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
22344 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
22345 (tst-dlopen-aout-no-pie): New.
22346 (LDFLAGS-tst-prelink): Removed.
22347 (tst-prelink-no-pie): New.
22348 (LDFLAGS-tst-main1): Removed.
22349 (tst-main1-no-pie): New.
22350 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
22351 (tst-gmon-no-pie): New.
22353 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22355 * manual/install.texi: Document that --enable-static-pie
22357 * INSTALL: Regenerated.
22359 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
22362 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
22365 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22369 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22373 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22375 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22376 <errno.h>. Include "eexp.tbl".
22377 (half): New constant.
22379 (__ieee754_exp): Rewrite.
22380 (__slowexp): Remove prototype.
22381 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22382 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22383 * sysdeps/i386/fpu/slowexp.c: Likewise.
22384 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22385 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22386 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22387 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22388 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22389 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22390 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22392 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22393 (CPPFLAGS-slowexp.c): Remove variable.
22394 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22395 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22396 (CFLAGS-slowexp-fma.c): Remove variable.
22397 (CFLAGS-slowexp-fma4.c): Likewise.
22398 (CFLAGS-slowexp-avx.c): Likewise.
22399 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22401 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22402 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22403 * math/Makefile (type-double-routines): Remove slowexp.
22404 * manual/probes.texi (slowexp_p6): Remove.
22405 (slowexp_p32): Likewise.
22407 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22409 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
22412 * lib/glob.c (glob): Do not pass NULL to mempcpy.
22414 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22418 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22420 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22421 <errno.h>. Include "eexp.tbl".
22422 (half): New constant.
22424 (__ieee754_exp): Rewrite.
22425 (__slowexp): Remove prototype.
22426 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22427 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22428 * sysdeps/i386/fpu/slowexp.c: Likewise.
22429 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22430 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22431 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22432 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22433 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22434 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22435 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22437 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22438 (CPPFLAGS-slowexp.c): Remove variable.
22439 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22440 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22441 (CFLAGS-slowexp-fma.c): Remove variable.
22442 (CFLAGS-slowexp-fma4.c): Likewise.
22443 (CFLAGS-slowexp-avx.c): Likewise.
22444 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22446 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22447 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22448 * math/Makefile (type-double-routines): Remove slowexp.
22449 * manual/probes.texi (slowexp_p6): Remove.
22450 (slowexp_p32): Likewise.
22452 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22453 James Clarke <jrtc27@jrtc27.com>
22456 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
22459 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22462 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
22465 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22468 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22469 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22470 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22471 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22474 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22477 * bits/types/__cancel_jmp_buf_tag.h: New file.
22478 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22479 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22480 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22481 * nptl/Makefile (headers): Add
22482 bits/types/__cancel_jmp_buf_tag.h.
22483 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22484 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22485 * sysdeps/nptl/pthread.h: Include
22486 <bits/types/__cancel_jmp_buf_tag.h>.
22487 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22489 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22491 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22493 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22494 --enable-static-pie variants to x86_64, x32 and i686.
22496 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22499 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
22500 argument for attrubutes. All callers changed.
22501 (__inline_mathop1): Likewise. All callers changed.
22502 (__inline_mathop): Likewise. All callers changed.
22503 [__USE_MISC] (scalbn): Use __inline_forward instead of
22504 __inline_forward_c.
22505 [__USE_ISOC99] (scalbln): Likewise.
22506 [__USE_ISOC99] (nearbyint): Likewise.
22507 [__USE_ISOC99] (lrint): Likewise.
22508 [__USE_MISC] (scalbnf): Likewise.
22509 [__USE_ISOC99] (scalblnf): Likewise.
22510 [__USE_ISOC99] (nearbyintf): Likewise.
22511 [__USE_ISOC99] (lrintf): Likewise.
22512 [__USE_MISC] (scalbnl): Likewise.
22513 [__USE_ISOC99] (scalblnl): Likewise.
22514 [__USE_ISOC99] (nearbyintl): Likewise.
22515 [__USE_ISOC99] (lrintl): Likewise.
22516 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
22517 __inline_mathop and __m81_defun changed.
22519 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
22520 CPU or FPU for ARM hard-float configurations.
22522 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22524 * nptl/tst-attr3.c: Include <libc-diag.h>.
22525 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
22527 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
22529 * string/tester.c (test_strncat): Also disable -Warray-bounds
22530 warnings for two tests.
22532 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22535 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
22536 $(cc-pie-default) == yes.
22537 * config.make.in (cc-pie-default): New.
22538 * configure.ac (libc_cv_pie_default): Renamed to ...
22539 (libc_cv_cc_pie_default): This.
22540 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
22541 * configure: Regenerated.
22543 2017-12-18 Florian Weimer <fweimer@redhat.com>
22546 ld.so: Harden dl-libc/libdl hooks.
22547 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
22548 (rtld_active): New function.
22549 * dlfcn/dladdr.c (__dladdr): Call it.
22550 * dlfcn/dladdr1.c (__dladdr1): Likewise.
22551 * dlfcn/dlclose.c (__dlcose): Likewise.
22552 * dlfcn/dlerror.c (__dlerror): Likewise.
22553 * dlfcn/dlinfo.c (__dlinfo): Likewise.
22554 * dlfcn/dlmopen.c (__dlmopen): Likewise.
22555 * dlfcn/dlopen.c (__dlopen): Likewise.
22556 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22557 * dlfcn/dlsym.c (__dlsym): Likewise.
22558 * dlfcn/dlvsym.c (__dlvsym): Likewise.
22559 * libio/vtables.c (_IO_vtable_check): Likewise.
22560 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
22561 (__libc_dlclose): Likewise.
22562 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
22565 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22568 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
22569 buffers for readlink input and output.
22571 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
22574 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
22575 inhibit_stack_protector.
22578 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
22579 inhibit_stack_protector.
22581 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
22584 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
22585 code and invocation.
22587 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
22589 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
22591 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
22594 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
22596 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22598 * sysdeps/s390/fpu/libm-test-ulps: Update.
22600 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22604 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22606 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
22607 constants to s_sincosf.h file.
22608 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22609 * sysdeps/ieee754/flt-32/s_sincosf.c: New
22611 * sysdeps/ieee754/flt-32/s_sincosf.h:
22614 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22617 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
22620 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
22623 * INSTALL: Regenerated.
22624 * Makeconfig (real-static-start-installed-name): New.
22625 (pic-default): Updated for --enable-static-pie.
22626 (pie-default): New for --enable-static-pie.
22627 (default-pie-ldflag): Likewise.
22628 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
22629 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
22630 Replace $(static-start-installed-name) with
22631 $(real-static-start-installed-name).
22632 (+prectorT): Updated for --enable-static-pie.
22633 (+postctorT): Likewise.
22634 (CFLAGS-.o): Add $(pie-default).
22635 (CFLAGS-.op): Likewise.
22636 * NEWS: Mention --enable-static-pie.
22637 * config.h.in (ENABLE_STATIC_PIE): New.
22638 * configure.ac (--enable-static-pie): New configure option.
22639 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
22640 (have-static-pie): Likewise.
22641 Enable static PIE if linker supports --no-dynamic-linker.
22642 (ENABLE_STATIC_PIE): New AC_DEFINE.
22643 (enable-static-pie): New LIBC_CONFIG_VAR.
22644 * configure: Regenerated.
22645 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
22646 gr$(start-installed-name) for --enable-static-pie.
22647 (extra-objs): Likewise.
22648 (install-lib): Likewise.
22649 (extra-objs): Add static-reloc.o and static-reloc.os
22650 ($(objpfx)$(start-installed-name)): Also depend on
22651 $(objpfx)static-reloc.o.
22652 ($(objpfx)r$(start-installed-name)): New.
22653 ($(objpfx)g$(start-installed-name)): Also depend on
22654 $(objpfx)static-reloc.os.
22655 ($(objpfx)gr$(start-installed-name)): New.
22656 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
22658 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
22660 * csu/static-reloc.c: New file.
22661 * elf/Makefile (routines): Add dl-reloc-static-pie.
22662 (elide-routines.os): Likewise.
22663 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
22664 (tst-tls1-static-non-pie-no-pie): New.
22665 * elf/dl-reloc-static-pie.c: New file.
22666 * elf/dl-support.c (_dl_get_dl_main_map): New function.
22667 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
22668 STATIC_PIE_BOOTSTRAP.
22669 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
22670 * gmon/Makefile (tests): Add tst-gmon-static-pie.
22671 (tests-static): Likewise.
22672 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
22673 (tst-gmon-static-no-pie): New.
22674 (CFLAGS-tst-gmon-static-pie.c): Likewise.
22675 (CRT-tst-gmon-static-pie): Likewise.
22676 (tst-gmon-static-pie-ENV): Likewise.
22677 (tests-special): Likewise.
22678 ($(objpfx)tst-gmon-static-pie.out): Likewise.
22679 (clean-tst-gmon-static-pie-data): Likewise.
22680 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
22681 * gmon/tst-gmon-static-pie.c: New file.
22682 * manual/install.texi: Document --enable-static-pie.
22683 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
22684 (_dl_get_dl_main_map): Likewise.
22685 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
22686 * sysdeps/x86_64/configure.ac: Likewise.
22687 * sysdeps/i386/configure: Regenerated.
22688 * sysdeps/x86_64/configure: Likewise.
22689 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
22690 (ASFLAGS-.op): Likewise.
22692 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22694 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
22695 * posix/tst-mmap-offset.c (fname): Use /tmp.
22696 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
22698 2017-12-15 Steve Ellcey <sellcey@cavium.com>
22700 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
22702 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
22704 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
22707 2017-12-15 Joseph Myers <joseph@codesourcery.com>
22709 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
22710 --with-float=hard for arm-linux-gnueabihf configurations.
22713 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
22714 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
22715 ($(mo-installed)): Use $(objpfx)%.mo.
22716 (realclean): Remove rule.
22718 * po/Makefile (linguas): Remove rule and dependencies.
22719 (linguas.mo): Likewise.
22720 (.PHONY): Do not depend on linguas and linguas.mo.
22721 (podir): Remove variable.
22722 (pofiles): Likewise.
22723 [$(pofiles)] (%.po): Remove rule.
22725 * sysdeps/sparc/sparc32/Makefile
22726 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
22727 start-of-line whitespace in argument of echo.
22728 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
22729 with whitespace. Generate __wrap_.udiv alias.
22730 * sysdeps/sparc/sparc32/rem.S: Regenerated.
22731 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22732 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22733 * sysdeps/sparc/sparc32/urem.S: Likewise.
22735 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22737 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
22738 for aligned inputs.
22740 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
22742 * benchtests/bench-strcmp.c: Print output in JSON format.
22744 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
22746 2017-12-14 Florian Weimer <fweimer@redhat.com>
22750 * elf/dl-load.c (_dl_init_paths): Compute number of components in
22751 the expanded path string.
22753 2017-12-14 Florian Weimer <fweimer@redhat.com>
22757 * elf/dl-load.c (system_dirs): Update comment.
22758 (nsystem_dirs_len): Use array_length.
22759 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
22761 2017-12-14 Florian Weimer <fweimer@redhat.com>
22763 Simplify compiling most of support/ outside of glibc.
22764 * support/check_addrinfo.c: Include <string.h>.
22765 * support/check_dns_packet.c: Likewise.
22766 * support/check_hostent.c: Likewise.
22767 * support/support_can_chroot.c: Include <support/xunistd.h>.
22768 * support/support_format_addrinfo.c: Include <stdlib.h>
22769 * support/support_format_dns_packet.c: Include <stdbool.h>.
22770 * support/support_format_hostent.c: Include <stdlib.h>.
22771 * support/support_format_netent.c: Likewise.
22772 * support/support_write_string.c: Include <support/xunistd.h>.
22773 * support/xdlfcn.c: Include <stddef.h>.
22775 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
22777 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
22779 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22780 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22782 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22783 (sysdeps_routines): Add memset-niagara7.
22784 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
22786 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
22788 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
22789 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22790 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
22791 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
22792 Add niagara7 option.
22793 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
22796 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22797 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
22798 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
22800 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
22802 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
22803 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
22804 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
22805 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
22806 and __memmove_niagara7.
22807 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
22808 Add niagara7 option.
22809 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
22810 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
22811 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
22812 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
22813 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
22815 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
22817 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
22818 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
22819 * sysdeps/sparc/sparc64/memmove.S: Likewise.
22820 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
22822 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
22823 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
22824 _dl_sparc_cap_flags array.
22825 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
22827 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
22829 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
22830 time whenever possible.
22832 2017-12-12 Carlos O'Donell <carlos@redhat.com>
22834 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
22835 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
22837 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22839 * soft-fp/fmadf4.c: Move to ....
22840 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
22841 * soft-fp/fmasf4.c: Move to ....
22842 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
22843 * soft-fp/fmatf4.c: Move to ....
22844 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
22845 * sysdeps/ieee754/soft-fp/Makefile: New file.
22846 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
22847 * sysdeps/arm/preconfigure: Regenerated.
22848 * sysdeps/arm/nofpu/Implies: New file.
22849 * sysdeps/arm/s_fma.c: Remove file.
22850 * sysdeps/arm/s_fmaf.c: Likewise.
22851 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
22852 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
22853 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22854 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
22855 * sysdeps/microblaze/s_fma.c: Remove file.
22856 * sysdeps/microblaze/s_fmaf.c: Likewise.
22857 * sysdeps/mips/mips32/nofpu/Implies: New file.
22858 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
22859 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
22860 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
22861 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
22862 * sysdeps/mips/ieee754/s_fma.c: Remove file.
22863 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
22864 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
22866 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
22867 * sysdeps/nios2/s_fma.c: Remove file.
22868 * sysdeps/nios2/s_fmaf.c: Likewise.
22869 * sysdeps/sh/nofpu/Implies: New file.
22870 * sysdeps/sh/s_fma.c: Remove file.
22871 * sysdeps/sh/s_fmaf.c: Likewise.
22872 * sysdeps/tile/Implies: Add ieee754/soft-fp.
22873 * sysdeps/tile/s_fma.c: Remove file.
22874 * sysdeps/tile/s_fmaf.c: Likewise.
22876 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
22878 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22879 Add s_cosf-sse2 and s_cosf-fma.
22880 (CFLAGS-s_cosf-fma.c): New.
22881 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
22882 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
22883 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
22885 2017-12-12 Steve Ellcey <sellcey@cavium.com>
22887 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
22889 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22891 * libio/Makefile (tests): Add tst-bz22415.
22892 (tst-bz22415-ENV): New rule.
22893 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
22894 (tests-special): Add tst-bz22415-mem.out.
22895 ($(objpfx)tst-bz22415-mem.out): New rule.
22896 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
22897 in case of a successful seek operation.
22898 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22899 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
22900 buffer is required.
22901 * libio/tst-bz22415.c: New test.
22903 * sysdeps/ia64/fpu/libm-test-ulps: Update.
22905 2017-12-12 James Clarke <jrtc27@jrtc27.com>
22907 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
22908 __IPC_64 to 0 to avoid IPC_64 being set.
22910 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22913 * math/bits/mathcalls.h (nextafter): Remove const.
22914 (nexttoward): Likewise.
22916 2017-12-12 Joseph Myers <joseph@codesourcery.com>
22918 * configure.ac (--with-fp): Remove configure option.
22919 (with_fp_cond): New variable.
22920 (libc_cv_with_fp): New configure test. Use this variable instead
22922 * configure: Regenerated.
22923 * config.make.in (with-fp): Use @libc_cv_with_fp@.
22924 * manual/install.texi (Configuring and compiling): Remove
22926 * INSTALL: Regenerated.
22927 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
22928 * sysdeps/mips/preconfigure (with_fp_cond): Define.
22929 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
22930 * sysdeps/sh/preconfigure (with_fp_cond): Define.
22931 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
22932 use --without-fp to configure glibc.
22934 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
22936 * manual/locale.texi (nl_langinfo): Fix a typo.
22938 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
22941 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
22943 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22945 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
22946 (CFLAGS-argp-parse.c): Likewise.
22947 (CFLAGS-argp-fmtstream.c): Likewise.
22948 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
22949 (CPPFLAGS-sha512-crypt.c): Likewise.
22950 (CPPFLAGS-md5-crypt.c): Likewise.
22951 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
22952 (CFLAGS-stack_chk_fail_local.c): Likewise.
22953 (CFLAGS-backtrace.c): Likewise.
22954 (CFLAGS-sprintf_chk.c): Likewise.
22955 (CFLAGS-snprintf_chk.c): Likewise.
22956 (CFLAGS-vsprintf_chk.c): Likewise.
22957 (CFLAGS-vsnprintf_chk.c): Likewise.
22958 (CFLAGS-asprintf_chk.c): Likewise.
22959 (CFLAGS-vasprintf_chk.c): Likewise.
22960 (CFLAGS-obprintf_chk.c): Likewise.
22961 (CFLAGS-dprintf_chk.c): Likewise.
22962 (CFLAGS-vdprintf_chk.c): Likewise.
22963 (CFLAGS-printf_chk.c): Likewise.
22964 (CFLAGS-fprintf_chk.c): Likewise.
22965 (CFLAGS-vprintf_chk.c): Likewise.
22966 (CFLAGS-vfprintf_chk.c): Likewise.
22967 (CFLAGS-gets_chk.c): Likewise.
22968 (CFLAGS-fgets_chk.c): Likewise.
22969 (CFLAGS-fgets_u_chk.c): Likewise.
22970 (CFLAGS-fread_chk.c): Likewise.
22971 (CFLAGS-fread_u_chk.c): Likewise.
22972 (CFLAGS-swprintf_chk.c): Likewise.
22973 (CFLAGS-vswprintf_chk.c): Likewise.
22974 (CFLAGS-wprintf_chk.c): Likewise.
22975 (CFLAGS-fwprintf_chk.c): Likewise.
22976 (CFLAGS-vwprintf_chk.c): Likewise.
22977 (CFLAGS-vfwprintf_chk.c): Likewise.
22978 (CFLAGS-fgetws_chk.c): Likewise.
22979 (CFLAGS-fgetws_u_chk.c): Likewise.
22980 (CFLAGS-read_chk.c): Likewise.
22981 (CFLAGS-pread_chk.c): Likewise.
22982 (CFLAGS-pread64_chk.c): Likewise.
22983 (CFLAGS-recv_chk.c): Likewise.
22984 (CFLAGS-recvfrom_chk.c): Likewise.
22985 (CFLAGS-tst-longjmp_chk.c): Likewise.
22986 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
22987 (CFLAGS-tst-longjmp_chk2.c): Likewise.
22988 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
22989 (CFLAGS-tst-longjmp_chk3.c): Likewise.
22990 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22991 (CFLAGS-tst-chk1.c): Likewise.
22992 (CFLAGS-tst-chk2.c): Likewise.
22993 (CFLAGS-tst-chk3.c): Likewise.
22994 (CFLAGS-tst-chk4.cc): Likewise.
22995 (CFLAGS-tst-chk5.cc): Likewise.
22996 (CFLAGS-tst-chk6.cc): Likewise.
22997 (CFLAGS-tst-lfschk1.c): Likewise.
22998 (CFLAGS-tst-lfschk2.c): Likewise.
22999 (CFLAGS-tst-lfschk3.c): Likewise.
23000 (CFLAGS-tst-lfschk4.cc): Likewise.
23001 (CFLAGS-tst-lfschk5.cc): Likewise.
23002 (CFLAGS-tst-lfschk6.cc): Likewise.
23003 (CFLAGS-tst-ssp-1.c): Likewise.
23004 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
23005 (CFLAGS-scandir64.c): Likewise.
23006 (CFLAGS-scandir-tail.c): Likewise.
23007 (CFLAGS-scandir64-tail.c): Likewise.
23008 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
23009 (CFLAGS-dl-tunables.c): Likewise.
23010 (CFLAGS-dl-runtime.c): Likewise.
23011 (CFLAGS-dl-lookup.c): Likewise.
23012 (CFLAGS-dl-iterate-phdr.c): Likewise.
23013 (CFLAGS-vismain.c): Likewise.
23014 (CFLAGS-tst-linkall-static.c): Likewise.
23015 (CFLAGS-tst-linkall-static.c): Likewise.
23016 (CPPFLAGS-dl-load.c): Likewise.
23017 (CFLAGS-ldconfig.c): Likewise.
23018 (CFLAGS-dl-cache.c): Likewise.
23019 (CFLAGS-cache.c): Likewise.
23020 (CFLAGS-rtld.c): Likewise.
23021 (CFLAGS-multiload.c): Likewise.
23022 (CFLAGS-filtmod1.c): Likewise.
23023 (CFLAGS-tst-align.c): Likewise.
23024 (CFLAGS-tst-align2.c): Likewise.
23025 (CFLAGS-tst-alignmod.c): Likewise.
23026 (CFLAGS-tst-alignmod2.c): Likewise.
23027 (CPPFLAGS-tst-execstack.c): Likewise.
23028 (CFLAGS-tst-ptrguard1-static.c): Likewise.
23029 (CFLAGS-tst-latepthreadmod.c): Likewise.
23030 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
23031 (CFLAGS-getgrnam_r.c): Likewise.
23032 (CFLAGS-getgrent_r.c): Likewise.
23033 (CFLAGS-getgrent.c): Likewise.
23034 (CFLAGS-fgetgrent.c): Likewise.
23035 (CFLAGS-fgetgrent_r.c): Likewise.
23036 (CFLAGS-putgrent.c): Likewise.
23037 (CFLAGS-initgroups.c): Likewise.
23038 (CFLAGS-getgrgid.c): Likewise.
23039 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
23040 (CFLAGS-getsgent.c): Likewise.
23041 (CFLAGS-fgetsgent.c): Likewise.
23042 (CFLAGS-fgetsgent_r.c): Likewise.
23043 (CFLAGS-putsgent.c): Likewise.
23044 (CFLAGS-getsgnam.c): Likewise.
23045 (CFLAGS-getsgnam_r.c): Likewise.
23046 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
23047 (CFLAGS-iconv_charmap.c): Likewise.
23048 (CFLAGS-dummy-repertoire.c): Likewise.
23049 (CFLAGS-charmap.c): Likewise.
23050 (CFLAGS-linereader.c): Likewise.
23051 (CFLAGS-simple-hash.c): Likewise.
23052 (CFLAGS-gconv_conf.c): Likewise.
23053 (CFLAGS-iconvconfig.c): Likewise.
23054 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23055 (CFLAGS-gethstbyad.c): Likewise.
23056 (CFLAGS-gethstbynm_r.c): Likewise.
23057 (CFLAGS-gethstbynm.c): Likewise.
23058 (CFLAGS-gethstbynm2_r.c): Likewise.
23059 (CFLAGS-gethstbynm2.c): Likewise.
23060 (CFLAGS-gethstent_r.c): Likewise.
23061 (CFLAGS-gethstent.c): Likewise.
23062 (CFLAGS-rcmd.c): Likewise.
23063 (CFLAGS-getnetbynm_r.c): Likewise.
23064 (CFLAGS-getnetbynm.c): Likewise.
23065 (CFLAGS-getnetbyad_r.c): Likewise.
23066 (CFLAGS-getnetbyad.c): Likewise.
23067 (CFLAGS-getnetent_r.c): Likewise.
23068 (CFLAGS-getnetent.c): Likewise.
23069 (CFLAGS-getaliasent_r.c): Likewise.
23070 (CFLAGS-getaliasent.c): Likewise.
23071 (CFLAGS-getrpcent_r.c): Likewise.
23072 (CFLAGS-getrpcent.c): Likewise.
23073 (CFLAGS-getservent_r.c): Likewise.
23074 (CFLAGS-getservent.c): Likewise.
23075 (CFLAGS-getprtent_r.c): Likewise.
23076 (CFLAGS-getprtent.c): Likewise.
23077 (CFLAGS-either_ntoh.c): Likewise.
23078 (CFLAGS-either_hton.c): Likewise.
23079 (CFLAGS-getnetgrent.c): Likewise.
23080 (CFLAGS-getnetgrent_r.c): Likewise.
23081 (CFLAGS-tst-checks-posix.c): Likewise.
23082 (CFLAGS-tst-sockaddr.c): Likewise.
23083 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
23084 (CFLAGS-tst-translit.c): Likewise.
23085 (CFLAGS-tst-gettext2.c): Likewise.
23086 (CFLAGS-tst-codeset.c): Likewise.
23087 (CFLAGS-tst-gettext3.c): Likewise.
23088 (CFLAGS-tst-gettext4.c): Likewise.
23089 (CFLAGS-tst-gettext5.c): Likewise.
23090 (CFLAGS-tst-gettext6.c): Likewise.
23091 * io/Makefile (CFLAGS-open.c): Likewise.
23092 (CFLAGS-open64.c): Likewise.
23093 (CFLAGS-creat.c): Likewise.
23094 (CFLAGS-creat64.c): Likewise.
23095 (CFLAGS-fcntl.c): Likewise.
23096 (CFLAGS-poll.c): Likewise.
23097 (CFLAGS-ppoll.c): Likewise.
23098 (CFLAGS-lockf.c): Likewise.
23099 (CFLAGS-statfs.c): Likewise.
23100 (CFLAGS-fstatfs.c): Likewise.
23101 (CFLAGS-statvfs.c): Likewise.
23102 (CFLAGS-fstatvfs.c): Likewise.
23103 (CFLAGS-fts.c): Likewise.
23104 (CFLAGS-fts64.c): Likewise.
23105 (CFLAGS-ftw.c): Likewise.
23106 (CFLAGS-ftw64.c): Likewise.
23107 (CFLAGS-lockf.c): Likewise.
23108 (CFLAGS-posix_fallocate.c): Likewise.
23109 (CFLAGS-posix_fallocate64.c): Likewise.
23110 (CFLAGS-fallocate.c): Likewise.
23111 (CFLAGS-fallocate64.c): Likewise.
23112 (CFLAGS-read.c): Likewise.
23113 (CFLAGS-write.c): Likewise.
23114 (CFLAGS-test-stat.c): Likewise.
23115 (CFLAGS-test-lfs.c): Likewise.
23116 * libio/Makefile (CFLAGS-fileops.c): Likewise.
23117 (CFLAGS-fputc.c): Likewise.
23118 (CFLAGS-fputwc.c): Likewise.
23119 (CFLAGS-freopen64.c): Likewise.
23120 (CFLAGS-freopen.c): Likewise.
23121 (CFLAGS-fseek.c): Likewise.
23122 (CFLAGS-fseeko64.c): Likewise.
23123 (CFLAGS-fseeko.c): Likewise.
23124 (CFLAGS-ftello64.c): Likewise.
23125 (CFLAGS-ftello.c): Likewise.
23126 (CFLAGS-fwide.c): Likewise.
23127 (CFLAGS-genops.c): Likewise.
23128 (CFLAGS-getc.c): Likewise.
23129 (CFLAGS-getchar.c): Likewise.
23130 (CFLAGS-getwc.c): Likewise.
23131 (CFLAGS-getwchar.c): Likewise.
23132 (CFLAGS-iofclose.c): Likewise.
23133 (CFLAGS-iofflush.c): Likewise.
23134 (CFLAGS-iofgetpos64.c): Likewise.
23135 (CFLAGS-iofgetpos.c): Likewise.
23136 (CFLAGS-iofgets.c): Likewise.
23137 (CFLAGS-iofgetws.c): Likewise.
23138 (CFLAGS-iofputs.c): Likewise.
23139 (CFLAGS-iofputws.c): Likewise.
23140 (CFLAGS-iofread.c): Likewise.
23141 (CFLAGS-iofsetpos64.c): Likewise.
23142 (CFLAGS-iofsetpos.c): Likewise.
23143 (CFLAGS-ioftell.c): Likewise.
23144 (CFLAGS-iofwrite.c): Likewise.
23145 (CFLAGS-iogetdelim.c): Likewise.
23146 (CFLAGS-iogetline.c): Likewise.
23147 (CFLAGS-iogets.c): Likewise.
23148 (CFLAGS-iogetwline.c): Likewise.
23149 (CFLAGS-ioputs.c): Likewise.
23150 (CFLAGS-ioseekoff.c): Likewise.
23151 (CFLAGS-ioseekpos.c): Likewise.
23152 (CFLAGS-iosetbuffer.c): Likewise.
23153 (CFLAGS-iosetvbuf.c): Likewise.
23154 (CFLAGS-ioungetc.c): Likewise.
23155 (CFLAGS-ioungetwc.c): Likewise.
23156 (CFLAGS-oldfileops.c): Likewise.
23157 (CFLAGS-oldiofclose.c): Likewise.
23158 (CFLAGS-oldiofgetpos64.c): Likewise.
23159 (CFLAGS-oldiofgetpos.c): Likewise.
23160 (CFLAGS-oldiofsetpos64.c): Likewise.
23161 (CFLAGS-oldiofsetpos.c): Likewise.
23162 (CFLAGS-peekc.c): Likewise.
23163 (CFLAGS-putc.c): Likewise.
23164 (CFLAGS-putchar.c): Likewise.
23165 (CFLAGS-putwc.c): Likewise.
23166 (CFLAGS-putwchar.c): Likewise.
23167 (CFLAGS-rewind.c): Likewise.
23168 (CFLAGS-wfileops.c): Likewise.
23169 (CFLAGS-wgenops.c): Likewise.
23170 (CFLAGS-oldiofopen.c): Likewise.
23171 (CFLAGS-iofopen.c): Likewise.
23172 (CFLAGS-iofopen64.c): Likewise.
23173 (CFLAGS-oldtmpfile.c): Likewise.
23174 (CFLAGS-tst_putwc.c): Likewise.
23175 * locale/Makefile (CFLAGS-md5.c): Likewise.
23176 (CFLAGS-charmap.c): Likewise.
23177 (CFLAGS-locfile.c): Likewise.
23178 (CFLAGS-charmap-dir.c): Likewise.
23179 * login/Makefile (CFLAGS-grantpt.c): Likewise.
23180 (CFLAGS-getpt.c): Likewise.
23181 (CFLAGS-pt_chown.c): Likewise.
23182 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
23183 (CFLAGS-obstack.c): Likewise.
23184 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
23185 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
23186 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
23187 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
23188 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
23189 (CFLAGS-test-tgmath.c): Likewise.
23190 (CFLAGS-test-tgmath2.c): Likewise.
23191 (CFLAGS-test-tgmath-ret.c): Likewise.
23192 (CFLAGS-test-powl.c): Likewise.
23193 (CFLAGS-test-snan.c): Likewise.
23194 (CFLAGS-test-signgam-finite.c): Likewise.
23195 (CFLAGS-test-signgam-finite-c99.c): Likewise.
23196 (CFLAGS-test-signgam-finite-c11.c): Likewise.
23197 (CFLAGS-test-signgam-uchar.c): Likewise.
23198 (CFLAGS-test-signgam-uchar-init.c): Likewise.
23199 (CFLAGS-test-signgam-uchar-static.c): Likewise.
23200 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
23201 (CFLAGS-test-signgam-uint.c): Likewise.
23202 (CFLAGS-test-signgam-uint-init.c): Likewise.
23203 (CFLAGS-test-signgam-uint-static.c): Likewise.
23204 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
23205 (CFLAGS-test-signgam-ullong.c): Likewise.
23206 (CFLAGS-test-signgam-ullong-init.c): Likewise.
23207 (CFLAGS-test-signgam-ullong-static.c): Likewise.
23208 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
23209 (CFLAGS-test-math-cxx11.cc): Likewise.
23210 (CFLAGS-test-math-isinff.cc): Likewise.
23211 (CFLAGS-test-math-iszero.cc): Likewise.
23212 (CFLAGS-test-math-issignaling.cc): Likewise.
23213 (CFLAGS-test-math-iscanonical.cc): Likewise.
23214 (CFLAGS-test-iszero-excess-precision.c): Likewise.
23215 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
23216 (CFLAGS-test-flt-eval-method.c): Likewise.
23217 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
23218 (CFLAGS-test-finite-macros.c): Likewise.
23219 * misc/Makefile (CFLAGS-select.c): Likewise.
23220 (CFLAGS-tsearch.c): Likewise.
23221 (CFLAGS-lsearch.c): Likewise.
23222 (CFLAGS-pselect.c): Likewise.
23223 (CFLAGS-readv.c): Likewise.
23224 (CFLAGS-writev.c): Likewise.
23225 (CFLAGS-preadv.c): Likewise.
23226 (CFLAGS-preadv64.c): Likewise.
23227 (CFLAGS-pwritev.c): Likewise.
23228 (CFLAGS-pwritev64.c): Likewise.
23229 (CFLAGS-preadv2.c): Likewise.
23230 (CFLAGS-preadv64v2.c): Likewise.
23231 (CFLAGS-pwritev2.c): Likewise.
23232 (CFLAGS-pwritev64v2.c): Likewise.
23233 (CFLAGS-usleep.c): Likewise.
23234 (CFLAGS-syslog.c): Likewise.
23235 (CFLAGS-error.c): Likewise.
23236 (CFLAGS-getpass.c): Likewise.
23237 (CFLAGS-mkstemp.c): Likewise.
23238 (CFLAGS-mkstemp64.c): Likewise.
23239 (CFLAGS-getsysstats.c): Likewise.
23240 (CFLAGS-getusershell.c): Likewise.
23241 (CFLAGS-err.c): Likewise.
23242 (CFLAGS-tst-tsearch.c): Likewise.
23243 (CFLAGS-msync.c): Likewise.
23244 (CFLAGS-fdatasync.c): Likewise.
23245 (CFLAGS-fsync.c): Likewise.
23246 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
23247 (CFLAGS-unwind.c): Likewise.
23248 (CFLAGS-unwind-forcedunwind.c): Likewise.
23249 (CFLAGS-pthread_cancel.c): Likewise.
23250 (CFLAGS-pthread_setcancelstate.c): Likewise.
23251 (CFLAGS-pthread_setcanceltype.c): Likewise.
23252 (CFLAGS-cancellation.c): Likewise.
23253 (CFLAGS-libc-cancellation.c): Likewise.
23254 (CFLAGS-pthread_exit.c): Likewise.
23255 (CFLAGS-forward.c): Likewise.
23256 (CFLAGS-pthread_testcancel.c): Likewise.
23257 (CFLAGS-pthread_join.c): Likewise.
23258 (CFLAGS-pthread_timedjoin.c): Likewise.
23259 (CFLAGS-pthread_once.c): Likewise.
23260 (CFLAGS-pthread_cond_wait.c): Likewise.
23261 (CFLAGS-sem_wait.c): Likewise.
23262 (CFLAGS-sem_timedwait.c): Likewise.
23263 (CFLAGS-fcntl.c): Likewise.
23264 (CFLAGS-lockf.c): Likewise.
23265 (CFLAGS-pread.c): Likewise.
23266 (CFLAGS-pread64.c): Likewise.
23267 (CFLAGS-pwrite.c): Likewise.
23268 (CFLAGS-pwrite64.c): Likewise.
23269 (CFLAGS-wait.c): Likewise.
23270 (CFLAGS-waitpid.c): Likewise.
23271 (CFLAGS-sigwait.c): Likewise.
23272 (CFLAGS-msgrcv.c): Likewise.
23273 (CFLAGS-msgsnd.c): Likewise.
23274 (CFLAGS-tcdrain.c): Likewise.
23275 (CFLAGS-open.c): Likewise.
23276 (CFLAGS-open64.c): Likewise.
23277 (CFLAGS-pause.c): Likewise.
23278 (CFLAGS-recv.c): Likewise.
23279 (CFLAGS-send.c): Likewise.
23280 (CFLAGS-accept.c): Likewise.
23281 (CFLAGS-sendto.c): Likewise.
23282 (CFLAGS-connect.c): Likewise.
23283 (CFLAGS-recvfrom.c): Likewise.
23284 (CFLAGS-recvmsg.c): Likewise.
23285 (CFLAGS-sendmsg.c): Likewise.
23286 (CFLAGS-close.c): Likewise.
23287 (CFLAGS-read.c): Likewise.
23288 (CFLAGS-write.c): Likewise.
23289 (CFLAGS-nanosleep.c): Likewise.
23290 (CFLAGS-sigsuspend.c): Likewise.
23291 (CFLAGS-msync.c): Likewise.
23292 (CFLAGS-fdatasync.c): Likewise.
23293 (CFLAGS-fsync.c): Likewise.
23294 (CFLAGS-pt-system.c): Likewise.
23295 (CFLAGS-tst-cleanup2.c): Likewise.
23296 (CFLAGS-tst-cleanupx2.c): Likewise.
23297 (CFLAGS-flockfile.c): Likewise.
23298 (CFLAGS-ftrylockfile.c): Likewise.
23299 (CFLAGS-funlockfile.c): Likewise.
23300 (CFLAGS-tst-initializers1.c): Likewise.
23301 (CFLAGS-tst-initializers1-c89.c): Likewise.
23302 (CFLAGS-tst-initializers1-c99.c): Likewise.
23303 (CFLAGS-tst-initializers1-c11.c): Likewise.
23304 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
23305 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
23306 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
23307 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
23308 (CFLAGS-nscd_getgr_r.c): Likewise.
23309 (CFLAGS-nscd_gethst_r.c): Likewise.
23310 (CFLAGS-nscd_getai.c): Likewise.
23311 (CFLAGS-nscd_initgroups.c): Likewise.
23312 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
23313 (CFLAGS-pause.c): Likewise.
23314 (CFLAGS-pread.c): Likewise.
23315 (CFLAGS-pread64.c): Likewise.
23316 (CFLAGS-pwrite.c): Likewise.
23317 (CFLAGS-pwrite64.c): Likewise.
23318 (CFLAGS-sleep.c): Likewise.
23319 (CFLAGS-wait.c): Likewise.
23320 (CFLAGS-waitid.c): Likewise.
23321 (CFLAGS-waitpid.c): Likewise.
23322 (CFLAGS-getopt.c): Likewise.
23323 (CFLAGS-wordexp.c): Likewise.
23324 (CFLAGS-sysconf.c): Likewise.
23325 (CFLAGS-pathconf.c): Likewise.
23326 (CFLAGS-fpathconf.c): Likewise.
23327 (CFLAGS-spawn.c): Likewise.
23328 (CFLAGS-spawnp.c): Likewise.
23329 (CFLAGS-spawni.c): Likewise.
23330 (CFLAGS-glob.c): Likewise.
23331 (CFLAGS-glob64.c): Likewise.
23332 (CFLAGS-getconf.c): Likewise.
23333 (CFLAGS-nanosleep.c): Likewise.
23334 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
23335 (CFLAGS-getpwent.c): Likewise.
23336 (CFLAGS-getpw.c): Likewise.
23337 (CFLAGS-fgetpwent_r.c): Likewise.
23338 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
23339 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
23340 (CFLAGS-mq_timedreceive.c): Likewise.
23341 (CFLAGS-mq_timedsend.c): Likewise.
23342 (CFLAGS-clock_nanosleep.c): Likewise.
23343 (CFLAGS-librt-cancellation.c): Likewise.
23344 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
23345 (CFLAGS-getspent.c): Likewise.
23346 (CFLAGS-fgetspent.c): Likewise.
23347 (CFLAGS-fgetspent_r.c): Likewise.
23348 (CFLAGS-putspent.c): Likewise.
23349 (CFLAGS-getspnam.c): Likewise.
23350 (CFLAGS-getspnam_r.c): Likewise.
23351 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
23352 (CFLAGS-sigsuspend.c): Likewise.
23353 (CFLAGS-sigtimedwait.c): Likewise.
23354 (CFLAGS-sigwait.c): Likewise.
23355 (CFLAGS-sigwaitinfo.c): Likewise.
23356 (CFLAGS-sigreturn.c): Likewise.
23357 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23358 (CFLAGS-vfwprintf.c): Likewise.
23359 (CFLAGS-tmpfile.c): Likewise.
23360 (CFLAGS-tmpfile64.c): Likewise.
23361 (CFLAGS-tempname.c): Likewise.
23362 (CFLAGS-psignal.c): Likewise.
23363 (CFLAGS-vprintf.c): Likewise.
23364 (CFLAGS-cuserid.c): Likewise.
23365 (CFLAGS-errlist.c): Likewise.
23366 (CFLAGS-siglist.c): Likewise.
23367 (CFLAGS-scanf15.c): Likewise.
23368 (CFLAGS-scanf17.c): Likewise.
23369 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
23370 (CFLAGS-msort.c): Likewise.
23371 (CFLAGS-qsort.c): Likewise.
23372 (CFLAGS-system.c): Likewise.
23373 (CFLAGS-fmtmsg.c): Likewise.
23374 (CFLAGS-strfmon.c): Likewise.
23375 (CFLAGS-strfmon_l.c): Likewise.
23376 (CFLAGS-strfromd.c): Likewise.
23377 (CFLAGS-strfromf.c): Likewise.
23378 (CFLAGS-strfroml.c): Likewise.
23379 (CFLAGS-tst-bsearch.c): Likewise.
23380 (CFLAGS-tst-qsort.c): Likewise.
23381 (CFLAGS-tst-makecontext2.c): Likewise.
23382 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
23383 (CFLAGS-xnlm_prot.c): Likewise.
23384 (CFLAGS-xrstat.c): Likewise.
23385 (CFLAGS-xyppasswd.c): Likewise.
23386 (CFLAGS-xklm_prot.c): Likewise.
23387 (CFLAGS-xrex.c): Likewise.
23388 (CFLAGS-xsm_inter.c): Likewise.
23389 (CFLAGS-xmount.c): Likewise.
23390 (CFLAGS-xrusers.c): Likewise.
23391 (CFLAGS-xspray.c): Likewise.
23392 (CFLAGS-xnfs_prot.c): Likewise.
23393 (CFLAGS-xrquota.c): Likewise.
23394 (CFLAGS-xkey_prot.c): Likewise.
23395 (CFLAGS-auth_unix.c): Likewise.
23396 (CFLAGS-key_call.c): Likewise.
23397 (CFLAGS-pmap_rmt.c): Likewise.
23398 (CFLAGS-clnt_perr.c): Likewise.
23399 (CFLAGS-openchild.c): Likewise.
23400 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
23401 (CFLAGS-msgsnd.c): Likewise.
23402 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
23403 * time/Makefile (CFLAGS-tzfile.c): Likewise.
23404 (CFLAGS-tzset.c): Likewise.
23405 (CFLAGS-getdate.c): Likewise.
23406 (CFLAGS-test_time.c): Likewise.
23407 (CPPFLAGS-tst-tzname.c): Likewise.
23408 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
23409 (CFLAGS-zic.c): Likewise.
23410 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
23411 (CFLAGS-wcswidth.c): Likewise.
23412 (CFLAGS-wcstol.c): Likewise.
23413 (CFLAGS-wcstoul.c): Likewise.
23414 (CFLAGS-wcstoll.c): Likewise.
23415 (CFLAGS-wcstoull.c): Likewise.
23416 (CFLAGS-wcstod.c): Likewise.
23417 (CFLAGS-wcstold.c): Likewise.
23418 (CFLAGS-wcstof128.c): Likewise.
23419 (CFLAGS-wcstof.c): Likewise.
23420 (CFLAGS-wcstol_l.c): Likewise.
23421 (CFLAGS-wcstoul_l.c): Likewise.
23422 (CFLAGS-wcstoll_l.c): Likewise.
23423 (CFLAGS-wcstoull_l.c): Likewise.
23424 (CFLAGS-wcstod_l.c): Likewise.
23425 (CFLAGS-wcstold_l.c): Likewise.
23426 (CFLAGS-wcstof128_l.c): Likewise.
23427 (CFLAGS-wcstof_l.c): Likewise.
23428 (CPPFLAGS-tst-wchar-h.c): Likewise.
23429 (CPPFLAGS-wcstold_l.c): Likewise.
23431 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
23433 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
23435 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23436 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23438 * manual/tunables.texi (Hardware Capability Tunables): Document
23439 glibc.tune.cached_memopt.
23440 * sysdeps/powerpc/cpu-features.c: New file.
23441 * sysdeps/powerpc/cpu-features.h: New file.
23442 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
23443 _dl_powerpc_cpu_features.
23444 * sysdeps/powerpc/dl-tunables.list: New file.
23445 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
23446 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23447 (INIT_ARCH): Initialize use_aligned_memopt.
23448 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
23449 IS_IN(rtld))]: Restrict dl_platform_init availability and
23450 initialize CPU features used by tunables.
23451 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
23452 Add memcpy-power8-cached.
23453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
23454 __memcpy_power8_cached.
23455 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23456 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
23459 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23461 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
23462 (CFLAGS-noinl-tester.c): Likewise.
23463 (CFLAGS-tst-strlen.c): Likewise.
23464 (CFLAGS-stratcliff.c): Likewise.
23465 (CFLAGS-test-ffs.c): Likewise.
23466 (CFLAGS-tst-inlcall.c): Likewise.
23467 (CFLAGS-tst-xbzero-opt.c): Likewise.
23468 (CFLAGS-memcpy.c): Likewise.
23469 (CFLAGS-wordcopy.c): Likewise.
23471 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23473 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
23474 Store r15 on stack and add cfi rule.
23475 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23478 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
23481 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
23484 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23486 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23487 Add s_sinf-sse2 and s_sinf-fma.
23488 (CFLAGS-s_sinf-fma.c): New.
23489 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
23490 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
23491 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
23493 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23495 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
23497 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23500 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
23501 part of result to imaginary part of argument if it is zero and the
23502 real part of the argument is not finite.
23503 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
23504 of result to real part of argument if it is zero and the imaginary
23505 part of the argument is not finite.
23507 2017-12-07 Mike FABIAN <mfabian@redhat.com>
23510 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
23511 and to the list of locales to be built for testing.
23512 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
23513 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
23514 and build the collation rules upon that.
23516 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23518 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
23519 * manual/math.texi (Mathematics): Document support for _Float32.
23520 * math/Makefile (test-types): Add float32.
23521 * math/Versions (GLIBC_2.27): Add _Float32 functions.
23522 * stdlib/Versions (GLIBC_2.27): Likewise.
23523 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23524 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23525 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23526 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23527 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23528 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23529 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23530 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23531 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23532 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23533 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23534 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23535 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23536 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23537 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23538 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23539 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23540 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23541 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23542 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23543 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23544 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23546 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23547 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23548 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23549 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23550 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23568 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23569 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23570 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23571 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23572 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23573 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23574 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23575 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23576 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23577 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23586 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23587 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23588 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23589 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23590 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23591 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23592 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23593 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23595 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23597 * stdlib/strtof.c: Include <bits/floatn.h>
23598 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
23599 and later undefine as macro. Define as weak alias if
23601 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
23602 and later undefine as macro. Define as weak alias if
23604 * stdlib/strtof_l.c: Include <bits/floatn.h>
23605 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
23606 and later undefine as macro. Define as weak alias if
23608 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
23609 and later undefine as macro. Define as weak alias if
23612 * stdlib/strfromf.c: Include <bits/floatn.h>.
23613 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
23614 and later undefine as macro and define as weak alias.
23616 * math/test-float32.h: New file.
23618 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
23619 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
23620 (libm_alias_float_other_r): Create f32 alias.
23621 (libm_alias_float_r): Use semicolon before call to
23622 libm_alias_float_other_r.
23624 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
23625 second argument to libm_alias_float_other.
23626 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
23627 second argument to libm_alias_float_other.
23628 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
23629 argument to libm_alias_float_other.
23632 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
23633 real part of result for argument 0 + i * NaN.
23634 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
23635 results for tests of 0 + i * NaN.
23637 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23639 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23641 2017-12-06 David S. Miller <davem@davemloft.net>
23643 * sysdeps/sparc/fpu/libm-test-ulps: Update
23644 exp_{downward,towardzero,upward} ulps.
23646 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23648 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
23651 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
23653 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
23655 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
23657 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
23660 2017-12-06 Mike FABIAN <mfabian@redhat.com>
23663 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
23664 and to the list of locales to be built for testing.
23665 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
23666 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
23667 and build the collation rules upon that.
23669 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23671 * NEWS: Add sinf to list of optimized functions.
23673 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23675 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
23676 (__HAVE_FLOAT32X): Likewise.
23677 * manual/math.texi (Mathematics): Document support for _Float64
23679 * math/Makefile (test-types): Add float64 and float32x.
23680 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
23682 * stdlib/Versions (GLIBC_2.27): Likewise.
23683 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23684 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23685 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23686 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23687 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23688 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23689 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23690 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23691 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23692 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23693 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23694 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23695 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23696 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23697 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23698 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23699 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23700 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23701 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23702 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23703 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23704 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23706 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23707 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23708 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23709 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23710 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23727 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23728 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23729 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23730 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23731 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23732 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23733 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23734 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23735 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23736 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23745 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23746 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23747 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23748 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23749 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23750 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23751 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23752 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23754 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23756 * bits/floatn-common.h: Include <bits/long-double.h>.
23757 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23758 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
23759 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23760 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
23761 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
23762 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
23763 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23764 (__builtin_huge_valf64): Use __builtin_huge_vall.
23765 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23766 (__builtin_inff64): Use __builtin_infl.
23767 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23768 (__builtin_nanf64): Use __builtin_nanl.
23769 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
23770 (__builtin_nansf64): Use __builtin_nansl.
23772 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
23773 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23774 Carlos O'Donnell <carlos@redhat.com>
23776 * elf/dl-tunables.list: Add elision parameters.
23777 * manual/tunables.texi: Add entries about elision tunable.
23778 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
23779 Add callback functions to dynamically enable/disable elision.
23780 Add multiple callbacks functions to set elision parameters.
23781 Deleted __libc_enable_secure check.
23782 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
23783 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
23784 * configure: Regenerated.
23785 * configure.ac: Option enable_lock_elision was deleted.
23786 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
23787 * config.make.in: Remove references to enable_lock_elision.
23788 * manual/install.texi: Elision configure option was removed.
23789 * INSTALL: Regenerated to remove enable_lock_elision.
23791 Disable elision so it can verify error case for destroying a mutex.
23792 * sysdeps/powerpc/nptl/elide.h:
23793 Cleanup ENABLE_LOCK_ELISION check.
23794 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
23795 * sysdeps/s390/configure: Regenerated.
23796 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
23797 * nptl/tst-mutex8.c:
23798 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
23799 * sysdeps/powerpc/powerpc32/sysdep.h:
23800 Deleted all ENABLE_LOCK_ELISION checks.
23801 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23802 * sysdeps/powerpc/sysdep.h: Likewise.
23803 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
23804 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
23805 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23806 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23807 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23808 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
23809 enable-lock-elision.
23811 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23813 * stdlib/strtod.c: Include <bits/floatn.h>.
23814 (BUILD_DOUBLE): New macro.
23815 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23816 (strtof64): Define and later undefine as macro. Define as weak
23817 alias if [!USE_WIDE_CHAR].
23818 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23819 (wcstof64): Define and later undefine as macro. Define as weak
23820 alias if [USE_WIDE_CHAR].
23821 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23822 (strtof32x): Define and later undefine as macro. Define as weak
23823 alias if [!USE_WIDE_CHAR].
23824 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23825 (wcstof32x): Define and later undefine as macro. Define as weak
23826 alias if [USE_WIDE_CHAR].
23827 * stdlib/strtod_l.c: Include <bits/floatn.h>.
23828 (BUILD_DOUBLE): New macro.
23829 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23830 (strtof64_l): Define and later undefine as macro. Define as weak
23831 alias if [!USE_WIDE_CHAR].
23832 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
23833 (wcstof64_l): Define and later undefine as macro. Define as weak
23834 alias if [USE_WIDE_CHAR].
23835 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23836 (strtof32x_l): Define and later undefine as macro. Define as weak
23837 alias if [!USE_WIDE_CHAR].
23838 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
23839 (wcstof32x_l): Define and later undefine as macro. Define as weak
23840 alias if [USE_WIDE_CHAR].
23842 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23844 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
23845 (reduced): Use ones as double instead of integer.
23847 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
23849 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
23851 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23853 * stdlib/strfromd.c: Include <bits/floatn.h>.
23854 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
23855 and later undefine as macro and define as weak alias.
23856 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
23859 * math/test-float32x.h: New file.
23860 * math/test-float64.h: Likewise.
23862 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
23863 (libm_alias_double_other_r_f64): New macro.
23864 (libm_alias_double_other_r_f32x): Likewise.
23865 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23866 libm_alias_double_other_r_f32x.
23867 (libm_alias_double_r): Use semicolon before call to
23868 libm_alias_double_other_r.
23869 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
23871 (libm_alias_double_other_r_f64): New macro.
23872 (libm_alias_double_other_r_f32x): Likewise.
23873 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
23874 libm_alias_double_other_r_f32x.
23876 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
23878 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
23880 (SINF_FUNC): Likewise. Replace floor with simple casts.
23882 2017-12-05 Mike FABIAN <mfabian@redhat.com>
23885 * localedata/Makefile: Add et_EE.UTF-8 to test-input
23886 and to the list of locales to be built for testing.
23887 * localedata/et_EE.UTF-8.in: New file for testing the collation.
23888 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
23889 and build the collation rules upon that.
23891 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
23893 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
23894 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
23895 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
23896 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
23897 instead of __insn__xxx.
23898 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
23899 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
23900 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
23901 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
23902 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
23903 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
23905 2017-12-05 Florian Weimer <fweimer@redhat.com>
23907 Linux: Implement interfaces for memory protection keys
23908 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
23910 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
23911 * support/xunistd.h (xsysconf): Declare.
23912 * support/xraise.c: New file.
23913 * support/xsigaction.c: Likewise.
23914 * support/xsignal.c: Likewise.
23915 * support/xsysconf.c: Likewise.
23916 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
23917 pkey_set, pkey_get, pkey_mprotect.
23918 [misc] (tests): Add tst-pkey.
23919 (tst-pkey): Link with -lpthread.
23920 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
23921 pkey_free, pkey_set, pkey_get, pkey_mprotect.
23922 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
23923 (PKEY_DISABLE_WRITE): Define.
23924 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
23926 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
23927 (SEGV_PKUERR): Add.
23928 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
23929 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
23930 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
23931 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
23933 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
23934 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
23935 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
23936 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
23937 * sysdeps/unix/sysv/linux/**.abilist: Update.
23939 2017-12-05 Florian Weimer <fweimer@redhat.com>
23941 * support/tst-test_compare.c (subprocess): Use long long instead
23942 of long argument for consistent type width across 32-bit and
23943 64-bit architectures.
23944 (do_test): Adjust expected output.
23946 2017-12-05 Joseph Myers <joseph@codesourcery.com>
23948 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
23949 (cosf): Define using libm_alias_float.
23950 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
23951 (fabsf): Define using libm_alias_float.
23952 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
23953 (fmaf): Define using libm_alias_float.
23954 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
23955 (rintf): Define using libm_alias_float.
23956 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
23957 (sinf): Define using libm_alias_float.
23958 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
23959 <libm-alias-float.h>.
23960 (modff): Define using libm_alias_float.
23961 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
23962 <libm-alias-float.h>.
23963 (logbf): Define using libm_alias_float.
23964 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
23965 <libm-alias-float.h>.
23966 (ceilf): Define using libm_alias_float.
23967 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23968 <libm-alias-float.h>.
23969 (copysignf): Define using libm_alias_float.
23970 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
23971 <libm-alias-float.h>.
23972 (floorf): Define using libm_alias_float.
23973 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23974 <libm-alias-float.h>.
23975 (llrintf): Define using libm_alias_float.
23976 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23977 <libm-alias-float.h>.
23978 (llroundf): Define using libm_alias_float.
23979 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23980 <libm-alias-float.h>.
23981 (lrintf): Define using libm_alias_float.
23982 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23983 <libm-alias-float.h>.
23984 (lroundf): Define using libm_alias_float.
23985 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
23986 <libm-alias-float.h>.
23987 (nearbyintf): Define using libm_alias_float.
23988 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
23989 <libm-alias-float.h>.
23990 (rintf): Define using libm_alias_float.
23991 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
23992 <libm-alias-float.h>.
23993 (roundf): Define using libm_alias_float.
23994 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
23995 <libm-alias-float.h>.
23996 (truncf): Define using libm_alias_float.
23997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
23998 Include <libm-alias-float.h>.
23999 (ceilf): Define using libm_alias_float.
24000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
24001 Include <libm-alias-float.h>.
24002 (copysignf): Define using libm_alias_float.
24003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
24004 Include <libm-alias-float.h>.
24005 (floorf): Define using libm_alias_float.
24006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
24007 Include <libm-alias-float.h>.
24008 (llrintf): Define using libm_alias_float.
24009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
24010 Include <libm-alias-float.h>.
24011 (llroundf): Define using libm_alias_float.
24012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
24013 Include <libm-alias-float.h>.
24014 (logbf): Define using libm_alias_float.
24015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
24016 Include <libm-alias-float.h>.
24017 (lrintf): Define using libm_alias_float.
24018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
24019 Include <libm-alias-float.h>.
24020 (lroundf): Define using libm_alias_float.
24021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
24022 Include <libm-alias-float.h>.
24023 (modff): Define using libm_alias_float.
24024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
24025 Include <libm-alias-float.h>.
24026 (roundf): Define using libm_alias_float.
24027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
24028 Include <libm-alias-float.h>.
24029 (truncf): Define using libm_alias_float.
24030 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
24031 <libm-alias-float.h>.
24032 (llrintf): Define using libm_alias_float.
24033 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24034 <libm-alias-float.h>.
24035 (llroundf): Define using libm_alias_float.
24036 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
24037 <libm-alias-float.h>.
24038 (ceilf): Define using libm_alias_float.
24039 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
24040 <libm-alias-float.h>.
24041 (floorf): Define using libm_alias_float.
24042 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24043 <libm-alias-float.h>.
24044 (llroundf): Define using libm_alias_float.
24045 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24046 <libm-alias-float.h>.
24047 (lroundf): Define using libm_alias_float.
24048 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
24049 <libm-alias-float.h>.
24050 (roundf): Define using libm_alias_float.
24051 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
24052 <libm-alias-float.h>.
24053 (truncf): Define using libm_alias_float.
24054 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
24055 <libm-alias-float.h>.
24056 (copysignf): Define using libm_alias_float.
24057 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
24058 <libm-alias-float.h>.
24059 (llrintf): Define using libm_alias_float.
24060 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
24061 <libm-alias-float.h>.
24062 (llroundf): Define using libm_alias_float.
24063 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
24064 <libm-alias-float.h>.
24065 (lrintf): Define using libm_alias_float.
24066 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
24067 <libm-alias-float.h>.
24068 (lroundf): Define using libm_alias_float.
24069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
24070 <libm-alias-float.h>.
24071 (ceilf): Define using libm_alias_float.
24072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
24073 <libm-alias-float.h>.
24074 (copysignf): Define using libm_alias_float.
24075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
24076 <libm-alias-float.h>.
24077 (cosf): Define using libm_alias_float.
24078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
24079 <libm-alias-float.h>.
24080 (floorf): Define using libm_alias_float.
24081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
24082 <libm-alias-float.h>.
24083 (llrintf): Define using libm_alias_float.
24084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
24085 <libm-alias-float.h>.
24086 (llroundf): Define using libm_alias_float.
24087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
24088 <libm-alias-float.h>.
24089 (logbf): Define using libm_alias_float.
24090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
24091 <libm-alias-float.h>.
24092 (modff): Define using libm_alias_float.
24093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
24094 <libm-alias-float.h>.
24095 (roundf): Define using libm_alias_float.
24096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
24097 <libm-alias-float.h>.
24098 (sinf): Define using libm_alias_float.
24099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
24100 <libm-alias-float.h>.
24101 (truncf): Define using libm_alias_float.
24102 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
24103 <libm-alias-float.h>.
24104 (ceilf): Define using libm_alias_float.
24105 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
24106 <libm-alias-float.h>.
24107 (copysignf): Define using libm_alias_float.
24108 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
24109 <libm-alias-float.h>.
24110 (floorf): Define using libm_alias_float.
24111 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
24112 <libm-alias-float.h>.
24113 (llrintf): Define using libm_alias_float.
24114 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
24115 <libm-alias-float.h>.
24116 (llroundf): Define using libm_alias_float.
24117 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
24118 <libm-alias-float.h>.
24119 (nearbyintf): Define using libm_alias_float.
24120 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
24121 <libm-alias-float.h>.
24122 (rintf): Define using libm_alias_float.
24123 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
24124 <libm-alias-float.h>.
24125 (roundf): Define using libm_alias_float.
24126 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
24127 <libm-alias-float.h>.
24128 (truncf): Define using libm_alias_float.
24129 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
24130 <libm-alias-float.h>.
24131 (ceilf): Define using libm_alias_float.
24132 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
24133 <libm-alias-float.h>.
24134 (floorf): Define using libm_alias_float.
24135 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
24136 <libm-alias-float.h>.
24137 (llroundf): Define using libm_alias_float.
24138 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
24139 <libm-alias-float.h>.
24140 (roundf): Define using libm_alias_float.
24141 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
24142 <libm-alias-float.h>.
24143 (truncf): Define using libm_alias_float.
24144 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
24145 <libm-alias-float.h>.
24146 (copysignf): Define using libm_alias_float.
24147 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24148 <libm-alias-float.h>.
24149 (llrintf): Define using libm_alias_float.
24150 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24151 <libm-alias-float.h>.
24152 (llroundf): Define using libm_alias_float.
24153 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
24154 <libm-alias-float.h>.
24155 (cosf): Define using libm_alias_float.
24156 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24157 <libm-alias-float.h>.
24158 (llrintf): Define using libm_alias_float.
24159 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24160 <libm-alias-float.h>.
24161 (llroundf): Define using libm_alias_float.
24162 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
24163 <libm-alias-float.h>.
24164 (sinf): Define using libm_alias_float.
24166 2017-12-04 Florian Weimer <fweimer@redhat.com>
24168 * support/check.h (TEST_COMPARE): Define.
24169 (support_test_compare_failure): Declare.
24170 * support/Makefile (libsupport-routines): Add
24171 support_test_compare_failure.
24172 (tests): Add tst-test_compare.
24173 * support /support_test_compare_failure.c: New file.
24174 * support/tst-test_compare.c: Likewise.
24176 2017-12-04 Mike FABIAN <mfabian@redhat.com>
24179 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
24180 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
24181 available, this rewrite of the collation rules does reproduce
24182 the test file in the same order.
24184 2017-12-04 Mike FABIAN <mfabian@redhat.com>
24187 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
24188 digraphs in the month and day names. Using single code points for
24189 digraphs is deprecated. While there are dedicated Unicode
24190 codepoints, for the digraphs, these are included for backwards
24191 compatibility and modern texts use a sequence of Basic Latin
24192 characters. See: https://www.unicode.org/faq/ligature_digraph.html
24193 This makes the month and day names agree exactly with CLDR now,
24194 CLDR does not use the single code points for the digraphs either.
24196 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
24198 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
24200 2017-12-04 Joseph Myers <joseph@codesourcery.com>
24202 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
24205 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
24207 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
24208 Define only for libc.so.
24210 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
24212 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24213 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
24214 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
24215 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
24216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24218 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24221 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
24223 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
24226 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
24227 PREINIT_FUNCTION_WEAK is nonzero.
24228 (gmon_initializer): New function. Put procedure label for it in
24229 .init_array section.
24230 (_init): Don't call PREINIT_FUNCTION.
24231 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
24232 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
24233 value when map argument is null.
24235 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
24236 depi instruction from PIC pc-relative sequence.
24237 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
24238 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
24239 (elf_machine_load_address): Likewise.
24240 (elf_machine_runtime_setup): Likewise.
24242 2017-12-02 Joseph Myers <joseph@codesourcery.com>
24244 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
24245 <libm-alias-double.h>.
24246 (logb): Define using libm_alias_double.
24247 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24248 <libm-alias-double.h>.
24249 (copysign): Define using libm_alias_double.
24250 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
24251 <libm-alias-double.h>.
24252 (llrint): Define using libm_alias_double.
24253 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
24254 <libm-alias-double.h>.
24255 (llround): Define using libm_alias_double.
24256 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24257 <libm-alias-double.h>.
24258 (lrint): Define using libm_alias_double.
24259 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24260 <libm-alias-double.h>.
24261 (lround): Define using libm_alias_double.
24262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24263 Include <libm-alias-double.h>.
24264 (copysign): Define using libm_alias_double.
24265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
24266 Include <libm-alias-double.h>.
24267 (llrint): Define using libm_alias_double.
24268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
24269 Include <libm-alias-double.h>.
24270 (llround): Define using libm_alias_double.
24271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
24272 <libm-alias-double.h>.
24273 (logb): Define using libm_alias_double.
24274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
24275 Include <libm-alias-double.h>.
24276 (lrint): Define using libm_alias_double.
24277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
24278 Include <libm-alias-double.h>.
24279 (lround): Define using libm_alias_double.
24280 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
24281 <libm-alias-double.h>.
24282 (llrint): Define using libm_alias_double.
24283 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24284 <libm-alias-double.h>.
24285 (llround): Define using libm_alias_double.
24286 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24287 <libm-alias-double.h>.
24288 (llround): Define using libm_alias_double.
24289 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24290 <libm-alias-double.h>.
24291 (lround): Define using libm_alias_double.
24292 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
24293 <libm-alias-double.h>.
24294 (copysign): Define using libm_alias_double.
24295 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
24296 <libm-alias-double.h>.
24297 (llrint): Define using libm_alias_double.
24298 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
24299 <libm-alias-double.h>.
24300 (llround): Define using libm_alias_double.
24301 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
24302 <libm-alias-double.h>.
24303 (lrint): Define using libm_alias_double.
24304 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
24305 <libm-alias-double.h>.
24306 (lround): Define using libm_alias_double.
24307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
24308 <libm-alias-double.h>.
24309 (copysign): Define using libm_alias_double.
24310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
24311 <libm-alias-double.h>.
24312 (llrint): Define using libm_alias_double.
24314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
24315 <libm-alias-double.h>.
24316 (llround): Define using libm_alias_double.
24317 (lround): Likewise.
24318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
24319 <libm-alias-double.h>.
24320 (logb): Define using libm_alias_double.
24321 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
24322 <libm-alias-double.h>.
24323 (copysign): Define using libm_alias_double.
24324 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
24325 <libm-alias-double.h>.
24326 (llrint): Define using libm_alias_double.
24328 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
24329 <libm-alias-double.h>.
24330 (llround): Define using libm_alias_double.
24331 (lround): Likewise.
24332 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
24333 <libm-alias-double.h>.
24334 (llround): Define using libm_alias_double.
24335 (lround): Likewise.
24336 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
24337 <libm-alias-double.h>.
24338 (copysign): Define using libm_alias_double.
24339 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24340 <libm-alias-double.h>.
24341 (llrint): Define using libm_alias_double.
24343 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24344 <libm-alias-double.h>.
24345 (llround): Define using libm_alias_double.
24346 (lround): Likewise.
24347 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24348 <libm-alias-double.h>.
24349 (llrint): Define using libm_alias_double.
24351 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24352 <libm-alias-double.h>.
24353 (llround): Define using libm_alias_double.
24354 (lround): Likewise.
24356 2017-12-01 Joseph Myers <joseph@codesourcery.com>
24358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24359 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
24360 compat symbol based on llround.
24362 * sysdeps/powerpc/power7/fpu/s_logb.c
24363 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
24364 symbol based on __logb, not on logb.
24365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
24366 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
24367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
24368 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
24370 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
24371 (rint): Define using libm_alias_double.
24372 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
24373 <libm-alias-double.h>.
24374 (modf): Define using libm_alias_double.
24375 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
24376 <libm-alias-double.h>.
24377 (ceil): Define using libm_alias_double.
24378 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
24379 <libm-alias-double.h>.
24380 (floor): Define using libm_alias_double.
24381 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
24382 <libm-alias-double.h>.
24383 (nearbyint): Define using libm_alias_double.
24384 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
24385 <libm-alias-double.h>.
24386 (rint): Define using libm_alias_double.
24387 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
24388 <libm-alias-double.h>.
24389 (round): Define using libm_alias_double.
24390 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
24391 <libm-alias-double.h>.
24392 (trunc): Define using libm_alias_double.
24393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
24394 <libm-alias-double.h>.
24395 (ceil): Define using libm_alias_double.
24396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
24397 Include <libm-alias-double.h>.
24398 (floor): Define using libm_alias_double.
24399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
24400 <libm-alias-double.h>.
24401 (modf): Define using libm_alias_double.
24402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
24403 Include <libm-alias-double.h>.
24404 (round): Define using libm_alias_double.
24405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
24406 Include <libm-alias-double.h>.
24407 (trunc): Define using libm_alias_double.
24408 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
24409 <libm-alias-double.h>.
24410 (ceil): Define using libm_alias_double.
24411 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
24412 <libm-alias-double.h>.
24413 (floor): Define using libm_alias_double.
24414 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
24415 <libm-alias-double.h>.
24416 (round): Define using libm_alias_double.
24417 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
24418 <libm-alias-double.h>.
24419 (trunc): Define using libm_alias_double.
24420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
24421 <libm-alias-double.h>.
24422 (ceil): Define using libm_alias_double.
24423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
24424 <libm-alias-double.h>.
24425 (floor): Define using libm_alias_double.
24426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
24427 <libm-alias-double.h>.
24428 (modf): Define using libm_alias_double.
24429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
24430 <libm-alias-double.h>.
24431 (round): Define using libm_alias_double.
24432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
24433 <libm-alias-double.h>.
24434 (trunc): Define using libm_alias_double.
24435 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
24436 <libm-alias-double.h>.
24437 (ceil): Define using libm_alias_double.
24438 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
24439 <libm-alias-double.h>.
24440 (floor): Define using libm_alias_double.
24441 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
24442 <libm-alias-double.h>.
24443 (nearbyint): Define using libm_alias_double.
24444 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
24445 <libm-alias-double.h>.
24446 (rint): Define using libm_alias_double.
24447 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
24448 <libm-alias-double.h>.
24449 (round): Define using libm_alias_double.
24450 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
24451 <libm-alias-double.h>.
24452 (trunc): Define using libm_alias_double.
24453 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
24454 <libm-alias-double.h>.
24455 (ceil): Define using libm_alias_double.
24456 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
24457 <libm-alias-double.h>.
24458 (floor): Define using libm_alias_double.
24459 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
24460 <libm-alias-double.h>.
24461 (round): Define using libm_alias_double.
24462 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
24463 <libm-alias-double.h>.
24464 (trunc): Define using libm_alias_double.
24466 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
24467 (fabs): Define using libm_alias_double.
24468 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
24469 (fma): Define using libm_alias_double.
24470 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
24471 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
24472 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
24473 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
24475 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24477 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
24479 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
24480 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
24481 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
24484 due redirect macro.
24486 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
24488 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
24490 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24492 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
24493 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
24494 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
24495 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
24497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24498 (libm-sysdep_routines): Add s_nearbyintf-generic and
24499 s_nearbyint-generic.
24500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
24502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
24503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
24505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
24507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
24509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24513 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
24514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
24516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
24517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
24519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
24520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
24521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24524 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
24525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
24527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
24528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
24530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
24531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
24532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
24534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24535 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
24536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
24538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
24539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
24541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
24542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
24543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24546 (sysdep_calls): New rule.
24547 (sysdep_routines): Use sysdep_calls as base.
24548 (libm-sysdep_routines): Add generic rule for symbols shared with
24549 libc. Add s_copysign-generic and s_copysign-generic objects.
24550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
24552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
24553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
24555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
24556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
24557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
24559 2017-12-01 Mike FABIAN <mfabian@redhat.com>
24562 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
24563 the list of locales to be built for testing.
24564 * localedata/is_IS.UTF-8.in: New file.
24565 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
24568 2017-12-01 Joseph Myers <joseph@codesourcery.com>
24570 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
24571 <libm-alias-float.h>.
24572 (fabsf): Define using libm_alias_float.
24574 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24576 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
24578 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24580 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
24581 <libm-alias-float.h>.
24582 (fabsf): Define using libm_alias_float.
24583 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
24584 <libm-alias-float.h>.
24585 (lrintf): Define using libm_alias_float.
24586 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
24587 <libm-alias-float.h>.
24588 (rintf): Define using libm_alias_float.
24590 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
24591 <libm-alias-double.h>.
24592 (fabs): Define using libm_alias_double.
24593 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
24594 <libm-alias-double.h>.
24595 (lrint): Define using libm_alias_double.
24596 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
24597 <libm-alias-double.h>.
24598 (rint): Define using libm_alias_double.
24600 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
24601 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
24602 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
24603 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
24604 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
24605 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
24606 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
24607 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
24608 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
24609 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
24610 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
24611 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
24612 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
24613 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
24614 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
24615 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
24616 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
24617 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
24619 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
24620 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
24621 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
24623 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
24624 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
24625 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
24627 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
24628 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
24629 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
24630 s_expm1_template.c.
24631 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
24632 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
24633 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
24635 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
24636 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
24637 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
24638 s_floor_template.c.
24639 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
24640 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
24641 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
24642 s_frexp_template.c.
24643 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
24644 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
24645 s_lrint_template.c.
24646 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
24647 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
24648 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
24650 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
24651 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
24652 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
24653 s_nearbyint_template.c.
24654 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
24655 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
24656 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
24657 s_remquo_template.c.
24658 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
24659 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
24660 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
24662 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
24663 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
24664 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
24666 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
24667 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
24668 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
24669 s_sincos_template.c.
24670 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
24671 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
24672 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
24674 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
24675 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
24676 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
24678 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
24679 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
24680 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
24681 s_trunc_template.c.
24682 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
24683 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
24684 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
24685 s_atan.c instead of including s_atan.c.
24686 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
24687 s_atanf.c instead of including s_atanf.c.
24688 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
24689 s_atanl.c instead of including s_atanl.c.
24690 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
24691 instead of s_atan.c.
24692 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
24693 instead of s_atanf.c.
24694 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
24695 instead of s_atanl.c.
24697 * scripts/update-copyrights: Do not handle intl/plural.c
24700 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
24703 * configure.ac (BISON): Require to be present.
24704 * configure: Regenerated.
24705 * intl/Makefile (generated): Add plural.c.
24706 [$(BISON) != no]: Make code unconditional.
24707 (plural.c): Change rule to $(objpfx)plural.c.
24708 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
24709 * intl/plural.c: Remove.
24710 * manual/install.texi (Tools for Compilation): Document bison as
24712 * INSTALL: Regenerated.
24714 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24716 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
24717 <libm-alias-double.h>.
24718 (llrint): Define using libm_alias_double.
24719 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
24720 <libm-alias-float.h>.
24721 (llrintf): Define using libm_alias_float.
24722 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
24723 <libm-alias-ldouble.h>.
24724 (llrintl): Define using libm_alias_ldouble.
24726 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
24727 declare_mgen_alias instead of weak_alias.
24728 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
24729 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
24730 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
24732 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24734 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24736 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
24737 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
24738 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
24740 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24741 Add submul_1-generic.
24742 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
24743 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
24744 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
24746 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24747 Add addmul_1-generic.
24748 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
24749 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
24750 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
24752 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24754 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
24755 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
24756 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
24758 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
24760 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
24761 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
24762 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
24764 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24766 According to CLDR, collation rules for Serbian and Bosnian
24767 should be the same as for Croatian.
24770 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
24771 and to the list of locales to be built for testing.
24772 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24773 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
24774 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
24775 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
24777 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24779 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
24780 to make test case pass.
24781 * localedata/hr_HR.UTF-8.in: Add more test strings.
24783 2017-11-30 Mike FABIAN <mfabian@redhat.com>
24785 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
24787 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24789 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
24790 the list of locales to built for testing.
24791 * localedata/hr_HR.UTF-8.in: New file.
24793 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
24796 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
24798 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
24799 CLDR (except use ligatures for the digraphs, CLDR does not use
24800 the ligatures), add first_workday, some fixes in the date and time
24802 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
24804 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
24805 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
24806 Add int_p_cs_precedes and int_n_cs_precedes.
24807 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
24808 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
24810 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
24811 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
24813 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
24814 and lang_lib. Change postal_fmt.
24816 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24818 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
24820 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24821 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
24822 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
24823 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
24824 * sysdeps/generic/setjmpP.h: New file.
24825 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
24826 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
24827 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
24828 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
24829 Add jmp_buf-ssp.sym.
24830 (tests): Add tst-saved_mask-1.
24832 2017-11-30 Arjun Shankar <arjun@redhat.com>
24836 * malloc/malloc.c (__libc_malloc): Use checked_request2size
24837 instead of request2size.
24839 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
24842 (__lllrint): Remove alias.
24843 (lllrint): Likewise.
24844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
24845 (__lllrintf): Likewise.
24846 (lllrintf): Likewise.
24848 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
24849 <libm-alias-float.h>.
24850 (copysignf): Define using libm_alias_float.
24851 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
24852 <libm-alias-float.h>.
24853 (fabsf): Define using libm_alias_float.
24854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24855 Include <libm-alias-float.h>.
24856 (copysignf): Define using libm_alias_float.
24857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
24858 <libm-alias-float.h>.
24859 (fabsf): Define using libm_alias_float.
24860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
24861 <libm-alias-float.h>.
24862 (fdimf): Define using libm_alias_float.
24863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
24864 <libm-alias-float.h>.
24865 (fmaf): Define using libm_alias_float.
24866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
24867 <libm-alias-float.h>.
24868 (llrintf): Define using libm_alias_float.
24869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24870 Include <libm-alias-float.h>.
24871 (nearbyintf): Define using libm_alias_float.
24872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
24873 <libm-alias-float.h>.
24874 (rintf): Define using libm_alias_float.
24875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
24876 <libm-alias-float.h>.
24877 (llrintf): Define using libm_alias_float.
24878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
24879 <libm-alias-float.h>.
24880 (lrintf): Define using libm_alias_float.
24881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
24882 <libm-alias-float.h>.
24883 (nearbyintf): Define using libm_alias_float.
24884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
24885 <libm-alias-float.h>.
24886 (rintf): Define using libm_alias_float.
24887 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
24888 <libm-alias-float.h>.
24889 (ceilf): Define using libm_alias_float.
24890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
24891 <libm-alias-float.h>.
24892 (floorf): Define using libm_alias_float.
24893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
24894 <libm-alias-float.h>.
24895 (fmaf): Define using libm_alias_float.
24896 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
24897 <libm-alias-float.h>.
24898 (lrintf): Define using libm_alias_float.
24899 (llrintf): Likewise.
24900 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
24901 <libm-alias-float.h>.
24902 (nearbyintf): Define using libm_alias_float.
24903 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
24904 <libm-alias-float.h>.
24905 (rintf): Define using libm_alias_float.
24906 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
24907 <libm-alias-float.h>.
24908 (truncf): Define using libm_alias_float.
24909 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
24910 <libm-alias-float.h>.
24911 (copysignf): Define using libm_alias_float.
24912 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
24913 <libm-alias-float.h>.
24914 (fabsf): Define using libm_alias_float.
24915 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
24916 <libm-alias-float.h>.
24917 (lrintf): Define using libm_alias_float.
24918 (llrintf): Likewise.
24919 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
24920 <libm-alias-float.h>.
24921 (nearbyintf): Define using libm_alias_float.
24922 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
24923 <libm-alias-float.h>.
24924 (rintf): Define using libm_alias_float.
24926 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24928 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24929 <libm-alias-double.h>.
24930 (copysign): Define using libm_alias_double.
24931 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
24932 <libm-alias-double.h>.
24933 (fabs): Define using libm_alias_double.
24934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24935 Include <libm-alias-double.h>.
24936 (copysign): Define using libm_alias_double.
24937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24938 <libm-alias-double.h>.
24939 (fabs): Define using libm_alias_double.
24940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
24941 <libm-alias-double.h>.
24942 (fdim): Define using libm_alias_double.
24943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
24944 <libm-alias-double.h>.
24945 (fma): Define using libm_alias_double.
24946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
24947 <libm-alias-double.h>.
24948 (llrint): Define using libm_alias_double.
24949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
24950 Include <libm-alias-double.h>.
24951 (nearbyint): Define using libm_alias_double.
24952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
24953 <libm-alias-double.h>.
24954 (rint): Define using libm_alias_double.
24955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24956 <libm-alias-double.h>.
24957 (fabs): Define using libm_alias_double.
24958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
24959 <libm-alias-double.h>.
24960 (llrint): Define using libm_alias_double.
24961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
24962 <libm-alias-double.h>.
24963 (nearbyint): Define using libm_alias_double.
24964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
24965 <libm-alias-double.h>.
24966 (rint): Define using libm_alias_double.
24967 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
24968 <libm-alias-double.h>.
24969 (ceil): Define using libm_alias_double.
24970 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
24971 <libm-alias-double.h>.
24972 (floor): Define using libm_alias_double.
24973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
24974 <libm-alias-double.h>.
24975 (fma): Define using libm_alias_double.
24976 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
24977 <libm-alias-double.h>.
24978 (lrint): Define using libm_alias_double.
24979 (llrint): Likewise.
24980 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
24981 <libm-alias-double.h>.
24982 (nearbyint): Define using libm_alias_double.
24983 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
24984 <libm-alias-double.h>.
24985 (rint): Define using libm_alias_double.
24986 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
24987 <libm-alias-double.h>.
24988 (trunc): Define using libm_alias_double.
24989 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
24990 <libm-alias-double.h>.
24991 (copysign): Define using libm_alias_double.
24992 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
24993 <libm-alias-double.h>.
24994 (fabs): Define using libm_alias_double.
24995 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
24996 <libm-alias-double.h>.
24997 (lrint): Define using libm_alias_double.
24998 (llrint): Likewise.
24999 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
25000 <libm-alias-double.h>.
25001 (nearbyint): Define using libm_alias_double.
25002 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
25003 <libm-alias-double.h>.
25004 (rint): Define using libm_alias_double.
25007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25009 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25011 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
25012 SPARC --disable-multi-arch glibc variants.
25014 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
25015 <libm-alias-float.h>.
25016 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25018 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
25019 <libm-alias-float.h>.
25020 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25022 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
25023 <libm-alias-float.h>.
25024 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25026 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
25027 <libm-alias-float.h>.
25028 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25030 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
25031 <libm-alias-float.h>.
25032 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25034 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
25035 <libm-alias-float.h>.
25036 (ceilf): Define using libm_alias_float.
25037 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
25038 <libm-alias-float.h>.
25039 (floorf): Define using libm_alias_float.
25040 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
25041 <libm-alias-float.h>.
25042 (fmaf): Define using libm_alias_float.
25043 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
25044 <libm-alias-float.h>.
25045 (nearbyintf): Define using libm_alias_float.
25046 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
25047 <libm-alias-float.h>.
25048 (rintf): Define using libm_alias_float.
25049 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
25050 <libm-alias-float.h>.
25051 (truncf): Define using libm_alias_float.
25052 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
25053 (copysignf): Define using libm_alias_float.
25054 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
25055 (cosf): Define using libm_alias_float.
25056 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25057 (fabsf): Define using libm_alias_float.
25058 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25059 (fmaxf): Define using libm_alias_float.
25060 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
25061 (fminf): Define using libm_alias_float.
25062 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
25063 (llrintf): Define using libm_alias_float.
25064 [!__ILP32__] (lrintf): Likewise.
25065 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
25066 (sincosf): Define using libm_alias_float.
25067 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
25068 (sinf): Define using libm_alias_float.
25069 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25070 (lrintf): Define using libm_alias_float.
25072 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
25073 <libm-alias-double.h>.
25074 (atan): Define using libm_alias_double.
25075 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
25076 <libm-alias-double.h>.
25077 (ceil): Define using libm_alias_double.
25078 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
25079 <libm-alias-double.h>.
25080 (floor): Define using libm_alias_double.
25081 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
25082 <libm-alias-double.h>.
25083 (fma): Define using libm_alias_double.
25084 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
25085 <libm-alias-double.h>.
25086 (nearbyint): Define using libm_alias_double.
25087 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
25088 <libm-alias-double.h>.
25089 (rint): Define using libm_alias_double.
25090 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
25091 <libm-alias-double.h>.
25092 (sin): Define using libm_alias_double.
25094 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
25095 <libm-alias-double.h>.
25096 (tan): Define using libm_alias_double.
25097 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
25098 <libm-alias-double.h>.
25099 (trunc): Define using libm_alias_double.
25100 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
25101 (copysign): Define using libm_alias_double.
25102 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
25103 (fabs): Define using libm_alias_double.
25104 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
25105 (fmax): Define using libm_alias_double.
25106 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
25107 (fmin): Define using libm_alias_double.
25108 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
25109 (llrint): Define using libm_alias_double.
25110 [!__ILP32__] (lrint): Likewise.
25111 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
25112 (lrint): Define using libm_alias_double.
25114 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25117 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
25119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
25120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
25121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
25122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
25123 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
25124 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25126 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25127 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
25129 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
25130 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
25131 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
25132 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
25133 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
25134 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25137 (libm-sysdep_routines): Add s_nearbyint-generic and
25138 s_nearbyintf-generic objects.
25139 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
25140 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
25141 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
25142 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
25143 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
25144 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
25146 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25147 Add s_finitef-generic and s_finite-generic objects.
25148 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
25149 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
25150 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
25151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
25152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
25153 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
25155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25156 Add s_isinff-generic and s_isinf-generic objects.
25157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
25158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
25159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
25160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
25161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
25162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25164 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25165 Add s_isnanf-generic and s_isnan-generic objects.
25166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
25167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
25168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
25169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
25170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
25171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25173 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
25175 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
25177 (sysdep_routines): Use sysdep_calls as base.
25178 (libm-sysdep_routines): Add generic rule for symbols shared with
25179 libc. Add s_signbit-generic and s_signbitf-generic objects.
25180 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
25181 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
25182 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
25183 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
25184 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
25185 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25187 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25189 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
25190 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
25191 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
25192 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
25193 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
25194 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
25195 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
25196 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
25197 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
25198 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
25199 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
25200 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
25201 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
25202 libm_alias_float_r.
25203 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
25204 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
25206 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
25207 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
25208 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
25209 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
25210 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
25211 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
25212 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
25213 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
25214 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
25215 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
25217 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
25219 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
25220 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
25221 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
25222 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
25223 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
25224 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
25225 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
25226 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
25227 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
25228 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
25229 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
25230 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
25231 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
25232 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
25233 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
25234 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
25235 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
25236 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
25237 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
25239 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
25240 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
25241 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
25242 * sysdeps/ia64/fpu/w_lgammaf_main.c
25243 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
25244 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
25246 2017-11-28 Mike FABIAN <mfabian@redhat.com>
25247 Alexandre Oliva <aoliva@redhat.com>
25250 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
25251 * localedata/fr_CA.UTF-8.in: New file with test data for backward
25253 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
25255 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
25256 * localedata/locales/de_DE (LC_COLLATE): Likewise.
25257 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
25258 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
25259 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
25260 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
25261 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
25262 instead of “ifdef DIACRIT_BACKWARD”.
25264 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25266 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
25267 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
25268 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
25269 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
25270 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
25271 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
25272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
25273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
25274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
25275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
25276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
25277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
25278 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
25279 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
25280 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
25281 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25282 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
25283 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
25284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25285 ($(have-as-vis3) == yes): Remove conditional.
25286 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
25288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
25290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
25292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
25294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
25296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
25297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
25298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
25299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
25300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
25301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
25302 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
25303 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
25305 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25307 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
25308 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
25309 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
25310 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
25311 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
25312 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
25313 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
25314 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
25315 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
25316 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
25317 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
25318 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
25319 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
25320 libm_alias_double_r.
25321 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
25323 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
25324 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
25325 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
25326 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
25327 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
25328 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
25329 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
25330 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
25331 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
25332 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
25333 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
25335 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
25337 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
25338 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
25339 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
25340 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
25341 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
25342 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
25343 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
25344 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
25345 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
25346 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
25347 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
25348 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
25349 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
25350 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
25351 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
25352 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
25353 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
25354 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
25356 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
25357 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
25358 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
25359 * sysdeps/ia64/fpu/w_lgamma_main.c
25360 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
25361 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
25363 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
25365 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
25366 address of $global$ into %dp register earlier. Use pc-relative
25367 instruction sequence for PIC case.
25369 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25371 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
25372 (asinhf): Define using libm_alias_float.
25373 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
25374 (atanf): Define using libm_alias_float.
25375 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
25376 (cbrtf): Define using libm_alias_float.
25377 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
25378 (ceilf): Define using libm_alias_float.
25379 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
25380 (copysignf): Define using libm_alias_float.
25381 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
25382 (expm1f): Define using libm_alias_float.
25383 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
25384 (fabsf): Define using libm_alias_float.
25385 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
25386 (floorf): Define using libm_alias_float.
25387 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25388 (fmaxf): Define using libm_alias_float.
25389 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
25390 (fminf): Define using libm_alias_float.
25391 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
25392 (frexpf): Define using libm_alias_float.
25393 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
25394 (llrintf): Define using libm_alias_float.
25395 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
25396 (logbf): Define using libm_alias_float.
25397 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25398 (lrintf): Define using libm_alias_float.
25399 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
25400 (nearbyintf): Define using libm_alias_float.
25401 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
25402 (remquof): Define using libm_alias_float.
25403 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
25404 (rintf): Define using libm_alias_float.
25405 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
25406 (truncf): Define using libm_alias_float.
25407 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
25408 <libm-alias-float.h>.
25409 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25411 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
25412 <libm-alias-float.h>.
25413 (expf): Define using libm_alias_float, or libm_alias_float_other
25415 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
25416 <libm-alias-float.h>.
25417 (log2f): Define using libm_alias_float, or libm_alias_float_other
25419 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
25420 <libm-alias-float.h>.
25421 (logf): Define using libm_alias_float, or libm_alias_float_other
25423 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
25424 <libm-alias-float.h>.
25425 (powf): Define using libm_alias_float, or libm_alias_float_other
25427 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
25428 <libm-alias-float.h>.
25429 (cosf): Define using libm_alias_float.
25430 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
25431 <libm-alias-float.h>.
25432 (sincosf): Define using libm_alias_float.
25433 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
25434 <libm-alias-float.h>.
25435 (sinf): Define using libm_alias_float.
25436 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25437 (fmaxf): Define using libm_alias_float.
25438 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
25439 (fminf): Define using libm_alias_float.
25440 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25441 <libm-alias-float.h>.
25442 (fmaf): Define using libm_alias_float.
25444 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
25445 (asinh): Define using libm_alias_double.
25446 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
25447 (atan): Define using libm_alias_double.
25448 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
25449 (cbrt): Define using libm_alias_double.
25450 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
25451 (ceil): Define using libm_alias_double.
25452 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
25453 (copysign): Define using libm_alias_double.
25454 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
25455 (expm1): Define using libm_alias_double.
25456 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
25457 (fabs): Define using libm_alias_double.
25458 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
25459 (fdim): Define using libm_alias_double.
25460 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
25461 (floor): Define using libm_alias_double.
25462 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
25463 (fmax): Define using libm_alias_double.
25464 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
25465 (fmin): Define using libm_alias_double.
25466 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
25467 (frexp): Define using libm_alias_double.
25468 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
25469 (llrint): Define using libm_alias_double.
25470 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
25471 (logb): Define using libm_alias_double.
25472 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
25473 (lrint): Define using libm_alias_double.
25474 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
25475 (nearbyint): Define using libm_alias_double.
25476 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
25477 (remquo): Define using libm_alias_double.
25478 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
25479 (rint): Define using libm_alias_double.
25480 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
25481 (trunc): Define using libm_alias_double.
25482 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
25483 (fmax): Define using libm_alias_double.
25484 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
25485 (fmin): Define using libm_alias_double.
25486 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
25487 (fma): Define using libm_alias_double.
25489 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
25492 * elf/dl-hwcaps.c (ROUND): Removed.
25493 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
25494 and ELF_NOTE_NEXT_OFFSET.
25495 * elf/dl-load.c (ROUND): Removed.
25496 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25497 * elf/readelflib.c (ROUND): Removed.
25498 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25499 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
25500 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
25501 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
25503 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25505 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25506 [!__fmaf] (fmaf): Define using libm_alias_float.
25508 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
25509 [!__fma] (fma): Define using libm_alias_double.
25510 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
25512 2017-11-28 Mike FABIAN <mfabian@redhat.com>
25515 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
25516 and implement the collation rules for cs from CLDR on top of that.
25517 * Makefile: Add cs_CZ.UTF-8 to test-input.
25518 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
25520 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
25522 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
25524 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25525 Icarus Sparry <icarus.w.sparry@intel.com>
25527 * benchtests/Makefile:Add BENCHSET to allow subsets of
25528 benchmarks to be run.
25529 * benchtests/README: Add documentation for: Running subsets of
25532 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25534 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
25535 range of tests names.
25537 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
25538 result from property and remove "max", min" and "mean" from
25539 required properties based on benchtests/bench-skeleton.c.
25541 2017-11-28 Florian Weimer <fweimer@redhat.com>
25544 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
25545 due to Internet requirement.
25546 * posix/Makefile (tests): Remove tst-getaddrinfo4,
25548 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
25550 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25552 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25553 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
25554 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25555 (sysdep_routines): Add memset-ultra1.
25556 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
25558 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
25559 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
25560 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
25561 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
25562 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
25563 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
25564 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
25565 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25567 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
25569 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
25570 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
25571 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
25572 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
25573 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
25574 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
25575 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
25577 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25578 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
25579 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25580 (sysdep_routines): Add memcpy-ultra1.
25581 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
25582 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
25584 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25586 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
25587 (cfloat_versions): Take function argument without trailing 'f'.
25588 Call libm_alias_float_other.
25589 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
25590 * sysdeps/alpha/fpu/cargf.c: Likewise.
25591 * sysdeps/alpha/fpu/cimagf.c: Likewise.
25592 * sysdeps/alpha/fpu/conjf.c: Likewise.
25593 * sysdeps/alpha/fpu/crealf.c: Likewise.
25594 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
25595 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
25596 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
25597 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
25598 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
25599 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
25600 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
25601 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
25602 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
25603 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
25604 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
25605 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
25606 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
25607 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
25608 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
25609 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
25610 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
25611 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
25612 (clog10f): Use libm_alias_float_other.
25613 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25614 (ceilf): Define using libm_alias_float.
25615 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
25616 (copysignf): Define using libm_alias_float.
25617 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25618 (fabsf): Define using libm_alias_float.
25619 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
25620 (floorf): Define using libm_alias_float.
25621 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
25622 (fmaxf): Define using libm_alias_float.
25623 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
25624 (fminf): Define using libm_alias_float.
25625 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25626 (lrintf): Define using libm_alias_float.
25627 (llrintf): Likewise.
25628 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25629 (lroundf): Define using libm_alias_float.
25630 (llroundf): Likewise.
25631 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
25632 (rintf): Define using libm_alias_float.
25633 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
25634 (truncf): Define using libm_alias_float.
25636 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
25637 (ceilf): Define using libm_alias_float.
25638 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
25639 (floorf): Define using libm_alias_float.
25640 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25641 (fmaf): Define using libm_alias_float.
25642 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
25643 (fmaxf): Define using libm_alias_float.
25644 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
25645 (fminf): Define using libm_alias_float.
25646 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
25647 (llrintf): Define using libm_alias_float.
25648 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
25649 (llroundf): Define using libm_alias_float.
25650 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
25651 (lrintf): Define using libm_alias_float.
25652 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
25653 (lroundf): Define using libm_alias_float.
25654 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
25655 <libm-alias-float.h>.
25656 (nearbyintf): Define using libm_alias_float.
25657 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
25658 (rintf): Define using libm_alias_float.
25659 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
25660 (roundf): Define using libm_alias_float.
25661 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
25662 (truncf): Define using libm_alias_float.
25664 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
25665 (ceil): Define using libm_alias_double.
25666 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
25667 (copysign): Define using libm_alias_double.
25668 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
25669 (fabs): Define using libm_alias_double.
25670 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
25671 (floor): Define using libm_alias_double.
25672 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
25673 (fmax): Define using libm_alias_double.
25674 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
25675 (fmin): Define using libm_alias_double.
25676 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
25677 (lrint): Define using libm_alias_double.
25678 (llrint): Likewise.
25679 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
25680 (lround): Define using libm_alias_double.
25681 (llround): Likewise.
25682 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
25683 (rint): Define using libm_alias_double.
25684 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
25685 (trunc): Define using libm_alias_double.
25687 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
25688 (libm_alias_double_r): Add semicolon after weak_alias call.
25690 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25692 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
25693 (ceil): Define using libm_alias_double.
25694 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
25695 (floor): Define using libm_alias_double.
25696 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
25697 (fma): Define using libm_alias_double.
25698 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
25699 (fmax): Define using libm_alias_double.
25700 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
25701 (fmin): Define using libm_alias_double.
25702 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
25703 (llrint): Define using libm_alias_double.
25704 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
25705 (llround): Define using libm_alias_double.
25706 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
25707 (lrint): Define using libm_alias_double.
25708 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
25709 (lround): Define using libm_alias_double.
25710 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
25711 (nearbyint): Define using libm_alias_double.
25712 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
25713 (rint): Define using libm_alias_double.
25714 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
25715 (round): Define using libm_alias_double.
25716 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
25717 (trunc): Define using libm_alias_double.
25719 2017-11-27 Florian Weimer <fweimer@redhat.com>
25721 * sysdeps/unix/sysv/linux/mlock2.c: New file.
25722 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
25723 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
25724 (tests): Add tst-mlock2.
25725 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
25726 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
25727 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
25728 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
25729 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
25730 for mlock. Document mlock2.
25732 2017-11-27 Joseph Myers <joseph@codesourcery.com>
25734 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
25735 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
25737 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
25739 * sysdeps/x86/Makeconfig: New file.
25740 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
25741 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25742 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
25743 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25744 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25745 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25746 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
25748 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25749 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25750 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25751 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25752 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25753 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
25754 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
25755 * manual/math.texi (Mathematics): Document support for _Float64x.
25756 * math/Versions (GLIBC_2.27): Add _Float64x functions.
25757 * stdlib/Versions (GLIBC_2.27): Likewise.
25758 * wcsmbs/Versions (GLIBC_2.27): Likewise.
25759 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25760 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25761 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25762 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25763 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25764 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25765 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25766 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25767 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25768 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25769 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25774 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25775 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25776 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25777 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25778 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25779 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25780 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25781 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25782 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25783 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25784 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25785 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25786 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25787 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25789 2017-11-27 Andreas Schwab <schwab@suse.de>
25791 * elf/Makefile (dl-routines): Add dl-sort-maps.
25792 * elf/dl-sort-maps.c: New file.
25793 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
25794 (_dl_sort_maps): Declare.
25795 * elf/dl-fini.c (_dl_sort_fini): Remove.
25796 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
25797 * elf/dl-close.c (_dl_close_worker): Likewise.
25798 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
25800 * elf/dl-open.c (dl_open_worker): Likewise.
25802 2017-11-24 Joseph Myers <joseph@codesourcery.com>
25804 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
25805 using libm_alias_float128.
25806 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
25808 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
25810 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
25811 (setpayloadsigf128): Likewise.
25812 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
25814 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
25817 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
25818 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
25819 -mfloat128 to CFLAGS.
25821 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
25823 (CFLAGS-libm-test-support-float64x.c): New variable.
25824 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
25825 $(f128-loader-link) to gnulib-tests.
25827 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
25828 (libm_alias_float128_other_r): If
25829 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
25831 (libm_alias_float128_r): Add semicolon after weak_alias call.
25832 * sysdeps/generic/libm-alias-ldouble.h
25833 (libm_alias_ldouble_other_r_f128): New macro.
25834 (libm_alias_ldouble_other_r_f64x): Likewise.
25835 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25836 and libm_alias_ldouble_other_r_f64x.
25837 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
25838 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
25839 (libm_alias_ldouble_other_r_f128): New macro.
25840 (libm_alias_ldouble_other_r_f64x): Likewise.
25841 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
25842 and libm_alias_ldouble_other_r_f64x.
25844 * stdlib/strfroml.c: Always include <stdlib.h>.
25845 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
25846 undefine as macro and define as weak alias.
25847 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
25848 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
25850 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
25851 Define and later undefine as macro and define as weak alias.
25853 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25854 Define and later undefine as macro. Define as weak alias if
25856 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
25857 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25858 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
25859 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
25860 Define and later undefine as macro. Define as weak alias if
25862 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
25863 Define and later undefine as macro. Define as weak alias if
25865 * sysdeps/ieee754/float128/strtof128_l.c
25866 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
25867 Define and later undefine as macro. Define as weak alias if
25869 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
25870 Define and later undefine as macro. Define as weak alias if
25872 * sysdeps/ieee754/ldbl-128/strtold_l.c
25873 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25874 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25875 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25876 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25877 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
25878 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25879 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25880 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25881 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25882 * sysdeps/ieee754/ldbl-96/strtold_l.c
25883 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
25884 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25885 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
25886 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
25888 * math/test-float64x.h: New file.
25889 * math/Makefile (type-float64x-yes): New variable.
25890 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
25892 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
25893 function-like macro.
25894 (min_of_type_): Likewise.
25895 (min_of_type_l): Likewise.
25896 (min_of_type_f128): Likewise.
25897 (min_of_type): Pass () as last argument of __MATH_TG.
25899 * stdlib/tst-strtod-round-skeleton.c
25900 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
25903 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
25904 for combinations of long double with _Float64 and _Float64x.
25906 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
25907 (__DECL_SIMD_cosf32): Likewise.
25908 (__DECL_SIMD_cosf64): Likewise.
25909 (__DECL_SIMD_cosf32x): Likewise.
25910 (__DECL_SIMD_cosf64x): Likewise.
25911 (__DECL_SIMD_cosf128x): Likewise.
25912 (__DECL_SIMD_sinf16): Likewise.
25913 (__DECL_SIMD_sinf32): Likewise.
25914 (__DECL_SIMD_sinf64): Likewise.
25915 (__DECL_SIMD_sinf32x): Likewise.
25916 (__DECL_SIMD_sinf64x): Likewise.
25917 (__DECL_SIMD_sinf128x): Likewise.
25918 (__DECL_SIMD_sincosf16): Likewise.
25919 (__DECL_SIMD_sincosf32): Likewise.
25920 (__DECL_SIMD_sincosf64): Likewise.
25921 (__DECL_SIMD_sincosf32x): Likewise.
25922 (__DECL_SIMD_sincosf64x): Likewise.
25923 (__DECL_SIMD_sincosf128x): Likewise.
25924 (__DECL_SIMD_logf16): Likewise.
25925 (__DECL_SIMD_logf32): Likewise.
25926 (__DECL_SIMD_logf64): Likewise.
25927 (__DECL_SIMD_logf32x): Likewise.
25928 (__DECL_SIMD_logf64x): Likewise.
25929 (__DECL_SIMD_logf128x): Likewise.
25930 (__DECL_SIMD_expf16): Likewise.
25931 (__DECL_SIMD_expf32): Likewise.
25932 (__DECL_SIMD_expf64): Likewise.
25933 (__DECL_SIMD_expf32x): Likewise.
25934 (__DECL_SIMD_expf64x): Likewise.
25935 (__DECL_SIMD_expf128x): Likewise.
25936 (__DECL_SIMD_powf16): Likewise.
25937 (__DECL_SIMD_powf32): Likewise.
25938 (__DECL_SIMD_powf64): Likewise.
25939 (__DECL_SIMD_powf32x): Likewise.
25940 (__DECL_SIMD_powf64x): Likewise.
25941 (__DECL_SIMD_powf128x): Likewise.
25943 * stdlib/Versions (libc): Move entries for wcstof128 and
25944 wcstof128_l to ....
25945 * wcsmbs/Versions (libc): ... here.
25946 Include <float128-abi.h>.
25948 2017-11-24 Florian Weimer <fweimer@redhat.com>
25950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25951 bits/mman-shared.h.
25952 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
25953 <bits/mman-shared.h>.
25954 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
25956 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
25957 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
25958 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
25959 <bits/mman-shared.h>.
25961 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25964 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
25965 posix_memalign/free.
25966 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
25968 2017-11-22 Mike FABIAN <mfabian@redhat.com>
25971 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
25972 and implement the collation rules for pl from CLDR on top of that.
25973 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
25974 of locales to be built for testing.
25975 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
25977 2017-11-23 Joseph Myers <joseph@codesourcery.com>
25979 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
25980 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
25981 libm_alias_ldouble_other.
25982 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
25983 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
25984 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
25985 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
25986 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
25987 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
25988 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
25989 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
25990 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
25991 libm_alias_ldouble_r.
25992 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
25993 libm_alias_ldouble_other.
25994 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
25995 (log10l): Likewise.
25996 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
25997 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
25998 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
25999 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
26000 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
26001 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
26002 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
26003 (atan2l): Likewise.
26004 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
26005 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
26006 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
26007 libm_alias_ldouble.
26008 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
26010 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
26011 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
26012 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
26014 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
26015 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
26016 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
26017 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
26018 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
26019 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
26020 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
26021 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
26022 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
26023 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
26024 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
26025 libm_alias_ldouble.
26026 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
26027 libm_alias_ldouble_other.
26028 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
26029 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
26030 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
26031 libm_alias_ldouble.
26032 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
26033 libm_alias_ldouble_other.
26034 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
26035 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
26036 * sysdeps/ia64/fpu/w_lgammal_main.c
26037 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
26038 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
26040 2017-11-23 Florian Weimer <fweimer@redhat.com>
26042 * malloc/malloc.c (tcache_thread_shutdown): Rename from
26043 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
26044 alike. Remove freeres marker.
26045 * malloc/arena.c (arena_thread_freeres): Call
26046 tcache_thread_shutdown.
26048 2017-11-23 Florian Weimer <fweimer@redhat.com>
26051 Export nscd hash function as __nss_hash.
26052 * include/nss.h (__nss_hash): Declare.
26053 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
26055 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
26056 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
26058 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
26059 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
26060 * nss/Makefiles (routines): Add nss_hash.
26061 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
26062 * nss/nss_hash.c: Rename from nis/nis_hash.c.
26063 (__nss_hash): Rename from __nis_hash. Define hidden alias.
26064 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
26066 2017-11-23 Florian Weimer <fweimer@redhat.com>
26069 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
26070 Return error code, not -1.
26071 * signal/tst-sigwait-eintr.c: New file.
26072 * signal/Makefile (tests): Add tst-sigwait-eintr.
26074 2017-11-23 Florian Weimer <fweimer@redhat.com>
26076 Linux: Add memfd_create system call wrapper
26077 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
26079 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
26080 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
26081 [__USE_GNU] (memfd_create): Declare.
26082 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
26083 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
26084 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
26085 * sysdeps/unix/sysv/linux/**.abilist: Update.
26086 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
26088 2017-11-22 Joseph Myers <joseph@codesourcery.com>
26090 * localedata/gen-locale.sh: Fix typo in variable name.
26092 * resolv/res_debug.c (p_secstodate): Condition definition on
26093 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
26094 directly as __p_secstodate, and as a compat symbol. Do not use
26095 libresolv_hidden_def.
26096 * resolv/resolv.h (p_secstodate): Remove macro and function
26098 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
26099 using p_secstodate.
26100 * include/resolv.h (__p_secstodate): Do not use
26101 libresolv_hidden_proto.
26102 * resolv/Makefile (tests): Move tst-p_secstodate to ....
26103 (tests-internal): ... here.
26104 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
26105 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
26106 and declare and use __p_secstodate and use compat_symbol_reference
26108 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
26109 implementation returning 77.
26112 * resolv/res_debug.c: Include <libc-diag.h>.
26113 (p_secstodate): Assert time_t at least as wide as u_long. On
26114 overflow, use integer seconds since the epoch as output, or use
26115 "<overflow>" as output and set errno to EOVERFLOW if integer
26116 seconds since the epoch would be 14 or more characters.
26117 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
26119 * resolv/tst-p_secstodate.c: New file.
26120 * resolv/Makefile (tests): Add tst-p_secstodate.
26121 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
26123 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
26124 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26125 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
26127 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
26129 * posix/regcomp.c (init_word_char): Add comments.
26131 2017-11-22 Joseph Myers <joseph@codesourcery.com>
26134 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
26135 strlen to compute length of ut_user and set trailing NUL byte of
26138 2017-11-21 Mike FABIAN <mfabian@redhat.com>
26141 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
26142 using “copy "iso14651_t1"” and then implementing the
26143 collation rules for lv from CLDR on top of that.
26144 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
26145 of locales to be built for testing.
26146 * lv_LV.UTF-8.in: New file with test data to test the Latvian
26149 2017-11-21 Joseph Myers <joseph@codesourcery.com>
26151 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26152 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
26153 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
26154 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
26155 [__USE_MISC] (MADV_HWPOISON): New macro.
26156 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
26158 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26160 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
26161 -Wmissing-braces on GCC 4.9.
26163 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26165 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
26166 * sysdeps/s390/s390-32/start.S (_start): Likewise
26167 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
26168 (thread_start): Likewise.
26169 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
26170 (thread_start): Likewise.
26171 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
26172 (__makecontext_ret): Likewise.
26173 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
26174 (__makecontext_ret): Likewise.
26176 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26178 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
26179 __wcschrnul): Remove attribute_hidden.
26181 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
26183 regex: don't assume uint64_t or uint32_t
26184 This avoids -Werror=overflow errors for 32-bit systems in
26185 the 64-bit case. Problem reported by Joseph Myers in:
26186 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
26187 Also, when this code is used in Gnulib it ports to platforms
26188 that lack uint64_t and uint32_t. The C standard doesn't guarantee
26189 them, and on some 32-bit compilers there is no uint64_t.
26190 Problem reported by Gianluigi Tiesi in:
26191 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
26192 * posix/regcomp.c (init_word_char): Don't assume that the types
26193 uint64_t and uint32_t exist. Adapted from Gnulib patch
26194 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
26195 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
26197 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
26199 * sysdeps/aarch64/memset-reg.h: New file.
26200 * sysdeps/aarch64/memset.S: Use it.
26201 (__memset): Rename to MEMSET macro.
26202 [ZVA_MACRO]: Use zva_macro.
26203 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
26204 Add memset_generic and memset_falkor.
26205 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26206 (__libc_ifunc_impl_list): Add memset ifuncs.
26207 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
26208 local variable zva_size.
26209 * sysdeps/aarch64/multiarch/memset.c: New file.
26210 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
26211 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
26212 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
26213 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
26214 (DCZID_DZP_MASK): New macro.
26215 (DCZID_BS_MASK): Likewise.
26216 (init_cpu_features): Read and set zva_size.
26217 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
26218 (struct cpu_features): New member zva_size.
26220 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
26221 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
26222 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
26224 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
26225 backwards. Fix timing computation.
26226 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
26227 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
26228 on memset by N at a time. Fix timing computation.
26230 2017-11-20 Florian Weimer <fweimer@redhat.com>
26232 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
26233 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
26235 2017-11-19 Florian Weimer <fweimer@redhat.com>
26237 manual: Document mprotect
26238 * manual/memory.texi (Memory Protection): New section.
26239 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
26240 documentation of PROT_* flags and reference the Memory Protection
26243 2017-11-19 Florian Weimer <fweimer@redhat.com>
26245 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
26246 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
26247 (Scatter-Gather): ... to here. Remove misleading comment.
26249 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
26251 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
26254 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
26255 when /proc/<pid>/setgroups does not exist.
26257 2017-11-18 Florian Weimer <fweimer@redhat.com>
26259 * sysdeps/unix/sysv/linux/tst-ttyname.c
26260 (become_root_in_mount_ns): Remove.
26261 (do_in_chroot_1): Call support_enter_mount_namespace.
26262 (do_in_chroot_2): Likewise.
26263 (do_test): Call support_become_root early.
26265 2017-11-18 Florian Weimer <fweimer@redhat.com>
26267 * support/namespace.h (support_enter_mount_namespace): Declare.
26268 * support/support_enter_mount_namespace.c: New file.
26269 * support/Makefile (libsupport-routines): Add
26270 support_enter_mount_namespace.
26272 2017-11-18 Florian Weimer <fweimer@redhat.com>
26274 * support/temp_file.c (support_create_temp_directory): Use
26275 test_dir and do not rely on the presence of the XXXXXX suffix.
26276 * support/temp_file.h (support_create_temp_directory): Update
26278 * support/tst-xreadlink.c (do_test): Adjust.
26279 * support/support_chroot.c (support_chroot_create): Likewise.
26281 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26283 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
26285 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
26288 2017-11-17 Joseph Myers <joseph@codesourcery.com>
26290 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
26291 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
26292 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
26293 (ceill): Define using libm_alias_ldouble.
26294 * sysdeps/x86_64/fpu/s_copysignl.S: Include
26295 <libm-alias-ldouble.h>.
26296 (copysignl): Define using libm_alias_ldouble.
26297 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
26298 (fabsl): Define using libm_alias_ldouble.
26299 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
26300 (floorl): Define using libm_alias_ldouble.
26301 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26302 (fmaxl): Define using libm_alias_ldouble.
26303 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26304 (fminl): Define using libm_alias_ldouble.
26305 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
26306 (llrintl): Define using libm_alias_ldouble.
26307 (lrintl): Likewise.
26308 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
26309 <libm-alias-ldouble.h>.
26310 (nearbyintl): Define using libm_alias_ldouble.
26311 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
26312 (truncl): Define using libm_alias_ldouble.
26313 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
26314 <libm-alias-ldouble.h>.
26315 (lrintl): Define using libm_alias_ldouble.
26317 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
26318 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
26319 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
26320 (asinhl): Define using libm_alias_ldouble.
26321 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
26322 (atanl): Define using libm_alias_ldouble.
26323 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
26324 (cbrtl): Define using libm_alias_ldouble.
26325 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
26326 (ceill): Define using libm_alias_ldouble.
26327 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
26328 (copysignl): Define using libm_alias_ldouble.
26329 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
26330 (fabsl): Define using libm_alias_ldouble.
26331 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
26332 (floorl): Define using libm_alias_ldouble.
26333 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26334 (fmaxl): Define using libm_alias_ldouble.
26335 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26336 (fminl): Define using libm_alias_ldouble.
26337 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
26338 (frexpl): Define using libm_alias_ldouble.
26339 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
26340 (llrintl): Define using libm_alias_ldouble.
26341 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
26342 (logbl): Define using libm_alias_ldouble.
26343 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
26344 (lrintl): Define using libm_alias_ldouble.
26345 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
26346 (nearbyintl): Define using libm_alias_ldouble.
26347 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
26348 (nextafterl): Define using libm_alias_ldouble.
26349 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
26350 (remquol): Define using libm_alias_ldouble.
26351 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
26352 (rintl): Define using libm_alias_ldouble.
26353 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
26354 (truncl): Define using libm_alias_ldouble.
26355 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26356 (fmaxl): Define using libm_alias_ldouble.
26357 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26358 (fminl): Define using libm_alias_ldouble.
26360 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
26361 to C syntax instead of availability and properties of types.
26362 * bits/floatn.h [!__ASSEMBLER]: Likewise.
26363 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
26364 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
26365 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
26366 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
26367 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
26369 2017-11-17 Florian Weimer <fweimer@redhat.com>
26371 support_become_root: Enable file creation in namespaces.
26372 * support/support_become_root.c (setup_mapping): New function.
26373 (support_become_root): Call it.
26375 2017-11-17 Joseph Myers <joseph@codesourcery.com>
26377 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
26380 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26382 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
26383 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
26385 2017-11-16 Joseph Myers <joseph@codesourcery.com>
26387 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
26389 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
26392 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26394 * INSTALL: Fix botched up regeneration.
26396 * NEWS: Update sourceare link to https.
26397 * configure.ac: Likewise.
26398 * crypt/md5test-giant.c: Likewise.
26399 * dlfcn/bug-atexit1.c: Likewise.
26400 * dlfcn/bug-atexit2.c: Likewise.
26401 * localedata/README: Likewise.
26402 * malloc/tst-mallocfork.c: Likewise.
26403 * manual/install.texi: Likewise.
26404 * nptl/tst-pthread-getattr.c: Likewise.
26405 * stdio-common/tst-fgets.c: Likewise.
26406 * stdio-common/tst-fwrite.c: Likewise.
26407 * sunrpc/Makefile: Likewise.
26408 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
26409 * wcsmbs/tst-mbrtowc2.c: Likewise.
26410 * configure: Regenerate.
26411 * INSTALL: Regenerate.
26413 2017-11-15 Martin Sebor <msebor@redhat.com>
26415 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
26416 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
26417 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
26419 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26422 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
26423 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
26426 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
26427 Defer is_pty check until end of the function.
26428 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26431 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
26432 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
26433 (ttyname): Likewise.
26434 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
26435 (__ttyname_r): Likewise.
26437 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
26440 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
26442 * manual/terminal.texi (Is It a Terminal):
26443 Mention ENODEV for ttyname and ttyname_r.
26445 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26447 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
26448 constant and macro.
26450 * sysdeps/unix/sysv/linux/bits/mman-linux.h
26451 [__USE_MISC] (MADV_WIPEONFORK): New macro.
26452 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26453 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26454 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
26455 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26457 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26459 * signal/sigrelse.c (sigrelse): Optimize implementation.
26461 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
26462 (__sigpause): Rely on __sigsuspend to implement single thread
26463 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
26465 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26467 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26468 kernel version to 4.14.
26470 2017-11-15 Steve Ellcey <sellcey@cavium.com>
26473 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
26474 Check if ifname is too long.
26476 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26478 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
26480 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26482 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
26483 was accidentally lost.
26485 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26487 * localedata/locales/az_IR: Add standard copyright header.
26489 2017-11-15 Florian Weimer <fweimer@redhat.com>
26492 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
26493 not just the top one. Output a new "subheaps" statistic.
26495 2017-11-15 Florian Weimer <fweimer@redhat.com>
26498 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
26499 under the per-arena lock.
26500 * malloc/Makefile (tests): Add tst-malloc_info.
26501 (tst-malloc_info): Link with libpthread.
26502 * malloc/tst-malloc_info.c: New file.
26504 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26507 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
26508 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
26509 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
26510 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
26511 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
26512 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
26513 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
26514 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
26515 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
26516 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
26517 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
26518 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
26519 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
26520 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
26521 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
26522 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
26523 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
26524 (__floating_type): Likewise.
26525 (__real_integer_type): Likewise.
26526 (__complex_integer_type): Likewise.
26527 (__expr_is_real): Likewise.
26528 (__tgmath_real_type_sub): Likewise.
26529 (__tgmath_real_type): Likewise.
26530 (__tgmath_complex_type_sub): Likewise.
26531 (__tgmath_complex_type): Likewise.
26532 (__TGMATH_F128): Likewise.
26533 (__TGMATH_CF128): Likewise.
26534 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
26536 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
26537 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
26539 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
26541 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
26542 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
26543 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
26544 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
26546 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
26547 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
26549 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
26550 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
26551 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
26553 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
26554 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
26555 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
26559 2017-11-14 Joseph Myers <joseph@codesourcery.com>
26561 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
26562 for stpncpy calls for GCC 8.
26563 (test_strncat): Disable -Wstringop-truncation warning for strncat
26564 calls for GCC 8. Disable -Wstringop-overflow= warning for one
26565 strncat call for GCC 7.
26566 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
26568 (test_memcmp): Use memcpy instead of strncpy for calls not copying
26571 * string/bug-strncat1.c: Include <libc-diag.h>.
26572 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
26574 2017-11-13 Claude Paroz <claude@2xlibre.net>
26577 * localedata/locales/aa_DJ: Improved readibility by replacing
26578 <Uxxxx> sequences in the ASCII printable range by their ASCII
26579 character equivalents.
26580 * localedata/locales/aa_ER: Likewise.
26581 * localedata/locales/aa_ER@saaho: Likewise.
26582 * localedata/locales/aa_ET: Likewise.
26583 * localedata/locales/af_ZA: Likewise.
26584 * localedata/locales/agr_PE: Likewise.
26585 * localedata/locales/ak_GH: Likewise.
26586 * localedata/locales/am_ET: Likewise.
26587 * localedata/locales/anp_IN: Likewise.
26588 * localedata/locales/ar_AE: Likewise.
26589 * localedata/locales/ar_BH: Likewise.
26590 * localedata/locales/ar_DZ: Likewise.
26591 * localedata/locales/ar_EG: Likewise.
26592 * localedata/locales/ar_IN: Likewise.
26593 * localedata/locales/ar_IQ: Likewise.
26594 * localedata/locales/ar_JO: Likewise.
26595 * localedata/locales/ar_KW: Likewise.
26596 * localedata/locales/ar_LB: Likewise.
26597 * localedata/locales/ar_LY: Likewise.
26598 * localedata/locales/ar_MA: Likewise.
26599 * localedata/locales/ar_OM: Likewise.
26600 * localedata/locales/ar_QA: Likewise.
26601 * localedata/locales/ar_SA: Likewise.
26602 * localedata/locales/ar_SD: Likewise.
26603 * localedata/locales/ar_SS: Likewise.
26604 * localedata/locales/ar_SY: Likewise.
26605 * localedata/locales/ar_TN: Likewise.
26606 * localedata/locales/ar_YE: Likewise.
26607 * localedata/locales/as_IN: Likewise.
26608 * localedata/locales/ast_ES: Likewise.
26609 * localedata/locales/ayc_PE: Likewise.
26610 * localedata/locales/az_AZ: Likewise.
26611 * localedata/locales/az_IR: Likewise.
26612 * localedata/locales/be_BY: Likewise.
26613 * localedata/locales/be_BY@latin: Likewise.
26614 * localedata/locales/bem_ZM: Likewise.
26615 * localedata/locales/ber_DZ: Likewise.
26616 * localedata/locales/ber_MA: Likewise.
26617 * localedata/locales/bg_BG: Likewise.
26618 * localedata/locales/bhb_IN: Likewise.
26619 * localedata/locales/bho_IN: Likewise.
26620 * localedata/locales/bi_VU: Likewise.
26621 * localedata/locales/bn_BD: Likewise.
26622 * localedata/locales/bn_IN: Likewise.
26623 * localedata/locales/bo_CN: Likewise.
26624 * localedata/locales/bo_IN: Likewise.
26625 * localedata/locales/br_FR: Likewise.
26626 * localedata/locales/brx_IN: Likewise.
26627 * localedata/locales/bs_BA: Likewise.
26628 * localedata/locales/byn_ER: Likewise.
26629 * localedata/locales/ca_AD: Likewise.
26630 * localedata/locales/ca_ES: Likewise.
26631 * localedata/locales/ca_FR: Likewise.
26632 * localedata/locales/ca_IT: Likewise.
26633 * localedata/locales/ce_RU: Likewise.
26634 * localedata/locales/chr_US: Likewise.
26635 * localedata/locales/cmn_TW: Likewise.
26636 * localedata/locales/crh_UA: Likewise.
26637 * localedata/locales/cs_CZ: Likewise.
26638 * localedata/locales/csb_PL: Likewise.
26639 * localedata/locales/cv_RU: Likewise.
26640 * localedata/locales/cy_GB: Likewise.
26641 * localedata/locales/da_DK: Likewise.
26642 * localedata/locales/de_AT: Likewise.
26643 * localedata/locales/de_BE: Likewise.
26644 * localedata/locales/de_CH: Likewise.
26645 * localedata/locales/de_DE: Likewise.
26646 * localedata/locales/de_IT: Likewise.
26647 * localedata/locales/de_LI: Likewise.
26648 * localedata/locales/de_LU: Likewise.
26649 * localedata/locales/doi_IN: Likewise.
26650 * localedata/locales/dv_MV: Likewise.
26651 * localedata/locales/dz_BT: Likewise.
26652 * localedata/locales/el_CY: Likewise.
26653 * localedata/locales/el_GR: Likewise.
26654 * localedata/locales/en_AG: Likewise.
26655 * localedata/locales/en_AU: Likewise.
26656 * localedata/locales/en_BW: Likewise.
26657 * localedata/locales/en_CA: Likewise.
26658 * localedata/locales/en_DK: Likewise.
26659 * localedata/locales/en_GB: Likewise.
26660 * localedata/locales/en_HK: Likewise.
26661 * localedata/locales/en_IE: Likewise.
26662 * localedata/locales/en_IL: Likewise.
26663 * localedata/locales/en_IN: Likewise.
26664 * localedata/locales/en_NG: Likewise.
26665 * localedata/locales/en_NZ: Likewise.
26666 * localedata/locales/en_PH: Likewise.
26667 * localedata/locales/en_SG: Likewise.
26668 * localedata/locales/en_US: Likewise.
26669 * localedata/locales/en_ZA: Likewise.
26670 * localedata/locales/en_ZM: Likewise.
26671 * localedata/locales/en_ZW: Likewise.
26672 * localedata/locales/eo: Likewise.
26673 * localedata/locales/es_AR: Likewise.
26674 * localedata/locales/es_BO: Likewise.
26675 * localedata/locales/es_CL: Likewise.
26676 * localedata/locales/es_CO: Likewise.
26677 * localedata/locales/es_CR: Likewise.
26678 * localedata/locales/es_CU: Likewise.
26679 * localedata/locales/es_DO: Likewise.
26680 * localedata/locales/es_EC: Likewise.
26681 * localedata/locales/es_ES: Likewise.
26682 * localedata/locales/es_GT: Likewise.
26683 * localedata/locales/es_HN: Likewise.
26684 * localedata/locales/es_MX: Likewise.
26685 * localedata/locales/es_NI: Likewise.
26686 * localedata/locales/es_PA: Likewise.
26687 * localedata/locales/es_PE: Likewise.
26688 * localedata/locales/es_PR: Likewise.
26689 * localedata/locales/es_PY: Likewise.
26690 * localedata/locales/es_SV: Likewise.
26691 * localedata/locales/es_US: Likewise.
26692 * localedata/locales/es_UY: Likewise.
26693 * localedata/locales/es_VE: Likewise.
26694 * localedata/locales/et_EE: Likewise.
26695 * localedata/locales/eu_ES: Likewise.
26696 * localedata/locales/eu_ES@euro: Likewise.
26697 * localedata/locales/fa_IR: Likewise.
26698 * localedata/locales/ff_SN: Likewise.
26699 * localedata/locales/fi_FI: Likewise.
26700 * localedata/locales/fil_PH: Likewise.
26701 * localedata/locales/fo_FO: Likewise.
26702 * localedata/locales/fr_BE: Likewise.
26703 * localedata/locales/fr_CA: Likewise.
26704 * localedata/locales/fr_CH: Likewise.
26705 * localedata/locales/fr_FR: Likewise.
26706 * localedata/locales/fr_LU: Likewise.
26707 * localedata/locales/fur_IT: Likewise.
26708 * localedata/locales/fy_DE: Likewise.
26709 * localedata/locales/fy_NL: Likewise.
26710 * localedata/locales/ga_IE: Likewise.
26711 * localedata/locales/gd_GB: Likewise.
26712 * localedata/locales/gez_ER: Likewise.
26713 * localedata/locales/gez_ET: Likewise.
26714 * localedata/locales/gl_ES: Likewise.
26715 * localedata/locales/gu_IN: Likewise.
26716 * localedata/locales/gv_GB: Likewise.
26717 * localedata/locales/ha_NG: Likewise.
26718 * localedata/locales/hak_TW: Likewise.
26719 * localedata/locales/he_IL: Likewise.
26720 * localedata/locales/hi_IN: Likewise.
26721 * localedata/locales/hif_FJ: Likewise.
26722 * localedata/locales/hne_IN: Likewise.
26723 * localedata/locales/hr_HR: Likewise.
26724 * localedata/locales/hsb_DE: Likewise.
26725 * localedata/locales/ht_HT: Likewise.
26726 * localedata/locales/hu_HU: Likewise.
26727 * localedata/locales/hy_AM: Likewise.
26728 * localedata/locales/i18n: Likewise.
26729 * localedata/locales/ia_FR: Likewise.
26730 * localedata/locales/id_ID: Likewise.
26731 * localedata/locales/ig_NG: Likewise.
26732 * localedata/locales/ik_CA: Likewise.
26733 * localedata/locales/is_IS: Likewise.
26734 * localedata/locales/it_CH: Likewise.
26735 * localedata/locales/it_IT: Likewise.
26736 * localedata/locales/iu_CA: Likewise.
26737 * localedata/locales/ja_JP: Likewise.
26738 * localedata/locales/ka_GE: Likewise.
26739 * localedata/locales/kk_KZ: Likewise.
26740 * localedata/locales/kl_GL: Likewise.
26741 * localedata/locales/kn_IN: Likewise.
26742 * localedata/locales/ko_KR: Likewise.
26743 * localedata/locales/kok_IN: Likewise.
26744 * localedata/locales/ks_IN: Likewise.
26745 * localedata/locales/ks_IN@devanagari: Likewise.
26746 * localedata/locales/ku_TR: Likewise.
26747 * localedata/locales/kw_GB: Likewise.
26748 * localedata/locales/ky_KG: Likewise.
26749 * localedata/locales/lb_LU: Likewise.
26750 * localedata/locales/lg_UG: Likewise.
26751 * localedata/locales/li_BE: Likewise.
26752 * localedata/locales/li_NL: Likewise.
26753 * localedata/locales/lij_IT: Likewise.
26754 * localedata/locales/ln_CD: Likewise.
26755 * localedata/locales/lo_LA: Likewise.
26756 * localedata/locales/lt_LT: Likewise.
26757 * localedata/locales/lv_LV: Likewise.
26758 * localedata/locales/lzh_TW: Likewise.
26759 * localedata/locales/mag_IN: Likewise.
26760 * localedata/locales/mai_IN: Likewise.
26761 * localedata/locales/mg_MG: Likewise.
26762 * localedata/locales/mhr_RU: Likewise.
26763 * localedata/locales/mi_NZ: Likewise.
26764 * localedata/locales/mk_MK: Likewise.
26765 * localedata/locales/ml_IN: Likewise.
26766 * localedata/locales/mn_MN: Likewise.
26767 * localedata/locales/mni_IN: Likewise.
26768 * localedata/locales/mr_IN: Likewise.
26769 * localedata/locales/ms_MY: Likewise.
26770 * localedata/locales/mt_MT: Likewise.
26771 * localedata/locales/my_MM: Likewise.
26772 * localedata/locales/nan_TW: Likewise.
26773 * localedata/locales/nan_TW@latin: Likewise.
26774 * localedata/locales/nb_NO: Likewise.
26775 * localedata/locales/nds_DE: Likewise.
26776 * localedata/locales/nds_NL: Likewise.
26777 * localedata/locales/ne_NP: Likewise.
26778 * localedata/locales/nhn_MX: Likewise.
26779 * localedata/locales/niu_NU: Likewise.
26780 * localedata/locales/niu_NZ: Likewise.
26781 * localedata/locales/nl_AW: Likewise.
26782 * localedata/locales/nl_BE: Likewise.
26783 * localedata/locales/nl_NL: Likewise.
26784 * localedata/locales/nn_NO: Likewise.
26785 * localedata/locales/nr_ZA: Likewise.
26786 * localedata/locales/nso_ZA: Likewise.
26787 * localedata/locales/oc_FR: Likewise.
26788 * localedata/locales/om_ET: Likewise.
26789 * localedata/locales/om_KE: Likewise.
26790 * localedata/locales/or_IN: Likewise.
26791 * localedata/locales/os_RU: Likewise.
26792 * localedata/locales/pa_IN: Likewise.
26793 * localedata/locales/pa_PK: Likewise.
26794 * localedata/locales/pap_AW: Likewise.
26795 * localedata/locales/pap_CW: Likewise.
26796 * localedata/locales/pl_PL: Likewise.
26797 * localedata/locales/ps_AF: Likewise.
26798 * localedata/locales/pt_BR: Likewise.
26799 * localedata/locales/pt_PT: Likewise.
26800 * localedata/locales/quz_PE: Likewise.
26801 * localedata/locales/raj_IN: Likewise.
26802 * localedata/locales/ro_RO: Likewise.
26803 * localedata/locales/ru_RU: Likewise.
26804 * localedata/locales/ru_UA: Likewise.
26805 * localedata/locales/rw_RW: Likewise.
26806 * localedata/locales/sa_IN: Likewise.
26807 * localedata/locales/sat_IN: Likewise.
26808 * localedata/locales/sc_IT: Likewise.
26809 * localedata/locales/sd_IN: Likewise.
26810 * localedata/locales/sd_IN@devanagari: Likewise.
26811 * localedata/locales/se_NO: Likewise.
26812 * localedata/locales/sgs_LT: Likewise.
26813 * localedata/locales/shs_CA: Likewise.
26814 * localedata/locales/si_LK: Likewise.
26815 * localedata/locales/sid_ET: Likewise.
26816 * localedata/locales/sk_SK: Likewise.
26817 * localedata/locales/sl_SI: Likewise.
26818 * localedata/locales/sm_WS: Likewise.
26819 * localedata/locales/so_DJ: Likewise.
26820 * localedata/locales/so_ET: Likewise.
26821 * localedata/locales/so_KE: Likewise.
26822 * localedata/locales/so_SO: Likewise.
26823 * localedata/locales/sq_AL: Likewise.
26824 * localedata/locales/sq_MK: Likewise.
26825 * localedata/locales/sr_ME: Likewise.
26826 * localedata/locales/sr_RS: Likewise.
26827 * localedata/locales/sr_RS@latin: Likewise.
26828 * localedata/locales/ss_ZA: Likewise.
26829 * localedata/locales/st_ZA: Likewise.
26830 * localedata/locales/sv_FI: Likewise.
26831 * localedata/locales/sv_SE: Likewise.
26832 * localedata/locales/sw_KE: Likewise.
26833 * localedata/locales/sw_TZ: Likewise.
26834 * localedata/locales/szl_PL: Likewise.
26835 * localedata/locales/ta_IN: Likewise.
26836 * localedata/locales/ta_LK: Likewise.
26837 * localedata/locales/tcy_IN: Likewise.
26838 * localedata/locales/te_IN: Likewise.
26839 * localedata/locales/tg_TJ: Likewise.
26840 * localedata/locales/th_TH: Likewise.
26841 * localedata/locales/the_NP: Likewise.
26842 * localedata/locales/ti_ER: Likewise.
26843 * localedata/locales/ti_ET: Likewise.
26844 * localedata/locales/tig_ER: Likewise.
26845 * localedata/locales/tk_TM: Likewise.
26846 * localedata/locales/tl_PH: Likewise.
26847 * localedata/locales/tn_ZA: Likewise.
26848 * localedata/locales/to_TO: Likewise.
26849 * localedata/locales/tpi_PG: Likewise.
26850 * localedata/locales/tr_CY: Likewise.
26851 * localedata/locales/tr_TR: Likewise.
26852 * localedata/locales/ts_ZA: Likewise.
26853 * localedata/locales/tt_RU: Likewise.
26854 * localedata/locales/tt_RU@iqtelif: Likewise.
26855 * localedata/locales/ug_CN: Likewise.
26856 * localedata/locales/uk_UA: Likewise.
26857 * localedata/locales/unm_US: Likewise.
26858 * localedata/locales/ur_IN: Likewise.
26859 * localedata/locales/ur_PK: Likewise.
26860 * localedata/locales/uz_UZ: Likewise.
26861 * localedata/locales/uz_UZ@cyrillic: Likewise.
26862 * localedata/locales/ve_ZA: Likewise.
26863 * localedata/locales/vi_VN: Likewise.
26864 * localedata/locales/wa_BE: Likewise.
26865 * localedata/locales/wae_CH: Likewise.
26866 * localedata/locales/wal_ET: Likewise.
26867 * localedata/locales/wo_SN: Likewise.
26868 * localedata/locales/xh_ZA: Likewise.
26869 * localedata/locales/yi_US: Likewise.
26870 * localedata/locales/yo_NG: Likewise.
26871 * localedata/locales/yue_HK: Likewise.
26872 * localedata/locales/yuw_PG: Likewise.
26873 * localedata/locales/zh_CN: Likewise.
26874 * localedata/locales/zh_HK: Likewise.
26875 * localedata/locales/zh_SG: Likewise.
26876 * localedata/locales/zh_TW: Likewise.
26877 * localedata/locales/zu_ZA: Likewise.
26879 2017-11-13 Florian Weimer <fweimer@redhat.com>
26881 * support/next_to_fault.h, support/next_to_fault.c: New files.
26882 * support/Makefile (libsupport-routines): Add next_to_fault.
26883 * resolv/tst-inet_pton.c (struct next_to_fault)
26884 (next_to_fault_allocate, next_to_fault_free): Remove.
26885 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
26887 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
26889 * elf/dl-support.c: Include <dl-procruntime.c>.
26890 * include/link.h: Include <link_map.h>.
26891 * sysdeps/generic/dl-procruntime.c: New file.
26892 * sysdeps/generic/link_map.h: Likewise.
26893 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
26894 the writable ld.so namespace.
26896 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
26898 timezone: pacify GCC -Wstringop-truncation
26899 Problem reported by Martin Sebor in:
26900 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
26901 * timezone/zic.c (writezone): Use memcpy, not strncpy.
26903 2017-11-12 Florian Weimer <fweimer@redhat.com>
26905 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
26907 (tests): Add tst-xreadlink.
26908 * support/support.h (xstrndup): Declare.
26909 * support/xunistd.h (xunlink, xreadlink): Declare.
26910 * support/temp_file.h (support_create_temp_directory): Declare.
26911 * support/temp_file.c (support_create_temp_directory): New function.
26912 * support/support_chroot.c (support_chroot_create): Use it.
26913 * support/xreadlink.c: New file.
26914 * support/xstrndup.c: Likewise.
26915 * support/xunlink.c: Likewise.
26916 * support/tst-xreadlink.c: Likewise.
26918 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
26920 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
26922 2017-11-11 Florian Weimer <fweimer@redhat.com>
26926 * resolv/res_comp.c (printable_string, binary_hnok)
26927 (binary_leading_dash): New functions.
26928 (res_hnok): Reimplement using these functions and ns_name_pton.
26929 (res_ownok): Likewise.
26930 (res_mailok): Reimplement using printable_string, ns_name_pton and
26932 (res_dnok): Reimplement using printable_string and ns_name_pton.
26933 * resolv/tst-res_hnok.c (tests): Add additional tests.
26934 (LETTERDIGITS, PRINTABLE): Define.
26935 (do_test): Adjust one_char results.
26937 2017-11-11 Florian Weimer <fweimer@redhat.com>
26940 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
26941 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
26943 2017-11-11 Florian Weimer <fweimer@redhat.com>
26945 * resolv/tst-ns_name_pton.c: New file.
26946 * resolv/Makefile (tests): Add tst-ns_name_pton.
26947 (tst-ns_name_pton): Link against libresolv.
26949 2017-11-11 Florian Weimer <fweimer@redhat.com>
26951 * resolv/tst-res_hnok.c: New file.
26952 * resolv/Makefile (tests): Add tst-res_hnok.
26953 (tst-res_hnok): Link against libresolv.
26955 2017-11-11 Florian Weimer <fweimer@redhat.com>
26957 * resolv/tst-resolv-network.c: Use test framework instead explicit
26960 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
26962 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
26963 <jmp_buf-macros.h>.
26964 [!_ISOMAC] (STR_HELPER): New.
26965 [!_ISOMAC] (STR): Likewise.
26966 [!_ISOMAC] (TEST_SIZE): Likewise.
26967 [!_ISOMAC] (TEST_ALIGN): Likewise.
26968 [!_ISOMAC] (TEST_OFFSET): Likewise.
26969 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
26970 field offsets of jmp_buf as well as sigjmp_buf.
26971 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
26972 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
26973 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
26974 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
26975 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
26976 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
26977 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
26978 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
26979 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
26980 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
26982 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
26984 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
26985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
26987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
26989 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
26990 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
26991 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
26992 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
26993 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
26994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
26996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
26998 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
26999 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
27000 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
27002 2017-11-07 Joseph Myers <joseph@codesourcery.com>
27005 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27006 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
27007 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27008 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
27009 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27010 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
27011 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27012 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
27013 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27014 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
27015 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27016 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
27017 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27018 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
27019 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27020 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
27021 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27022 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
27023 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27024 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
27025 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27026 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
27027 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27028 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
27029 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27030 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
27031 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27032 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
27033 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27034 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
27035 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27036 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
27037 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27038 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
27039 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27040 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
27041 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27042 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
27043 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27044 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
27045 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27046 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
27047 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27048 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
27049 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27050 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
27051 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27052 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
27053 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27054 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
27055 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27056 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
27057 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27058 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
27059 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27060 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
27061 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27062 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
27063 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27064 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
27065 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27066 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
27067 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27068 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
27069 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27070 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
27071 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27072 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
27073 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27074 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
27075 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27076 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
27077 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27078 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
27079 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27080 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
27081 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27082 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
27083 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27084 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
27085 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27086 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
27087 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27088 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
27089 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27090 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
27091 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27092 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
27094 * stdlib/tst-strtod.h (F16): New macro.
27100 (IF_FLOAT16): Likewise.
27101 (IF_FLOAT32): Likewise.
27102 (IF_FLOAT64): Likewise.
27103 (IF_FLOAT32X): Likewise.
27104 (IF_FLOAT64X): Likewise.
27105 (IF_FLOAT128X): Likewise.
27106 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
27107 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
27108 (STRTOD_TEST_FOREACH): Likewise.
27109 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
27110 (CHOOSE_f64): Likewise.
27111 (CHOOSE_f32x): Likewise.
27112 (CHOOSE_f64x): Likewise.
27114 2017-11-07 Andreas Schwab <schwab@suse.de>
27116 * nptl/Makefile (tests-internal): Remove tst-typesizes.
27118 2017-11-07 Mike FABIAN <mfabian@redhat.com>
27121 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
27123 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
27126 2017-11-07 Claude Paroz <claude@2xlibre.net>
27129 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
27131 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
27133 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
27136 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27139 * nptl/allocatestack.c (allocate_stack): Check if
27140 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
27141 __PTHREAD_MUTEX_HAVE_PREV is defined.
27142 * nptl/descr.h (pthread): Likewise.
27143 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27145 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27146 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27147 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
27148 * sysdeps/nptl/bits/thread-shared-types.h
27149 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27151 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
27152 of __WORDSIZE for internal layout.
27153 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
27154 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
27155 instead of __WORDSIZE whether to use an union for __spins and __list
27157 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
27159 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
27160 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27162 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
27163 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27165 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
27166 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27168 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
27169 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27171 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
27172 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27174 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
27175 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27177 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
27178 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27180 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
27181 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27183 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
27184 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27186 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
27187 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27189 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
27190 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27192 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
27193 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27195 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
27196 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27198 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
27199 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27201 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
27202 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27205 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
27207 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
27208 checks for expected input type size.
27209 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27210 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27212 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27213 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
27214 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27215 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
27216 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27217 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
27218 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
27219 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
27220 superflous runtime assert check.
27221 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
27223 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
27225 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27227 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
27229 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
27231 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
27233 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
27234 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
27235 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27237 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27239 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
27241 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
27243 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27245 * nptl/pthread_attr_setinheritsched.c
27246 (__pthread_attr_setinheritsched): Likewise.
27247 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
27249 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
27251 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
27252 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
27253 __old_pthread_attr_setstack): Likewise.
27254 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27256 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27258 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
27260 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27261 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
27263 * nptl/tst-typesizes.c: Remove file.
27265 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
27266 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
27267 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
27268 checks for internal pthread_mutex_t offsets.
27269 * sysdeps/aarch64/nptl/pthread-offsets.h
27270 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
27271 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
27272 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
27273 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
27274 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
27275 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
27276 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
27277 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
27278 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
27279 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
27280 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
27281 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
27282 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
27283 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
27284 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
27285 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
27286 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
27287 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
27289 2017-11-07 Florian Weimer <fweimer@redhat.com>
27291 * bits/mman-linux.h: Move ...
27292 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
27294 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
27297 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27299 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
27300 Redefine STRNLEN as __strnlen_power8.
27302 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27304 * signal/sighold.c (sighold): Optimize implementation.
27306 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
27307 __NR_rt_sigqueueinfo.
27309 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27311 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
27312 assume __NR_rt_sigtimedwait.
27313 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
27314 and add LIBC_CANCEL_HANDLED for cancellation marking.
27315 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27317 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
27318 (sysdeps_routines): Add memchr_noneon.
27319 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
27320 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
27321 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
27322 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
27323 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
27324 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
27325 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
27327 * sysdeps/arm/arm-ifunc.h: New file.
27328 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
27329 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
27330 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
27331 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
27332 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
27333 (__memcpy_neon): Avoid create hidden alias.
27334 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
27335 (__memcpy_vfp): Likewise.
27336 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
27337 (sysdep_routines): Add memcpy_arm.
27338 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
27340 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
27343 * Makerules (make-link-multidir): New.
27344 * config.make.in (multidir): New.
27345 * configure.ac (libc_cv_multidir): New. AC_SUBST.
27346 * configure: Regenerated.
27347 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
27348 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
27349 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
27352 2017-11-06 Joseph Myers <joseph@codesourcery.com>
27355 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
27356 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
27358 2017-11-04 Mike FABIAN <mfabian@redhat.com>
27360 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
27363 2017-11-04 Florian Weimer <fweimer@redhat.com>
27365 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
27367 2017-11-03 Joseph Myers <joseph@codesourcery.com>
27369 * math/math.h [__HAVE_DISTINCT_FLOAT16
27370 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
27371 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
27372 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
27373 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
27374 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
27375 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
27376 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27377 (__MATH_TG_F32): New macro.
27378 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27379 (__MATH_TG_F64X): Likewise.
27380 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27381 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
27383 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
27385 * po/de.po: Update translations.
27386 * po/ru.po: Likewise.
27388 2017-11-03 Florian Weimer <fweimer@redhat.com>
27390 * manual/filesys.texi (Hard Links): Document linkat.
27392 2017-11-03 Joseph Myers <joseph@codesourcery.com>
27394 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
27395 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
27396 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
27397 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
27398 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27399 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27400 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
27401 the same as _Float128.
27402 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27403 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27404 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
27407 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
27409 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
27411 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
27413 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27414 (strtof32x): Likewise.
27415 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27416 (strtof64x): Likewise.
27417 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27418 (strtof128x): Likewise.
27419 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27420 (strfromf16): Likewise.
27421 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27422 (strfromf32): Likewise.
27423 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27424 (strfromf64): Likewise.
27425 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27426 (strfromf32x): Likewise.
27427 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27428 (strfromf64x): Likewise.
27429 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27430 (strfromf128x): Likewise.
27431 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
27432 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
27433 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
27434 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
27435 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
27436 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
27438 2017-11-03 Richard Henderson <rth@twiddle.net>
27440 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
27442 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27444 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
27446 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27448 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
27449 DT_TLSDESC_GOT initialization.
27450 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
27451 (_dl_tlsdesc_resolve_hold): Likewise.
27452 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
27453 (_dl_tlsdesc_resolve_hold): Likewise.
27454 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
27455 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27457 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27459 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
27461 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27464 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
27465 non-lazily for R_ARM_TLS_DESC.
27467 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27470 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
27471 R_ARM_TLS_DESC case.
27472 (elf_machine_lazy_rel): Remove the prelink check.
27474 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27476 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
27477 DT_TLSDESC_GOT initialization.
27478 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
27479 (_dl_tlsdesc_resolve_rela): Likewise.
27480 (_dl_tlsdesc_resolve_hold): Likewise.
27481 (_dl_tlsdesc_undefweak): Remove ldar.
27482 (_dl_tlsdesc_dynamic): Likewise.
27483 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
27484 (_dl_tlsdesc_resolve_rela): Likewise.
27485 (_dl_tlsdesc_resolve_hold): Likewise.
27486 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
27487 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27488 (_dl_tlsdesc_resolve_rela): Likewise.
27489 (_dl_tlsdesc_resolve_hold): Likewise.
27491 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27493 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
27494 binding and initialization non-lazily for R_AARCH64_TLSDESC.
27496 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27498 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
27499 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27501 2017-11-02 Joseph Myers <joseph@codesourcery.com>
27503 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
27505 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
27506 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
27507 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
27508 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
27509 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
27510 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
27511 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
27512 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
27513 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
27514 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
27515 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
27517 2017-11-02 Mike FABIAN <mfabian@redhat.com>
27520 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
27521 * localedata/locales/tpi_PG: Add standard header.
27523 2017-11-02 Florian Weimer <fweimer@redhat.com>
27525 test-errno-linux: quotactl can fail with EPERM in containers.
27526 * sysdeps/unix/sysv/linux/test-errno-linux.c
27527 (LIST, LIST_FORWARD): New macros.
27528 (check_error_in_list): New function.
27529 (test_wrp_rv): Accept list of permitted error codes.
27530 (test_wrp_rv2): Remove.
27531 (test_wrp): Call test_wrp_rv with list of error codes.
27532 (test_wrp2): Accept list of error codes.
27533 (do_test): Adjust. Allow EPERM for quotactl.
27535 2017-11-02 Florian Weimer <fweimer@redhat.com>
27537 * stdio-common/bug16.c (do_test): Use array_length.
27538 * stdio-common/errlist.c (_sys_nerr): Likewise.
27539 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
27540 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
27541 * stdio-common/psiginfo.c (psiginfo): Use array_length.
27542 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
27543 (do_test): Use array_length.
27544 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
27545 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
27546 * stdio-common/tst-printf-round.c (do_test): Likewise.
27547 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
27548 (CHECK): Use array_length.
27549 * stdio-common/tstdiomisc.c (t3, F): Likewise.
27550 * stdio-common/tstscanf.c (main): Likewise.
27551 * stdio-common/vfprintf.c (process_string_arg): Likewise.
27553 2017-11-02 Florian Weimer <fweimer@redhat.com>
27555 Add array_length and array_end macros.
27556 * include/array_length.h: New file.
27558 2017-11-02 Florian Weimer <fweimer@redhat.com>
27561 * posix/tst-glob-tilde.c (do_noescape): New variable.
27562 (one_test): Process it.
27563 (do_test): Set do_noescape. Add unescaping test case.
27565 2017-11-01 Joseph Myers <joseph@codesourcery.com>
27568 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
27569 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
27570 with appropriate macros defined and undefined.
27571 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
27572 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27573 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
27574 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27575 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
27576 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27577 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
27578 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27579 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
27580 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27583 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
27584 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
27585 that for long double. Do not condition define and undefine of
27586 _Mdouble_complex_ on [__CFLOAT128].
27588 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
27590 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27591 of <sysdeps/generic/sysdep.h>.
27592 (ALIGNARG): Removed.
27593 (ASM_SIZE_DIRECTIVE): Likewise.
27596 (ENTRY_CHK): Likewise.
27597 (END_CHK): Likewise.
27598 (syscall_error): Likewise.
27599 (mcount): Likewise.
27600 (PSEUDO_END): Likewise.
27602 (atom_text_section): Likewise.
27603 * sysdeps/x86/sysdep.h: New file.
27604 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27605 of <sysdeps/generic/sysdep.h>.
27606 (ALIGNARG): Removed.
27607 (ASM_SIZE_DIRECTIVE): Likewise.
27610 (ENTRY_CHK): Likewise.
27611 (END_CHK): Likewise.
27612 (syscall_error): Likewise.
27613 (mcount): Likewise.
27614 (PSEUDO_END): Likewise.
27616 (atom_text_section): Likewise.
27618 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
27620 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
27621 category of LC_CTYPE set to "i18n:2012".
27622 * localedata/locales/i18n_ctype: Regenerate.
27624 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
27626 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
27627 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
27628 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27629 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27631 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
27632 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
27633 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
27634 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
27636 2017-10-31 Joseph Myers <joseph@codesourcery.com>
27639 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
27641 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
27643 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
27645 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27646 (CMPLXF32X): Likewise.
27647 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27648 (CMPLXF64X): Likewise.
27649 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27650 (CMPLXF128X): Likewise.
27653 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
27654 (__MATH_EVAL_FMT2): Define to add 0.0f.
27656 2017-10-31 Alan Modra <amodra@gmail.com>
27658 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
27660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
27661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
27662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
27663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
27664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
27665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
27666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
27667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
27668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
27669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
27670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
27671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
27672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
27673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
27674 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
27675 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
27676 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
27677 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
27678 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
27679 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
27680 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
27681 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
27682 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
27683 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
27684 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27685 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
27686 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
27687 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
27688 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
27689 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
27690 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27691 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27692 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
27693 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
27694 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
27695 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
27696 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
27697 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
27698 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
27699 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27700 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
27701 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
27702 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
27703 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
27704 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
27705 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
27706 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
27707 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
27708 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27709 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27710 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
27711 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
27712 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
27713 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
27714 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27715 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
27716 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
27717 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
27718 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27719 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27720 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27721 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
27722 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
27723 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27724 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
27725 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
27726 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
27727 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
27728 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
27730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
27731 include sysdep.h and math_ldbl_opt.h.
27733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
27734 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
27735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
27736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
27737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
27738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
27739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
27740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
27741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
27742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
27743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
27744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
27745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
27746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
27747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
27748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
27749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
27750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
27751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
27752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
27753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
27754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
27755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
27756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
27757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
27758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
27760 2017-10-31 Alan Modra <amodra@gmail.com>
27762 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
27763 string/strncase_l.c, not string/strncase.c.
27764 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
27765 (libc_hidden_def): Redefine.
27767 2017-10-31 Alan Modra <amodra@gmail.com>
27769 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
27770 (__STRCMP, STRCMP, __strcasecmp_l): Define.
27771 (__strcasecmp): Don't define.
27773 2017-10-31 Alan Modra <amodra@gmail.com>
27775 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
27777 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
27778 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
27779 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
27781 2017-10-31 Alan Modra <amodra@gmail.com>
27783 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
27786 2017-10-31 Alan Modra <amodra@gmail.com>
27788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
27789 Redefine only when SHARED.
27791 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27793 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27794 Include <bits/math-finite.h> with appropriate macros defined and
27796 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27797 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27798 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27799 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27800 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27802 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
27803 [!_Mlong_double_] (_Mlong_double_): Likewise.
27804 [!_Mfloat16_] (_Mfloat16_): Likewise.
27805 [!_Mfloat32_] (_Mfloat32_): Likewise.
27806 [!_Mfloat64_] (_Mfloat64_): Likewise.
27807 [!_Mfloat128_] (_Mfloat128_): Likewise.
27808 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
27809 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
27810 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
27811 (_Mdouble_): Define without indirection through those macros.
27812 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
27813 [!_Mfloat128_] (_Mfloat128_): Likewise.
27814 [_Mlong_double_] (_Mlong_double_): Likewise.
27815 (_Mdouble_): Define without indirection through those macros.
27816 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
27817 not add -D_Mlong_double_=double.
27818 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
27819 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
27821 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27823 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
27825 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27827 * sysdeps/x86/libc-start.c: Reformat.
27829 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
27832 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
27833 (1): Renamed to ...
27836 (L(Src2)): Likewise.
27837 (L(1)): Renamed to ...
27840 2017-10-30 Joseph Myers <joseph@codesourcery.com>
27842 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
27843 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
27844 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
27845 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
27846 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
27847 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
27848 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
27849 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
27850 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
27851 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
27852 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
27853 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
27854 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
27855 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
27856 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
27857 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
27858 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
27859 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
27860 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
27861 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
27862 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
27863 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
27864 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
27865 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
27866 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
27867 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
27868 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
27869 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
27870 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
27871 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
27872 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
27873 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
27874 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
27875 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
27876 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
27877 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
27878 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
27879 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
27880 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
27881 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
27882 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
27883 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
27884 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
27885 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
27886 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
27887 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
27888 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
27889 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
27890 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
27891 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
27892 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
27893 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
27894 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
27895 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
27896 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
27897 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
27898 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
27899 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
27900 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
27901 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
27902 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
27903 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
27904 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
27905 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
27906 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
27907 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
27909 2017-10-30 Florian Weimer <fweimer@redhat.com>
27911 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
27913 * io/tst-mkdirat.c (do_test): Likewise.
27914 * io/tst-mkfifoat.c (do_test): Likewise.
27915 * io/tst-mknodat.c (do_test): Likewise.
27916 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
27917 * locale/programs/locale.c (select_dirs): Likewise.
27918 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
27919 * posix/bug-glob2.c (my_readdir): Likewise.
27920 * posix/tst-dir.c (main): Likewise.
27921 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
27922 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
27924 2017-10-30 Florian Weimer <fweimer@redhat.com>
27926 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
27929 2017-10-30 Florian Weimer <fweimer@redhat.com>
27931 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
27932 Convert to support/test-driver.c.
27933 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
27934 New macro parameters.
27935 (PRINTF): Remove macro. Use test_verbose conditionals instead.
27936 * posix/tst-gnuglob.c: New file.
27937 * posix/tst-gnuglob64.c: Likewise.
27938 * posix/Makefile (tests): Add tst-gnuglob64.
27940 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
27943 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
27944 and use a better translation for March in “mon”.
27945 * localedata/locales/csb_PL: Use more ASCII to improve the
27946 readability of the source.
27948 2017-10-30 Mike FABIAN <mfabian@redhat.com>
27951 * localedata/locales/km_KH: Use ASCII as much
27952 as possible for better readability of the source and
27953 remove useless comments.
27954 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
27955 was commented out and apparently wrong anyway because it was
27956 using Lao characters. If Buddhist era should be used
27957 for km_KH, a native speaker should write the correct formaat
27959 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
27960 (According to CLDR, the first weekday for Cambodia is Sunday).
27961 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
27962 (These were using Lao characters which must be wrong. If we get
27963 the correct data from a native speaker, we could add it back, until
27964 then it is better not to have name_mr and name_mrs at all than
27967 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
27969 * locale/loadlocale.c: Correct size of
27970 _nl_value_type_LC_<category> arrays.
27972 2017-10-27 Joseph Myers <joseph@codesourcery.com>
27974 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27975 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
27976 with appropriate macros defined and undefined.
27977 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27978 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27979 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27980 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27981 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27983 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
27985 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
27988 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27990 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
27991 with lowercase letters to make it agree with CLDR.
27993 2017-10-27 Mike FABIAN <mfabian@redhat.com>
27996 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
27997 first letters of yesstr and nostr in yesexpr and noexpr,
27998 not for the full words.
27999 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28000 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
28001 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
28002 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
28003 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
28004 first letters of yesstr and nostr in yesexpr and noexpr,
28005 until now only English was matched in yesexpr and noexpr.
28006 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
28007 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
28008 fil but not for tl. As tl and fil are very similar, using fil
28009 is probably better than using English.
28011 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
28014 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
28015 in yesstr and nostr.
28017 2017-10-26 Joseph Myers <joseph@codesourcery.com>
28019 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28020 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
28021 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
28023 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
28025 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
28027 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
28029 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28030 (SNANF128X): Likewise.
28032 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28033 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
28034 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28035 (HUGE_VAL_F32): Likewise.
28036 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28037 (HUGE_VAL_F64): Likewise.
28038 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28039 (HUGE_VAL_F32X): Likewise.
28040 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28041 (HUGE_VAL_F64X): Likewise.
28042 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28043 (HUGE_VAL_F128X): Likewise.
28045 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
28047 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
28048 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
28049 for the br_FR locale.
28051 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
28054 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
28056 2017-10-25 Carlos O'Donell <carlos@redhat.com>
28058 * locale/programs/record-status.h: Define globals, and function
28059 prototypes. Move function bodies...
28060 * locale/programs/record-status.c: ... to here. New file.
28061 * iconv/Makefile (iconv_prog-modules): Add record-status.
28062 * locale/Makefile (lib-modules): Likewise.
28063 * iconv/iconv_prog.c: Remove verbose.
28064 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
28065 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
28066 record a warning about ASCII compatibility.
28067 * locale/programs/ld-monetary.c (monetary_finish): If
28068 warn_int_curr_symbol is true then record a warning about the symbol
28069 not being in our ISO 4217 list.
28070 * locale/programs/locale.c: Include record-status.h. Remove verbose.
28071 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
28072 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
28073 (OPT_NO_WARN): Define.
28074 (OPT_WARN): Define.
28075 (options): Add entry for --no-warnings, and --warnings.
28076 (set_warnings): New function to enable/disable warnings.
28077 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
28078 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
28079 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
28080 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
28081 Pass flags to generate_locale.
28082 (generate_locale): Accept new flag argument and pass it to localedef
28084 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
28085 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
28087 * localedata/Makefile (test-input-data): Use full file name.
28088 * localedata/da_DK.in: Rename to...
28089 * localedata/da_DK.ISO-8859-1.in: ...this.
28090 * localedata/de_DE.in: Rename to...
28091 * localedata/de_DE.ISO-8859-1.in: ...this.
28092 * localedata/en_US.in: Rename to...
28093 * localedata/en_US.ISO-8859-1.in: ...this.
28094 * localedata/fr_FR.in: Rename to...
28095 * localedata/fr_FR.UTF-8.in: ... this.
28096 * localedata/hr_HR.in: Rename to...
28097 * localedata/hr_HR.ISO-8859-2.in: ...this.
28098 * localedata/hu_HU.in: Rename to...
28099 * localedata/hu_HU.UTF-8.in: ...this.
28100 * localedata/si_LK.in: Rename to...
28101 * localedata/si_LK.UTF-8.in: ...this.
28102 * localedata/sv_SE.in: Rename to...
28103 * localedata/sv_SE.ISO-8859-1.in: ...this.
28104 * localedata/tr_TR.in: Rename to...
28105 * localedata/tr_TR.UTF-8.in: ...this.
28106 * localedata/uk_UA.in: Rename to...
28107 * localedata/uk_UA.UTF-8.in: ...this.
28108 * localedata/sort-test.sh: Test file is locale name with the
28111 * localedata/unicode-gen/Makefile (check_i18n): Rename to
28112 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
28114 * localedata/locales/i18n_ctype: Regenerate.
28115 * localedata/locales/tr_TR: Likewise.
28116 * localedata/locales/translit_circle: Likewise.
28117 * localedata/locales/translit_cjk_compat: Likewise.
28118 * localedata/locales/translit_combining: Likewise.
28119 * localedata/locales/translit_compat: Likewise.
28120 * localedata/locales/translit_font: Likewise.
28121 * localedata/locales/translit_fraction: Likewise.
28123 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28125 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
28126 lxvd2x/stxvd2x with lvx/stvx.
28127 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
28129 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
28131 * include/alloc_buffer.h: Replace "if if " with "if " in
28133 * sysdeps/mips/memcpy.S: Likkewise.
28134 * sysdeps/mips/memset.S: Likewise.
28135 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28137 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
28139 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
28142 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28145 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
28146 yesexpr and noexpr.
28147 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28148 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28149 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28150 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28151 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28152 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28153 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28155 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28157 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
28158 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28159 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28160 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28161 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28162 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
28163 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28164 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28165 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28166 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28167 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28168 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28170 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28172 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
28173 as possible for better readability of the source.
28174 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
28175 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
28176 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
28177 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
28178 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
28179 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
28180 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
28181 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
28182 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28183 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
28184 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
28185 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
28186 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
28187 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
28188 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
28189 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
28190 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
28191 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
28192 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
28193 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
28194 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
28195 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
28196 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
28197 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
28198 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
28199 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
28200 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
28201 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
28202 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
28203 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
28204 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
28205 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28206 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
28207 * localedata/locales/en_US (LC_MESSAGES): Likewise.
28208 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
28209 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
28210 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
28211 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
28212 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
28213 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
28214 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
28215 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
28216 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
28217 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
28218 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
28219 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
28220 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
28221 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
28222 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
28223 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
28224 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
28225 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
28226 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
28227 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28228 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28229 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
28230 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
28231 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28232 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
28233 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
28234 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
28235 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
28236 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
28237 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
28238 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
28239 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
28240 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
28241 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
28242 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
28243 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
28244 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
28245 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
28246 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
28247 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
28248 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28249 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
28250 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
28251 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
28252 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
28253 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
28254 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
28255 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
28256 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
28257 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28258 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
28259 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
28260 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
28261 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28262 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
28263 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
28264 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
28265 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
28266 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28267 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
28268 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
28269 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28270 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
28271 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28272 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
28273 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
28274 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
28275 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
28276 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
28277 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
28278 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
28279 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
28280 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
28281 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
28282 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
28283 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
28284 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
28285 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
28286 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28287 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
28288 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
28289 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
28290 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
28291 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
28292 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
28293 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
28294 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
28295 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
28296 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
28297 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
28298 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
28299 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
28300 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
28301 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
28302 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
28303 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
28304 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
28305 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
28306 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
28307 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
28308 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
28309 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
28310 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
28311 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
28312 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
28313 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
28314 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
28315 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
28316 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
28317 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
28318 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
28319 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28320 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
28321 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
28322 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
28323 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
28324 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
28325 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
28326 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
28327 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
28328 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28329 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
28330 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
28331 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
28332 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
28333 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
28334 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
28335 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
28336 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
28337 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
28338 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
28339 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28340 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
28341 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
28342 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
28343 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
28344 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28345 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28346 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28347 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
28349 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28351 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
28352 (Use first letters of yesstr and nostr correctly instead of using
28355 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28357 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
28358 (Use first letters of yesstr and nostr correctly).
28360 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28362 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
28363 also check for the first characters of yesstr and nostr.
28364 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
28365 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
28367 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28369 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
28370 also check for Chinese characters.
28372 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28374 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
28375 match also for the contents of yesstr and nostr. As the first letter
28376 of yesstr and nostr is equal, checking only for the first letter
28379 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28381 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
28382 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
28384 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28386 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
28387 of main contributor.
28389 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28391 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
28392 instead of using English.
28394 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28396 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
28397 by including the first letters of nostr and yesexpr in the regexp.
28398 Also make it more readable by using ASCII where possible.
28400 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28402 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
28403 the first letter of nostr in the regexp. It agrees with CLDR now.
28404 Also make it more readable by using ASCII where possible.
28406 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28408 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
28409 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
28410 these strings contain a U+17D6 (which somewhat looks like a colon)
28411 instead of a real colon to separate the full words for “yes”
28412 and “no” from the single letter responses.
28414 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28416 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
28417 it agree with CLDR (include the first letter of yesstr).
28418 Also make it more readable by using ASCII where possible.
28420 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28422 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
28423 and improve yesexpr and noexpr. The yesstr and nostr apparently
28424 came from CLDR. And CLDR has a bug there: these strings contain
28425 a U+0903 (which looks like a colon) instead of a real colon
28426 to separate the full words for “yes” and “no” from the single
28429 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28431 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
28432 letters of the full yesstr and nostr in yesexpr and noexpr.
28434 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28436 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
28437 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
28438 * localedata/locales/an_ES: Make source more readable by using ASCII
28441 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28444 * localedata/locales/yuw_PG: New file.
28445 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
28446 * locale/iso-639.def: Add Yau (Uruwa).
28448 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28450 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
28452 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28454 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
28455 (__libc_realloc): Likewise.
28456 (_mid_memalign): Likewise.
28457 (__libc_calloc): Likewise.
28459 2017-10-23 Mike FABIAN <mfabian@redhat.com>
28461 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
28462 by adding the generic +1 and -0 as in all other locales.
28463 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
28464 day names and make it more readable by using ASCII where possible.
28466 2017-10-24 Joseph Myers <joseph@codesourcery.com>
28468 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
28469 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
28471 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28473 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
28474 WNOHANG in waitpid call.
28476 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
28478 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
28479 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
28481 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
28482 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
28483 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
28484 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
28485 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
28486 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
28487 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
28488 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
28491 2017-10-23 Michael Collison <michael.collison@arm.com>
28493 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
28494 with __builtin_sqrt.
28495 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
28496 with __builtin_sqrtf.
28497 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
28498 with __builtin_ceil.
28499 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
28500 with __builtin_ceilf.
28501 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
28502 with __builtin_floor.
28503 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
28504 with __builtin_floorf.
28505 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
28506 with __builtin_fma.
28507 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
28508 with __builtin_fmaf.
28509 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
28510 with __builtin_fmax.
28511 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
28512 with __builtin_fmaxf.
28513 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
28514 with __builtin_fmin.
28515 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
28516 with __builtin_fminf.
28517 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
28518 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
28519 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
28520 with builtin_rint and conversion to int.
28521 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
28522 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
28523 with builtin_llround.
28524 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
28525 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
28526 with builtin_rint and conversion to long int.
28527 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
28528 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
28529 with builtin_lround.
28530 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
28531 with builtin_lroundf.
28532 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
28533 statements with __builtin_nearbyint.
28534 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
28535 statements with __builtin_nearbyintf.
28536 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
28537 with __builtin_rint.
28538 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
28539 with __builtin_rintf.
28540 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
28541 with __builtin_round.
28542 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
28543 with __builtin_roundf.
28544 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
28545 with __builtin_trunc.
28546 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
28547 with __builtin_truncf.
28548 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
28549 and s_l[l]round[f].c too.
28551 2017-10-23 Alan Modra <amodra@gmail.com>
28553 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
28554 Adjust stack after restoring regs. Add missing LR cfi_restore.
28556 2017-10-23 Alan Modra <amodra@gmail.com>
28558 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
28559 Move LR save and frame setup/teardown and LR restore to
28560 immediately around memset call. Provide cfi.
28562 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28564 * sysdeps/i386/fpu/e_powf.S: Removed.
28565 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
28566 * sysdeps/i386/fpu/w_powf.c: Likewise.
28567 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
28568 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28569 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28571 (CFLAGS-e_powf-sse2.c): New.
28572 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
28573 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
28575 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28577 * sysdeps/i386/fpu/e_log2f.S: Removed.
28578 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
28579 * sysdeps/i386/fpu/w_log2f.c: Likewise.
28580 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
28581 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28582 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28584 (CFLAGS-e_log2f-sse2.c): New.
28585 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
28586 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
28588 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28590 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28592 (CFLAGS-e_powf-fma.c): New.
28593 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
28594 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
28596 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28598 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28600 (CFLAGS-e_log2f-fma.c): New.
28601 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
28602 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
28604 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28606 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28608 (CFLAGS-e_logf-fma.c): New.
28609 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
28610 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
28612 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28614 * sysdeps/i386/fpu/e_logf.S: Removed.
28615 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
28616 * sysdeps/i386/fpu/w_logf.c: Likewise.
28617 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
28618 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
28619 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28620 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28622 (CFLAGS-e_logf-sse2.c): New.
28623 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
28624 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
28626 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28628 * sysdeps/i386/fpu/e_exp2f.S: Removed.
28629 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
28630 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
28631 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28632 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28634 (CFLAGS-e_exp2f-sse2.c): New.
28635 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
28636 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
28638 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28640 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28642 (CFLAGS-e_exp2f-fma.c): New.
28643 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
28644 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
28646 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28648 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
28649 * sysdeps/i386/fpu/e_expf.S: Likewise.
28650 * sysdeps/i386/fpu/math_errf.c: Likewise.
28651 * sysdeps/i386/fpu/w_expf.c: Likewise.
28652 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
28653 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28654 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
28655 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
28656 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28657 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28658 Remove e_expf-ia32.
28659 (CFLAGS-e_expf-sse2.c): New.
28660 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
28661 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
28663 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28665 * sysdeps/x86_64/fpu/e_expf.S: Removed.
28666 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
28667 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
28668 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
28670 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
28672 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
28673 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28675 (__redirect_expf): This.
28676 (SYMBOL_NAME): Changed to expf.
28677 (__ieee754_expf): Renamed to ...
28679 (__GI___expf): This.
28680 (__ieee754_expf): Add strong_alias.
28681 (__expf_finite): Likewise.
28683 Include <sysdeps/ieee754/flt-32/e_expf.c>.
28685 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
28688 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
28691 2017-10-21 Florian Weimer <fweimer@redhat.com>
28693 * posix/Makefile (tests): Add tst-glob-tilde.
28694 (tests-special): Add tst-glob-tilde-mem.out
28695 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
28696 (tst-glob-tilde-mem.out): Add mtrace check.
28697 * posix/tst-glob-tilde.c: New file.
28699 2017-10-20 Joseph Myers <joseph@codesourcery.com>
28701 * bits/floatn-common.h: New file.
28702 * math/Makefile (headers): Add bits/floatn-common.h.
28703 * bits/floatn.h: Include <bits/floatn-common.h>.
28704 * sysdeps/ia64/bits/floatn.h: Likewise.
28705 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28706 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
28707 * sysdeps/powerpc/bits/floatn.h: Likewise.
28708 * sysdeps/x86/bits/floatn.h: Likewise.
28710 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28712 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
28713 indicates whether compiler emits an warning for alias for
28714 functions with incompatible types.
28717 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
28718 the auxiliary process is terminated by a signal before calling _exit
28721 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28724 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
28726 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
28727 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
28728 and bit_arch_XSAVEC_Usable if needed.
28729 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
28730 and bit_arch_Use_dl_runtime_resolve_opt.
28731 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
28733 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
28734 (bit_arch_Prefer_No_AVX512): Updated.
28735 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
28736 (bit_arch_XSAVEC_Usable): New.
28737 (STATE_SAVE_OFFSET): Likewise.
28738 (STATE_SAVE_MASK): Likewise.
28739 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
28740 (cpu_features): Add xsave_state_size and xsave_state_full_size.
28741 (index_arch_Use_dl_runtime_resolve_opt): Removed.
28742 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
28743 (index_arch_XSAVEC_Usable): New.
28744 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28745 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
28746 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
28748 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
28749 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
28750 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
28751 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
28752 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
28753 _dl_runtime_resolve_xsavec.
28754 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
28756 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
28757 instead of VEC_SIZE.
28758 (REGISTER_SAVE_BND0): Removed.
28759 (REGISTER_SAVE_BND1): Likewise.
28760 (REGISTER_SAVE_BND3): Likewise.
28761 (REGISTER_SAVE_RAX): Always defined to 0.
28763 (_dl_runtime_resolve_avx): Likewise.
28764 (_dl_runtime_resolve_avx_slow): Likewise.
28765 (_dl_runtime_resolve_avx_opt): Likewise.
28766 (_dl_runtime_resolve_avx512): Likewise.
28767 (_dl_runtime_resolve_avx512_opt): Likewise.
28768 (_dl_runtime_resolve_sse): Likewise.
28769 (_dl_runtime_resolve_sse_vex): Likewise.
28771 (_dl_runtime_resolve_fxsave): Likewise.
28772 (USE_XSAVE): Likewise.
28773 (_dl_runtime_resolve_xsave): Likewise.
28774 (USE_XSAVEC): Likewise.
28775 (_dl_runtime_resolve_xsavec): Likewise.
28776 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
28778 (_dl_runtime_resolve_avx512_opt): Likewise.
28779 (_dl_runtime_resolve_avx): Likewise.
28780 (_dl_runtime_resolve_avx_opt): Likewise.
28781 (_dl_runtime_resolve_sse): Likewise.
28782 (_dl_runtime_resolve_sse_vex): Likewise.
28783 (_dl_runtime_resolve_fxsave): New.
28784 (_dl_runtime_resolve_xsave): Likewise.
28785 (_dl_runtime_resolve_xsavec): Likewise.
28787 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
28791 * posix/glob.c (__glob): Fix one-byte overflow.
28793 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28795 * malloc/malloc.c (sysdep-cancel.h): Add include.
28797 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
28799 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
28801 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
28803 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
28804 (tests): Remove $(objpfx)ga_test depdendency.
28805 * resolv/ga_test.c: Remove file.
28807 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28810 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
28811 * localedata/locales/kab_DZ: New file.
28813 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28815 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
28816 _dl_relocate_static_pie instead of _dl_start to compute load
28817 address in static PIE.
28819 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
28821 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
28823 2017-10-20 Mike FABIAN <mfabian@redhat.com>
28826 * localedata/SUPPORTED: Add shn_MM/UTF-8.
28827 * localedata/locales/shn_MM: New file.
28829 2017-10-20 Florian Weimer <fweimer@redhat.com>
28832 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
28833 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
28834 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
28835 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
28836 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
28837 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
28839 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
28841 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28843 2017-10-19 Joseph Myers <joseph@codesourcery.com>
28845 * sysdeps/mips/ieee754/bits/floatn.h: New file.
28848 * sysdeps/mips/bits/long-double.h: Move to ....
28849 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
28851 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
28853 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
28855 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
28856 H.J. Lu <hongjiu.lu@intel.com>
28859 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
28860 GLRO(dl_platform) to NULL.
28861 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
28862 (modules-names): Add tst-platformmod-1 and
28863 x86_64/tst-platformmod-2.
28864 (CFLAGS-tst-platform-1.c): New.
28865 (CFLAGS-tst-platformmod-1.c): Likewise.
28866 (CFLAGS-tst-platformmod-2.c): Likewise.
28867 (LDFLAGS-tst-platformmod-2.so): Likewise.
28868 ($(objpfx)tst-platform-1): Likewise.
28869 ($(objpfx)tst-platform-1.out): Likewise.
28870 (tst-platform-1-ENV): Likewise.
28871 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
28872 * sysdeps/x86_64/tst-platform-1.c: New file.
28873 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
28874 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
28876 2017-10-19 Mike FABIAN <mfabian@redhat.com>
28879 * locale/iso-639.def: Add Karbi.
28880 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
28881 * localedata/locales/mjw_IN: New file.
28883 2017-10-18 Joseph Myers <joseph@codesourcery.com>
28885 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
28886 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
28887 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
28888 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
28889 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28890 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28891 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
28893 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
28894 (libm_alias_ldouble_other_r): Also create _Float128 alias.
28895 * manual/math.texi (Mathematics): Document additional architecture
28896 support for _Float128.
28897 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
28898 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
28899 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28900 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28901 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28902 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28903 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28904 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28905 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28906 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28907 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28908 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28909 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28910 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28911 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28913 2017-10-18 Renlin Li <renlin.li@arm.com>
28915 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
28916 _DYNAMIC symbol to calculate load address.
28918 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
28920 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
28921 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
28923 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
28924 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
28926 2017-10-18 Mike FABIAN <mfabian@redhat.com>
28929 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
28930 and improve readability by using more ASCII.
28931 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
28932 and improve readability by using more ASCII.
28934 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
28936 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
28937 not all targets support atomics on bool.
28939 2017-10-17 Joseph Myers <joseph@codesourcery.com>
28941 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
28942 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
28944 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28945 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
28946 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28947 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
28948 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
28949 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
28951 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28953 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
28956 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28959 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
28960 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
28961 (do_check_remalloced_chunk): Fix build bug.
28962 (do_check_malloc_state): Add assert that checks arena->top.
28963 (malloc_consolidate): Remove initialization.
28964 (int_mallinfo): Remove call to malloc_consolidate.
28965 (__libc_mallopt): Clarify why malloc_consolidate is needed.
28967 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28969 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
28970 (have_fastchunks): Remove.
28971 (clear_fastchunks): Remove.
28972 (set_fastchunks): Remove.
28973 (malloc_state): Add have_fastchunks.
28974 (malloc_init_state): Use have_fastchunks.
28975 (do_check_malloc_state): Remove incorrect invariant checks.
28976 (_int_malloc): Use have_fastchunks.
28977 (_int_free): Likewise.
28978 (malloc_consolidate): Likewise.
28980 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28982 * malloc/malloc.c (tcache_put): Inline.
28983 (tcache_get): Inline.
28985 2017-10-17 Jordi Mallach <jordi@gnu.org>
28987 Aurelien Jarno <aurelien@aurel32.net>
28989 * localedata/locales/ca_ES@valencia: New file.
28990 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
28992 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
28995 * math/math.h: Let signbit use the builtin in C++ mode with gcc
28998 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29000 * scripts/build-many-glibcs.py (Context.add_all_configs):
29001 Add arm-linux-gnueabihf multiarch extra_glibcs.
29003 * sysdeps/generic/ifunc-init.h: New file.
29004 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
29006 2017-10-17 Mike FABIAN <mfabian@redhat.com>
29009 * localedata/locales/el_GR: Set n_cs_precedes to 0.
29010 * localedata/locales/el_CY: copy "el_GR" because it is identical.
29011 * stdlib/tst-strfmon_l.c: adapt test case.
29013 2017-10-16 Joseph Myers <joseph@codesourcery.com>
29015 * sysdeps/generic/float128-abi.h: New file.
29016 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
29017 non-__prefixed symbols to ....
29018 * math/Versions: ... here. Include <float128-abi.h>.
29019 * stdlib/Versions ... and here. Include <float128-abi.h>
29021 2017-10-16 Florian Weimer <fweimer@redhat.com>
29023 * version.h (VERSION): Switch to ".9000" as the development
29026 2017-10-16 Florian Weimer <fweimer@redhat.com>
29029 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
29030 compat_symbol_reference to access non-default version.
29032 2017-10-16 Florian Weimer <fweimer@redhat.com>
29034 * malloc/Makefile (others-extras): Set to mcheck-init.o.
29036 2017-10-16 Carlos O'Donell <carlos@redhat.com>
29038 * include/shlib-compat.h (compat_symbol_reference): Update
29041 2017-10-16 Joseph Myers <joseph@codesourcery.com>
29043 * math/Makefile (test-types): Add
29044 $(type-float128-$(float128-alias-fcts)).
29045 * math/test-float128.h (TYPE_STR): Define conditional on
29046 [FLT128_MANT_DIG == LDBL_MANT_DIG].
29047 (ULP_IDX): Likewise.
29048 (ULP_I_IDX): Likewise.
29050 * stdlib/strtold.c: Include <bits/floatn.h>
29051 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
29052 and later undefine as macro. Define as weak alias if
29054 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
29055 and later undefine as macro. Define as weak alias if
29057 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
29058 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
29059 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
29060 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29061 Define and later undefine as macro. Define as weak alias if
29063 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
29065 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
29066 Define and later undefine as macro. Define as weak alias if
29068 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29069 Define and later undefine as macro. Define as weak alias if
29072 2017-10-15 Carlos O'Donell <carlos@redhat.com>
29074 * localedata/collate-test.c (allocate_arrays): Don't use \n in
29075 record_verbose messages.
29077 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
29080 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
29081 to silence -O3 -Wall warning with GCC 7.
29083 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
29085 * Makeconfig (+link-static-before-libc): Use the first of
29086 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
29087 * gmon/Makefile (tests): Add tst-gmon-static.
29088 (tests-static): Likewise.
29089 (CFLAGS-tst-gmon-static.c): New.
29090 (CRT-tst-gmon-static): Likewise.
29091 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
29092 (tst-gmon-static-ENV): Likewise.
29093 (tests-special): Likewise.
29094 ($(objpfx)tst-gmon-static.out): Likewise.
29095 (clean-tst-gmon-static-data): Likewise.
29096 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
29097 * gmon/tst-gmon-static-gprof.sh: New file.
29098 * gmon/tst-gmon-static.c: Likewise.
29100 2017-10-13 Carlos O'Donell <carlos@redhat.com>
29103 * locale/programs/linereader.c (get_string): Don't warn on
29104 non-symbolic character.
29107 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
29111 * locale/programs/record-status.h: New file
29112 * locale/programs/locale.c: Add comment.
29113 * locale/programs/charmap-dir.c: Don't include error.h.
29114 (charmap_opendir): Use record_error.
29115 * locale/programs/charmap.c: Don't include error.h.
29116 (charmap_read): Use record_error, and record_warning.
29117 (parse_charmap): Likewise.
29118 * locale/programs/ld-address.c: Don't include error.h.
29119 (address_finish): Use record_error, and record_warning.
29120 * locale/programs/ld-collate.c: Don't include error.h.
29121 (collate_finish): Use record_error, and record_error_at_line.
29122 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
29123 (ctype_class_new): Likewise.
29124 (ctype_map_new): Likewise.
29125 (set_one_default): Likewise.
29126 (set_class_defaults): Likewise.
29127 (translit_flatten): Likewise.
29128 (allocate_arrays): Use record_error, and record_verbose.
29129 * locale/programs/ld-identification.c: Don't include error.h.
29130 (indentation_finish): Use record_error and record_warning.
29131 * locale/programs/ld-measurement.c: Don't include error.h.
29132 (measurement_finish): Use record_error.
29133 * locale/programs/ld-messages.c
29134 (message_finish): Likewise.
29135 * locale/programs/ld-monetary.c
29136 (monetary_finish): Likewise.
29137 * locale/programs/ld-name.c (name_finish): Use record_error
29138 and record_warning.
29139 * locale/programs/ld-numeric.c
29140 (numeric_finish): Use record_error.
29141 * locale/programs/ld-paper.c: Don't include error.h.
29142 (paper_finish): Use record_error.
29143 * locale/programs/ld-telephone.c: Don't include error.h.
29144 (telephone_finish): Use record_error.
29145 * locale/programs/ld-time.c (time_finish): Likewise.
29146 * locale/programs/linereader.h (lr_error): Make inline func.
29147 * locale/programs/localedef.c: Define recorded_warning_count,
29148 and recorded_error_count.
29149 (main): Use record_error. Use recorded_error_count and
29150 recorded_warning_count to issue correct error returns.
29151 (add_to_readlist): Use record_error.
29152 (find_locale): Likewise.
29153 (load_locale): Likewise.
29154 * locale/programs/localedef.h: Remove be_quiet
29155 and WITH_CUR_LOCALE.
29156 * locale/programs/locarchive.c (compare_from_file): Use
29158 * locale/programs/locfile.c (write_locale_data): Use
29160 * locale/programs/repertoire.c: Dont include error.h.
29161 (repertoire_complain): Use record_error.
29162 * localedata/tst-fmon.sh: Expect failures from localedef.
29163 * localedata/tst-locale.sh: Likewise.
29164 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
29166 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
29167 (REPORTS): Likewise.
29169 (i18n): Rename to...
29170 (i18n_ctype): ...this.
29171 (i18n-report): Rename to...
29172 (i18n_ctype-report): ...this.
29173 * localedata/locales/i18n_ctype: Regenerate.
29174 * localedata/locales/i18n: copy i18n_ctype.
29176 2017-10-13 Joseph Myers <joseph@codesourcery.com>
29178 * stdlib/strfroml.c: Include <bits/floatn.h>.
29179 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
29180 Define before include of <stdlib.h> and undefine afterwards, then
29181 define as weak alias.
29183 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
29184 Undefine and restore default definition. Use
29185 libm_alias_ldouble_other.
29187 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
29190 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
29193 2017-10-13 James Clarke <jrtc27@jrtc27.com>
29195 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29196 Assign sym_map to be map for local symbols, as TLS relocations
29197 use sym_map to determine whether the symbol is defined and to
29198 extract the TLS information.
29199 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29200 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29202 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29205 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
29206 (math_force_eval): Add powerpc version.
29209 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
29211 (do_test): Likewise.
29212 * stdio-common/tst-printf.sh: Likewise.
29213 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
29214 ifdef clause in order to set the carry bit right. Replace r0 by
29215 0 without changing the behavior.
29217 2017-10-13 Joseph Myers <joseph@codesourcery.com>
29219 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
29220 <libm-alias-ldouble.h>.
29221 (fabsl): Define using libm_alias_ldouble.
29222 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
29223 <libm-alias-ldouble.h>.
29224 (fabsl): Define using libm_alias_ldouble.
29226 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
29227 Remove conditional code.
29229 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
29230 Rename to __clog10_internal_l.
29231 (__clog10_internal_l): Define aliases using
29232 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
29235 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29237 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
29238 * benchtests/sincosf-inputs: New file.
29239 * benchtests/cosf-inputs: New file.
29240 * benchtests/sinf-inputs: New file.
29242 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
29244 * posix/tst-spawn.c (do_test): Wait for both children.
29246 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
29249 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
29250 tests-pie): Add tst-gmon-pie.
29251 (CFLAGS-tst-gmon-pie.c): New.
29252 (CRT-tst-gmon-pie): Likewise.
29253 (tst-gmon-pie-ENV): Likewise.
29254 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
29255 ($(objpfx)tst-gmon-pie.out): Likewise.
29256 (clean-tst-gmon-pie-data): Likewise.
29257 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
29258 * gmon/gmon.c [PIC]: Include <link.h>.
29259 [PIC] (callback): New function.
29260 (write_hist): Add an argument for load address. Subtract load
29262 (write_call_graph): Likewise.
29263 (write_gmon): Call __dl_iterate_phdr to get load address, pass
29264 it to write_hist and write_call_graph.
29265 * gmon/tst-gmon-pie.c: New file.
29267 2017-10-11 Joseph Myers <joseph@codesourcery.com>
29269 * math/Makefile (test-types-basic): New variable.
29270 (test-types): Likewise.
29271 (libm-test-support): Use $(test-types) instead of $(types).
29272 (libm-tests-base-normal): Likewise.
29273 (libm-tests-base-finite): Likewise.
29274 (libm-tests-base-inline): Likewise.
29275 (generated): Likewise.
29276 ($(objpfx)libm-test-support-$(t).c): Likewise.
29277 (libm-tests-for-type iterator): Likewise.
29278 (libm-test-support iterator): Likewise.
29279 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
29280 (ulp_idx): Use ULP_IDX.
29281 * math/test-ldouble.h: Include <float.h>.
29282 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
29283 (ULP_IDX): New macro.
29284 (ULP_I_IDX): Likewise.
29285 * math/test-double.h (ULP_IDX): Likewise.
29286 (ULP_I_IDX): Likewise.
29287 * math/test-float.h (ULP_IDX): Likewise.
29288 (ULP_I_IDX): Likewise.
29289 * math/test-float128.h (ULP_IDX): Likewise.
29290 (ULP_I_IDX): Likewise.
29292 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29294 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
29295 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29296 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29297 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
29298 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29299 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
29300 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
29301 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29302 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29303 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29304 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
29305 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29306 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29307 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29308 (SINGLE_THREAD_BY_GLOBAL): Define.
29309 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29311 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29313 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29315 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29317 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
29318 (SINGLE_THREAD_BY_GLOBAL): Likewise.
29319 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29322 2017-10-11 Andreas Schwab <schwab@suse.de>
29324 * nis/Makefile (aux): Remove.
29325 * nscd/Makefile (aux): Add nscd_hash.
29326 (nscd-modules): Likewise.
29327 ($(objpfx)nscd): Don't depend on libnsl.
29328 * nscd/nscd_hash.c: New file.
29329 * nscd/nscd_hash.h: Likewise.
29330 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
29331 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
29332 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
29333 instead of <nis/rpcsvc/nis.h>.
29334 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
29336 2017-10-11 Florian Weimer <fweimer@redhat.com>
29339 Avoid large NSS buffers with many addresses, aliases.
29340 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
29341 using dynarrays and struct alloc_buffer.
29342 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
29343 (tst-nss-files-hosts-multi): Link with -ldl.
29344 * nss/tst-nss-files-hosts-multi.c: New file.
29346 2017-10-11 Florian Weimer <fweimer@redhat.com>
29349 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
29350 scratch_buffer. Eliminate gotos.
29352 2017-10-11 Joseph Myers <joseph@codesourcery.com>
29354 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
29355 libm_alias_ldouble_other.
29356 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
29357 undefine and redefine.
29358 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29359 (exp10l): Do not define here.
29360 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
29361 (weak_alias): Undefine and redefine.
29362 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
29363 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29364 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
29365 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
29367 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
29368 [!__fma] (fma): Define using libm_alias_double.
29369 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
29370 [!__fmaf] (fmaf): Define using libm_alias_float.
29371 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
29372 (fmal): Define using libm_alias_ldouble.
29374 2017-10-10 Joseph Myers <joseph@codesourcery.com>
29376 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
29378 (libm_alias_double_other): Likewise.
29379 (libm_alias_double_r): Use libm_alias_double_other_r.
29380 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
29382 (libm_alias_float_other): Likewise.
29383 (libm_alias_float_r): Use libm_alias_float_other_r.
29384 * sysdeps/generic/libm-alias-float128.h
29385 (libm_alias_float128_other_r): New macro.
29386 (libm_alias_float128_other): Likewise.
29387 (libm_alias_float128_r): Use libm_alias_float128_other_r.
29388 * sysdeps/generic/libm-alias-ldouble.h
29389 (libm_alias_ldouble_other_r): New macro.
29390 (libm_alias_ldouble_other): Likewise.
29391 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
29392 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
29393 (libm_alias_double_other_r): New macro.
29394 (libm_alias_double_other): Likewise.
29395 (libm_alias_double_r): Use libm_alias_double_other_r.
29396 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
29397 (libm_alias_ldouble_other_r): New macro.
29398 (libm_alias_ldouble_other): Likewise.
29399 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
29400 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
29401 [!USE_AS_COMPAT]: Use libm_alias_double_other.
29402 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
29403 [!USE_AS_COMPAT]: Use libm_alias_float_other.
29404 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
29405 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
29406 * math/w_exp2f.c: Use libm_alias_float_other.
29407 * math/w_expf.c: Likewise.
29408 * math/w_log2f.c: Likewise.
29409 * math/w_logf.c: Likewise.
29410 * math/w_powf.c: Likewise.
29411 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
29412 [!__exp2f]: Use libm_alias_float_other.
29413 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
29414 [!__expf]: Use libm_alias_float_other.
29415 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
29416 [!__log2f]: Use libm_alias_float_other.
29417 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
29418 [!__logf]: Use libm_alias_float_other.
29419 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
29420 [!__powf]: Use libm_alias_float_other.
29422 2017-10-10 Florian Weimer <fweimer@redhat.com>
29424 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
29426 (_nss_files_gethostbyname3_r): Call it.
29428 2017-10-09 Joseph Myers <joseph@codesourcery.com>
29430 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
29431 error. Remove default definition of declare_mgen_alias.
29432 [!declare_mgen_alias_r]: Likewise.
29433 * sysdeps/generic/math-type-macros-double.h
29434 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
29435 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
29436 (declare_mgen_alias_r): Likewise.
29437 * sysdeps/generic/math-type-macros-float128.h
29438 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29439 * sysdeps/generic/math-type-macros-ldouble.h
29440 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29441 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
29443 (declare_mgen_alias_r_s): Likewise.
29444 (declare_mgen_alias_r): Likewise.
29445 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
29446 (lgamma_r): Define using libm_alias_double_r.
29447 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
29448 (lgammaf_r): Define using libm_alias_float_r.
29449 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
29450 (lgammal_r): Define using libm_alias_ldouble_r.
29451 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
29452 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29454 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29456 * lib/glob.c (__glob_pattern_type): Remove now-spurious
29457 extern declaration.
29459 2017-10-09 Joseph Myers <joseph@codesourcery.com>
29461 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
29463 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
29466 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
29467 [__cplusplus >= 201103] (__USE_ISOC99): Define.
29468 * math/Makefile (test-math-cxx11): New test.
29469 * math/test-math-cxx11.cc: New file.
29471 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
29473 * login/openpty.c (openpty): Close slave pty file descriptor on error.
29475 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
29476 call to allocate the slave pty file descriptor.
29478 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29480 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
29481 [!__fma] (fma): Define using libm_alias_double.
29482 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
29483 [!__fma] (fma): Define using libm_alias_double.
29485 * sysdeps/ieee754/float128/float128_private.h: Include
29486 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
29487 (libm_alias_ldouble_r): Undefine and redefine.
29488 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
29489 <libm-alias-ldouble.h>.
29490 (asinhl): Define using libm_alias_ldouble.
29491 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
29492 <libm-alias-ldouble.h>.
29493 (atanl): Define using libm_alias_ldouble.
29494 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
29495 <libm-alias-ldouble.h>.
29496 (cbrtl): Define using libm_alias_ldouble.
29497 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
29498 <libm-alias-ldouble.h>.
29499 (ceill): Define using libm_alias_ldouble.
29500 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
29501 <libm-alias-ldouble.h>.
29502 (copysignl): Define using libm_alias_ldouble.
29503 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
29504 <libm-alias-ldouble.h>.
29505 (cosl): Define using libm_alias_ldouble.
29506 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
29507 <libm-alias-ldouble.h>.
29508 (erfl): Define using libm_alias_ldouble.
29510 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
29511 <libm-alias-ldouble.h>.
29512 (expm1l): Define using libm_alias_ldouble.
29513 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
29514 <libm-alias-ldouble.h>.
29515 (fabsl): Define using libm_alias_ldouble.
29516 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
29517 <libm-alias-ldouble.h>.
29518 (floorl): Define using libm_alias_ldouble.
29519 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
29520 <libm-alias-ldouble.h>.
29521 (fmal): Define using libm_alias_ldouble.
29522 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
29523 <libm-alias-ldouble.h>.
29524 (frexpl): Define using libm_alias_ldouble.
29525 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
29526 libm_alias_ldouble.
29527 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
29528 <libm-alias-ldouble.h>.
29529 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
29530 libm_alias_ldouble.
29531 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
29532 <libm-alias-ldouble.h>.
29533 (getpayloadl): Define using libm_alias_ldouble.
29534 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
29535 <libm-alias-ldouble.h>.
29536 (llrintl): Define using libm_alias_ldouble.
29537 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
29538 <libm-alias-ldouble.h>.
29539 (llroundl): Define using libm_alias_ldouble.
29540 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
29541 <libm-alias-ldouble.h>.
29542 (logbl): Define using libm_alias_ldouble.
29543 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
29544 <libm-alias-ldouble.h>.
29545 (lrintl): Define using libm_alias_ldouble.
29546 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
29547 <libm-alias-ldouble.h>.
29548 (lroundl): Define using libm_alias_ldouble.
29549 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
29550 <libm-alias-ldouble.h>.
29551 (modfl): Define using libm_alias_ldouble.
29552 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
29553 <libm-alias-ldouble.h>.
29554 (nearbyintl): Define using libm_alias_ldouble.
29555 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
29556 <libm-alias-ldouble.h>.
29557 (nextafterl): Define using libm_alias_ldouble.
29558 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
29559 <libm-alias-ldouble.h>.
29560 (nextupl): Define using libm_alias_ldouble.
29561 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
29562 <libm-alias-ldouble.h>.
29563 (remquol): Define using libm_alias_ldouble.
29564 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
29565 <libm-alias-ldouble.h>.
29566 (rintl): Define using libm_alias_ldouble.
29567 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
29568 <libm-alias-ldouble.h>.
29569 (roundevenl): Define using libm_alias_ldouble.
29570 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
29571 <libm-alias-ldouble.h>.
29572 (roundl): Define using libm_alias_ldouble.
29573 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
29574 using libm_alias_ldouble.
29575 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
29576 <libm-alias-ldouble.h>.
29577 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
29578 Define using libm_alias_ldouble.
29579 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
29580 <libm-alias-ldouble.h>.
29581 (sincosl): Define using libm_alias_ldouble.
29582 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
29583 <libm-alias-ldouble.h>.
29584 (sinl): Define using libm_alias_ldouble.
29585 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
29586 <libm-alias-ldouble.h>.
29587 (tanhl): Define using libm_alias_ldouble.
29588 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
29589 <libm-alias-ldouble.h>.
29590 (tanl): Define using libm_alias_ldouble.
29591 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
29592 <libm-alias-ldouble.h>.
29593 (totalorderl): Define using libm_alias_ldouble.
29594 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
29595 <libm-alias-ldouble.h>.
29596 (totalordermagl): Define using libm_alias_ldouble.
29597 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
29598 <libm-alias-ldouble.h>.
29599 (truncl): Define using libm_alias_ldouble.
29600 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
29601 libm_alias_ldouble.
29602 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
29603 libm_alias_ldouble.
29604 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
29605 <libm-alias-ldouble.h>.
29606 (weak_alias): Do not undefine and redefine.
29607 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29608 (copysignl): Define with long_double_symbol only if [IS_IN
29610 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
29611 <libm-alias-ldouble.h>.
29612 (weak_alias): Do not undefine and redefine.
29613 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29614 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
29615 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
29616 <libm-alias-ldouble.h>.
29617 (weak_alias): Do not undefine and redefine.
29618 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29619 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
29620 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
29621 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
29622 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
29623 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
29624 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
29625 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
29626 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
29627 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
29628 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
29629 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
29630 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
29631 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
29632 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
29633 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
29634 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
29635 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
29636 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
29637 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
29638 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
29639 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
29640 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
29641 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
29642 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
29643 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
29645 2017-10-06 Carlos O'Donell <carlos@redhat.com>
29648 * malloc/malloc.c (tcache_shutting_down): Use bool type.
29649 (tcache_thread_freeres): Set tcache_shutting_down before
29650 freeing the tcache.
29651 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
29652 * malloc/tst-malloc-tcache-leak.c: New file.
29654 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29656 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
29657 back to powerpc32 file.
29658 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29659 (memrchr): Add __memrchr_power8 to ifunc list.
29660 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
29661 extra bytes for unaligned inputs.
29663 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29665 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
29666 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
29667 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
29668 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29669 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29671 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29673 * sysdeps/arm/libm-test-ulps: Update.
29675 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
29676 <libm-alias-ldouble.h>.
29677 (asinhl): Define using libm_alias_ldouble.
29678 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
29679 <libm-alias-ldouble.h>.
29680 (cbrtl): Define using libm_alias_ldouble.
29681 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
29682 <libm-alias-ldouble.h>.
29683 (copysignl): Define using libm_alias_ldouble.
29684 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
29685 <libm-alias-ldouble.h>.
29686 (cosl): Define using libm_alias_ldouble.
29687 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
29688 <libm-alias-ldouble.h>.
29689 (erfl): Define using libm_alias_ldouble.
29691 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
29692 <libm-alias-ldouble.h>.
29693 (fmal): Define using libm_alias_ldouble.
29694 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
29695 <libm-alias-ldouble.h>.
29696 (frexpl): Define using libm_alias_ldouble.
29697 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
29698 libm_alias_ldouble.
29699 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
29700 <libm-alias-ldouble.h>.
29701 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
29702 libm_alias_ldouble.
29703 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
29704 <libm-alias-ldouble.h>.
29705 (getpayloadl): Define using libm_alias_ldouble.
29706 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
29707 <libm-alias-ldouble.h>.
29708 (llrintl): Define using libm_alias_ldouble.
29709 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
29710 <libm-alias-ldouble.h>.
29711 (llroundl): Define using libm_alias_ldouble.
29712 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
29713 <libm-alias-ldouble.h>.
29714 (lrintl): Define using libm_alias_ldouble.
29715 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
29716 <libm-alias-ldouble.h>.
29717 (lroundl): Define using libm_alias_ldouble.
29718 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
29719 <libm-alias-ldouble.h>.
29720 (modfl): Define using libm_alias_ldouble.
29721 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
29722 <libm-alias-ldouble.h>.
29723 (nextupl): Define using libm_alias_ldouble.
29724 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
29725 <libm-alias-ldouble.h>.
29726 (remquol): Define using libm_alias_ldouble.
29727 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
29728 <libm-alias-ldouble.h>.
29729 (roundevenl): Define using libm_alias_ldouble.
29730 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
29731 <libm-alias-ldouble.h>.
29732 (roundl): Define using libm_alias_ldouble.
29733 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
29734 using libm_alias_ldouble.
29735 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
29736 <libm-alias-ldouble.h>.
29737 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
29738 <libm-alias-ldouble.h>.
29739 (setpayloadsigl): Define using libm_alias_ldouble.
29740 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
29741 <libm-alias-ldouble.h>.
29742 (sincosl): Define using libm_alias_ldouble.
29743 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
29744 <libm-alias-ldouble.h>.
29745 (sinl): Define using libm_alias_ldouble.
29746 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
29747 <libm-alias-ldouble.h>.
29748 (tanhl): Define using libm_alias_ldouble.
29749 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
29750 <libm-alias-ldouble.h>.
29751 (tanl): Define using libm_alias_ldouble.
29752 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
29753 <libm-alias-ldouble.h>.
29754 (totalorderl): Define using libm_alias_ldouble.
29755 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
29756 <libm-alias-ldouble.h>.
29757 (totalordermagl): Define using libm_alias_ldouble.
29758 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
29759 libm_alias_ldouble.
29760 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
29761 libm_alias_ldouble.
29763 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
29765 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29767 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
29768 (__libc_ifunc_impl_list): Likewise.
29769 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
29770 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
29772 * benchtests/bench-memmove-walk.c: New file.
29773 * benchtests/Makefile (string-benchset): Add it.
29775 * benchtests/bench-memset-walk.c: New file.
29776 * benchtests/Makefile (string-benchset): Add it.
29778 * benchtests/bench-memcpy-walk.c: New file.
29779 * benchtests/Makefile (string-benchset): Add it.
29781 2017-10-05 Florian Weimer <fweimer@redhat.com>
29783 nscd: Eliminate compilation time dependency in the build output.
29784 * nscd/nscd_stat.c (STATDATA_VERSION)
29785 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
29786 (STATDATA_VERSION_FULL): New macro definitions.
29787 (compilation): Remove.
29788 (struct statdata): Adjust version member.
29789 (send_stats): Set version from STATDATA_VERSION_FULL.
29790 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
29792 2017-10-05 Joseph Myers <joseph@codesourcery.com>
29794 * configure.ac (--enable-add-ons): Remove option.
29795 (machine): Do not mention add-ons in comment.
29796 (LIBC_PRECONFIGURE): Likewise.
29797 (add_ons): Remove variable and sanity checks and logic to locate
29799 (add_ons_automatic): Remove variable.
29800 (configured_add_ons): Likewise.
29801 (add_ons_sfx): Likewise.
29802 (add_ons_pfx): Likewise.
29803 (add_on_subdirs): Likewise.
29804 (sysnames_add_ons): Likewise. Remove loop over add-ons and
29805 consideration of add-ons in Implies handling.
29806 (sysdeps_add_ons): Likewise.
29807 * configure: Regenerated.
29808 * libidn/configure.ac: Remove.
29809 * libidn/configure: Likewise.
29810 * sysdeps/unix/inet/configure.ac: New file.
29811 * sysdeps/unix/inet/configure: New generated file.
29812 * sysdeps/unix/inet/Subdirs: Add libidn.
29813 * Makeconfig (sysdeps-srcdirs): Remove variable.
29814 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
29815 ($(common-objpfx)config.status): Do not depend on add-on files.
29816 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
29818 (all-subdirs): Do not include $(add-on-subdirs).
29819 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
29820 * config.make.in (add-ons): Remove variable.
29821 (add-on-subdirs): Likewise.
29822 (sysdeps-add-ons): Likewise.
29823 * manual/Makefile (add-chapters): Remove.
29824 ($(objpfx)texis): Do not depend on $(add-chapters).
29825 (nonexamples): Do not handle $(add-chapters).
29826 (examples): Do not handle $(add-ons).
29827 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
29829 * manual/install.texi (Installation): Do not mention add-ons.
29830 (--enable-add-ons): Do not document configure option.
29831 * INSTALL: Regenerated.
29832 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
29833 * manual/maint.texi (Hierarchy Conventions): Do not mention
29835 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
29837 * scripts/gen-sorted.awk: Do not handle Subdirs files from
29839 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
29840 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
29842 2017-10-05 Andreas Schwab <schwab@suse.de>
29845 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
29846 (_IO_flush_all_lockp): Always lock list_all_lock.
29847 (_IO_flush_all_linebuffered): Likewise.
29848 (_IO_unbuffer_all): Likewise.
29850 2017-10-05 Florian Weimer <fweimer@redhat.com>
29853 Do not flush stdio streams on abort.
29854 * stdlib/abort.c (fflush): Remove macro definition.
29855 (abort): Remove stages related to stdio flushing.
29857 2017-10-05 Florian Weimer <fweimer@redhat.com>
29859 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
29861 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
29863 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29865 2017-10-05 Florian Weimer <fweimer@redhat.com>
29867 * support/support_format_hostent.c (support_format_hostent): Add
29868 more error information for NETDB_INTERNAL.
29870 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29872 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
29873 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
29874 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
29875 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
29876 AC_DEFINE if multi-arch is enabled.
29877 * sysdeps/i386/configure: Regenerated.
29879 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29881 * Makeconfig (+link-static-before-libc): Use
29882 $(DEFAULT-LDFLAGS-$(@F)).
29883 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
29884 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
29885 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
29887 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29889 * elf/Makefile (tests): Add tst-main1.
29890 (modules-names): Add tst-main1mod.
29891 ($(objpfx)tst-main1): New.
29892 (CRT-tst-main1): Likewise.
29893 (LDFLAGS-tst-main1): Likewise.
29894 (LDLIBS-tst-main1): Likewise.
29895 (tst-main1mod.so-no-z-defs): Likewise.
29896 * elf/tst-main1.c: New file.
29897 * elf/tst-main1mod.c: Likewise.
29899 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
29901 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
29903 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29905 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
29906 (fma): Define using libm_alias_double.
29907 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
29908 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
29910 (fmal): Do not define as compat symbol here.
29911 * sysdeps/alpha/fpu/s_fma.c: New file.
29913 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29915 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
29917 2017-10-04 Joseph Myers <joseph@codesourcery.com>
29920 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
29922 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29924 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
29925 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29926 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
29927 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
29928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29929 Include <math_ldbl_opt.h>
29930 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
29932 (compat_symbol): Undefine and redefine.
29933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
29935 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
29936 (compat_symbol): Undefine and redefine.
29937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
29938 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
29939 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
29940 GLIBC_2_1 for libm.
29941 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
29942 GLIBC_2.0 copysignl symbol.
29943 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29944 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
29946 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
29948 2017-10-04 Florian Weimer <fweimer@redhat.com>
29950 * scripts/check-local-headers.sh: Ignore nspr4 header file
29951 directory in addition to nspr.
29953 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
29956 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
29957 * configure: Regenerate.
29958 * crypt/Makefile (nss-cpp-flags): New variable.
29959 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
29960 (CPPFLAGS-md5-crypt.c): Use it.
29961 * scripts/check-local-headers.sh: Ignore nspr header file
29964 2017-10-04 Andreas Schwab <schwab@suse.de>
29966 * nis/Makefile (services): Remove compat.
29967 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
29968 ($(objpfx)libnss_compat.so): Remove rule.
29969 * nis/Versions (libnss_compat): Remove.
29970 * nss/Makefile (services): Add compat.
29971 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
29972 * nss/Versions (libnss_compat): Define.
29973 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
29974 Don't include <rpc/types.h>. Replace bool_t by bool.
29975 * nss/nss_compat/compat-initgroups.c: Likewise.
29976 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
29977 instead of <rpcsrv/ypclnt.h>.
29978 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
29979 yp_get_default_domain.
29980 * nss/nss_compat/compat-pwd.c: Likewise.
29981 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
29982 yp_get_default_domain.
29983 * nss/nss_compat/nisdomain.c: New file.
29984 * nss/nss_compat/nisdomain.h: Likewise.
29986 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29989 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
29990 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29992 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29995 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
29996 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
29998 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30000 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
30001 "movl main@GOTOFF(%ebx), %eax".
30003 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30005 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
30006 allow undefined _DYNAMIC in PIE libc.a.
30007 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30010 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30012 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
30015 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30017 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
30020 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30022 * math/test-math-iscanonical.cc (error): Replace bool with int.
30024 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30026 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
30027 (modf): Define using libm_alias_double, only if [!__modf].
30028 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
30029 <libm-alias-double.h>.
30030 (modf): Define using libm_alias_double, only if [!__modf].
30031 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
30032 compat symbol here.
30033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
30034 (weak_alias): Do not undefine and redefine.
30035 (strong_alias): Likewise.
30036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
30037 (weak_alias): Likewise.
30038 (strong_alias): Likewise.
30040 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
30041 (logb): Define using libm_alias_double, only if [!__logb].
30042 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
30043 <libm-alias-double.h>.
30044 (logb): Define using libm_alias_double, only if [!__logb].
30045 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
30046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
30047 (weak_alias): Do not undefine and redefine.
30048 (strong_alias): Likewise.
30049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
30050 (weak_alias): Likewise.
30051 (strong_alias): Likewise.
30053 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30055 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
30056 Check SHARED instead PIC.
30058 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30060 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
30061 [!__fmaf] (fmaf): Define using libm_alias_float.
30063 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
30064 (frexp): Define using libm_alias_double.
30065 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
30066 <libm-alias-double.h>.
30067 (frexp): Define using libm_alias_double.
30068 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
30069 compat symbol here.
30071 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30074 * math/math.h: Trivial fix for unbalanced parentheses in comment.
30075 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
30076 (CFLAGS-test-math-iscanonical.cc): New variable.
30077 * math/test-math-iscanonical.cc: New file.
30078 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
30079 Provide a C++ implementation based on function overloading,
30080 rather than using __MATH_TG, which uses C-only builtins.
30081 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
30083 * sysdeps/powerpc/powerpc64le/Makefile
30084 (CFLAGS-test-math-iscanonical.cc): New variable.
30086 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30088 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
30089 (ceil): Define using libm_alias_double.
30090 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
30091 (floor): Define using libm_alias_double.
30092 * sysdeps/ieee754/dbl-64/s_llround.c: Include
30093 <libm-alias-double.h>.
30094 (llround): Define using libm_alias_double.
30095 * sysdeps/ieee754/dbl-64/s_lround.c: Include
30096 <libm-alias-double.h>.
30097 (lround): Define using libm_alias_double.
30098 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
30099 <libm-alias-double.h>.
30100 (nearbyint): Define using libm_alias_double.
30101 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
30102 <libm-alias-double.h>.
30103 (remquo): Define using libm_alias_double.
30104 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
30105 (rint): Define using libm_alias_double.
30106 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
30107 (round): Define using libm_alias_double.
30108 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
30109 (trunc): Define using libm_alias_double.
30110 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
30111 <libm-alias-double.h>.
30112 (ceil): Define using libm_alias_double.
30113 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
30114 <libm-alias-double.h>.
30115 (floor): Define using libm_alias_double.
30116 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
30117 <libm-alias-double.h>.
30118 (llround): Define using libm_alias_double.
30119 [_LP64] (lround): Likewise.
30120 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
30121 <libm-alias-double.h>.
30122 [!_LP64] (lround): Define using libm_alias_double.
30123 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
30124 <libm-alias-double.h>.
30125 (nearbyint): Define using libm_alias_double.
30126 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
30127 <libm-alias-double.h>.
30128 (remquo): Define using libm_alias_double.
30129 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
30130 <libm-alias-double.h>.
30131 (rint): Define using libm_alias_double.
30132 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
30133 <libm-alias-double.h>.
30134 (round): Define using libm_alias_double.
30135 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
30136 <libm-alias-double.h>.
30137 (trunc): Define using libm_alias_double.
30138 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
30139 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
30140 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
30141 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
30142 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
30143 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
30144 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
30145 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
30146 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
30148 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
30150 * math/w_remainder.c: New file.
30151 * math/w_remainderf.c: New file.
30152 * math/w_remainderl.c: New file.
30154 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30156 * elf/rtld.c (BOOTSTRAP_MAP): New.
30157 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
30158 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30160 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30162 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30165 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30167 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
30168 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
30169 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
30170 rtld_hidden_data_ver): Define to empty.
30171 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
30172 __assert_perror_fail): Likewise.
30173 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30174 (__rewinddir): Likewise.
30175 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30176 (__profile_frequency): Likewise.
30177 * include/setjmp.h (__sigsetjmp): Likewise.
30178 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
30179 __libc_sigaction): Likewise.
30180 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
30181 not set hidden attribute.
30182 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
30183 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
30184 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
30185 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
30186 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
30187 __fxstatat64): Likewise.
30188 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30189 (__uname): Likewise.
30190 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30191 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
30192 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
30193 (NO_RTLD_HIDDEN): Set.
30194 * sysdeps/mach/hurd/configure: Refresh.
30195 * config.h.in: Refresh.
30197 2017-10-02 Joseph Myers <joseph@codesourcery.com>
30199 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
30200 (atan): Define using libm_alias_double.
30201 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
30202 (tan): Define using libm_alias_double.
30203 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
30204 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
30206 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
30207 define as weak alias of __atan. Do not define any aliases if
30209 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
30210 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
30211 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
30212 as weak alias of __tan. Do not define any aliases if [__tan].
30213 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
30214 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
30215 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
30217 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
30218 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
30219 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
30220 and define as weak alias of __atan.
30221 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
30223 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
30224 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
30225 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
30226 define as weak alias of __tan.
30228 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30230 * math/w_lgamma.c: New file.
30231 * math/w_lgammaf.c: New file.
30232 * math/w_lgammal.c: New file.
30234 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30236 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
30237 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
30238 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
30239 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
30240 * sysdeps/ieee754/flt-32/w_logf.c: New file.
30241 * sysdeps/ieee754/flt-32/w_powf.c: New file.
30242 * sysdeps/i386/fpu/w_log2f.c: New file.
30243 * sysdeps/i386/fpu/w_logf.c: New file.
30244 * sysdeps/i386/fpu/w_powf.c: New file.
30245 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
30246 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
30247 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
30249 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30250 H.J. Lu <hongjiu.lu@intel.com>
30252 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
30253 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
30254 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
30255 * sysdeps/ieee754/flt-32/w_expf.c: New file.
30256 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
30258 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
30259 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
30260 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
30261 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
30262 * sysdeps/i386/fpu/w_exp2f.c: New file.
30263 * sysdeps/i386/fpu/w_expf.c: New file.
30264 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
30265 * sysdeps/x86_64/fpu/w_expf.c: New file.
30267 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30269 * math/Versions (logf): New libm symbol at GLIBC_2.27.
30272 * math/w_log2f.c: New file.
30273 * math/w_logf.c: New file.
30274 * math/w_powf.c: New file.
30275 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
30276 * math/w_logf_compat.c (__logf_compat): Likewise.
30277 * math/w_powf_compat.c (__powf_compat): Likewise.
30278 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
30279 * sysdeps/ia64/fpu/e_logf.S: Likewise.
30280 * sysdeps/ia64/fpu/e_powf.S: Likewise.
30281 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30282 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30283 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30284 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30285 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30286 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30287 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30288 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30289 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30290 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30291 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30292 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30301 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30302 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30303 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30304 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30305 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30310 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30311 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30312 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30314 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30316 * sysdeps/powerpc/powerpc64/multiarch/Makefile
30317 (sysdep_routines): Add memrchr_power8.
30318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30319 (memrchr): Add __memrchr_power8 to list of memrchr functions.
30320 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
30322 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30323 (memrchr): Add __memrchr_power8 to ifunc list.
30324 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
30326 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30329 * sysdeps/unix/sysv/linux/posix_fadvise64.c
30330 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
30332 * sysdeps/unix/sysv/linux/posix_fallocate64.c
30333 (__posix_fallocate64_l64): Likewise.
30335 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30338 * sysdeps/unix/sysv/linux/sched_setaffinity.c
30339 (__sched_setaffinity_new): Add libc_hidden_proto and
30342 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30345 * include/glob.h (__glob64): Add libc_hidden_proto.
30346 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
30349 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30352 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
30355 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30358 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
30360 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30363 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
30366 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30369 * csu/version.c (__libc_print_version): Add attribute_hidden.
30371 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30374 * include/libc-internal.h (__init_misc): Add attribute_hidden.
30376 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30379 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
30381 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30384 * nscd/nscd_helper.c (__nis_hash): New prototype.
30386 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30389 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
30390 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
30392 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
30393 * termios/tcgetattr.c (__tcgetattr): Likewise.
30395 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30398 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
30399 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
30400 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
30401 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
30402 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
30404 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30407 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
30409 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30412 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
30413 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
30415 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30418 * intl/hash-string.h (__hash_string): Add attribute_hidden.
30420 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30423 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
30424 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
30426 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30429 * include/ifreq.h: New file.
30430 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
30431 (__ifreq): Likewise.
30432 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
30433 (__ifreq): Likewise.
30435 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30438 * include/idna.h: New file.
30439 * inet/getnameinfo.c: Include <idna.h> instead of
30441 (__idna_to_unicode_lzlz): Removed.
30442 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
30444 (__idna_to_ascii_lz): Removed.
30445 (__idna_to_unicode_lzlz): Likewise.
30447 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30450 * include/plural-exp.h: New file.
30451 * intl/plural-exp.c: Include <plural-exp.h> instead of
30454 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30457 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
30458 "getsourcefilter.h".
30459 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
30460 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
30461 "getsourcefilter.h".
30462 (__get_sol): Removed.
30464 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30467 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
30469 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
30471 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30474 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
30477 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30480 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
30482 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30485 * include/search.h (__tdestroy): Add libc_hidden_proto.
30486 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
30488 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30491 * include/assert.h (__assert_fail_base): Add attribute_hidden.
30493 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30496 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
30499 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30502 * include/signal.h (__kill): Add libc_hidden_proto.
30503 (__sigblock): Likewise.
30504 (__sigprocmask): Likewise.
30505 (__sigaltstack): Likewise.
30506 * signal/kill.c (__kill): Add libc_hidden_def.
30507 * signal/sigblock.c (__sigblock): Likewise.
30508 * signal/sigprocmask.c (__sigprocmask): Likewise.
30509 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
30510 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
30511 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
30512 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
30513 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
30515 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
30517 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
30518 (__sigprocmask): Likewise.
30519 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
30521 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
30522 (__sigprocmask): Likewise.
30523 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
30526 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30529 * include/string.h (__strsep): Add libc_hidden_proto.
30530 * string/strsep.c (__strsep): Add libc_hidden_def.
30532 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30535 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
30537 (__spawni): Likewise.
30539 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30542 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
30543 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
30546 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30549 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
30551 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30554 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
30555 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
30556 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
30557 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
30558 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
30560 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
30561 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
30563 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30566 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
30567 (__dcigettext): Likewise.
30569 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30572 * include/sys/sysinfo.h (__get_nprocs_conf): Add
30574 (__get_nprocs): Likewise.
30575 (__get_phys_pages): Likewise.
30576 (__get_avphys_pages): Likewise.
30577 (__get_child_max): Add attribute_hidden.
30578 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
30579 (__get_nprocs): Likewise.
30580 (__get_phys_pages): Likewise.
30581 (__get_avphys_pages): Likewise.
30582 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
30584 (__get_nprocs): Likewise.
30585 (__get_phys_pages): Likewise.
30586 (__get_avphys_pages): Likewise.
30587 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
30589 (__get_nprocs_conf): Likewise.
30590 (__get_phys_pages): Likewise.
30591 (__get_avphys_pages): Likewise.
30593 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30596 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
30598 (__netlink_close): Likewise.
30599 (__netlink_free_handle): Likewise.
30600 (__netlink_request): Likewise.
30602 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30605 * include/rpc/rpc.h (__rpc_thread_variables): Add
30607 (__rpc_thread_svc_cleanup): Likewise.
30608 (__rpc_thread_clnt_cleanup): Likewise.
30609 (__rpc_thread_key_cleanup): Likewise.
30611 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30614 * include/sys/uio.h (__readv): Add libc_hidden_proto.
30615 (__writev): Likewise.
30616 * misc/readv.c (__readv): Add libc_hidden_def.
30617 * misc/writev.c (__writev): Likewise.
30618 * sysdeps/posix/readv.c (__readv): Likewise.
30619 * sysdeps/posix/writev.c (__writev): Likewise.
30620 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
30621 (__readv): Likewise.
30622 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
30623 (__writev): Likewise.
30625 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30628 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
30629 (__regcomp): Add libc_hidden_proto.
30630 (__regexec): Likewise.
30631 (__regfree): Likewise.
30632 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
30633 (__regfree): Likewise.
30634 * posix/regexec.c (__regexec): Likewise.
30636 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30639 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
30640 (__getutent): Likewise.
30641 (__getutid): Likewise.
30642 (__getutline): Likewise.
30643 (__pututline): Likewise.
30644 (__getutent_r): Likewise.
30645 (__getutid_r): Likewise.
30646 (__getutline_r): Likewise.
30647 (__utmpname): Add attribute_hidden.
30648 (__setutent): Likewise.
30649 (__endutent): Likewise.
30650 * login/getutent.c (__getutent): Add libc_hidden_def.
30651 * login/getutent_r.c (__getutent_r): Likewise.
30652 (__pututline): Likewise.
30653 * login/getutid.c (__getutid): Likewise.
30654 * login/getutid_r.c (__getutid_r): Likewise.
30655 * login/getutline.c (__getutline): Likewise.
30656 * login/getutline_r.c (__getutline_r): Likewise.
30657 * login/updwtmp.c (__updwtmp): Likewise.
30659 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30662 * include/dirent.h (__opendir): Always add attribute_hidden.
30663 (__fdopendir): Likewise.
30664 (__closedir): Likewise.
30665 (__readdir): Likewise.
30666 (__readdir64): Add libc_hidden_proto.
30667 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
30668 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
30669 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
30670 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
30673 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30676 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
30677 * include/netdb.h (__gethostbyaddr_r): Likewise.
30678 (__gethostbyname_r): Likewise.
30679 (__gethostbyname2_r): Likewise.
30680 (__getnetbyaddr_r): Likewise.
30681 (__getnetbyname_r): Likewise.
30682 (__getservbyname_r): Likewise.
30683 (__getservbyport_r): Likewise.
30684 (__getprotobyname_r): Likewise.
30685 (__getprotobynumber_r): Likewise.
30686 (__getnetgrent_r): Likewise.
30687 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
30688 (__getrpcbynumber_r): Likewise.
30689 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
30691 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30694 * include/stdio.h (__fcloseall): Add attribute_hidden.
30695 (__getline): Likewise.
30696 (__path_search): Likewise.
30697 (__gen_tempname): Likewise.
30698 (__libc_message): Likewise.
30699 (__flockfile): Likewise.
30700 (__funlockfile): Likewise.
30701 (__fxprintf): Likewise.
30702 (__fxprintf_nocancel): Likewise.
30704 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30707 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
30708 (__sgetsgent_r): Likewise.
30710 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30713 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
30714 (__statfs64): Likewise.
30715 (__fstatfs64): Likewise.
30716 * include/sys/statvfs.h (__statvfs64): Likewise.
30717 (__fstatvfs64): Likewise.
30718 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
30719 (__statfs_filesize_max): Likewise.
30720 (__statfs_symlinks): Likewise.
30721 (__statfs_chown_restricted): Likewise.
30723 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30726 * include/time.h (__tzstring): Add attribute_hidden.
30727 (__tzfile_read): Likewise.
30728 (__tzfile_compute): Likewise.
30729 (__tzfile_default): Likewise.
30730 (__tzset_parse_tz): Likewise.
30731 (__offtime): Likewise.
30732 (__asctime_r): Likewise.
30733 (__tzset): Likewise.
30734 (__tz_convert): Likewise.
30735 (__getdate_r): Likewise.
30736 (__getclktck): Likewise.
30738 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30741 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
30742 (__nscd_unmap): Likewise.
30743 (__nscd_cache_search): Likewise.
30744 (__nscd_get_nl_timestamp): Likewise.
30745 (__nscd_getpwnam_r): Likewise.
30746 (__nscd_getpwuid_r): Likewise.
30747 (__nscd_getgrnam_r): Likewise.
30748 (__nscd_getgrgid_r): Likewise.
30749 (__nscd_gethostbyname_r): Likewise.
30750 (__nscd_gethostbyname2_r): Likewise.
30751 (__nscd_gethostbyaddr_r): Likewise.
30752 (__nscd_getai): Likewise.
30753 (__nscd_getgrouplist): Likewise.
30754 (__nscd_getservbyname_r): Likewise.
30755 (__nscd_getservbyport_r): Likewise.
30756 (__nscd_innetgr): Likewise.
30757 (__nscd_setnetgrent): Likewise.
30759 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30762 * include/gmp.h: Declare internal functions only if _ISOMAC is
30764 (__mpn_extract_double): Add attribute_hidden.
30765 (__mpn_extract_long_double): Likewise.
30766 (__mpn_extract_float128): Likewise.
30767 (__mpn_construct_float): Likewise.
30768 (__mpn_construct_double): Likewise.
30769 (__mpn_construct_long_double): Likewise.
30770 (__mpn_construct_float128): Likewise.
30771 (mpn_add_1): Likewise.
30772 (mpn_addmul_1): Likewise.
30773 (mpn_add_n): Likewise.
30774 (mpn_cmp): Likewise.
30775 (mpn_divrem): Likewise.
30776 (mpn_lshift): Likewise.
30777 (mpn_mul): Likewise.
30778 (mpn_mul_1): Likewise.
30779 (mpn_rshift): Likewise.
30780 (mpn_sub_1): Likewise.
30781 (mpn_submul_1): Likewise.
30782 (mpn_sub_n): Likewise.
30784 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30787 * include/wchar.h (__wcsnlen): Add attribute_hidden.
30788 (__wcscat): Likewise.
30789 (__btowc): Likewise.
30790 (__wcrtomb): Likewise.
30791 (__mbsrtowcs): Likewise.
30792 (__wcsrtombs): Likewise.
30793 (__mbsnrtowcs): Likewise.
30794 (__wcsnrtombs): Likewise.
30795 (__wcsncpy): Likewise.
30796 (__wcpncpy): Likewise.
30797 (__wmemcpy): Likewise.
30798 (__wmempcpy): Likewise.
30799 (__wmemmove): Likewise.
30800 (__wcschrnul): Likewise.
30801 (__vfwscanf): Likewise.
30802 (__vswprintf): Likewise.
30803 (__fwprintf): Likewise.
30804 (__vfwprintf): Likewise.
30806 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30809 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
30810 (__getgrgid_r): Likewise.
30811 (__getgrnam_r): Likewise.
30812 * include/pwd.h (__getpwuid_r): Likewise.
30813 (__getpwnam_r): Likewise.
30814 (__fgetpwent_r): Likewise.
30815 * include/shadow.h (__getspnam_r): Likewise.
30816 (__sgetspent_r): Likewise.
30817 (__fgetspent_r): Likewise.
30819 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30822 * include/unistd.h (__access): Add attribute_hidden.
30823 (__lseek64): Likewise.
30824 (__libc_pread64): Likewise.
30825 (__pipe2): Likewise.
30826 (__sleep): Likewise.
30827 (__chdir): Likewise.
30828 (__fchdir): Likewise.
30829 (__getcwd): Likewise.
30830 (__rmdir): Likewise.
30831 (__execvpe): Likewise.
30832 (__execve): Likewise.
30833 (__setsid): Likewise.
30834 (__getuid): Likewise.
30835 (__geteuid): Likewise.
30836 (__getgid): Likewise.
30837 (__getegid): Likewise.
30838 (__getgroups): Likewise.
30839 (__group_member): Likewise.
30840 (__ttyname_r): Likewise.
30841 (__isatty): Likewise.
30842 (__readlink): Likewise.
30843 (__unlink): Likewise.
30844 (__gethostname): Likewise.
30845 (__profil): Likewise.
30846 (__getdtablesize): Likewise.
30848 (__ftruncate): Likewise.
30849 (__ftruncate64): Likewise.
30851 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30854 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
30855 * argp/argp-fs-xinl.c: Likewise.
30856 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
30857 * argp/argp-parse.c: Include <argp.h>.
30858 * argp/argp-xinl.c: Likewise.
30859 * include/argp-fmtstream.h: New file.
30860 * include/argp.h (__argp_error): Add attribute_hidden.
30861 (__argp_failure): Likewise.
30862 (__argp_input): Likewise.
30863 (__argp_state_help): Likewise.
30865 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30868 * include/wchar.h (____wcstof_l_internal): New prototype.
30869 (____wcstod_l_internal): Likewise.
30870 (____wcstold_l_internal): Likewise.
30871 (____wcstol_l_internal): Likewise.
30872 (____wcstoul_l_internal): Likewise.
30873 (____wcstoll_l_internal): Likewise.
30874 (____wcstoull_l_internal): Likewise.
30875 (____wcstof128_l_internal): Likewise.
30876 * sysdeps/ieee754/float128/wcstof128.c
30877 (____wcstof128_l_internal): Removed.
30878 * sysdeps/ieee754/float128/wcstof128_l.c
30879 (____wcstof128_l_internal): Likewise.
30880 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
30881 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
30882 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
30883 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
30884 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
30885 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
30886 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
30887 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
30888 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
30889 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
30891 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30894 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
30895 instead of <sys/statvfs.h>.
30896 (__internal_statvfs): Removed.
30897 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
30898 instead of <sys/statvfs.h>.
30899 (__internal_statvfs64): Removed.
30900 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
30901 "internal_statvfs.h" instead of <sys/statvfs.h>.
30902 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
30903 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
30904 instead of <sys/statvfs.h>.
30905 (__internal_statvfs): Removed.
30906 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
30907 instead of <sys/statvfs.h>.
30908 (__internal_statvfs64): Removed.
30910 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30913 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
30914 (__gconv_close): Likewise.
30915 (__gconv): Likewise.
30916 (__gconv_find_transform): Likewise.
30917 (__gconv_lookup_cache): Likewise.
30918 (__gconv_compare_alias_cache): Likewise.
30919 (__gconv_load_cache): Likewise.
30920 (__gconv_get_path): Likewise.
30921 (__gconv_close_transform): Likewise.
30922 (__gconv_release_cache): Likewise.
30923 (__gconv_find_shlib): Likewise.
30924 (__gconv_release_shlib): Likewise.
30925 (__gconv_get_builtin_trans): Likewise.
30926 (__gconv_compare_alias): Likewise.
30927 * include/dlfcn.h (_dlerror_run): Likewise.
30928 * include/stdio.h (__fortify_fail_abort): Likewise.
30929 * include/time.h (__tz_compute): Likewise.
30930 (__strptime_internal): Likewise.
30931 * intl/gettextP.h (_nl_find_domain): Likewise.
30932 (_nl_load_domain): Likewise.
30933 (_nl_find_msg): Likewise.
30934 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
30935 (EXTRACT_PLURAL_EXPRESSION): Likewise.
30936 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
30937 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
30938 (__gai_find_request): Likewise.
30939 (__gai_remove_request): Likewise.
30940 (__gai_notify): Likewise.
30941 (__gai_notify_only): Likewise.
30942 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30943 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30944 (_dl_non_dynamic_init): Likewise.
30945 (_dl_aux_init): Likewise.
30946 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
30947 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30949 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
30950 (__wcsmbs_clone_conv): Likewise.
30951 (__wcsmbs_named_conv): Likewise.
30953 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30956 * include/stdlib.h (__random): Add attribute_hidden.
30957 (__random_r): Likewise.
30958 (__srandom_r): Likewise.
30959 (__initstate_r): Likewise.
30960 (__setstate_r): Likewise.
30961 (__erand48_r): Likewise.
30962 (__nrand48_r): Likewise.
30963 (__jrand48_r): Likewise.
30964 (__srand48_r): Likewise.
30965 (__seed48_r): Likewise.
30966 (__lcong48_r): Likewise.
30967 (__drand48_iterate): Likewise.
30968 (__setenv): Likewise.
30969 (__unsetenv): Likewise.
30970 (__clearenv): Likewise.
30971 (__ptsname_r): Likewise.
30972 (__posix_openpt): Likewise.
30973 (__add_to_environ): Likewise.
30974 (__realpath): Add libc_hidden_proto.
30975 (__ecvt_r): Likewise.
30976 (__fcvt_r): Likewise.
30977 (__qecvt_r): Likewise.
30978 (__qfcvt_r): Likewise.
30979 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
30980 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
30982 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30985 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
30986 * include/time.h (__mktime_internal): Likewise.
30987 * libio/iolibio.h (__fopen_internal): Likewise.
30989 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
30991 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
30993 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
30994 Correct offset used to restore PIC register.
30996 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
30999 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
31000 code to load address of __getcontext_ret when generating PIC code.
31002 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
31004 * elf/Makefile (tests-static-internal): Add
31005 tst-tls1-static-non-pie.
31006 (LDFLAGS-tst-tls1-static-non-pie): New.
31007 * elf/tst-tls1-static-non-pie.c: New file.
31009 2017-09-29 Joseph Myers <joseph@codesourcery.com>
31011 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
31012 (asinh): Define using libm_alias_double.
31013 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
31014 (cbrt): Define using libm_alias_double.
31015 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
31016 <libm-alias-double.h>.
31017 (copysign): Define using libm_alias_double.
31018 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
31019 (erf): Define using libm_alias_double.
31021 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
31022 (expm1): Define using libm_alias_double.
31023 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
31024 (fabs): Define using libm_alias_double.
31025 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
31027 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
31028 <libm-alias-double.h>.
31029 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
31031 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
31032 <libm-alias-double.h>.
31033 (getpayload): Define using libm_alias_double.
31034 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
31035 <libm-alias-double.h>.
31036 (llrint): Define using libm_alias_double.
31037 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
31038 (lrint): Define using libm_alias_double.
31039 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
31040 <libm-alias-double.h>.
31041 (nextup): Define using libm_alias_double.
31042 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
31043 <libm-alias-double.h>.
31044 (roundeven): Define using libm_alias_double.
31045 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
31047 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
31048 <libm-alias-double.h>.
31049 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
31050 using libm_alias_double.
31051 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
31052 (cos): Define using libm_alias_double.
31054 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
31055 <libm-alias-double.h>.
31056 (sincos): Define using libm_alias_double.
31057 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
31058 (tanh): Define using libm_alias_double.
31059 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
31060 <libm-alias-double.h>.
31061 (totalorder): Define using libm_alias_double.
31062 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
31063 <libm-alias-double.h>.
31064 (totalordermag): Define using libm_alias_double.
31065 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
31067 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
31069 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
31070 <libm-alias-double.h>.
31071 (getpayload): Define using libm_alias_double.
31072 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
31073 <libm-alias-double.h>.
31074 (roundeven): Define using libm_alias_double.
31075 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
31076 <libm-alias-double.h>.
31077 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
31078 <libm-alias-double.h>.
31079 (totalorder): Define using libm_alias_double.
31080 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
31081 <libm-alias-double.h>.
31082 (totalordermag): Define using libm_alias_double.
31083 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
31084 libc compat symbol here.
31085 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
31086 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
31087 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
31088 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
31089 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
31090 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
31091 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
31092 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
31093 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
31094 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
31096 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31098 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
31099 _dl_relocate_static_pie instead of _dl_start to compute load
31100 address in static PIE. Return 0 if _DYNAMIC is undefined for
31103 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31105 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
31106 _DYNAMIC is undefined for static executable.
31108 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31110 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
31112 2017-09-29 Joseph Myers <joseph@codesourcery.com>
31114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31116 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31118 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
31119 (__ieee754_lgamma_r): Use fabs rather than __fabs.
31120 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31121 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31122 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
31123 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
31124 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31125 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
31126 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
31127 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31128 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
31129 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
31130 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31131 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31132 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31133 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31134 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
31136 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31138 * math/bits/cmathcalls.h (cimag): Remove inline.
31139 (creal): Remove inline.
31140 (conj): Remove inline.
31142 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31144 * math/Makefile (type-float-routines): Add e_powf_log2_data.
31145 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
31146 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
31147 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
31148 (issignalingf_inline): Likewise.
31149 (POWF_LOG2_TABLE_BITS): Likewise.
31150 (POWF_LOG2_POLY_ORDER): Likewise.
31151 (POWF_SCALE_BITS): Likewise.
31152 (POWF_SCALE): Likewise.
31153 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
31154 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
31155 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
31157 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31159 * math/Makefile (type-float-routines): Add e_log2f_data.
31160 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
31161 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
31162 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
31163 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
31164 * sysdeps/i386/fpu/e_log2f_data.c: New file.
31165 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
31166 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
31168 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31170 * math/Makefile (type-float-routines): Add e_logf_data.
31171 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
31172 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
31173 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
31174 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
31175 * sysdeps/i386/fpu/e_logf_data.c: New file.
31176 * sysdeps/ia64/fpu/e_logf_data.c: New file.
31177 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
31179 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
31181 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
31182 undefined _DYNAMIC in PIE libc.a.
31183 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31186 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31188 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
31189 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
31190 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
31191 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
31192 (__signbit): Remove.
31193 (__signbitl): Remove.
31194 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
31195 (__signbit): Remove.
31196 (__signbitl): Remove.
31197 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
31198 (__signbit): Remove.
31199 (__signbitl): Remove.
31200 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
31201 (__signbit): Remove.
31202 (__signbitl): Remove.
31203 * sysdeps/tile/bits/mathinline.h: Delete file.
31204 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
31205 (__signbit): Remove.
31206 (__signbitl): Remove.
31208 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31210 * math/math.h: Improve handling of C99 isgreater macros.
31211 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
31212 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
31213 * sysdeps/powerpc/bits/mathinline.h: Likewise.
31214 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31215 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
31217 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
31219 * sysdeps/aarch64/libm-test-ulps: Update.
31221 2017-09-28 Joseph Myers <joseph@codesourcery.com>
31224 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31225 math_opt_barrier on argument when doing arithmetic on it.
31226 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
31227 Likewise. Use math_force_eval not math_opt_barrier after
31229 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
31230 math_opt_barrier on argument when doing arithmetic on it.
31231 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31234 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
31236 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
31238 (__freeifaddrs): Likewise.
31240 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31242 * include/dirent.h (__dirfd): New declaration.
31243 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
31245 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
31246 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
31247 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
31248 * include/unistd.h (__revoke): New declaration.
31249 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
31251 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
31252 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
31254 * include/dirent.h (__seekdir): New declaration.
31255 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
31256 redefine as weak alias.
31257 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
31259 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
31260 and use libc_hidden_def on them.
31261 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
31263 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
31264 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
31265 instead of getifaddrs and freeifaddrs.
31267 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
31270 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
31271 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
31272 (__dso_handle): Remove declaration.
31273 * dlfcn/tstatexit.c (__dso_handle): Removed.
31274 (main): Don't check __dso_handle.
31275 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
31276 (main): Don't check __dso_handle.
31277 * include/dso_handle.h: New file.
31278 * malloc/mtrace.c: Include <dso_handle.h>.
31279 (mtrace): Pass __dso_handle directly.
31280 * nptl/pthread_atfork.c: Include <dso_handle.h>.
31281 (__dso_handle): Remove declaration.
31282 (__pthread_atfork): Pass __dso_handle directly.
31283 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
31284 (__dso_handle): Removed.
31285 * posix/wordexp-test.c: Include <dso_handle.h>.
31286 (__dso_handle): Remove declaration.
31287 (__app_register_atfork): Pass __dso_handle directly.
31288 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
31289 (__dso_handle): Remove declaration.
31290 (at_quick_exit): Pass __dso_handle directly.
31291 * stdlib/atexit.c: Include <dso_handle.h>.
31292 (__dso_handle): Remove declaration.
31293 (atexit): Pass __dso_handle directly.
31294 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
31295 (__dso_handle): Removed.
31297 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31299 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
31302 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
31304 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
31305 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
31306 values to correct default value for given type.
31308 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
31311 * elf/Makefile (tests): Add tst-debug1.
31312 ($(objpfx)tst-debug1): New.
31313 ($(objpfx)tst-debug1.out): Likewise.
31314 ($(objpfx)tst-debug1mod1.so): Likewise.
31315 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
31316 with p_filesz == 0.
31317 * elf/tst-debug1.c: New file.
31319 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31321 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
31322 Define using __ifunc.
31324 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31326 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
31329 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31332 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
31334 2017-09-26 Florian Weimer <fweimer@redhat.com>
31336 * resolv/Makefile (tests-internal): Fix typo in comment.
31338 2017-09-26 Florian Weimer <fweimer@redhat.com>
31340 * resolv/nss_dns/dns-host.c: Fix typo in comment.
31342 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31344 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
31345 Use an union instead of a max_align_t array for __space,
31346 so that __space is the same size on all platforms.
31347 * malloc/scratch_buffer_grow_preserve.c
31348 (__libc_scratch_buffer_grow_preserve): Likewise.
31351 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
31353 * posix/Makefile (routines): Add glob-lstat-compat and
31354 glob64-lstat-compat.
31355 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
31356 * posix/glob-lstat-compat.c: New file.
31357 * posix/glob64-lstat-compat.c: Likewise.
31358 * posix/tst-glob_lstat_compat.c: Likewise.
31359 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
31360 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
31361 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
31362 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
31364 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
31365 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31366 * posix/glob.c (glob_lstat): New function.
31367 (glob): Rename to __glob and add versioned symbol to 2.27.
31368 (glob_in_dir): Use glob_lstat.
31369 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
31370 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
31371 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
31373 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
31374 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
31375 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
31376 gl_lstat on glob call.
31377 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
31378 and glob64 symbols.
31379 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
31380 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
31381 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
31382 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
31383 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
31384 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
31385 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
31386 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
31387 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
31388 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
31389 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
31390 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
31391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
31393 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
31394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
31395 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
31396 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
31397 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
31398 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
31399 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
31400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
31401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
31402 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
31403 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
31404 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
31406 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
31408 * configure.ac (AS): Require binutils 2.25 or later.
31409 * configure: Regenerated.
31411 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31414 * stdlib/test-atexit-race-common.c (do_test): Minimize required
31417 2017-09-25 DJ Delorie <dj@redhat.com>
31420 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
31423 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
31425 * sysdeps/ieee754/dbl-64/sincos32.h
31426 [SINCCOS32_H]: Remove define.
31427 [SINCOS32_H]: Define.
31429 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31431 * math/Versions (expf): New libm symbol at GLIBC_2.27.
31433 * math/w_exp2f.c: New file.
31434 * math/w_expf.c: New file.
31435 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
31436 * math/w_expf_compat.c (__expf_compat): Likewise.
31437 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
31438 * sysdeps/ia64/fpu/e_expf.S: Likewise.
31439 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31440 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31441 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31442 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31443 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31444 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31445 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31446 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31447 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31448 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31449 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31450 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31459 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31460 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31461 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31462 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31463 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31468 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31469 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31470 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31472 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31474 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
31475 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
31476 (roundtoint, converttoint): Likewise.
31477 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
31478 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
31479 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
31480 * sysdeps/ieee754/flt-32/math_config.h: New file.
31481 * sysdeps/ieee754/flt-32/math_errf.c: New file.
31482 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
31483 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
31484 * sysdeps/i386/fpu/math_errf.c: New file.
31485 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
31486 * sysdeps/ia64/fpu/math_errf.c: New file.
31487 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
31488 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
31490 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
31492 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
31493 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
31494 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
31495 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
31496 to make sure that these symbols are defined.
31497 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
31499 (__need_NULL): Do not define.
31500 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
31502 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
31503 CMGROUP_MAX, cmsgcred): Do not define.
31504 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
31506 * bits/socket.h: Likewise.
31507 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
31508 __gettimeofday instead of gettimeofday.
31509 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
31510 instead of settimeofday.
31512 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31514 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
31515 (asinhf): Define using libm_alias_float.
31516 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
31517 (atanf): Define using libm_alias_float.
31518 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
31519 (cbrtf): Define using libm_alias_float.
31520 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
31521 (ceilf): Define using libm_alias_float.
31522 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
31523 <libm-alias-float.h>.
31524 (copysignf): Define using libm_alias_float.
31525 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
31526 (cosf): Define using libm_alias_float.
31527 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
31528 (erff): Define using libm_alias_float.
31530 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
31531 (expm1f): Define using libm_alias_float.
31532 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
31533 (fabsf): Define using libm_alias_float.
31534 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
31535 (floorf): Define using libm_alias_float.
31536 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
31537 (frexpf): Define using libm_alias_float.
31538 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
31540 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
31541 <libm-alias-float.h>.
31542 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
31544 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
31545 <libm-alias-float.h>.
31546 (getpayloadf): Define using libm_alias_float.
31547 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
31548 <libm-alias-float.h>.
31549 (llrintf): Define using libm_alias_float.
31550 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
31551 <libm-alias-float.h>.
31552 (llroundf): Define using libm_alias_float.
31553 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
31554 (logbf): Define using libm_alias_float.
31555 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
31556 (lrintf): Define using libm_alias_float.
31557 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
31558 (lroundf): Define using libm_alias_float.
31559 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
31560 (modff): Define using libm_alias_float.
31561 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
31562 <libm-alias-float.h>.
31563 (nearbyintf): Define using libm_alias_float.
31564 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
31565 <libm-alias-float.h>.
31566 (nextafterf): Define using libm_alias_float.
31567 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
31568 <libm-alias-float.h>.
31569 (nextupf): Define using libm_alias_float.
31570 * sysdeps/ieee754/flt-32/s_remquof.c: Include
31571 <libm-alias-float.h>.
31572 (remquof): Define using libm_alias_float.
31573 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
31574 (rintf): Define using libm_alias_float.
31575 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
31576 <libm-alias-float.h>.
31577 (roundevenf): Define using libm_alias_float.
31578 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
31579 (roundf): Define using libm_alias_float.
31580 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
31581 using libm_alias_float.
31582 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
31583 <libm-alias-float.h>.
31584 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
31585 Define using libm_alias_float.
31586 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
31587 <libm-alias-float.h>.
31588 (sincosf): Define using libm_alias_float.
31589 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
31590 (sinf): Define using libm_alias_float.
31591 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
31592 (tanf): Define using libm_alias_float.
31593 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
31594 (tanhf): Define using libm_alias_float.
31595 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
31596 <libm-alias-float.h>.
31597 (totalorderf): Define using libm_alias_float.
31598 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
31599 <libm-alias-float.h>.
31600 (totalordermagf): Define using libm_alias_float.
31601 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
31602 (truncf): Define using libm_alias_float.
31603 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
31605 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
31608 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31611 math/math.h: Let fpclassify use the builtin in C++ mode, even
31612 when optimazing for size.
31614 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31616 * csu/Makefile (generated): Do not add version-info.h.
31617 (before-compile): Likewise.
31618 (all-Banner-files): Remove variable.
31619 ($(objpfx)version-info.h): Remove rule.
31620 * csu/version.c (banner): Do not include "version-info.h".
31621 * libidn/Banner: Remove.
31622 * manual/contrib.texi (Simon Josefsson): New entry.
31624 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31626 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31627 Remove conditionals on LDBL_MANT_DIG.
31628 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31629 (__ieee754_lgammal_r): Likewise.
31631 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31633 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
31635 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
31636 _Float128 and L(). Replace _Float128 with long double and L(x)
31637 with xL, throughout the file.
31638 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31639 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31640 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31641 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31643 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31645 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
31646 sysdeps/ieee754/ldbl-128ibm.
31647 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
31648 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
31649 of including it. Keep _Float128 and L() intact. These will be
31650 reviewed by a separate patch.
31651 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
31652 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
31653 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
31654 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
31656 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
31659 (__finitef128): Define to __redirect___finitef128.
31660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
31661 (__isinff128): Define to __redirect___isinff128.
31662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
31663 (__isnanf128): Define to __redirect___isnanf128.
31665 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31667 * sysdeps/powerpc/powerpc64le/Makefile
31668 (CFLAGS-tst-strtod-nan-locale.c): New variable.
31669 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
31671 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
31672 Carlos O'Donell <carlos@redhat.com>
31675 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
31676 * stdlib/test-dlclose-exit-race.c: New file.
31677 * stdlib/test-dlclose-exit-race-helper.c: New file.
31678 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
31680 2017-09-21 Joseph Myers <joseph@codesourcery.com>
31682 * crypt/Banner: Remove file.
31683 * nptl/Banner: Likewise.
31684 * resolv/Banner: Likewise.
31685 * soft-fp/Banner: Likewise.
31686 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
31687 ($(objpfx)version.d): Remove dependency on banner.h.
31688 ($(objpfx)version.os): Likewise.
31689 * nptl/version.c (banner): Do not include banner.h.
31690 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
31691 Jelinek and BIND code.
31693 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31694 Carlos O'Donell <carlos@redhat.com>
31696 * support/xdlfcn.h: New file.
31697 * support/xdlfcn.c: New file.
31698 * support/Makefile (libsupport-routines): Add xdlfcn.
31699 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
31701 2017-09-20 Joseph Myers <joseph@codesourcery.com>
31704 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31705 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
31706 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
31707 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
31708 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
31709 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
31710 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
31711 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
31713 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
31714 Ricky Zhou <rickyz@google.com>
31715 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
31718 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
31720 (__new_exitfn): Fail registration when we finished at_exit processing.
31721 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31722 * stdlib/on_exit.c (__on_exit): Likewise.
31723 * stdlib/exit.c (__exit_funcs_done): New variable.
31724 (__run_exit_handlers): Use __exit_funcs_lock.
31725 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
31727 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
31728 (test-cxa_atexit-race, test-on_exit-race): New tests.
31729 * stdlib/test-atexit-race-common.c: New file.
31730 * stdlib/test-atexit-race.c: New file.
31731 * stdlib/test-at_quick_exit-race.c: New file.
31732 * stdlib/test-cxa_atexit-race.c: New file.
31733 * stdlib/test-on_exit-race.c: New file.
31735 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
31737 * benchtests/Makefile: Add exp2f and log2f benchmarks.
31738 * benchtests/exp2f-inputs: Copy of expf-inputs.
31739 * benchtests/log2f-inputs: Copy of logf-inputs.
31741 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31743 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
31744 Explicitly take address of first element of array arguments in
31745 call to INLINE_SYSCALL.
31747 2017-09-19 Andreas Schwab <schwab@suse.de>
31750 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
31752 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
31754 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
31755 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
31756 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31757 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
31758 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31759 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31760 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31761 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
31762 * posix/Makefile (tests): Add tst-fexecve.
31763 * posix/tst-fexecve.c: New file.
31765 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31767 * benchtests/Makefile: Add logf benchmark.
31768 * benchtests/logf-inputs: Add reduced trace from wrf_r.
31770 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31772 * benchtests/Makefile: Add expf benchmark.
31773 * benchtests/expf-inputs: Add reduced trace from wrf_r.
31775 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
31777 * csu/Makefile: Add -funwind-tables to libc-start.c.
31778 * debug/Makefile: Add -funwind-tables to backtrace.c.
31779 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
31780 * sysdeps/arm/Makefile: Likewise.
31781 * sysdeps/i386/Makefile: Likewise.
31782 * sysdeps/m68k/Makefile: Likewise.
31783 * sysdeps/mips/Makefile: Likewise.
31784 * sysdeps/nios2/Makefile: Likewise.
31785 * sysdeps/sh/Makefile: Likewise.
31786 * sysdeps/sparc/Makefile: Likewise.
31788 2017-09-19 Joseph Myers <joseph@codesourcery.com>
31790 * benchtests/Makefile (bench-math): Add trunc and truncf.
31791 (CFLAGS-bench-trunc.c): New variable.
31792 (CFLAGS-bench-truncf.c): Likewise.
31793 * benchtests/trunc-inputs: New file.
31794 * benchtests/truncf-inputs: Likewise.
31796 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31798 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
31800 2017-09-18 Joseph Myers <joseph@codesourcery.com>
31802 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
31803 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
31805 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
31806 (exp10l): Define as weak alias.
31807 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
31808 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
31810 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
31811 (remainderl): Define as weak alias.
31813 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
31814 (fmal): Define using libm_alias_ldouble.
31815 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
31816 (acoshl): Define using libm_alias_ldouble.
31817 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
31818 (acosl): Define using libm_alias_ldouble.
31819 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
31820 (asinl): Define using libm_alias_ldouble.
31821 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
31822 (atan2l): Define using libm_alias_ldouble.
31823 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
31824 (atanhl): Define using libm_alias_ldouble.
31825 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
31826 (coshl): Define using libm_alias_ldouble.
31827 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
31828 (exp10l): Define using libm_alias_ldouble.
31829 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
31830 (exp2l): Define using libm_alias_ldouble.
31831 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
31832 (expl): Define using libm_alias_ldouble.
31833 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
31834 (fmodl): Define using libm_alias_ldouble.
31835 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
31836 (hypotl): Define using libm_alias_ldouble.
31837 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
31838 (j0l): Define using libm_alias_ldouble.
31840 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
31841 (j1l): Define using libm_alias_ldouble.
31843 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
31844 (jnl): Define using libm_alias_ldouble.
31846 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
31847 (log10l): Define using libm_alias_ldouble.
31848 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
31849 (log2l): Define using libm_alias_ldouble.
31850 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
31851 (logl): Define using libm_alias_ldouble.
31852 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
31853 (powl): Define using libm_alias_ldouble.
31854 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
31855 (remainderl): Define using libm_alias_ldouble.
31856 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
31857 (sinhl): Define using libm_alias_ldouble.
31858 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
31859 (sqrtl): Define using libm_alias_ldouble.
31860 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
31861 (tgammal): Define using libm_alias_ldouble.
31862 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
31863 (exp10l): Do not use long_double_symbol here.
31864 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
31865 [LIBM_SVID_COMPAT] (remainderl): Likewise.
31866 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
31867 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31868 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31869 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31870 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31871 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31872 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31873 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31874 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31875 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31876 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31877 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31878 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31879 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31880 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31881 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31882 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31883 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31884 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31885 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31887 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
31889 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
31890 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
31892 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
31894 * io/read.c (read): Add libc_hidden_weak.
31895 * sysdeps/mach/hurd/read.c (read): Likewise.
31896 * io/write.c (write): Likewise.
31897 * sysdeps/mach/hurd/write.c (write): Likewise.
31898 * io/pread64.c (__pread64): Likewise.
31899 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
31900 * posix/pread64.c (__pread64): Add libc_hidden_def.
31902 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
31904 * benchtests/scripts/compare_strings.py: New option -g.
31905 (draw_graph): Print a message that a graph is being generated.
31906 (process_results): Generate graph only if -g is passed.
31907 (main): Process option -g.
31909 * benchtests/scripts/compare_strings.py (process_results):
31910 Better spacing for output.
31912 * benchtests/scripts/compare_strings.py: Use argparse.
31913 * benchtests/README: Document existence of compare_strings.py.
31915 2017-09-15 Joseph Myers <joseph@codesourcery.com>
31917 * math/s_fma.c: Include <libm-alias-double.h>.
31918 (fma): Define using libm_alias_double.
31919 * math/s_nextafter.c: Include <libm-alias-double.h>.
31920 (nextafter): Define using libm_alias_double.
31921 * math/w_acos_compat.c: Include <libm-alias-double.h>.
31922 (acos): Define using libm_alias_double.
31923 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
31924 (aocsh): Define using libm_alias_double.
31925 * math/w_asin_compat.c: Include <libm-alias-double.h>.
31926 (asin): Define using libm_alias_double.
31927 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
31928 (atan2): Define using libm_alias_double.
31929 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
31930 (atanh): Define using libm_alias_double.
31931 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
31932 (cosh): Define using libm_alias_double.
31933 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
31934 (exp10): Define using libm_alias_double.
31935 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
31936 (exp2): Define using libm_alias_double.
31937 * math/w_exp_compat.c: Include <libm-alias-double.h>.
31938 (exp): Define using libm_alias_double.
31939 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
31940 (fmod): Define using libm_alias_double.
31941 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
31942 (hypot): Define using libm_alias_double.
31943 * math/w_j0_compat.c: Include <libm-alias-double.h>.
31944 (j0): Define using libm_alias_double.
31946 * math/w_j1_compat.c: Include <libm-alias-double.h>.
31947 (j1): Define using libm_alias_double.
31949 * math/w_jn_compat.c: Include <libm-alias-double.h>.
31950 (jn): Define using libm_alias_double.
31952 * math/w_log10_compat.c: Include <libm-alias-double.h>.
31953 (log10): Define using libm_alias_double.
31954 * math/w_log2_compat.c: Include <libm-alias-double.h>.
31955 (log2): Define using libm_alias_double.
31956 * math/w_log_compat.c: Include <libm-alias-double.h>.
31957 (log): Define using libm_alias_double.
31958 * math/w_pow_compat.c: Include <libm-alias-double.h>.
31959 (pow): Define using libm_alias_double.
31960 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
31961 (remainder): Define using libm_alias_double.
31962 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
31963 (sinh): Define using libm_alias_double.
31964 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
31965 (sqrt): Define using libm_alias_double.
31966 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
31967 (tgamma): Define using libm_alias_double.
31968 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
31969 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
31970 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
31971 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
31972 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
31973 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
31974 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
31975 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
31976 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
31977 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
31978 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
31979 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
31980 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
31981 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
31982 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
31983 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
31984 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
31985 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
31986 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
31987 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
31988 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
31989 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
31990 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
31991 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
31992 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
31994 * math/e_acoshl.c: Remove.
31995 * math/e_acosl.c: Likewise.
31996 * math/e_asinl.c: Likewise.
31997 * math/e_atan2l.c: Likewise.
31998 * math/e_atanhl.c: Likewise.
31999 * math/e_coshl.c: Likewise.
32000 * math/e_expl.c: Likewise.
32001 * math/e_fmodl.c: Likewise.
32002 * math/e_gammal_r.c: Likewise.
32003 * math/e_hypotl.c: Likewise.
32004 * math/e_j0l.c: Likewise.
32005 * math/e_j1l.c: Likewise.
32006 * math/e_jnl.c: Likewise.
32007 * math/e_lgammal_r.c: Likewise.
32008 * math/e_log10l.c: Likewise.
32009 * math/e_log2l.c: Likewise.
32010 * math/e_logl.c: Likewise.
32011 * math/e_powl.c: Likewise.
32012 * math/e_rem_pio2l.c: Likewise.
32013 * math/e_sinhl.c: Likewise.
32014 * math/e_sqrtf128.c: Likewise.
32015 * math/e_sqrtl.c: Likewise.
32016 * math/k_cosl.c: Likewise.
32017 * math/k_sinl.c: Likewise.
32018 * math/k_tanl.c: Likewise.
32019 * math/s_asinhl.c: Likewise.
32020 * math/s_atanl.c: Likewise.
32021 * math/s_cbrtl.c: Likewise.
32022 * math/s_erfl.c: Likewise.
32023 * math/s_expm1l.c: Likewise.
32024 * math/s_log1pl.c: Likewise.
32025 * math/s_tanhl.c: Likewise.
32027 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
32031 [$(subdir) = math] (sysdep_calls): New variable. Has the
32032 previous contents of sysdep_routines, but re-sorted..
32033 [$(subdir) = math] (sysdep_routines): Re-use the contents from
32035 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
32036 defined in sysdep_calls and replace by the respective m_* names.
32037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
32038 (compat_symbol): Undefine to avoid duplicated compat symbols in
32041 2017-09-15 Joseph Myers <joseph@codesourcery.com>
32043 * math/s_fmaf.c: Include <libm-alias-float.h>.
32044 (fmaf): Define using libm_alias_float.
32045 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
32046 (acosf): Define using libm_alias_float.
32047 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
32048 (acoshf): Define using libm_alias_float.
32049 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
32050 (asinf): Define using libm_alias_float.
32051 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
32052 (atan2f): Define using libm_alias_float.
32053 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
32054 (atanhf): Define using libm_alias_float.
32055 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
32056 (coshf): Define using libm_alias_float.
32057 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
32058 (exp10f): Define using libm_alias_float.
32059 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
32060 (fmodf): Define using libm_alias_float.
32061 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
32062 (hypotf): Define using libm_alias_float.
32063 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
32064 (j0f): Define using libm_alias_float.
32066 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
32067 (j1f): Define using libm_alias_float.
32069 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
32070 (jnf): Define using libm_alias_float.
32072 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
32073 (log10f): Define using libm_alias_float.
32074 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
32075 (log2f): Define using libm_alias_float.
32076 * math/w_logf_compat.c: Include <libm-alias-float.h>.
32077 (logf): Define using libm_alias_float.
32078 * math/w_powf_compat.c: Include <libm-alias-float.h>.
32079 (powf): Define using libm_alias_float.
32080 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
32081 (remainderf): Define using libm_alias_float.
32082 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
32083 (sinhf): Define using libm_alias_float.
32084 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
32085 (sqrtf): Define using libm_alias_float.
32086 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
32087 (tgammaf): Define using libm_alias_float.
32089 2017-09-14 Joseph Myers <joseph@codesourcery.com>
32091 * include/math.h (roundeven): Change hidden_proto call to
32093 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
32095 [NO_LONG_DOUBLE] (__j0l): New strong alias.
32096 (y0): Rename to __y0 and define as weak alias.
32097 [NO_LONG_DOUBLE] (__y0l): New strong alias.
32098 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
32100 (y0f): Rename to __y0f and define as weak alias.
32101 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
32103 [NO_LONG_DOUBLE] (__j1l): New strong alias.
32104 (y1): Rename to __y1 and define as weak alias.
32105 [NO_LONG_DOUBLE] (__y1l): New strong alias.
32106 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
32108 (y1f): Rename to __y1f and define as weak alias.
32109 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
32111 [NO_LONG_DOUBLE] (__jnl): New strong alias.
32112 (yn): Rename to __yn and define as weak alias.
32113 [NO_LONG_DOUBLE] (__ynl): New strong alias.
32114 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
32116 (ynf): Rename to __ynf and define as weak alias.
32117 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
32118 (fromfp): Define as weak alias.
32119 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
32120 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
32121 (fromfpx): Define as weak alias.
32122 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
32123 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
32124 __getpayload and define as weak alias.
32125 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32126 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
32127 __roundeven and define as weak alias.
32128 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32129 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
32131 (setpayload): Define as weak alias.
32132 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
32133 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
32135 (setpayloadsig): Define as weak alias.
32136 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
32137 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
32138 __totalorder and define as weak alias.
32139 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32140 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
32141 to __totalordermag and define as weak alias.
32142 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32143 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
32144 (ufromfp): Define as weak alias.
32145 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
32146 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
32148 (ufromfpx): Define as weak alias.
32149 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
32150 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
32151 Rename to __getpayload and define as weak alias.
32152 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32153 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
32154 Rename to __roundeven and define as weak alias.
32155 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32156 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
32157 Rename to __totalorder and define as weak alias.
32158 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32159 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
32160 (totalordermag): Rename to __totalordermag and define as weak
32162 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32163 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
32165 (__roundevenl): Likewise.
32166 (__totalorderl): Likewise.
32167 (__totalordermagl): Likewise
32168 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
32170 (fromfpf128): Define as weak alias.
32171 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
32173 (fromfpxf128): Define as weak alias.
32174 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
32176 (setpayloadf128): Define as weak alias.
32177 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
32178 __setpayloadsigf128.
32179 (setpayloadsigf128): Define as weak alias.
32180 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
32182 (ufromfpf128): Define as weak alias.
32183 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
32185 (ufromfpxf128): Define as weak alias.
32186 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
32187 (fromfpf): Define as weak alias.
32188 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
32190 (fromfpxf): Define as weak alias.
32191 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
32192 __getpayloadf and define as weak alias.
32193 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
32194 __roundevenf and define as weak alias.
32195 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
32197 (setpayloadf): Define as weak alias.
32198 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
32200 (setpayloadsigf): Define as weak alias.
32201 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
32202 __totalorderf and define as weak alias.
32203 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
32204 Rename to __totalordermagf and define as weak alias.
32205 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
32207 (ufromfpf): Define as weak alias.
32208 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
32210 (ufromfpxf): Define as weak alias.
32211 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
32213 (fromfpl): Define as weak alias.
32214 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
32216 (fromfpxl): Define as weak alias.
32217 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
32218 to __getpayloadl and define as weak alias.
32219 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
32220 __roundevenl and define as weak alias.
32221 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
32223 (setpayloadl): Define as weak alias.
32224 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
32226 (setpayloadsigl): Define as weak alias.
32227 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
32228 to __totalorderl and define as weak alias.
32229 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
32230 Rename to __totalordermagl and define as weak alias.
32231 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
32233 (ufromfpl): Define as weak alias.
32234 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
32236 (ufromfpxl): Define as weak alias.
32237 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
32239 (fromfpl): Define as weak alias.
32240 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
32242 (fromfpxl): Define as weak alias.
32243 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
32244 Rename to __getpayloadl and define as weak alias.
32245 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
32246 to __roundevenl and define as weak alias. Call __roundeven
32247 instead of roundeven.
32248 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
32250 (setpayloadl): Define as weak alias.
32251 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
32253 (setpayloadsigl): Define as weak alias.
32254 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
32255 Rename to __totalorderl and define as weak alias.
32256 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
32257 Rename to __totalordermagl and define as weak alias.
32258 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
32260 (ufromfpl): Define as weak alias.
32261 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
32263 (ufromfpxl): Define as weak alias.
32264 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
32266 (fromfpl): Define as weak alias.
32267 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
32269 (fromfpxl): Define as weak alias.
32270 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
32271 __getpayloadl and define as weak alias.
32272 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
32273 __roundevenl and define as weak alias.
32274 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
32276 (setpayloadl): Define as weak alias.
32277 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
32279 (setpayloadsigl): Define as weak alias.
32280 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
32281 __totalorderl and define as weak alias.
32282 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
32283 Rename to __totalordermagl and define as weak alias.
32284 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
32286 (ufromfpl): Define as weak alias.
32287 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
32289 (ufromfpxl): Define as weak alias.
32291 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
32293 * benchtests/bench-string.h (realloc_bufs): New function.
32294 (test_init): Call it.
32295 * benchtests/bench-memset-large.c (do_test): Likewise.
32296 * benchtests/bench-memset.c (do_test): Likewise.
32298 * benchtests/bench-memset-large.c: Print output in JSON
32300 * benchtests/bench-memset.c: Likewise.
32302 2017-09-14 Mike FABIAN <mfabian@redhat.com>
32305 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
32306 * iconvdata/Makefile: Add IBM858.
32307 * iconvdata/gconv-modules: Likewise.
32308 * iconvdata/tst-tables.sh: Likewise.
32309 * iconvdata/ibm858.c: New file.
32310 * localedata/charmaps/IBM858: Likewise.
32312 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
32315 * locales/niu_NZ (LC_TIME): copy "niu_NU".
32316 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
32318 2017-09-14 Mike FABIAN <mfabian@redhat.com>
32321 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
32322 and add tel_int_fmt.
32324 2017-09-14 Joseph Myers <joseph@codesourcery.com>
32326 * sysdeps/generic/libm-alias-float128.h: New file.
32327 * sysdeps/generic/math-type-macros-float128.h: Include
32328 <libm-alias-float128.h>.
32329 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32331 2017-09-13 Joseph Myers <joseph@codesourcery.com>
32333 * sysdeps/generic/libm-alias-ldouble.h: New file.
32334 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
32335 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
32336 * sysdeps/generic/math-type-macros-ldouble.h: Include
32337 <libm-alias-ldouble.h>.
32338 [!declare_mgen_alias] (declare_mgen_alias): Define to use
32339 libm_alias_ldouble.
32341 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
32343 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
32344 * math/w_exp_compat.c: ... here.
32345 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
32346 * math/w_expf_compat.c: ... here.
32347 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
32348 * math/w_expl_compat.c: ... here.
32349 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
32350 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
32351 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
32352 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
32354 2017-09-13 Joseph Myers <joseph@codesourcery.com>
32356 * math/w_scalbln_template.c (strong_alias): Do not undefine and
32358 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
32360 (ldexpl): Only define as compat symbol for libc, not libm.
32361 (scalbnl): Define as compat symbol for libc here.
32362 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
32363 define for [IS_IN (libc)].
32364 (__ldexpl_2): Remove alias.
32365 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
32366 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
32367 name in long_double_symbol call.
32368 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
32369 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32370 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32371 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
32372 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
32374 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
32375 Define as compat symbol.
32377 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32379 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
32380 * sysdeps/unix/sysv/linux/alpha/Makefile
32381 [$(subdir) = csu] (sysdep_routines): Remove rule.
32383 2017-09-13 Joseph Myers <joseph@codesourcery.com>
32385 * sysdeps/generic/libm-alias-double.h: New file.
32386 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
32387 * sysdeps/generic/math-type-macros-double.h: Include
32388 <libm-alias-double.h>.
32389 [declare_mgen_alias] (declare_mgen_alias): Define to use
32391 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
32392 (M_LIBM_NEED_COMPAT): Remove macro.
32393 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
32394 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
32395 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
32397 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32398 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32399 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32400 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32401 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32402 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32403 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32404 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32405 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32406 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32407 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32408 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32409 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32410 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32411 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32412 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32413 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32414 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32415 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32416 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32417 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32418 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32419 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32420 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32421 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32422 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32423 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32424 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
32425 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
32427 (declare_mgen_alias): New macro.
32428 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
32429 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
32430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
32431 (M_LIBM_NEED_COMPAT): Remove macro.
32432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
32433 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
32434 <first-versions.h>.
32435 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
32436 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
32438 2017-09-12 Joseph Myers <joseph@codesourcery.com>
32440 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
32441 (declare_mgen_alias_2): Remove.
32442 * sysdeps/generic/math-type-macros-double.h
32443 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
32445 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
32447 (ldexp): Define with declare_mgen_alias.
32448 (scalbn): Likewise.
32450 2017-09-12 Steve Ellcey <sellcey@cavium.com>
32452 * grp/initgroups.c: Include config.h.
32453 (DEFAULT_CONFIG): New macro.
32454 (internal_getgrouplist): Use DEFAULT_CONFIG.
32455 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32456 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
32457 (DEFAULT_DEFCONFIG): New macro.
32458 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
32459 * nss/grp-lookup.c: Include config.h
32460 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
32461 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
32462 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
32463 * manual/nss.texi: Update default values section.
32465 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
32468 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
32470 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
32471 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32472 Handle MathVec_Prefer_No_AVX512.
32473 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
32474 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
32477 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
32479 * posix/sched_primax.c (__sched_get_priority_max): Add
32481 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
32482 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32483 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32484 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
32485 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
32486 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
32487 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
32488 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
32491 2017-09-11 Joseph Myers <joseph@codesourcery.com>
32493 * sysdeps/generic/libm-alias-float.h: New file.
32494 * sysdeps/generic/math-type-macros-float.h: Include
32495 <libm-alias-float.h>.
32496 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32498 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
32501 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
32502 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
32503 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
32504 (HWCAP_IMPORTANT): Likewise.
32505 (HWCAP_X86_64): New enum.
32506 (HWCAP_X86_AVX512_1): Updated.
32507 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
32508 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
32509 (modules-names): Add x86_64/tst-x86_64mod-1.
32510 (LDFLAGS-tst-x86_64mod-1.so): New.
32511 ($(objpfx)tst-x86_64-1): Likewise.
32512 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
32513 (tst-x86_64-1-clean): Likewise.
32514 * sysdeps/x86_64/tst-x86_64-1.c: New file.
32515 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
32517 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32519 * po/sv.po: Update translations.
32520 * po/fr.po: Likewise.
32522 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32524 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
32526 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
32528 * elf/rtld-Rules: Fix $(error) use.
32530 2017-09-09 Mike FABIAN <mfabian@redhat.com>
32533 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
32534 * locale/iso-639.def: Change “Bengali” to “Bangla”.
32535 * localedata/locales/bn_BD: “Bengali” was still used in some
32536 comments. Change it to “Bangla”.
32538 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
32540 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
32542 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32544 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
32545 thunderx2t99p1 to list of cpu names.
32546 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32547 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
32549 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32551 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
32552 Use strcmp instead of tunable_is_name.
32554 2017-09-08 Joseph Myers <joseph@codesourcery.com>
32556 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32557 (F_GET_RW_HINT): New macro.
32558 [__USE_GNU] (F_SET_RW_HINT): Likewise.
32559 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
32560 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
32561 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
32562 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
32563 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
32564 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
32565 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
32566 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
32568 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32569 (F_ADD_SEALS): New macro.
32570 [__USE_GNU] (F_GET_SEALS): Likewise.
32571 [__USE_GNU] (F_SEAL_SEAL): Likewise.
32572 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
32573 [__USE_GNU] (F_SEAL_GROW): Likewise.
32574 [__USE_GNU] (F_SEAL_WRITE): Likewise.
32576 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32578 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
32579 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
32580 * posix/glob_internal.h (__glob_pattern_type):
32581 * posix/glob.c (glob):
32582 * posix/glob_pattern_p.c (__glob_pattern_p):
32585 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
32586 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32587 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
32588 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
32589 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
32591 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
32592 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
32593 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32594 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32595 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32596 * sysdeps/wordsize-64/glob.c: Likewise.
32597 * sysdeps/wordsize-64/glob64.c: Likewise.
32598 * sysdeps/wordsize-64/globfree.c: Likewise.
32599 * sysdeps/wordsize-64/globfree64.c: Likewise.
32600 * sysdeps/unix/sysv/linux/glob.c: New file.
32601 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
32602 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
32603 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
32604 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32605 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
32606 adds !GLOB_NO_OLD_VERSION as an extra condition.
32607 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
32608 using relative path instead of absolute one.
32609 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
32610 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32611 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32612 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
32613 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
32614 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
32617 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
32618 (glob): Use the same scratch buffer for both getlogin_r and
32619 getpwnam_r. Don’t require preallocation of the login name. This
32620 simplifies storage allocation, and corrects the handling of
32624 * posix/glob.c (glob): Port recent patches to platforms
32625 lacking getpwnam_r.
32626 (glob): Fix longstanding misuse of errno after getpwnam_r, which
32627 returns an error number rather than setting errno.
32629 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
32630 instead of GCC extension.
32631 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
32632 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
32633 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
32637 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
32638 * posix/bug-glob1.c: Remove file.
32639 * posix/tst-glob_symlinks.c: New file.
32640 * posix/glob.c (__lstat64): New macro.
32641 (is_dir): New function.
32642 (glob, glob_in_dir): Match symlinks even if they are dangling.
32643 (link_stat, link_exists_p): Remove. All uses removed.
32647 * posix/glob.c (struct readdir_result): Remove skip_entry member.
32648 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
32653 * posix/Makefile (routines): Add globfree, globfree64, and
32655 * posix/flexmember.h: New file.
32656 * posix/glob_internal.h: Likewise.
32657 * posix/glob_pattern_p.c: Likewise.
32658 * posix/globfree.c: Likewise.
32659 * posix/globfree64.c: Likewise.
32660 * sysdeps/gnu/globfree64.c: Likewise.
32661 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
32662 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32663 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
32664 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32665 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32666 * sysdeps/wordsize-64/globfree.c: Likewise.
32667 * sysdeps/wordsize-64/globfree64.c: Likewise.
32668 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
32669 [NDEBUG): Remove comments.
32670 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
32671 (dirent_type): New type. Use uint_fast8_t not
32672 uint8_t, as C99 does not require uint8_t.
32673 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
32674 (struct readdir_result): Use dirent_type. Do not define skip_entry
32675 unless it is needed; this saves a byte on platforms lacking d_ino.
32676 (readdir_result_type, readdir_result_skip_entry):
32677 New functions, replacing ...
32678 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
32679 these functions, which were removed. This makes the callers
32680 easier to read. All callers changed.
32681 (D_INO_TO_RESULT): Now empty if there is no d_ino.
32682 (size_add_wrapv, glob_use_alloca): New static functions.
32683 (glob, glob_in_dir): Check for size_t overflow in several places,
32684 and fix some size_t checks that were not quite right.
32685 Remove old code using SHELL since Bash no longer
32687 (glob, prefix_array): Separate MS code better.
32688 (glob_in_dir): Remove old Amiga and VMS code.
32689 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
32691 (glob_in_dir): Do not rely on undefined behavior in accessing
32692 struct members beyond their bounds. Use a flexible array member
32694 (link_stat): Rename from link_exists2_p and return -1/0 instead of
32695 0/1. Caller changed.
32696 (glob): Fix memory leaks.
32697 * posix/glob64 (globfree64): Move to separate file.
32698 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
32699 (globfree64): Remove hidden alias.
32700 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
32702 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
32704 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
32706 Move compat code to separate file.
32707 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
32710 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
32712 * resolv/tst-resolv-qtypes.c (domain): Changed to
32713 "const char domain[] =".
32715 2017-09-07 Joseph Myers <joseph@codesourcery.com>
32717 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
32720 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
32721 (TCP_MD5SIG_EXT): Likewise.
32722 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
32723 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
32724 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
32726 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
32728 2017-09-07 Mike FABIAN <mfabian@redhat.com>
32730 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
32732 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
32735 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
32737 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32739 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
32740 before assuming that the file is empty. Avoid testing buffer content
32743 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32746 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32748 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
32750 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
32752 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
32754 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
32756 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
32758 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
32761 2017-09-06 Florian Weimer <fweimer@redhat.com>
32763 * malloc/dynarray_emplace_enlarge.c
32764 (__libc_dynarray_emplace_enlarge): Add missing else.
32766 2017-09-06 Florian Weimer <fweimer@redhat.com>
32769 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
32770 case of failure to obtain the global conf object.
32772 2017-09-06 Florian Weimer <fweimer@redhat.com>
32775 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
32776 dynarray allocation failure.
32778 2017-09-06 Florian Weimer <fweimer@redhat.com>
32780 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
32781 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
32782 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
32784 (response): Call them. Add 'p', '6' flag processing.
32785 (test_reverse): New function.
32786 (test_get2_any): Call it.
32787 (test_no_inet6): Add 'p' test.
32788 (test_inet6): Likewise.
32790 2017-09-06 Florian Weimer <fweimer@redhat.com>
32792 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
32793 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
32795 (test_gai): Adjust query names. Add additional tests.
32796 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
32797 test_get2. Adjust query names. Add additional tests.
32798 (test_no_inet6): New function, extracted from threadfunc.
32799 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
32800 Add additional tests.
32802 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32805 * localedata/unicode-gen/utf8_gen.py: Set the width for
32806 characters with Prepended_Concatenation_Mark property to 1
32807 * localedata/charmaps/UTF-8: Updated using the improved script.
32809 2017-09-06 Mike FABIAN <mfabian@redhat.com>
32812 * localedata/unicode-gen/utf8_gen.py: Improve the script to
32813 use the range notation for all ranges of neighbouring characters
32814 with the same width.
32816 2017-09-05 Joseph Myers <joseph@codesourcery.com>
32818 * sysdeps/generic/math-type-macros-double.h: Include
32819 <math-svid-compat.h>.
32820 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32821 * sysdeps/generic/math-type-macros-float.h: Include
32822 <math-svid-compat.h>.
32823 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32824 * sysdeps/generic/math-type-macros-ldouble.h: Include
32825 <math-svid-compat.h>.
32826 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
32827 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
32829 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
32830 * math/w_acosf_compat.c: Likewise.
32831 * math/w_acosh_compat.c: Likewise.
32832 * math/w_acoshf_compat.c: Likewise.
32833 * math/w_acoshl_compat.c: Likewise.
32834 * math/w_acosl_compat.c: Likewise.
32835 * math/w_asin_compat.c: Likewise.
32836 * math/w_asinf_compat.c: Likewise.
32837 * math/w_asinl_compat.c: Likewise.
32838 * math/w_atan2_compat.c: Likewise.
32839 * math/w_atan2f_compat.c: Likewise.
32840 * math/w_atan2l_compat.c: Likewise.
32841 * math/w_atanh_compat.c: Likewise.
32842 * math/w_atanhf_compat.c: Likewise.
32843 * math/w_atanhl_compat.c: Likewise.
32844 * math/w_cosh_compat.c: Likewise.
32845 * math/w_coshf_compat.c: Likewise.
32846 * math/w_coshl_compat.c: Likewise.
32847 * math/w_exp10_compat.c: Likewise.
32848 * math/w_exp10f_compat.c: Likewise.
32849 * math/w_exp10l_compat.c: Likewise.
32850 * math/w_exp2_compat.c: Likewise.
32851 * math/w_exp2f_compat.c: Likewise.
32852 * math/w_exp2l_compat.c: Likewise.
32853 * math/w_fmod_compat.c: Likewise.
32854 * math/w_fmodf_compat.c: Likewise.
32855 * math/w_fmodl_compat.c: Likewise.
32856 * math/w_hypot_compat.c: Likewise.
32857 * math/w_hypotf_compat.c: Likewise.
32858 * math/w_hypotl_compat.c: Likewise.
32859 * math/w_j0_compat.c: Likewise.
32860 * math/w_j0f_compat.c: Likewise.
32861 * math/w_j0l_compat.c: Likewise.
32862 * math/w_j1_compat.c: Likewise.
32863 * math/w_j1f_compat.c: Likewise.
32864 * math/w_j1l_compat.c: Likewise.
32865 * math/w_jn_compat.c: Likewise.
32866 * math/w_jnf_compat.c: Likewise.
32867 * math/w_jnl_compat.c: Likewise.
32868 * math/w_lgamma_r_compat.c: Likewise.
32869 * math/w_lgammaf_r_compat.c: Likewise.
32870 * math/w_lgammal_r_compat.c: Likewise.
32871 * math/w_log10_compat.c: Likewise.
32872 * math/w_log10f_compat.c: Likewise.
32873 * math/w_log10l_compat.c: Likewise.
32874 * math/w_log2_compat.c: Likewise.
32875 * math/w_log2f_compat.c: Likewise.
32876 * math/w_log2l_compat.c: Likewise.
32877 * math/w_log_compat.c: Likewise.
32878 * math/w_logf_compat.c: Likewise.
32879 * math/w_logl_compat.c: Likewise.
32880 * math/w_pow_compat.c: Likewise.
32881 * math/w_powf_compat.c: Likewise.
32882 * math/w_powl_compat.c: Likewise.
32883 * math/w_remainder_compat.c: Likewise.
32884 * math/w_remainderf_compat.c: Likewise.
32885 * math/w_remainderl_compat.c: Likewise.
32886 * math/w_sinh_compat.c: Likewise.
32887 * math/w_sinhf_compat.c: Likewise.
32888 * math/w_sinhl_compat.c: Likewise.
32889 * math/w_sqrt_compat.c: Likewise.
32890 * math/w_sqrtf_compat.c: Likewise.
32891 * math/w_sqrtl_compat.c: Likewise.
32892 * math/w_tgamma_compat.c: Likewise.
32893 * math/w_tgammaf_compat.c: Likewise.
32894 * math/w_tgammal_compat.c: Likewise.
32895 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
32896 [LIBM_SVID_COMPAT].
32897 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
32898 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
32899 [LIBM_SVID_COMPAT].
32900 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
32901 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
32902 [LIBM_SVID_COMPAT].
32903 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
32904 * sysdeps/i386/fpu/w_sqrt.c: New file.
32905 * sysdeps/ia64/fpu/w_acos.c: Likewise.
32906 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
32907 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
32908 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
32909 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
32910 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
32911 * sysdeps/ia64/fpu/w_asin.c: Likewise.
32912 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
32913 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
32914 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
32915 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
32916 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
32917 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
32918 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
32919 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
32920 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
32921 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
32922 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
32923 * sysdeps/ia64/fpu/w_exp.c: Likewise.
32924 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
32925 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
32926 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
32927 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
32928 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
32929 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
32930 * sysdeps/ia64/fpu/w_expf.c: Likewise.
32931 * sysdeps/ia64/fpu/w_expl.c: Likewise.
32932 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
32933 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
32934 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
32935 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
32936 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
32937 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
32938 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
32939 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
32940 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
32941 * sysdeps/ia64/fpu/w_log.c: Likewise.
32942 * sysdeps/ia64/fpu/w_log10.c: Likewise.
32943 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
32944 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
32945 * sysdeps/ia64/fpu/w_log2.c: Likewise.
32946 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
32947 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
32948 * sysdeps/ia64/fpu/w_logf.c: Likewise.
32949 * sysdeps/ia64/fpu/w_logl.c: Likewise.
32950 * sysdeps/ia64/fpu/w_pow.c: Likewise.
32951 * sysdeps/ia64/fpu/w_powf.c: Likewise.
32952 * sysdeps/ia64/fpu/w_powl.c: Likewise.
32953 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
32954 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
32955 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
32956 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
32957 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
32958 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
32959 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
32960 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
32961 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
32962 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
32963 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
32964 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
32965 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
32966 [LIBM_SVID_COMPAT].
32967 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32968 * sysdeps/ieee754/k_standard.c: Likewise.
32969 * sysdeps/ieee754/k_standardf.c: Likewise.
32970 * sysdeps/ieee754/k_standardl.c: Likewise.
32971 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32972 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32973 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32974 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
32975 long_double_symbol call on [LIBM_SVID_COMPAT].
32976 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32977 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32978 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32979 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32980 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32981 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32982 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32983 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32984 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32985 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32986 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32987 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
32988 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32989 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32990 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32991 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32992 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
32993 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32994 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32995 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32996 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
32997 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
32999 2017-09-05 Steve Ellcey <sellcey@cavium.com>
33001 * include/shlib-compat.h (TEST_COMPAT): New Macro.
33002 * malloc/tst-mallocstate.c: Convert from test-skeleton
33003 to test-driver. Ifdef code using TEST_COMPAT macro.
33004 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
33005 * math/test-matherr.c: Likewise.
33007 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33010 * debug/pcprofiledump.c (main): Use byte-swapped mask when
33011 comparing word with byte-swapped constant.
33013 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
33016 * locale/iso-639.def: add Miskito.
33017 * localedata/SUPPORTED: Add miq_NI/UTF-8.
33018 * localedata/locales/miq_NI: New file.
33020 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
33023 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
33024 (__mkdir): Likewise.
33025 * io/chmod.c (__chmod): Add libc_hidden_def.
33026 * io/mkdir.c (__mkdir): Likewise.
33027 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
33028 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
33029 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
33030 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
33032 2017-09-04 Joseph Myers <joseph@codesourcery.com>
33034 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
33038 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
33039 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
33041 2017-09-04 Florian Weimer <fweimer@redhat.com>
33043 * math/math.h: Issue warning if log is defined.
33045 2017-09-04 Joseph Myers <joseph@codesourcery.com>
33047 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
33048 kernel version to 4.13.
33050 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
33052 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
33053 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
33055 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
33056 just <bits/types.h>.
33057 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
33058 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
33059 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
33060 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
33061 * misc/preadv2.c: Include <errno.h>.
33062 * misc/preadv64v2.c: Include <errno.h>.
33063 * misc/pwritev2.c: Include <errno.h>.
33064 * misc/pwritev64v2.c: Include <errno.h>.
33065 * sysdeps/posix/preadv2.c: Include <errno.h>.
33066 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
33067 Fix <unistd.h> inclusion.
33068 * sysdeps/posix/pwritev2.c: Include <errno.h>.
33069 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
33070 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
33071 __strtoul_internal): New functions.
33072 * sysdeps/posix/pause.c: Include <sigsetops.h>.
33073 * sysdeps/posix/system.c: Include <sigsetops.h>.
33074 * sysdeps/mach/hurd/i386/Makefile
33075 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
33076 [$(subdir) = csu] (sysdep-only-routines): Likewise.
33077 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
33078 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
33079 __feraiseexcept_renamed to feraiseexcept instead of
33080 __GI_feraiseexcept.
33081 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
33082 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
33083 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
33084 RWF_NOWAIT): Define to 0 if undefined already.
33085 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
33087 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
33088 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
33090 2017-09-01 Joseph Myers <joseph@codesourcery.com>
33092 * manual/math.texi (pow10): Do not document.
33093 (pow10f): Likewise.
33094 (pow10l): Likewise.
33095 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
33096 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
33097 * math/libm-test-exp10.inc (pow10_test): Remove.
33098 (do_test): Do not call pow10.
33099 * math/w_exp10_compat.c (pow10): Make into compat symbol.
33100 [NO_LONG_DOUBLE] (pow10l): Likewise.
33101 * math/w_exp10f_compat.c (pow10f): Likewise.
33102 * math/w_exp10l_compat.c (pow10l): Likewise.
33103 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
33104 (pow10): Make into compat symbol.
33105 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
33106 (pow10f): Make into compat symbol.
33107 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
33108 (pow10l): Make into compat symbol.
33109 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
33111 (CFLAGS-nldbl-pow10.c): Remove variable..
33112 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
33113 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
33114 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
33115 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
33116 Undefine and redefine.
33117 (pow10l): Make into compat symbol.
33118 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
33119 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33120 * sysdeps/arm/libm-test-ulps: Likewise.
33121 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
33122 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33123 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
33124 * sysdeps/microblaze/libm-test-ulps: Likewise.
33125 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33126 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33127 * sysdeps/nios2/libm-test-ulps: Likewise.
33128 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33129 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33130 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33131 * sysdeps/sh/libm-test-ulps: Likewise.
33132 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33133 * sysdeps/tile/libm-test-ulps: Likewise.
33134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33136 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33138 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
33140 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33142 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
33143 "../ChangeLog.old/ChangeLog.8".
33144 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
33145 "../ChangeLog.old/ChangeLog.14".
33147 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33149 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
33152 2017-09-01 Joseph Myers <joseph@codesourcery.com>
33154 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
33156 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33158 * csu/version.c (banner): Remove "by Roland McGrath et al.".
33159 * nptl/Banner: Remove "by Ulrich Drepper et al.".
33161 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33163 * stdlib/tst-atexit-common.c (do_test): Test support for at least
33164 32 atexit handlers.
33166 2017-09-01 Zack Weinberg <zackw@panix.com>
33168 * math/math.h (HUGE_VAL): Improve commentary.
33170 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33171 Andreas Schwab <schwab@suse.de>
33174 * include/stdio.h (__gen_tempfd): New function.
33175 * stdio-common/Makefile (routines): Add gentempfd.
33176 * stdio-common/gentempfd.c: New file.
33177 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
33178 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
33179 unnamed file first.
33181 2017-09-01 Florian Weimer <fweimer@redhat.com>
33185 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
33186 result to determine success or failure, not the errno value.
33187 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
33188 (tst-nss-files-hosts-erange): Link with -ldl.
33189 * nss/tst-nss-files-hosts-erange.c: New file.
33190 * nss/tst-resolv-basic.c (response): Handle nodata.example.
33191 (do_test): Add NO_DATA tests.
33192 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
33193 (do_test): Call it.
33195 2017-09-01 Florian Weimer <fweimer@redhat.com>
33198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
33199 coming from gethostbyname2_r.
33201 2017-09-01 Florian Weimer <fweimer@redhat.com>
33203 * support/namespace.h (struct support_chroot_configuration): Add
33205 (struct support_chroot): Add path_hosts, path_host_conf.
33206 * support/support_chroot.c (write_file): New function.
33207 (support_chroot_create): Call it to process /etc/resolv.conf,
33208 /etc/hosts, /etc/host.conf.
33209 (support_chroot_free): Update.
33211 2017-09-01 Florian Weimer <fweimer@redhat.com>
33213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
33214 status indicates it is set.
33216 2017-09-01 Florian Weimer <fweimer@redhat.com>
33219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
33220 function lookup failures more reliable.
33222 2017-09-01 Florian Weimer <fweimer@redhat.com>
33224 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
33225 (getcanonname): Likewise.
33226 (gaih_inet): Likewise.
33228 2017-09-01 Florian Weimer <fweimer@redhat.com>
33230 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
33231 (getcanonname): Likewise.
33232 (gaih_inet): Likewise.
33234 2017-08-31 Steve Ellcey <sellcey@cavium.com>
33235 Richard Henderson <rth@twiddle.net>
33237 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
33238 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
33239 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
33240 (IREG_SIZE, OREG_SIZE): New macros.
33241 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
33242 (IREG_SIZE, OREG_SIZE): New macros.
33243 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
33244 (IREG_SIZE): New macro.
33245 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
33246 (IREG_SIZE): New macro.
33247 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
33249 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
33250 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
33251 (__CONCATX): Handle exceptions correctly on large values that may
33253 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
33254 Initialize if not already set.
33255 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
33257 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33259 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
33260 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
33262 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
33264 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
33266 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
33268 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
33270 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
33272 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
33274 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
33275 (NO_CANCELLATION): Likewise.
33276 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
33278 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
33280 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
33282 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
33283 (NO_CANCELLATION): Likewise.
33284 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
33285 (NO_CANCELLATION): Likewise.
33286 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
33288 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
33290 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
33292 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
33294 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
33296 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
33297 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
33299 2017-08-31 Steve Ellcey <sellcey@cavium.com>
33301 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
33304 2017-08-31 Florian Weimer <fweimer@redhat.com>
33306 * include/libc-symbols.h (internal_function): Remove.
33308 2017-08-31 Florian Weimer <fweimer@redhat.com>
33310 * stdlib/fmtmsg.c (internal_addseverity): Remove
33313 2017-08-31 Florian Weimer <fweimer@redhat.com>
33315 * stdio-common/printf_fp.c (group_number): Remove
33317 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
33319 2017-08-31 Florian Weimer <fweimer@redhat.com>
33321 * posix/fnmatch.c (internal_function): Remove definition.
33322 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
33323 * posix/regcomp.c (peek_token, init_word_char)
33324 (duplicate_node_closure, fetch_token, peek_token)
33325 (peek_token_bracket, build_range_exp, build_collating_symbol):
33327 * posix/regex_internal.c (re_string_construct_common)
33328 (create_ci_newstate, create_cd_newstate, re_string_allocate)
33329 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
33330 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
33331 (re_string_translate_buffer, re_string_reconstruct)
33332 (re_string_peek_byte_case, re_string_fetch_byte_case)
33333 (re_string_destruct, re_string_context_at, re_node_set_alloc)
33334 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
33335 (re_node_set_add_intersect, re_node_set_init_union)
33336 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
33337 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
33338 (re_dfa_add_node, calc_state_hash, re_acquire_state)
33339 (re_acquire_state_context): Likewise.
33340 * posix/regex_internal.h (internal_function): Remove definition.
33341 (re_string_realloc_buffers, build_wcs_buffer)
33342 (build_wcs_upper_buffer, build_upper_buffer)
33343 (re_string_translate_buffer, re_string_context_at)
33344 (re_string_char_size_at, re_string_wchar_at)
33345 (re_string_elem_size_at): Likewise.
33346 * posix/regexec.c (match_ctx_init, match_ctx_clean)
33347 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
33348 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
33349 (re_search_internal, re_search_2_stub, re_search_stub)
33350 (re_copy_regs, prune_impossible_nodes, check_matching)
33351 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
33352 (free_fail_stack_return, sift_states_iter_mb)
33353 (sift_states_backward, build_sifted_states)
33354 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
33355 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
33356 (check_subexp_limits, sift_states_bkref, merge_state_array)
33357 (find_recover_state, transit_state, merge_state_with_log)
33358 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
33359 (transit_state_mb, transit_state_bkref, get_subexp)
33360 (get_subexp_sub, find_subexp_node, check_arrival)
33361 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
33362 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
33363 (check_node_accept_bytes, find_collation_sequence_value)
33364 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
33365 (acquire_init_state_context, check_halt_node_context)
33366 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
33367 (sub_epsilon_src_nodes): Likewise.
33368 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
33369 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
33370 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
33371 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
33372 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
33373 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
33374 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
33375 * sysdeps/posix/ttyname.c (getttyname): Likewise.
33376 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
33377 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
33378 (PREADV): Likewise.
33379 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
33380 (PREADV): Likewise.
33381 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
33382 (PWRITEV): Likewise.
33383 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
33384 (PWRITEV): Likewise.
33385 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
33386 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
33388 2017-08-31 Florian Weimer <fweimer@redhat.com>
33390 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
33391 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
33392 Remove internal_function.
33393 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
33394 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
33395 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
33396 (__deallocate_stack, __libc_pthread_init)
33397 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
33398 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
33399 (__libc_disable_asynccancel, __librt_disable_asynccancel):
33401 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
33402 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
33403 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
33405 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
33406 (__pthread_mutex_unlock_usercnt): Likewise.
33408 2017-08-31 Florian Weimer <fweimer@redhat.com>
33410 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
33411 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
33412 (fts_safe_changedir): Remove internal_function.
33413 * io/ftw.c (internal_function): Remove definition.
33414 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
33416 2017-08-31 Florian Weimer <fweimer@redhat.com>
33418 * inet/deadline.c (__deadline_current_time)
33419 (__deadline_from_timeval, __deadline_to_ms): Remove
33421 * inet/getnameinfo.c (nrl_domainname): Likewise.
33422 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
33423 * inet/inet6_option.c (add_pad): Likewise.
33424 * inet/net-internal.h (__deadline_current_time)
33425 (__deadline_from_timeval, __deadline_to_ms): Likewise.
33426 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
33427 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
33428 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
33430 2017-08-31 Joseph Myers <joseph@codesourcery.com>
33432 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
33433 include <bits/nan.h>.
33434 * math/Makefile (headers): Remove bits/nan.h.
33435 * bits/nan.h: Remove.
33436 * sysdeps/ieee754/bits/nan.h: Likewise.
33437 * sysdeps/mips/bits/nan.h: Likewise.
33439 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
33440 not include <bits/inf.h>.
33441 * math/Makefile (headers): Remove bits/inf.h.
33442 * bits/inf.h: Remove.
33443 * sysdeps/ieee754/bits/inf.h: Likewise.
33445 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
33446 bits/huge_vall.h or bits/huge_val_flt128.h.
33447 (HUGE_VAL): Define directly here.
33448 [__USE_ISOC99] (HUGE_VALF): Likewise.
33449 [__USE_ISOC99] (HUGE_VALL): Likewise.
33450 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33451 (HUGE_VAL_F128): Likewise.
33452 * math/Makefile (headers): Remove bits/huge_val.h,
33453 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
33454 * bits/huge_val.h: Remove.
33455 * bits/huge_val_flt128.h: Likewise.
33456 * bits/huge_valf.h: Likewise.
33457 * bits/huge_vall.h: Likewise.
33458 * sysdeps/ia64/bits/huge_vall.h: Likewise.
33459 * sysdeps/ieee754/bits/huge_val.h: Likewise.
33460 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
33461 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
33462 * sysdeps/sh/bits/huge_val.h: Likewise.
33463 * sysdeps/sparc/bits/huge_vall.h: Likewise.
33464 * sysdeps/x86/bits/huge_vall.h: Likewise.
33466 2017-08-31 Florian Weimer <fweimer@redhat.com>
33468 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
33470 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
33472 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
33473 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33474 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
33475 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
33476 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33477 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33478 * elf/dl-libc.c (dlerror_run): Likewise.
33479 * elf/dl-load.c (add_name_to_object, decompose_rpath)
33480 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
33481 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
33482 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
33484 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
33485 (_dl_higher_prime_number, _dl_strtoul): Likewise.
33486 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
33487 * elf/dl-profile.c (_dl_start_profile): Likewise.
33488 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
33489 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
33491 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
33492 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
33493 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
33494 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
33495 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
33496 (_dl_allocate_tls_storage): Likewise.
33497 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
33498 (_dl_check_all_versions): Likewise.
33499 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
33500 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
33501 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
33502 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33503 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
33504 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
33505 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
33506 internal_function from __dl_start.
33507 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
33508 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
33509 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
33510 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
33511 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
33512 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
33513 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
33514 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
33515 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
33516 (_dl_next_ld_env_entry, _dl_important_hwcaps)
33517 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
33518 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
33519 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
33520 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
33521 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
33523 (struct rtld_global_ro): Remove internal_function from the
33524 _dl_lookup_symbol_x member.
33525 (_dl_symbol_value): Remove. No longer defined anywhere.
33526 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
33528 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33529 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33530 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
33531 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
33532 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
33533 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
33534 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
33535 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
33536 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
33537 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
33538 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33539 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33541 2017-08-31 Florian Weimer <fweimer@redhat.com>
33543 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
33544 Remove internal_function.
33545 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33547 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33550 2017-08-31 Florian Weimer <fweimer@redhat.com>
33552 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
33553 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
33554 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
33556 2017-08-31 Florian Weimer <fweimer@redhat.com>
33558 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
33559 (__gai_enqueue_request): Remove internal_function.
33560 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
33561 (__gai_remove_request, __gai_notify, __gai_notify_only)
33562 (__gai_sigqueue): Likewise.
33563 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
33564 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
33565 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
33566 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33569 2017-08-31 Florian Weimer <fweimer@redhat.com>
33571 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
33572 * include/dirent.h (__opendirat, __getdents, __getdents64)
33573 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
33574 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
33575 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33576 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33578 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
33580 2017-08-31 Florian Weimer <fweimer@redhat.com>
33582 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
33584 (GETCWD_RETURN_TYPE): Likewise.
33586 2017-08-31 Florian Weimer <fweimer@redhat.com>
33588 * include/time.h (__tz_compute, __strptime_internal): Remove
33590 * time/strptime_l.c (__strptime_internal): Likewise.
33591 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
33593 2017-08-31 Florian Weimer <fweimer@redhat.com>
33595 * iconv/gconv.c (__gconv): Remove internal_function.
33596 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
33597 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
33598 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
33599 (__gconv_release_cache): Likewise.
33600 * iconv/gconv_close.c (__gconv_close): Likewise.
33601 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
33602 (read_conf_file, __gconv_get_path): Likewise.
33603 * iconv/gconv_db.c (derivation_lookup, add_derivation)
33604 (__gconv_release_step, gen_steps, increment_counter)
33605 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
33606 (__gconv_close_transform, free_modules_db): Likewise.
33607 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
33609 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
33610 (__gconv_find_transform, __gconv_lookup_cache)
33611 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
33612 (__gconv_close_transform, __gconv_release_cache)
33613 (__gconv_loaded_object, __gconv_release_shlib)
33614 (__gconv_compare_alias): Likewise.
33615 * iconv/gconv_open.c (__gconv_open): Likewise.
33616 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
33617 * iconv/iconvconfig.c (add_module): Likewise.
33618 * intl/dcigettext.c (plural_lookup, guess_category_value)
33619 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
33620 * intl/eval-plural.h (plural_eval): Likewise.
33621 * intl/finddomain.c (_nl_find_domain): Likewise.
33622 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
33623 (_nl_load_domain, _nl_find_msg): Likewise.
33624 (internal_function): Remove definition.
33625 * intl/loadinfo.h (internal_function): Likewise.
33626 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
33628 * intl/localealias.c (internal_function): Remove definition.
33629 (read_alias_file): Remove internal_function.
33630 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
33631 * intl/plural-exp.h (internal_function): Remove definition.
33632 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
33634 * intl/plural.c: Regenerate.
33635 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
33636 * locale/coll-lookup.c (__collidx_table_lookup)
33637 (__collseq_table_lookup): Likewise.
33638 * locale/coll-lookup.h (__collidx_table_lookup)
33639 (__collseq_table_lookup): Likewise.
33640 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
33641 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33642 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
33643 (_nl_unload_locale): Likewise.
33644 * locale/localeinfo.h (struct __locale_data): Remove
33645 internal_function from cleanup member.
33646 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
33647 (_nl_remove_locale, _nl_load_locale_from_archive)
33648 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
33649 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
33650 (_nl_cleanup_time): Remove internal_function.
33651 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
33652 (_nl_parse_alt_digit): Likewise.
33653 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
33654 (_nl_select_era_entry): Likewise.
33655 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
33656 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33657 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33658 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
33659 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
33661 2017-08-31 Florian Weimer <fweimer@redhat.com>
33663 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
33664 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
33665 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
33666 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
33668 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
33669 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
33670 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
33671 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33673 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
33675 2017-08-31 Florian Weimer <fweimer@redhat.com>
33677 * misc/getttyent.c (skip, value): Remove internal_function.
33678 * misc/syslog.c (openlog_internal): Likewise.
33679 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
33681 2017-08-31 Florian Weimer <fweimer@redhat.com>
33683 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
33684 (__nss_rewrite_field): Remove internal_function.
33685 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33686 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33687 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33688 * nss/nsswitch.c (nss_parse_file, nss_getline)
33689 (nss_parse_service_list, nss_new_service): Likewise.
33690 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
33691 * nss/valid_field.c (__nss_valid_field): Likewise.
33692 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
33694 2017-08-31 Florian Weimer <fweimer@redhat.com>
33696 * malloc/arena.c (__malloc_fork_lock_parent)
33697 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
33698 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
33699 internal_function from defintions.
33700 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
33701 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
33702 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
33703 internal_function from declarations.
33704 * malloc/malloc.c (internal_function): Do not define.
33705 (mem2mem_check): Remove internal_function from declaration.
33706 (munmap_chunk, mremap_chunk): Remove internal_function.
33707 * malloc/mtrace.c (tr_where): Likewise.
33709 2017-08-31 Florian Weimer <fweimer@redhat.com>
33711 * include/rpc/pmap_clnt.h (__get_socket): Remove
33713 * sunrpc/auth_des.c (synchronize): Likewise.
33714 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
33715 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
33716 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
33717 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
33718 (key_call): Likewise.
33719 * sunrpc/pm_getport.c (__get_socket): Likewise.
33720 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
33721 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
33722 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
33723 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
33724 (invalidate): Likewise.
33725 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
33726 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
33727 (set_input_fragment, get_input_bytes): Likewise.
33729 2017-08-31 Florian Weimer <fweimer@redhat.com>
33731 * malloc/malloc.c (_int_free): Remove locked variable and related
33734 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
33737 * Makerules (build-module-helper-objlist): Filter out
33738 $(elf-objpfx)sofini.os.
33739 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
33742 2017-08-31 Florian Weimer <fweimer@redhat.com>
33744 * libio/fcloseall.c: Assume weak_alias is defined.
33745 * libio/feof.c: Likewise.
33746 * libio/fileno.c: Likewise.
33747 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
33748 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33750 (_IO_file_open): Call __open directly.
33751 (_IO_new_file_sync): Assume ESPIPE is defined.
33752 (_IO_file_seekoff_maybe_mmap): Call __read directly.
33753 (_IO_new_file_write): Call __write directly.
33754 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
33755 * libio/ftello64.c (__ftello64): Assume EIO is defined.
33756 * libio/genops.c: Assume _LIBC is defined.
33757 (save_for_backup): Remove internal_function.
33758 * libio/getc.c: Assume weak_alias is defined.
33759 * libio/getwc.c: Likewise.
33760 * libio/iofclose.c: Assume _LIBC is defined.
33761 * libio/iofdopen.c: Likewise.
33762 (_IO_fcntl): Remove macro definition.
33763 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
33764 Call __fcntl directly.
33765 * libio/iofflush.c: Assume weak_alias is defined.
33766 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
33768 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
33769 * libio/iofgets.c: Likewise.
33770 * libio/iofopen.c: Assume _LIBC is defined.
33771 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
33772 * libio/iofputs.c: Assume weak_alias is defined.
33773 * libio/iofread.c: Likewise.
33774 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
33775 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
33776 * libio/ioftell.c: Assume weak_alias is defined.
33777 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
33778 * libio/iofwide.c: Assume _LIBC is defined.
33779 (_IO_fwide): Drop SHARED conditional because it is implied by
33781 * libio/iofwrite.c: Assume weak_alias is defined.
33782 * libio/iogetdelim.c: Likewise.
33783 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
33784 * libio/iogetwline.c (wmemcpy): Remove macro definition.
33785 (_IO_getwline): Call __wmemcpy directly.
33786 * libio/iopopen.c: Assume _LIBC is defined.
33787 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33788 (_IO_close): Remove macro definitions.
33789 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
33791 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
33793 * libio/ioputs.c: Assume weak_alias is defined.
33794 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
33795 * libio/iosetbuffer.c: Assume weak_alias is defined.
33796 * libio/iosetvbuf.c: Likewise.
33797 * libio/ioungetc.c: Likewise.
33798 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
33799 libc_hidden_def, libc_hidden_weak, NULL are defined.
33800 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
33801 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
33803 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
33805 (_IO_old_file_init_internal): Drop SHARED conditional because it
33806 is implied by SHLIB_COMPAT.
33807 (_IO_old_file_fopen): Call __open directly.
33808 (_IO_old_file_sync): Assume ESPIPE is defined.
33809 (_IO_old_file_write): Call __write directly.
33810 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
33811 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
33812 Call __fcntl directly.
33813 * libio/oldiofgetpos.c: Assume weak_alias is defined.
33814 (_IO_old_fgetpos): Assume EIO is defined.
33815 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
33816 (_IO_old_fgetpos64): Assume EIO is defined.
33817 * libio/oldiofsetpos.c: Assume weak_alias is defined.
33818 (_IO_old_fsetpos): Assume EIO is defined.
33819 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
33820 (_IO_old_fsetpos64): Assume EIO is defined.
33821 * libio/oldiopopen.c: Assume _LIBC is defined.
33822 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
33823 (_IO_close): Remove macro definitions.
33824 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
33826 (_IO_old_proc_close): Call __close, __waitpid directly.
33827 * libio/put.c: Assume weak_alias is defined.
33828 * libio/stdfiles.c: Assume _LIBC is defined.
33829 * libio/stdio.c: Likewise.
33830 * libio/wfileops.c: Likewise.
33831 (_IO_wfile_sync): Assume ESPIPE is defined.
33832 * libio/wgenops.c: Assume _LIBC is defined.
33833 (save_for_wbackup): Remove internal_function.
33835 2017-08-31 Florian Weimer <fweimer@redhat.com>
33837 * malloc/malloc.c (top_check): Change return type to void. Remove
33839 * malloc/hooks.c (top_check): Likewise.
33840 (malloc_check, realloc_check, memalign_check): Adjust.
33842 2017-08-30 Joseph Myers <joseph@codesourcery.com>
33845 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33846 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
33847 sigcontext and namespace requirements.
33848 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
33849 * sysdeps/m68k/sys/ucontext.h: Likewise.
33850 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
33851 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
33852 <bits/sigcontext.h>.
33853 (__ctx): Define earlier.
33854 (mcontext_t): Define structure contents rather than using struct
33856 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
33857 __glibc_reserved1 instead of __reserved.
33858 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
33859 <bits/sigcontext.h>.
33860 (__ctx): Define earlier.
33861 (mcontext_t): Define structure contents rather than using struct
33863 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
33864 mcontext_t instead of struct sigcontext.
33865 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
33866 <bits/sigcontext.h>.
33867 (__ctx): Define earlier.
33868 (mcontext_t): Define structure contents rather than using struct
33870 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
33871 <bits/sigcontext.h>.
33872 (__ctx): Define earlier.
33873 (mcontext_t): Define structure contents rather than using struct
33875 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
33876 mcontext_t instead of struct sigcontext.
33877 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
33878 mcontext_t instead of struct sigcontext.
33879 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
33880 <bits/sigcontext.h>.
33881 (__ctx): New macro.
33882 (struct __ia64_fpreg_mcontext): New type.
33883 (mcontext_t): Define structure contents rather than using struct
33885 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
33886 (uc_sigmask): Define using __ctx.
33887 (uc_stack): Likewise.
33888 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
33889 <bits/sigcontext.h>.
33890 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33891 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
33892 <bits/sigcontext.h>.
33893 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
33894 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
33895 <bits/sigcontext.h>.
33896 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
33897 <bits/sigcontext.h>.
33898 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
33899 <bits/sigcontext.h>.
33900 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
33901 <bits/sigcontext.h>.
33902 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
33903 <bits/sigcontext.h>.
33904 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
33905 <bits/sigcontext.h>.
33906 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
33907 <bits/sigcontext.h>.
33908 (__ctx): Define earlier.
33909 (mcontext_t): Define structure contents rather than using struct
33911 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
33912 <bits/sigcontext.h>. Include <bits/types.h>.
33913 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
33914 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
33915 (test-xfail-XPG42/ucontext.h/conform): Likewise.
33916 (test-xfail-UNIX98/signal.h/conform): Likewise.
33917 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33918 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33919 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33920 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33921 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33922 (test-xfail-POSIX2008/signal.h/conform): Likewise.
33923 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33924 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33925 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33927 2017-08-30 Florian Weimer <fweimer@redhat.com>
33929 * malloc/dynarray_emplace_enlarge.c
33930 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
33931 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
33932 * malloc/tst-dynarray.c (test_long_overflow): New function.
33933 (do_test): Call it.
33935 2017-08-30 Florian Weimer <fweimer@redhat.com>
33937 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
33938 (set_arena_corrupt): Remove definitions.
33939 (mtrim): Do not check for corrupt arena.
33940 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
33943 2017-08-30 Florian Weimer <fweimer@redhat.com>
33946 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
33948 (ptmalloc_init): Do not set or use check_action.
33949 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
33950 call to malloc_printerr. Remove return statement.
33951 (free_check): Likewise. Remove arena unlock.
33952 (top_check): Update comment. Adjust call to malloc_printerr.
33953 Remove heap repair code.
33954 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
33955 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
33956 (sysmalloc): Adjust call to malloc_printerr.
33957 (munmap_chunk, __libc_realloc): Likewise. Remove return
33959 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
33960 Remove errout label and corresponding gotos.
33961 (_int_free): Likewise. Remove arena unlock.
33962 (do_set_mallopt_check): Do not set check_action.
33963 (malloc_printerr): Adjust parameter list. Do not mark arena as
33965 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
33967 * manual/probes.texi (Memory Allocation Probes): Remove
33968 memory_mallopt_check_action.
33970 2017-08-30 Steve Ellcey <sellcey@cavium.com>
33972 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
33973 Use pointer to uint64_t instead of long int for sp.
33975 2017-08-30 Florian Weimer <fweimer@redhat.com>
33978 * malloc/malloc.c (malloc_printerr): Always terminate the process,
33979 without printing a backtrace. Do not leak any information in the
33981 * manual/memory.texi (Heap Consistency Checking): Update.
33982 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
33984 2017-08-30 Florian Weimer <fweimer@redhat.com>
33986 Do not scale NPTL tests with available number of CPUs.
33987 * nptl/tst-cond16.c (count): Set to constant value of 8.
33988 * nptl/tst-cond18.c (count): Likewise.
33990 2017-08-29 Joseph Myers <joseph@codesourcery.com>
33993 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
33994 Define to take a second argument that is a macro that
33995 concatentates a suffix, not the suffix itself.
33996 (__CONCAT_d): New macro.
33997 (__CONCAT_f): Likewise.
33998 (__CONCAT_l): Likewise.
34000 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
34002 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
34005 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34006 Aurelien Jarno <aurelien@aurel32.net>
34007 Maciej W. Rozycki <macro@imgtec.com>
34010 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
34011 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
34012 `mips16-syscall6' and `mips16-syscall7'.
34013 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
34014 (CFLAGS-mips16-syscall7.c): Remove.
34015 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
34016 Remove `__mips16_syscall5', `__mips16_syscall6' and
34017 `__mips16_syscall7'.
34018 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
34019 (__mips16_syscall0): Rename `__mips16_syscall_return' to
34020 `__mips_syscall_return'.
34021 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
34022 (__mips16_syscall1): Likewise.
34023 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
34024 (__mips16_syscall2): Likewise.
34025 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
34026 (__mips16_syscall3): Likewise.
34027 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
34028 (__mips16_syscall4): Likewise.
34029 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
34031 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
34033 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
34035 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
34036 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
34037 `__mips16_syscall5'. Remove prototype.
34038 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
34039 `__mips16_syscall6'. Remove prototype.
34040 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
34041 `__mips16_syscall7'. Remove prototype.
34042 (__nomips16, __mips16_syscall_return): Move to...
34043 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
34044 (__nomips16, __mips_syscall_return): ... here.
34045 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
34046 `__mips16_syscall_return' to `__mips_syscall_return'.
34047 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
34048 `internal_syscall##nr'.
34049 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
34050 `internal_syscall##nr'.
34051 (FORCE_FRAME_POINTER): Remove.
34052 (__mips_syscall5): New prototype.
34053 (internal_syscall5): Rewrite to call `__mips_syscall5'.
34054 (__mips_syscall6): New prototype.
34055 (internal_syscall6): Rewrite to call `__mips_syscall6'.
34056 (__mips_syscall7): New prototype.
34057 (internal_syscall7): Rewrite to call `__mips_syscall7'.
34058 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
34059 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
34060 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
34061 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
34062 (sysdep_routines): Add libc-do-syscall.
34063 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
34064 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
34066 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34069 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
34070 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
34071 (advise_stack_range): New function.
34072 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
34073 stack non required to advise_stack_range at allocatestack.c
34075 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
34077 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
34079 2017-08-29 Florian Weimer <fweimer@redhat.com>
34082 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
34083 __end_fct. Mangle __end_fct after setting it to NULL.
34084 * iconv/Makefile (tests): Add tst-gconv-init-failure.
34085 (modules-names, modules-names-tests): Add
34086 tst-gconv-init-failure-mod.
34087 (gconv-modules): New target.
34088 (tst-gconv-init-failure-mod.so): Link against libsupport.
34089 (tst-gconv-init-failure): Depend on gconv-modules,
34090 tst-gconv-init-failure-mod.so.
34091 * iconv/tst-gconv-init-failure-mod.c: New file.
34092 * iconv/tst-gconv-init-failure.c: Likewise.
34093 * iconv/test-gconv-modules: Likewise.
34095 2017-08-29 Florian Weimer <fweimer@redhat.com>
34098 * iconv/gconv_db.c (free_derivation): Remove redundant
34100 (gen_steps): Unconditionally mangle __btowc_fct after
34102 (increment_counter): Likewise. Do not call init_fct for internal
34105 2017-08-29 Joseph Myers <joseph@codesourcery.com>
34108 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34109 (_MSUF_): Remove macro.
34110 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
34112 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34113 (__REDIRFROM_X): New macro.
34114 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
34116 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
34117 (__REDIRTO_X): Likewise.
34118 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
34120 (__MATH_REDIRCALL_2): Likewise.
34121 (__MATH_REDIRCALL_INTERNAL): Likewise.
34122 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34123 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
34124 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
34125 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34126 * math/test-finite-macros.c: New file.
34127 * math/Makefile (tests): Add test-finite-macros.
34128 (CFLAGS-test-finite-macros.c): New variable.
34130 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
34131 Jeff Law <law@redhat.com>
34134 Mangle NULL pointers in iconv/gconv.
34135 * iconv/gconv_cache.c (find_module): Demangle init_fct before
34136 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
34137 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
34138 is non-NULL before demangling the end_fct. Check for NULL
34139 end_fct after demangling.
34140 (__gconv_release_step): Demangle the end_fct before checking
34141 it for NULL. Remove assert on __shlibc_handle != NULL.
34142 (gen_steps): Don't check btowc_fct for NULL before mangling.
34143 Demangle init_fct before checking for NULL.
34144 (increment_counter): Likewise.
34145 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
34146 end_fct for NULL before mangling.
34147 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
34150 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
34153 * locale/iso-639.def: add Morisyen.
34155 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34158 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
34159 (iszero): New C++ implementation that does not use
34160 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
34161 signaling nans are enabled, since __builtin_types_compatible_p
34162 is a C-only feature.
34163 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
34164 defined, include ieee754_float128.h for access to the union and
34165 member ieee854_float128.ieee.
34166 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
34167 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
34168 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34169 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
34170 options of test-math-zero on powerpc64le.
34172 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
34174 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
34175 Change double to float.
34177 2017-08-28 Joseph Myers <joseph@codesourcery.com>
34179 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
34181 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
34182 conditional code; define contents only for [LIBM_SVID_COMPAT].
34184 2017-08-28 Florian Weimer <fweimer@redhat.com>
34186 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
34187 (abi-lp64_be-options): Remove.
34188 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
34189 (abi-hard-options): Likewise.
34190 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
34191 (abi-o32_hard-options, abi-o32_soft_2008-options)
34192 (abi-o32_hard_2008-options, abi-n32_soft-options)
34193 (abi-n32_hard-options, abi-n32_soft_2008-options)
34194 (abi-n32_hard_2008-options, abi-n64_soft-options)
34195 (abi-n64_hard-options, abi-n64_soft_2008-options)
34196 (abi-n64_hard_2008-options): Likewise.
34197 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
34198 (abi-64-v1-options, abi-64-v2-options): Likewise.
34199 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
34200 (abi-64-options): Likewise.
34201 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
34202 (abi-64-options): Likewise.
34203 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
34204 (abi-64-options): Likewise.
34205 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
34206 (abi-64-options, abi-x32-options): Likewise.
34208 2017-08-28 Florian Weimer <fweimer@redhat.com>
34210 Store supported list of SYS_* system calls in the source tree.
34211 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
34212 (bits/syscall.h): Generate from list file.
34213 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
34214 [$(subdir) = misc] (tests): Add tst-syscall-list.
34215 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
34216 [$(subdir) = misc] (tst-syscall-list-macros.list)
34217 [$(subdir) = misc] (tst-syscall-list-nr.list)
34218 (tst-syscall-list-sys.list): Helper targets for new
34219 tst-syscall-list test.
34220 [$(subdir) = misc] (tst-syscall-list.out): Run test script
34221 tst-syscall-list.sh.
34222 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
34223 target. Do not include bits/syscall.d.
34224 [$(subdir) = misc] (generated): Do not update.
34225 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
34226 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
34227 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
34228 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
34230 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
34232 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
34233 (tst-cxa_atexit, tst-on_exit): Likewise.
34234 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
34235 tst-cxa_atexit, and tst-on_exit.
34236 * stdlib/tst-atexit-common.c: New file.
34237 * stdlib/tst-atexit.c: New file.
34238 * stdlib/tst-at_quick_exit.c: New file.
34239 * stdlib/tst-cxa_atexit.c: New file.
34240 * stdlib/tst-on_exit.c: New file.
34242 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
34244 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
34245 * mach/stack_chk_fail_local.c: New file.
34246 * hurd/stack_chk_fail_local.c: New file.
34247 * mach/Machrules ($(interface-library)-routines): Add
34248 stack_chk_fail_local.
34249 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
34250 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
34251 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
34252 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
34253 * hurd/Makefile (CFLAGS-hurdstartup.o,
34254 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
34256 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
34258 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34259 (index_cpu_*, index_arch_*): Removed.
34261 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
34263 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
34264 Use uint64_t instead of unsigned long.
34266 2017-08-25 Joseph Myers <joseph@codesourcery.com>
34268 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
34269 [__HAVE_DISTINCT_FLOAT128].
34271 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
34272 of <bits/math-finite.h>.
34273 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
34274 inclusion of <bits/math-finite.h>.
34275 * math/bits/math-finite.h (__REDIRTO_X): Do not define
34276 conditionally on [__MATH_DECLARING_LDOUBLE && defined
34277 __NO_LONG_DOUBLE_MATH].
34278 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
34279 (__MATH_REDIRCALL_2): Likewise.
34280 (__MATH_REDIRCALL_INTERNAL): Likewise.
34281 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34282 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
34283 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
34287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
34289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
34291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
34293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
34295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
34297 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34298 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34299 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34300 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
34302 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
34303 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
34304 w_sqrtf_compat-ppc32.
34306 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34308 * math/math.h [defined __cplusplus] (issignaling): In the long
34309 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
34310 is not defined. Call __issignaling, otherwise.
34312 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34314 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
34315 syscall definitions and replace __builtin_expect with __glibc_likely.
34316 * sysdeps/unix/syscall-template.S: Update comment about cancellable
34318 (SYSCALL_CANCELLABLE): Removedefinition
34319 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
34321 (PSEUDO_END): Likewise.
34322 [IS_IN (libpthread)] (CENABLE): Likewise.
34323 [IS_IN (libpthread)] (CDISABLE): Likewise.
34324 [IS_IN (libc)] (CENABLE): Likewise.
34325 [IS_IN (libc)] (CENABLE): Likewise.
34326 [IS_IN (librt)] (CDISABLE): Likewise.
34327 [IS_IN (librt)] (CDISABLE): Likewise.
34328 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34329 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
34331 (PSEUDO_END): Likewise.
34332 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
34333 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
34334 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
34335 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
34336 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
34337 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
34338 (CENABLE): Likewise.
34339 (CDISABLE): Likewise.
34340 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34341 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
34343 (PSEUDO_END): Likewise.
34344 [IS_IN (libpthread)] (CENABLE): Likewise.
34345 [IS_IN (libpthread)] (CDISABLE): Likewise.
34346 [IS_IN (libc)] (CENABLE): Likewise.
34347 [IS_IN (libc)] (CENABLE): Likewise.
34348 [IS_IN (librt)] (CDISABLE): Likewise.
34349 [IS_IN (librt)] (CDISABLE): Likewise.
34350 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34351 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
34353 (PSEUDO_END): Likewise.
34354 [IS_IN (libpthread)] (CENABLE): Likewise.
34355 [IS_IN (libpthread)] (CDISABLE): Likewise.
34356 [IS_IN (libc)] (CENABLE): Likewise.
34357 [IS_IN (libc)] (CENABLE): Likewise.
34358 [IS_IN (librt)] (CDISABLE): Likewise.
34359 [IS_IN (librt)] (CDISABLE): Likewise.
34360 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34361 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
34363 (PSEUDO_END): Likewise.
34364 [IS_IN (libpthread)] (CENABLE): Likewise.
34365 [IS_IN (libpthread)] (CDISABLE): Likewise.
34366 [IS_IN (libc)] (CENABLE): Likewise.
34367 [IS_IN (libc)] (CENABLE): Likewise.
34368 [IS_IN (librt)] (CDISABLE): Likewise.
34369 [IS_IN (librt)] (CDISABLE): Likewise.
34370 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34371 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
34373 (PSEUDO_END): Likewise.
34374 [IS_IN (libpthread)] (CENABLE): Likewise.
34375 [IS_IN (libpthread)] (CDISABLE): Likewise.
34376 [IS_IN (libc)] (CENABLE): Likewise.
34377 [IS_IN (libc)] (CENABLE): Likewise.
34378 [IS_IN (librt)] (CDISABLE): Likewise.
34379 [IS_IN (librt)] (CDISABLE): Likewise.
34380 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34381 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
34383 (PSEUDO_END): Likewise.
34384 [IS_IN (libpthread)] (CENABLE): Likewise.
34385 [IS_IN (libpthread)] (CDISABLE): Likewise.
34386 [IS_IN (libc)] (CENABLE): Likewise.
34387 [IS_IN (libc)] (CENABLE): Likewise.
34388 [IS_IN (librt)] (CDISABLE): Likewise.
34389 [IS_IN (librt)] (CDISABLE): Likewise.
34390 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34391 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
34393 (PSEUDO_END): Likewise.
34394 [IS_IN (libpthread)] (CENABLE): Likewise.
34395 [IS_IN (libpthread)] (CDISABLE): Likewise.
34396 [IS_IN (libc)] (CENABLE): Likewise.
34397 [IS_IN (libc)] (CENABLE): Likewise.
34398 [IS_IN (librt)] (CDISABLE): Likewise.
34399 [IS_IN (librt)] (CDISABLE): Likewise.
34400 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34401 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
34403 (PSEUDO_END): Likewise.
34404 [IS_IN (libpthread)] (CENABLE): Likewise.
34405 [IS_IN (libpthread)] (CDISABLE): Likewise.
34406 [IS_IN (libc)] (CENABLE): Likewise.
34407 [IS_IN (libc)] (CENABLE): Likewise.
34408 [IS_IN (librt)] (CDISABLE): Likewise.
34409 [IS_IN (librt)] (CDISABLE): Likewise.
34410 (SINGLE_THREAD_P): Likewise.
34411 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
34413 (PSEUDO_END): Likewise.
34414 [IS_IN (libpthread)] (CENABLE): Likewise.
34415 [IS_IN (libpthread)] (CDISABLE): Likewise.
34416 [IS_IN (libc)] (CENABLE): Likewise.
34417 [IS_IN (libc)] (CENABLE): Likewise.
34418 [IS_IN (librt)] (CDISABLE): Likewise.
34419 [IS_IN (librt)] (CDISABLE): Likewise.
34420 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34421 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
34423 (PSEUDO_END): Likewise.
34424 [IS_IN (libpthread)] (CENABLE): Likewise.
34425 [IS_IN (libpthread)] (CDISABLE): Likewise.
34426 [IS_IN (libc)] (CENABLE): Likewise.
34427 [IS_IN (libc)] (CENABLE): Likewise.
34428 [IS_IN (librt)] (CDISABLE): Likewise.
34429 [IS_IN (librt)] (CDISABLE): Likewise.
34430 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34431 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
34432 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34433 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
34434 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
34436 (PSEUDO_END): Likewise.
34437 [IS_IN (libpthread)] (CENABLE): Likewise.
34438 [IS_IN (libpthread)] (CDISABLE): Likewise.
34439 [IS_IN (libc)] (CENABLE): Likewise.
34440 [IS_IN (libc)] (CENABLE): Likewise.
34441 [IS_IN (librt)] (CDISABLE): Likewise.
34442 [IS_IN (librt)] (CDISABLE): Likewise.
34443 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34444 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
34446 (PSEUDO_END): Likewise.
34447 [IS_IN (libpthread)] (CENABLE): Likewise.
34448 [IS_IN (libpthread)] (CDISABLE): Likewise.
34449 [IS_IN (libc)] (CENABLE): Likewise.
34450 [IS_IN (libc)] (CENABLE): Likewise.
34451 [IS_IN (librt)] (CDISABLE): Likewise.
34452 [IS_IN (librt)] (CDISABLE): Likewise.
34453 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34454 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
34456 (PSEUDO_END): Likewise.
34457 [IS_IN (libpthread)] (CENABLE): Likewise.
34458 [IS_IN (libpthread)] (CDISABLE): Likewise.
34459 [IS_IN (libc)] (CENABLE): Likewise.
34460 [IS_IN (libc)] (CENABLE): Likewise.
34461 [IS_IN (librt)] (CDISABLE): Likewise.
34462 [IS_IN (librt)] (CDISABLE): Likewise.
34463 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34464 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
34465 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34466 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
34467 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
34469 (PSEUDO_END): Likewise.
34470 [IS_IN (libpthread)] (CENABLE): Likewise.
34471 [IS_IN (libpthread)] (CDISABLE): Likewise.
34472 [IS_IN (libc)] (CENABLE): Likewise.
34473 [IS_IN (libc)] (CENABLE): Likewise.
34474 [IS_IN (librt)] (CDISABLE): Likewise.
34475 [IS_IN (librt)] (CDISABLE): Likewise.
34476 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34477 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
34479 (PSEUDO_END): Likewise.
34480 [IS_IN (libpthread)] (CENABLE): Likewise.
34481 [IS_IN (libpthread)] (CDISABLE): Likewise.
34482 [IS_IN (libc)] (CENABLE): Likewise.
34483 [IS_IN (libc)] (CENABLE): Likewise.
34484 [IS_IN (librt)] (CDISABLE): Likewise.
34485 [IS_IN (librt)] (CDISABLE): Likewise.
34486 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34488 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34490 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
34492 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34494 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34496 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34499 * string/stratcliff.c (do_test): Declare size, nchars, inner,
34500 middle and outer with size_t instead of int. Repleace %d and
34501 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
34502 "MAX (outer, nchars - 64)" to support unsigned outer and
34503 nchars. Also exit loop when outer == 0.
34505 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34507 * include/fcntl.h (__fcntl_nocancel): Remove definition.
34508 * include/signal.h (__sigsuspend_nocancel): Likewise.
34509 * include/time.h (__nanosleep_nocancel): Likewise.
34510 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
34511 * login/utmp_file.c: Include non cancellable syscall header.
34512 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
34515 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34517 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
34518 .byte sequences with AVX512F instructions.
34519 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
34520 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
34521 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34522 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
34524 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
34527 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
34528 Steve Ellcey <sellcey@cavium.com>
34530 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
34531 Use PTR_REG macro in cmp instruction.
34533 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34535 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
34536 Change the return type of the ifunc resolver to match the return
34537 type of the target function.
34539 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34541 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
34542 (preadv64): Likewise.
34543 (pwrite64(: Likewise.
34544 (pwritev64): Likewise.
34546 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34547 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
34548 (LOAD_ARGS_0): Likewise.
34549 (LOAD_ARGS_1): Likewise.
34550 (LOAD_ARGS_2): Likewise.
34551 (LOAD_ARGS_3): Likewise.
34552 (LOAD_ARGS_4): Likewise.
34553 (LOAD_ARGS_5): Likewise.
34554 (LOAD_ARGS_6): Likewise.
34555 (LOAD_REGS_0): Likewise.
34556 (LOAD_REGS_1): Likewise.
34557 (LOAD_REGS_2): Likewise.
34558 (LOAD_REGS_3): Likewise.
34559 (LOAD_REGS_4): Likewise.
34560 (LOAD_REGS_5): Likewise.
34561 (LOAD_REGS_6): Likewise.
34562 (ASM_ARGS_0): Likewise.
34563 (ASM_ARGS_1): Likewise.
34564 (ASM_ARGS_2): Likewise.
34565 (ASM_ARGS_3): Likewise.
34566 (ASM_ARGS_4): Likewise.
34567 (ASM_ARGS_5): Likewise.
34568 (ASM_ARGS_6): Likewise.
34569 (LOAD_ARGS_TYPES_1): Likewise.
34570 (LOAD_ARGS_TYPES_2): Likewise.
34571 (LOAD_ARGS_TYPES_3): Likewise.
34572 (LOAD_ARGS_TYPES_4): Likewise.
34573 (LOAD_ARGS_TYPES_5): Likewise.
34574 (LOAD_ARGS_TYPES_6): Likewise.
34575 (LOAD_REGS_TYPES_1): Likewise.
34576 (LOAD_REGS_TYPES_2): Likewise.
34577 (LOAD_REGS_TYPES_3): Likewise.
34578 (LOAD_REGS_TYPES_4): Likewise.
34579 (LOAD_REGS_TYPES_5): Likewise.
34580 (LOAD_REGS_TYPES_6): Likewise.
34581 (TYPEFY): New define.
34582 (ARGIFY): Likewise.
34583 (internal_syscall0): Likewise.
34584 (internal_syscall1): Likewise.
34585 (internal_syscall2): Likewise.
34586 (internal_syscall3): Likewise.
34587 (internal_syscall4): Likewise.
34588 (internal_syscall5): Likewise.
34589 (internal_syscall6): Likewise.
34590 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
34591 (INTERNAL_SYSCALL_NCS): Remove define.
34592 (internal_syscall1): Add define.
34594 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34596 * math/w_remainder_compat.c: Remove duplicate inclusion of
34597 math-svid-compat.h.
34598 * math/w_remainderf_compat.c: Likewise.
34599 * math/w_remainderl_compat.c: Likewise.
34601 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34605 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34608 * math/tgmath.h (__floating_type): Simplify definitions.
34609 (__real_integer_type): New macro.
34610 (__complex_integer_type): Likewise.
34611 (__expr_is_real): Likewise.
34612 (__tgmath_real_type_sub): Update comment to describe handling of
34614 (__tgmath_complex_type_sub): New macro.
34615 (__tgmath_complex_type): Likewise.
34616 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34617 (__TGMATH_CF128): Use __expr_is_real.
34618 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
34620 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34621 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
34622 * math/gen-tgmath-tests.py (Type.create_type): Create complex
34625 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34627 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
34629 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
34631 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
34634 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
34635 nanosleep_not_cancel with __nanosleep_nocancel.
34636 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
34637 (__nanosleep_nocancel): New macro.
34638 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
34640 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
34642 (__nanosleep_nocancel): New prototype.
34644 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
34645 pause_not_cancel with __pause_nocancel.
34646 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
34647 (__pause_nocancel): New macro.
34648 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
34650 (__pause_nocancel): New prototype.
34651 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
34653 2017-08-22 Martin Sebor <msebor@redhat.com>
34655 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
34656 to return a pointer to the same type as the target function.
34658 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34662 * include/printf.h (__printf_fphex): Add attribute_hidden.
34663 (__guess_grouping): New prototype.
34664 * stdio-common/printf_fp.c (__guess_grouping): Removed.
34665 * stdio-common/reg-printf.c (__register_printf_specifier): Add
34666 libc_hidden_proto and libc_hidden_def.
34667 * stdlib/strfmon_l.c (__guess_grouping): Removed.
34668 (__vstrfmon_l): Remove the third argument passed to
34671 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34673 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
34674 definition for issignaling that does not rely on __MATH_TG,
34675 since __MATH_TG uses __builtin_types_compatible_p, which is only
34676 available in C mode.
34677 (CFLAGS-test-math-issignaling.cc): New variable.
34678 * math/Makefile [CXX] (tests): Add test-math-issignaling.
34679 * math/test-math-issignaling.cc: New test for C++ implementation
34680 of type-generic issignaling.
34681 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34682 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
34683 options of test-math-issignaling on powerpc64le.
34685 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
34687 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34689 (hidden_proto): Likewise.
34690 (hidden_tls_proto): Likewise.
34691 (__hidden_proto): Likewise.
34693 2017-08-22 Florian Weimer <fweimer@redhat.com>
34695 math: Statically link tests of internal functionality.
34696 * math/Makefile (tests): Remove atest-exp, atest-sincos,
34698 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
34699 (gmp-objs): Remove assignment.
34700 (atest-exp, atest-sincos, atest-exp2): Remove targets.
34702 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34705 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
34707 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
34709 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
34712 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
34713 variable definitions above inclusion of ../Rules.
34715 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34717 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
34718 case calling __builtin_unreachable.
34720 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34722 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
34723 __waitpid_nocancel.
34724 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
34725 (__waitpid_nocancel): New macro.
34726 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
34728 (__waitpid_nocancel): Replace macro with a function.
34729 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
34732 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
34734 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
34735 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
34737 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
34738 __writev_nocancel_nostatus.
34739 (write_call_graph): Likewise.
34740 (write_bb_counts): Likewise.
34741 * resolv/herror.c (herror): Likewise.
34742 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
34744 (__writev_nocancel_nostatus): New macro.
34745 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
34747 (__writev_nocancel_nostatus): New function.
34749 2017-08-21 Joseph Myers <joseph@codesourcery.com>
34752 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34754 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34756 (hidden_proto): Likewise.
34757 (hidden_tls_proto): Likewise.
34758 (__hidden_proto): Likewise.
34761 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
34762 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
34767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
34771 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
34772 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34773 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34774 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34775 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
34776 GLIBC_2.0 sqrtl symbol.
34778 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
34779 [__USE_MISC] (_LIB_VERSION): Likewise.
34780 [__USE_MISC] (struct exception): Likewise.
34781 [__USE_MISC] (matherr): Likewise.
34782 [__USE_MISC] (DOMAIN): Likewise.
34783 [__USE_MISC] (SING): Likewise.
34784 [__USE_MISC] (OVERFLOW): Likewise.
34785 [__USE_MISC] (UNDERFLOW): Likewise.
34786 [__USE_MISC] (TLOSS): Likewise.
34787 [__USE_MISC] (PLOSS): Likewise.
34788 [__USE_MISC] (HUGE): Likewise.
34789 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
34790 * math/math-svid-compat.h: New file.
34791 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
34793 * include/math.h [!_ISOMAC] (__matherr): Remove.
34794 * manual/arith.texi (FP Exceptions): Do not document matherr.
34795 * math/Makefile (tests): Change test-matherr to test-matherr-3.
34796 (tests-internal): New variable.
34797 (install-lib): Do not add libieee.a.
34798 (non-lib.a): Likewise.
34799 (extra-objs): Do not add libieee.a and ieee-math.o.
34800 (CPPFLAGS-s_lib_version.c): Remove variable.
34801 ($(objpfx)libieee.a): Remove rule.
34802 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
34803 * math/ieee-math.c: Remove.
34804 * math/libm-test-support.c (matherr): Remove.
34805 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
34806 and license notices. Include <math-svid-compat.h> and
34808 (matherr): Undefine as macro. Use compat_symbol_reference.
34809 (_LIB_VERSION): Likewise.
34810 * math/test-matherr-2.c: New file.
34811 * math/test-matherr-3.c: Likewise.
34812 * sysdeps/generic/math_private.h (__kernel_standard): Remove
34814 (__kernel_standard_f): Likewise.
34815 (__kernel_standard_l): Likewise.
34816 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
34817 <math_private.h>. Include <math-svid-compat.h>.
34818 (_LIB_VERSION): Undefine as macro.
34819 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
34820 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
34821 [LIBM_SVID_COMPAT], use compat_symbol.
34822 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
34823 <math_private.h>. Include <math-svid-compat.h>.
34824 (matherr): Undefine as macro.
34825 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
34827 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
34828 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
34829 compat_symbol_reference.
34830 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
34831 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
34832 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
34833 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
34834 (MATHERR_D): Remove declaration.
34835 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
34836 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
34837 [LIBM_BUILD] (pmatherrf): Likewise.
34838 [LIBM_BUILD] (pmatherr): Likewise.
34839 [LIBM_BUILD] (pmatherrl): Likewise.
34840 (DOMAIN): Likewise.
34842 (OVERFLOW): Likewise.
34843 (UNDERFLOW): Likewise.
34846 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
34847 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
34849 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
34850 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
34852 * math/lgamma-compat.h: Include <math-svid-compat.h>.
34853 * math/w_acos_compat.c: Likewise.
34854 * math/w_acosf_compat.c: Likewise.
34855 * math/w_acosh_compat.c: Likewise.
34856 * math/w_acoshf_compat.c: Likewise.
34857 * math/w_acoshl_compat.c: Likewise.
34858 * math/w_acosl_compat.c: Likewise.
34859 * math/w_asin_compat.c: Likewise.
34860 * math/w_asinf_compat.c: Likewise.
34861 * math/w_asinl_compat.c: Likewise.
34862 * math/w_atan2_compat.c: Likewise.
34863 * math/w_atan2f_compat.c: Likewise.
34864 * math/w_atan2l_compat.c: Likewise.
34865 * math/w_atanh_compat.c: Likewise.
34866 * math/w_atanhf_compat.c: Likewise.
34867 * math/w_atanhl_compat.c: Likewise.
34868 * math/w_cosh_compat.c: Likewise.
34869 * math/w_coshf_compat.c: Likewise.
34870 * math/w_coshl_compat.c: Likewise.
34871 * math/w_exp10_compat.c: Likewise.
34872 * math/w_exp10f_compat.c: Likewise.
34873 * math/w_exp10l_compat.c: Likewise.
34874 * math/w_exp2_compat.c: Likewise.
34875 * math/w_exp2f_compat.c: Likewise.
34876 * math/w_exp2l_compat.c: Likewise.
34877 * math/w_fmod_compat.c: Likewise.
34878 * math/w_fmodf_compat.c: Likewise.
34879 * math/w_fmodl_compat.c: Likewise.
34880 * math/w_hypot_compat.c: Likewise.
34881 * math/w_hypotf_compat.c: Likewise.
34882 * math/w_hypotl_compat.c: Likewise.
34883 * math/w_j0_compat.c: Likewise.
34884 * math/w_j0f_compat.c: Likewise.
34885 * math/w_j0l_compat.c: Likewise.
34886 * math/w_j1_compat.c: Likewise.
34887 * math/w_j1f_compat.c: Likewise.
34888 * math/w_j1l_compat.c: Likewise.
34889 * math/w_jn_compat.c: Likewise.
34890 * math/w_jnf_compat.c: Likewise.
34891 * math/w_jnl_compat.c: Likewise.
34892 * math/w_lgamma_main.c: Likewise.
34893 * math/w_lgamma_r_compat.c: Likewise.
34894 * math/w_lgammaf_main.c: Likewise.
34895 * math/w_lgammaf_r_compat.c: Likewise.
34896 * math/w_lgammal_main.c: Likewise.
34897 * math/w_lgammal_r_compat.c: Likewise.
34898 * math/w_log10_compat.c: Likewise.
34899 * math/w_log10f_compat.c: Likewise.
34900 * math/w_log10l_compat.c: Likewise.
34901 * math/w_log2_compat.c: Likewise.
34902 * math/w_log2f_compat.c: Likewise.
34903 * math/w_log2l_compat.c: Likewise.
34904 * math/w_log_compat.c: Likewise.
34905 * math/w_logf_compat.c: Likewise.
34906 * math/w_logl_compat.c: Likewise.
34907 * math/w_pow_compat.c: Likewise.
34908 * math/w_powf_compat.c: Likewise.
34909 * math/w_powl_compat.c: Likewise.
34910 * math/w_remainder_compat.c: Likewise.
34911 * math/w_remainderf_compat.c: Likewise.
34912 * math/w_remainderl_compat.c: Likewise.
34913 * math/w_scalb_compat.c: Likewise.
34914 * math/w_scalbf_compat.c: Likewise.
34915 * math/w_scalbl_compat.c: Likewise.
34916 * math/w_sinh_compat.c: Likewise.
34917 * math/w_sinhf_compat.c: Likewise.
34918 * math/w_sinhl_compat.c: Likewise.
34919 * math/w_sqrt_compat.c: Likewise.
34920 * math/w_sqrtf_compat.c: Likewise.
34921 * math/w_sqrtl_compat.c: Likewise.
34922 * math/w_tgamma_compat.c: Likewise.
34923 * math/w_tgammaf_compat.c: Likewise.
34924 * math/w_tgammal_compat.c: Likewise.
34925 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
34926 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34927 * sysdeps/ieee754/k_standard.c: Likewise.
34928 * sysdeps/ieee754/k_standardf.c: Likewise.
34929 * sysdeps/ieee754/k_standardl.c: Likewise.
34930 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34931 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34932 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34933 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34934 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34935 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34936 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34937 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
34938 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
34939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
34941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
34943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
34944 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
34945 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
34946 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
34948 2017-08-21 Florian Weimer <fweimer@redhat.com>
34951 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
34952 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
34953 Move before inclusion of ../Rules.
34955 2017-08-21 Florian Weimer <fweimer@redhat.com>
34958 * assert/assert.h (assert): Use static_cast (bool) for C++.
34959 Use the ternary operator in the warning branch for GNU C.
34960 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
34961 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
34962 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
34963 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
34964 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
34966 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34969 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34970 (__syscall_clock_gettime): Add attribute_hidden.
34971 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
34972 (__start_context): Likewise.
34974 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34976 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34978 (hidden_proto): Likewise.
34979 (hidden_tls_proto): Likewise.
34980 (__hidden_proto): Likewise.
34982 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34984 * include/libc-symbols.h (attribute_hidden): Enable hidden
34985 visibility in libc.a compiled with PIE.
34987 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34990 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
34991 Add attribute_hidden.
34993 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34996 * Makerules (all-nonlib): Add $(others-extras).
34997 * catgets/Makefile (others-extras): New.
34998 * elf/Makefile (others-extras): Likewise.
34999 * nss/Makefile (others-extras): Likewise.
35001 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35004 * csu/libc-start.c (__libc_multiple_libcs): Removed.
35005 * elf/dl-open.c: Include <libc-internal.h>.
35006 (__libc_multiple_libcs): Removed.
35007 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
35009 * include/libc-internal.h (__libc_multiple_libcs): New.
35010 * misc/sbrk.c: Include <libc-internal.h>.
35011 (__libc_multiple_libcs): Removed.
35013 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35016 * grp/initgroups.c (__nss_group_database): Removed.
35017 (__nss_initgroups_database): Likewise.
35018 * nscd/gai.c (__nss_hosts_database): Likewise.
35019 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
35020 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
35021 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
35022 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
35023 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
35024 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
35026 * nss/nsswitch.c (__nss_database_custom): Define only if
35027 USE_NSCD is defined.
35028 (__nss_configure_lookup): Use __nss_database_custom only if
35029 USE_NSCD is defined.
35030 * nss/nsswitch.h (__nss_database_custom): Declare only if
35031 USE_NSCD is defined. Add attribute_hidden.
35032 (__nss_setent): Add attribute_hidden.
35033 (__nss_endent): Likewise.
35034 (__nss_getent_r): Likewise.
35035 (__nss_getent): Likewise.
35036 (DEFINE_DATABASE): Declare __nss_##arg##_database.
35038 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35041 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
35042 libc_hidden_proto and libc_hidden_def.
35044 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35047 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
35048 Add libc_hidden_proto.
35049 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
35050 Add libc_hidden_def.
35052 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35055 * gmon/Makefile (routines): Remove bb_init_func and
35057 (elide-routines.os): Removed.
35058 * gmon/bb_exit_func.c: Likewise.
35059 * gmon/bb_init_func.c: Likewise.
35060 * include/sys/gmon.h (__bb): Likewise.
35061 (__bb_init_func): Likewise.
35062 (__bb_exit_func): Likewise.
35063 * sysdeps/alpha/bb_init_func.S: Likewise.
35065 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35067 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
35068 * include/setjmp.h (____longjmp_chk): Here. Add
35071 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
35074 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
35076 (__strspn_sse2): Likewise.
35078 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35080 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
35081 (close_not_cancel_no_status): Likewise.
35082 (__close_nocancel): New macro.
35083 (__close_nocancel_nostatus): Likewise.
35084 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
35086 (close_not_cancel): Likewise.
35087 (close_not_cancel_no_status): Likewise.
35088 (__close_nocancel): New prototype.
35089 (__close_nocancel_nostatus): New function.
35090 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
35091 * catgets/open_catalog.c (__open_catalog): Replace
35092 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
35093 * gmon/gmon.c (write_gmon): Likewise.
35094 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35095 * intl/loadmsgcat.c (close): Likewise.
35096 * io/ftw.c (open_dir_stream): Likewise.
35097 (ftw_startup): Likewise.
35098 * libio/fileops.c (_IO_file_open): Likewise.
35099 (_IO_file_close_mmap): Likewise.
35100 (_IO_file_close): Likewise.
35101 * libio/iopopen.c (_IO_dup2): Likewise.
35102 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35103 * locale/loadlocale.c (_nl_load_locale): Likewise.
35104 * login/utmp_file.c (pututline_file): Likewise.
35105 (endutent_file): Likewise.
35106 * misc/daemon.c (daemon): Likewise.
35107 * nscd/nscd_getai.c (__nscd_getai): Likewise.
35108 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35109 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35110 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35111 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35112 * nscd/nscd_helper.c (open_socket): Likewise.
35113 (__nscd_open_socket): Likewise.
35114 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
35115 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
35116 (__nscd_innetgr): Likewise.
35117 * nss/nss_db/db-open.c (internal_setent): Likewise.
35118 * resolv/res-close.c (__res_iclose): Likewise.
35119 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
35120 * sysdeps/posix/closedir.c (__closedir): Likewise.
35121 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
35122 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35123 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
35124 (opendir_tail): Likewise.
35125 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35126 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
35127 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35128 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35129 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35130 (gethostid): Likewise.
35131 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35132 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35134 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35135 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
35136 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35137 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35139 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
35140 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
35141 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35143 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
35144 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35146 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35148 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35149 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35150 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35153 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
35154 (openat_not_cancel_3): Likewise.
35155 (openat64_not_cancel_3): Likewise).
35156 (openat_not_cancel_3): Likewise).
35157 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
35159 (openat_not_cancel_3): Likewise.
35160 (openat64_not_cancel): Likewise.
35161 (openat64_not_cancel_3): Likewise.
35162 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
35163 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
35164 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
35165 __open{64}_nocancel.
35166 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35167 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35168 * sysdeps/posix/opendir.c (__opendirat): Likewise.
35170 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35173 * include/argz.h (__argz_create_sep): New function prototype.
35174 (__argz_append): Likewise.
35175 (__argz_add): Likewise.
35176 (__argz_add_sep): Likewise.
35177 (__argz_delete): Likewise.
35178 (__argz_insert): Likewise.
35179 (__argz_replace): Likewise.
35180 * string/argz.h (__argz_create_sep): Removed.
35181 (__argz_append): Likewise.
35182 (__argz_add): Likewise.
35183 (__argz_add_sep): Likewise.
35184 (__argz_delete): Likewise.
35185 (__argz_insert): Likewise.
35186 (__argz_replace): Likewise.
35188 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35190 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
35191 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
35192 (GNU_PROPERTY_STACK_SIZE): Likewie.
35193 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
35194 (GNU_PROPERTY_LOPROC): Likewise.
35195 (GNU_PROPERTY_HIPROC): Likewise.
35196 (GNU_PROPERTY_LOUSER): Likewise.
35197 (GNU_PROPERTY_HIUSER): Likewise.
35198 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
35199 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
35200 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
35201 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
35202 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
35203 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
35204 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
35205 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
35206 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
35207 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
35208 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
35209 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
35210 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
35211 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
35212 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
35213 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
35214 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
35215 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
35216 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
35217 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
35218 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
35219 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
35220 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
35222 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35224 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
35227 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35230 * math/math.h (isinf): Check if in C or C++ mode before using
35231 __builtin_types_compatible_p, since this is a C mode feature.
35233 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35235 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
35236 (__write_nocancel): New macro.
35237 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
35238 Rewrite as a function prototype.
35239 (write_not_cancel): Remove macro.
35240 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
35241 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
35242 (write_gmon): Likewise.
35243 * libio/fileops.c (_IO_new_file_write): Likewise.
35244 * login/utmp_file.c (pututline_file): Likewise.
35245 (updwtmp_file): Likewise.
35246 * stdio-common/psiginfo.c (psiginfo): Likewise.
35247 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35248 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35249 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35251 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35254 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
35255 (__read_nocancel): New macro.
35256 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35258 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
35260 (__read_nocancel): New prototype.
35261 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
35262 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
35263 with __read_nocancel.
35264 * intl/loadmsgcat.c (read): Likewise.
35265 * libio/fileops.c (_IO_file_read): Likewise.
35266 * locale/loadlocale.c (_nl_load_locale): Likewise.
35267 * login/utmp_file.c (getutent_r_file): Likewise.
35268 (internal_getut_r): Likewise.
35269 (getutline_r_file): Likewise.
35270 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
35271 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35272 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35273 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35275 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
35276 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35277 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35279 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35281 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35283 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35285 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35287 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35290 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
35291 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
35294 2017-08-17 DJ Delorie <dj@redhat.com>
35296 * bug17079.c: Update to new test harness.
35297 * test-digits-dots.c: Likewise.
35298 * test-netdb.c: Likewise.
35299 * tst-field.c: Likewise.
35300 * tst-nss-getpwent.c: Likewise.
35301 * tst-nss-static.c: Likewise.
35302 * tst-nss-test1.c: Likewise.
35303 * tst-nss-test2.c: Likewise.
35304 * tst-nss-test3.c: Likewise.
35305 * tst-nss-test4.c: Likewise.
35306 * tst-nss-test5.c: Likewise.
35308 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35310 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
35311 (open_not_cancel_2): Likewise.
35312 (open_nocancel): New macro.
35313 (open64_nocancel): Likewise.
35314 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
35315 (open_not_cancel_2): Likewise.
35316 (__open_nocancel): New prototype.
35317 (__open64_nocancel): Likewise.
35318 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35320 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
35321 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
35322 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
35323 with __open_nocancel.
35324 * csu/check_fds.c (check_one_fd): Likewise.
35325 * gmon/gmon.c (write_gmon): Likewise.
35326 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
35327 * intl/loadmsgcat.c (open): Likewise.
35328 * libio/fileops.c (_IO_file_open): Likewise.
35329 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35330 * locale/loadlocale.c (_nl_load_locale): Likewise.
35331 * login/utmp_file.c (setutent_file): Likewise.
35332 * misc/daemon.c (daemon): Likewise.
35333 * nss/nss_db/db-open.c (internal_setent): Likewise.
35334 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35335 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
35336 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
35337 (__opendir): Likewise.
35338 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35339 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
35340 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35341 (gethostid): Likewise.
35342 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35343 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35345 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35346 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
35347 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35348 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35350 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35352 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35354 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
35356 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35358 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35360 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35361 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35363 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
35365 * benchtests/bench-skeleton.c (main): Add support for
35366 latency benchmarking.
35367 * benchtests/scripts/bench.py: Add support for latency benchmarking.
35369 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
35371 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
35372 the startup object.
35374 2017-08-17 Florian Weimer <fweimer@redhat.com>
35376 * include/sys/socket.h (__opensock): Remove internal_function.
35377 * socket/opensock.c (__opensock): Likewise.
35378 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
35380 2017-08-16 Joseph Myers <joseph@codesourcery.com>
35383 * signal/bits/types/__sigval_t.h: New file.
35384 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
35385 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
35386 and define sigval_t using __sigval_t.
35387 * include/bits/types/__sigval_t.h: New file.
35388 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
35389 instead of <bits/types/__sigval_t.h>.
35390 (struct sigevent): Use __sigval_t instead of sigval_t.
35391 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
35392 instead of <bits/types/__sigval_t.h>.
35393 (siginfo_t): Use __sigval_t instead of sigval_t.
35394 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
35395 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
35396 (struct sigevent): Use __sigval_t instead of sigval_t.
35397 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
35398 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
35399 (siginfo_t): Use __sigval_t instead of sigval_t.
35400 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
35402 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35404 * NEWS: Remove "[Add new features here]" for 2.27.
35406 2017-08-16 Joseph Myers <joseph@codesourcery.com>
35408 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
35411 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35413 * NEWS: Mention x86-64 FMA optimization.
35415 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35418 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35420 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
35421 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
35422 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
35424 2017-08-16 Andreas Schwab <schwab@suse.de>
35428 * elf/ldd.bash.in: Never run file directly.
35430 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
35433 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
35434 (L(SP_INF_0)): Likewise.
35436 2017-08-15 Florian Weimer <fweimer@redhat.com>
35438 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
35441 2017-08-15 Florian Weimer <fweimer@redhat.com>
35443 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
35444 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
35445 BROKEN_THREAD_SIGNALS code.
35446 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
35447 request_list): Remove caller_pid member used for
35448 BROKEN_THREAD_SIGNALS.
35449 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
35450 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35451 Remove BROKEN_THREAD_SIGNALS support.
35452 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
35453 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
35455 2017-08-15 Florian Weimer <fweimer@redhat.com>
35457 * gmon/Makefile (tests): Add tst-gmon.
35458 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
35460 (tests-special): Add tst-gmon-prof.out.
35461 (tst-gmon.out): Depend on clean-tst-gmon-data.
35462 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
35463 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
35464 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
35466 * aclocal.m4 (GPROF): Set and substitute.
35467 * config.amke.in (GPROF): Set.
35468 * configure: Regenerate.
35470 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
35472 * elf/elf.h A (NT_PPC_TAR): New macro.
35473 (NT_PPC_PPR): Likewise.
35474 (NT_PPC_DSCR): Likewise.
35475 (NT_PPC_EBB): Likewise.
35476 (NT_PPC_PMU): Likewise.
35477 (NT_PPC_TM_CGPR): Likewise.
35478 (NT_PPC_TM_CFPR): Likewise.
35479 (NT_PPC_TM_CVMX): Likewise.
35480 (NT_PPC_TM_CVSX): Likewise.
35481 (NT_PPC_TM_SPR): Likewise.
35482 (NT_PPC_TM_CTAR): Likewise.
35483 (NT_PPC_TM_CPPR): Likewise.
35484 (NT_PPC_TM_CDSCR): Likewise.
35486 2017-08-15 Florian Weimer <fweimer@redhat.com>
35488 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
35489 regparm (2) instead of internal_function.
35490 (_MCOUNT_DECL): Adjust.
35492 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
35494 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
35495 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
35497 2017-08-14 Joseph Myers <joseph@codesourcery.com>
35499 * conform/data/sys/wait.h-data (si_value): Do not expect for
35502 2017-08-14 Florian Weimer <fweimer@redhat.com>
35505 NSS: Create stubs for accidentally exported lookup functions.
35506 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
35507 Remove declaration.
35508 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
35509 (ether_hostton): Call __nss_ethers_lookup2 instead.
35510 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
35511 (ether_ntohost): Call __nss_ethers_lookup2 instead.
35512 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
35513 (setup): Call __nss_netgroup_lookup2 instead.
35514 * nss/Makefile (routines): Add compat-lookup.
35515 * nss/Versions (GLIBC_2.27): Add symbol version.
35516 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
35517 (DB_COMPAT_FCT): Remove.
35518 * nss/compat-lookup.c: New file.
35519 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
35520 from databases.def.
35521 * nss/service-lookup.c (NO_COMPAT): Remove definition.
35522 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
35523 (netname2user): Call __nss_publickey_lookup2 instead.
35524 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
35525 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
35528 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35529 Sergei Trofimovich <slyfox@inbox.ru>
35532 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
35533 Rename to MMAP2_PAGE_UNIT.
35534 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
35535 __OFF_T_MATCHES_OFF64_T is not defined.
35536 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
35538 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
35539 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
35541 2017-08-14 Florian Weimer <fweimer@redhat.com>
35543 i386: Do not set internal_function.
35544 * config.h.in (USE_REGPARMS, internal_function): Remove.
35545 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
35546 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
35548 2017-08-14 Florian Weimer <fweimer@redhat.com>
35550 * elf/dl-init.c (_dl_init): Remove internal_function.
35551 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
35552 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
35554 2017-08-14 Florian Weimer <fweimer@redhat.com>
35556 * elf/rtld.c (_dl_start): Remove internal_function.
35557 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
35560 2017-08-14 Florian Weimer <fweimer@redhat.com>
35562 * elf/dl-fini.c (_dl_fini): Remove internal_function
35563 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
35565 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
35567 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
35568 (bit_cpu_SHSTK): Likewise.
35569 (index_cpu_IBT): Likewise.
35570 (index_cpu_SHSTK): Likewise.
35571 (reg_IBT): Likewise.
35572 (reg_SHSTK): Likewise.
35573 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
35574 Handle index_cpu_IBT and index_cpu_SHSTK.
35576 2017-08-14 Mike FABIAN <mfabian@redhat.com>
35579 * po/fr.po: Fix spelling mistake.
35581 2017-08-13 Florian Weimer <fweimer@redhat.com>
35583 * elf/dl-addr.c (_dl_addr): Remove internal_function.
35584 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
35585 (_dl_catch_error, _dl_receive_error): Likewise.
35586 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
35587 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
35588 (_dl_deallocate_tls): Likewise.
35589 * include/dlfcn.h (_dl_addr): Likewise.
35590 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
35591 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
35592 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
35595 2017-08-13 Florian Weimer <fweimer@redhat.com>
35597 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
35598 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
35600 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
35602 2017-08-13 Florian Weimer <fweimer@redhat.com>
35604 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
35606 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
35607 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
35608 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
35609 internal_function from _dl_make_stack_executable_hook member.
35610 (_dl_make_stack_executable): Remove internal_function.
35611 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
35613 * sysdeps/unix/sysv/linux/dl-execstack.c
35614 (_dl_make_stack_executable): Likewise.
35616 2017-08-13 Florian Weimer <fweimer@redhat.com>
35618 * sysdeps/unix/sysv/linux/netlinkaccess.h
35619 (__netlink_assert_response): Remove internal_function.
35620 * sysdeps/unix/sysv/linux/netlink_assert_response.c
35621 (__netlink_assert_response): Likewise.
35623 2017-08-13 Florian Weimer <fweimer@redhat.com>
35625 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
35627 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
35629 2017-08-13 Florian Weimer <fweimer@redhat.com>
35631 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
35633 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
35634 * inet/netgroup.h (__internal_setnetgrent)
35635 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35636 * inet/getnetgrent_r.c (__internal_setnetgrent)
35637 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
35638 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
35639 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
35640 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
35641 * nss/nsswitch.h (db_lookup_function): Likewise.
35643 2017-08-13 Florian Weimer <fweimer@redhat.com>
35645 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
35646 Remove internal_function.
35647 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
35648 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
35649 message argument on the stack.
35650 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
35653 2017-08-12 Mike FABIAN <mfabian@redhat.com>
35655 Adapt test case data to the changes in the thousands
35659 * localedata/tst-langinfo.sh: Adapt test case data.
35660 * stdlib/tst-strfmon_l.c: Likewise.
35661 * stdlib/tst-strtod4.c: Likewise.
35662 * stdlib/tst-strtod5i.c: Likewise.
35664 2017-08-11 Florian Weimer <fweimer@redhat.com>
35667 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
35668 Suppress pedantic warning resulting from statement expression.
35669 (__ASSERT_FUNCTION): Add missing __extension__.
35671 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
35673 * benchtests/bench-memmove-large.c: Print output in JSON
35675 * benchtests/bench-memmove.c: Likewise.
35677 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
35678 * benchtests/bench-memchr.c (do_one_test): Likewise.
35679 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
35680 * benchtests/bench-memcpy.c (do_one_test): Likewise.
35681 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
35682 * benchtests/bench-memmove.c (do_one_test): Likewise.
35683 * benchtests/bench-memset-large.c (do_one_test): Likewise.
35684 * benchtests/bench-memset.c (do_one_test): Likewise.
35685 * benchtests/bench-string.h (test_init): Remove memsets.
35687 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35690 (Computing the Width of an Integer Data Type): Rename section to
35691 "Width of an Integer Type". Remove inaccurate statement regarding
35692 lack of C language facilities for determining width of integer
35693 types, and reorder content to improve flow and context of
35696 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
35698 * lang.texi (va_copy): Change standard from ISO to C99.
35699 (__va_copy): Add standard and header annotation.
35700 Update description for clarity of origins and current use.
35702 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35705 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
35706 xssqrtqp requires operands to be in Vector Registers
35707 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
35708 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
35709 (__ieee754_sqrtf128): Likewise.
35711 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
35713 * sysdeps/aarch64/memcmp.S (memcmp):
35714 Rewrite of optimized memcmp.
35716 2017-08-10 Florian Weimer <fweimer@redhat.com>
35718 Introduce ld.so exceptions.
35719 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
35720 (_dl_exception_create, _dl_exception_create_format)
35721 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
35722 (_dl_catch_exception): Declare.
35723 (_dl_catch_error): Update comment.
35724 * elf/dl-error-skeleton.c (struct catch): Replace objname,
35725 errstring, malloced members with exception member.
35726 (_dl_out_of_memory): Remove.
35727 (fatal_error): New function, extracted from _dl_signal_error.
35728 (_dl_signal_exception, _dl_signal_cexception): New functions.
35729 (_dl_signal_error): Call _dl_exception_create to allocate an
35731 (_dl_catch_exception): New function, based on _dl_catch_error.
35732 (_dl_catch_error): Implement using _dl_catch_exception.
35733 * elf/dl-exception.c: New file.
35734 * elf/Makefile (dl-routines): Add dl-exception.
35735 (elide-routines.os): Likewise.
35736 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
35737 _dl_exception_create_format, _dl_exception_free.
35738 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
35739 _dl_signal_exception.
35740 * elf/dl-lookup.c (make_string): Remove.
35741 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
35742 _dl_signal_cexception, _dl_exception_free.
35743 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
35744 _dl_signal_exception.
35745 * elf/dl-sym.c (do_sym): Likewise.
35746 * elf/dl-version.c (make_string): Remove.
35747 (match_symbol): Use _dl_exception_create_format,
35748 _dl_signal_cexception, _dl_exception_free.
35749 (_dl_check_map_versions): Likewise.
35750 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
35751 _dl_catch_exception.
35752 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
35753 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
35754 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
35755 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
35756 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
35757 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
35758 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
35759 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
35761 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
35762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
35764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
35766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
35768 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
35769 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
35770 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
35772 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
35774 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
35776 2017-08-10 Florian Weimer <fweimer@redhat.com>
35778 * inet/net-internal.h (__inet6_scopeid_pton): Remove
35779 attribute_hidden, internal_function.
35780 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
35783 2017-08-10 Florian Weimer <fweimer@redhat.com>
35785 * malloc/malloc.c (get_max_fast): Reimplement as an inline
35786 function which calls __builtin_unreachable.
35788 2017-08-10 Mike FABIAN <mfabian@redhat.com>
35790 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
35791 Indian monetary formatting
35792 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
35795 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
35797 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
35798 Fix typo in comment.
35801 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
35802 PTRACE_SEIZE_DEVEL): Remove.
35803 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
35804 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35805 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35806 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35807 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35809 2017-08-09 Joseph Myers <joseph@codesourcery.com>
35811 * posix/bits/types.h (__qaddr_t): Remove.
35814 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
35815 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35817 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
35818 (ucontext_t): Use __ctx with uc_flags.
35819 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
35820 (__ctxt): Likewise.
35821 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35823 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
35824 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35826 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
35827 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35829 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
35831 (ucontext_t): Use __ctx with uc_flags.
35832 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
35833 (ucontext_t): Use __ctx with uc_flags.
35834 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
35835 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
35836 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
35837 (ucontext_t): Use __ctx with uc_flags.
35838 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
35839 undefine further down.
35840 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
35842 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
35843 undefine further down.
35844 (ucontext_t): Use __ctx with uc_flags.
35845 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
35846 undefine further down.
35847 (ucontext_t): Use __ctx with uc_flags.
35848 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
35849 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
35850 Rename uc_pad to __glibc_reserved1.
35851 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
35852 undefine further down.
35853 (ucontext_t): Use __ctx with uc_flags.
35854 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
35856 (ucontext_t): Use __ctx with uc_flags.
35857 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
35858 __ctx with uc_flags.
35859 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
35860 (ucontext_t): Use __ctx with uc_flags.
35861 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
35862 __ctx with uc_flags.
35864 2017-08-09 Florian Weimer <fweimer@redhat.com>
35867 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
35868 before early return.
35870 2017-08-09 Andreas Schwab <schwab@suse.de>
35873 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
35877 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
35878 tst-compat-forwarder.
35879 (modules-names): Add tst-compat-forwarder-mod.
35880 ($(objpfx)tst-compat-forwarder): Depend on
35881 $(objpfx)tst-compat-forwarder-mod.so.
35882 * nptl/tst-compat-forwarder.c: New file.
35883 * nptl/tst-compat-forwarder-mod.c: New file.
35885 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
35887 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
35890 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
35891 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
35893 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
35895 (__libc_ifunc_impl_list): Add __memcpy_falkor.
35896 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
35897 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
35898 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
35900 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
35903 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35906 * manual/setjmp.texi (getcontex): Document uc_stack value
35907 compatibility differences.
35909 2017-08-08 Joseph Myers <joseph@codesourcery.com>
35911 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
35912 (old_malloc_hook): Likewise.
35913 (old_memalign_hook): Likewise.
35914 (old_realloc_hook): Likewise.
35915 (struct hdr): Likewise.
35917 (freehook): Likewise.
35918 (mallochook): Likewise.
35919 (memalignhook): Likewise.
35920 (reallochook): Likewise.
35921 (mprobe): Likewise.
35922 * malloc/mtrace.c (mallwatch): Likewise.
35923 (tr_old_free_hook): Likewise.
35924 (tr_old_malloc_hook): Likewise.
35925 (tr_old_realloc_hook): Likewise.
35926 (tr_old_memalign_hook): Likewise.
35927 (tr_where): Likewise.
35928 (lock_and_info): Likewise.
35929 (tr_freehook): Likewise.
35930 (tr_mallochook): Likewise.
35931 (tr_reallochook): Likewise.
35932 (tr_memalignhook): Likewise.
35933 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
35934 * misc/mmap.c (__mmap): Likewise.
35935 * misc/mmap64.c (__mmap64): Likewise.
35936 * misc/mprotect.c (__mprotect): Likewise.
35937 * misc/msync.c (msync): Likewise.
35938 * misc/munmap.c (__munmap): Likewise.
35939 * posix/posix_madvise.c (posix_madvise): Likewise.
35940 * socket/send.c (__send): Likewise.
35941 * socket/sendto.c (__sendto): Likewise.
35942 * socket/setsockopt.c (__setsockopt): Likewise.
35943 * string/memcmp.c (__ptr_t): Remove macro.
35944 (MEMCMP): Use void * instead of ptr_t.
35945 * string/memrchr.c (__ptr_t): Remove macro.
35946 (__memrchr): Use void * instead of ptr_t.
35947 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
35948 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
35949 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
35950 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
35951 * sysdeps/mach/msync.c (msync): Likewise.
35952 * sysdeps/mach/munmap.c (__munmap): Likewise.
35953 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
35955 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35956 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
35957 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
35958 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
35959 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
35960 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35961 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
35962 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
35964 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35965 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
35966 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
35967 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
35968 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
35969 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
35970 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
35971 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
35972 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
35974 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
35975 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
35976 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
35977 (MEMCMP): Use void * instead of ptr_t.
35978 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
35979 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
35981 2017-08-08 Florian Weimer <fweimer@redhat.com>
35983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
35986 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
35989 * csu/libc-tls.c: Include <startup.h> first.
35990 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
35991 * elf/dl-tunables.c: Include <startup.h> first.
35992 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
35993 * sysdeps/generic/startup.h: New file.
35994 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
35995 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
35996 (I386_USE_SYSENTER): New. Defined to 0.
35998 2017-08-08 Andreas Schwab <schwab@suse.de>
36001 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
36002 * nptl/pt-system.c (system): Likewise.
36004 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36007 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
36009 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
36010 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
36011 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
36012 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
36013 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
36014 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
36015 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
36017 2017-08-07 Joseph Myers <joseph@codesourcery.com>
36020 * bits/sigaction.h (struct sigaction): Define sa_handler and
36021 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
36022 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36023 [__USE_XOPEN_EXTENDED].
36024 (SA_RESTART): Likewise.
36025 (SA_NODEFER): Likewise.
36026 (SA_RESETHAND): Likewise.
36027 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
36028 (struct sigaction): Define sa_handler and sa_sigaction using union
36029 also for [__USE_XOPEN_EXTENDED].
36030 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36031 [__USE_XOPEN_EXTENDED].
36032 (SA_RESTART): Likewise.
36033 (SA_NODEFER): Likewise.
36034 (SA_RESETHAND): Likewise.
36035 * sysdeps/unix/sysv/linux/bits/sigaction.h
36036 (struct sigaction): Define sa_handler and sa_sigaction using union
36037 also for [__USE_XOPEN_EXTENDED].
36038 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36039 [__USE_XOPEN_EXTENDED].
36040 (SA_RESTART): Likewise.
36041 (SA_NODEFER): Likewise.
36042 (SA_RESETHAND): Likewise.
36043 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
36044 (struct sigaction): Define sa_handler and sa_sigaction using union
36045 also for [__USE_XOPEN_EXTENDED].
36046 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36047 [__USE_XOPEN_EXTENDED].
36048 (SA_RESTART): Likewise.
36049 (SA_NODEFER): Likewise.
36050 (SA_RESETHAND): Likewise.
36051 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
36052 (struct sigaction): Define sa_handler and sa_sigaction using union
36053 also for [__USE_XOPEN_EXTENDED].
36054 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36055 [__USE_XOPEN_EXTENDED].
36056 (SA_RESTART): Likewise.
36057 (SA_NODEFER): Likewise.
36058 (SA_RESETHAND): Likewise.
36059 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
36060 (struct sigaction): Define sa_handler and sa_sigaction using union
36061 also for [__USE_XOPEN_EXTENDED].
36062 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36063 [__USE_XOPEN_EXTENDED].
36064 (SA_RESTART): Likewise.
36065 (SA_NODEFER): Likewise.
36066 (SA_RESETHAND): Likewise.
36067 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36068 (struct sigaction): Define sa_handler and sa_sigaction using union
36069 also for [__USE_XOPEN_EXTENDED].
36070 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36071 [__USE_XOPEN_EXTENDED].
36072 (SA_RESTART): Likewise.
36073 (SA_NODEFER): Likewise.
36074 (SA_RESETHAND): Likewise.
36075 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36076 (struct sigaction): Define sa_handler and sa_sigaction using union
36077 also for [__USE_XOPEN_EXTENDED].
36078 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36079 [__USE_XOPEN_EXTENDED].
36080 (SA_RESTART): Likewise.
36081 (SA_NODEFER): Likewise. Define directly rather than as alias.
36082 (SA_RESETHAND): Likewise.
36083 (SA_INTERRUPT): Define only for [__USE_MISC].
36084 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
36085 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
36087 (SA_STACK): Define only for [__USE_MISC].
36088 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
36089 (struct sigaction): Define sa_handler and sa_sigaction using union
36090 also for [__USE_XOPEN_EXTENDED].
36091 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36092 [__USE_XOPEN_EXTENDED].
36093 (SA_RESTART): Likewise.
36094 (SA_NODEFER): Likewise.
36095 (SA_RESETHAND): Likewise.
36096 (SA_NOPTRACE): Define only for [__USE_MISC].
36098 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
36099 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
36100 (struct catalog_info): Likewise.
36101 * inet/htontest.c (lo): Likewise.
36103 * inet/inet_lnaof.c (inet_lnaof): Likewise.
36104 * inet/inet_net.c (inet_network): Likewise.
36105 * inet/inet_netof.c (inet_netof): Likewise.
36106 * inet/rcmd.c (__ivaliduser): Likewise.
36107 (iruserok): Likewise.
36108 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
36109 * locale/programs/locale-spec.c (locale_special): Likewise.
36110 * nis/nis_findserv.c (struct findserv_req): Likewise.
36111 (__nis_findfastest_with_timeout): Likewise.
36112 * nss/test-netdb.c (test_network): Likewise.
36113 * resolv/inet_neta.c (inet_neta): Likewise.
36114 * resolv/ns_date.c (ns_datetosecs): Likewise.
36115 (SECS_PER_DAY): Likewise.
36116 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
36118 * resolv/res_comp.c (__putlong): Likewise.
36119 (__putshort): Likewise.
36120 (_getlong): Likewise.
36121 (_getshort): Likewise.
36122 * resolv/res_debug.c (p_time): Likewise.
36123 (precsize_ntoa): Likewise.
36124 (precsize_aton): Likewise.
36125 (latlon2ul): Likewise.
36126 (loc_aton): Likewise.
36127 (loc_ntoa): Likewise.
36128 * resolv/res_hconf.c (struct netaddr): Likewise.
36129 (_res_hconf_reorder_addrs): Likewise.
36130 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
36131 (clnttcp_control): Likewise.
36132 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36133 (clntudp_control): Likewise.
36134 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
36135 (clntunix_control): Likewise.
36136 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
36137 * sunrpc/rpc/auth.h (union des_block): Likewise.
36138 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
36139 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
36140 (xdrrec_create): Likewise.
36141 (xdrrec_endofrecord): Likewise.
36142 (flush_out): Likewise.
36143 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
36144 (xdrstdio_putlong): Likewise.
36145 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
36148 * misc/sys/cdefs.h (__long_double_t): Remove.
36149 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
36150 instead of __long_double_t,
36151 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
36153 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
36155 * benchtests/scripts/compare_strings.py: Avoid display error when
36156 running on a text terminal.
36158 * benchtests/scripts/compare_strings.py (main): Add an
36159 optional -base option.
36160 (process_results): New argument base_func.
36162 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
36164 * benchtests/bench-memcpy-large.c (test_name): Likewise.
36165 * benchtests/bench-memcpy-random.c (test_name): Likewise.
36167 2017-08-07 Andreas Schwab <schwab@suse.de>
36169 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
36170 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36171 * intl/Makefile ($(objpfx)tst-gettext.out)
36172 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
36173 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
36174 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36175 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36176 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
36177 * posix/Makefile ($(objpfx)globtest.out)
36178 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
36179 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
36180 ($(objpfx)tst-printf.out): Likewise.
36181 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
36182 ($(objpfx)tst-setcontext3.out): Likewise.
36184 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
36186 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36187 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
36188 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
36189 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
36190 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
36192 (CFLAGS-doasin-fma.c): New.
36193 (CFLAGS-dosincos-fma.c): Likewise.
36194 (CFLAGS-e_asin-fma.c): Likewise.
36195 (CFLAGS-e_atan2-fma.c): Likewise.
36196 (CFLAGS-e_exp-fma.c): Likewise.
36197 (CFLAGS-e_log-fma.c): Likewise.
36198 (CFLAGS-e_pow-fma.c): Likewise.
36199 (CFLAGS-halfulp-fma.c): Likewise.
36200 (CFLAGS-mpa-fma.c): Likewise.
36201 (CFLAGS-mpatan-fma.c): Likewise.
36202 (CFLAGS-mpatan2-fma.c): Likewise.
36203 (CFLAGS-mpexp-fma.c): Likewise.
36204 (CFLAGS-mplog-fma.c): Likewise.
36205 (CFLAGS-mpsqrt-fma.c): Likewise.
36206 (CFLAGS-mptan-fma.c): Likewise.
36207 (CFLAGS-s_atan-fma.c): Likewise.
36208 (CFLAGS-sincos32-fma.c): Likewise.
36209 (CFLAGS-slowexp-fma.c): Likewise.
36210 (CFLAGS-slowpow-fma.c): Likewise.
36211 (CFLAGS-s_sin-fma.c): Likewise.
36212 (CFLAGS-s_tan-fma.c): Likewise.
36213 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
36214 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
36215 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
36216 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
36217 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
36218 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
36219 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
36220 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
36221 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
36222 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
36223 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
36224 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
36225 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
36226 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
36227 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
36228 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
36229 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
36230 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
36231 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
36232 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
36233 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
36234 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
36235 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
36236 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
36237 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36238 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36239 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36240 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
36241 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36242 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36243 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36245 2017-08-04 Joseph Myers <joseph@codesourcery.com>
36247 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
36248 (min_of_type_f): New macro.
36249 (min_of_type_): Likewise.
36250 (min_of_type_l): Likewise.
36251 (min_of_type_f128): Likewise.
36252 (min_of_type): Define using __MATH_TG and taking an expression
36254 (math_check_force_underflow): Pass expression instead of type to
36256 (math_check_force_underflow_nonneg): Likewise.
36258 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36260 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
36261 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
36262 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
36264 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36267 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
36268 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
36269 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
36270 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
36271 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
36272 memcpy_chk-nonshared, mempcpy_chk-nonshared,
36273 memmove_chk-nonshared and memset_chk-nonshared
36274 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
36275 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
36276 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
36277 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
36278 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
36279 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
36280 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
36281 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
36282 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
36283 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
36284 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
36285 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
36286 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
36287 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
36288 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
36289 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
36290 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
36291 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
36292 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
36293 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
36294 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
36295 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
36296 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
36297 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
36298 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
36299 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
36300 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
36301 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
36302 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
36303 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
36304 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
36305 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
36306 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
36307 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
36308 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
36309 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
36310 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
36311 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
36312 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
36313 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
36314 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
36315 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
36316 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
36317 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
36318 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
36319 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
36320 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
36321 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
36322 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
36323 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
36324 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
36325 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
36326 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
36327 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
36328 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
36329 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
36330 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
36331 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
36332 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
36333 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
36334 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
36335 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
36336 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
36337 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
36338 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
36339 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
36340 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
36341 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
36342 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
36343 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
36344 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
36345 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36346 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36347 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36348 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36349 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36350 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36351 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36352 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36353 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36354 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36355 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36356 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36357 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36358 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36359 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36360 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36361 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36362 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36363 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36364 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36365 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36366 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36367 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36368 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36369 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36370 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36371 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36372 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36373 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36374 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36375 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36376 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36377 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36378 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36379 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36380 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36381 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36383 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36385 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
36386 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
36387 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
36388 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
36389 svml_d_log2_core-sse2, svml_d_log4_core-sse,
36390 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
36391 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
36392 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
36393 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
36394 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
36395 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
36396 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
36397 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
36398 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
36399 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
36400 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
36401 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
36402 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
36403 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
36404 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
36405 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
36406 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
36407 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
36408 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
36409 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
36410 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
36411 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
36412 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
36413 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
36414 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
36415 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
36416 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
36417 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
36418 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
36419 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
36420 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
36421 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
36422 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
36423 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
36424 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
36425 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
36426 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
36427 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
36428 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
36429 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
36430 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
36431 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
36432 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
36433 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
36434 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
36435 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
36436 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
36437 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
36438 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
36439 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
36440 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
36441 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
36442 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
36443 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
36445 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
36446 Don't include <sysdep.h> nor <init-arch.h>.
36447 (_ZGVbN2v_cos): Removed.
36448 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
36450 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
36451 Don't include <sysdep.h> nor <init-arch.h>.
36452 (_ZGVdN4v_cos): Removed.
36453 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
36455 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
36456 Don't include <sysdep.h> nor <init-arch.h>.
36457 (_ZGVeN8v_cos): Removed.
36458 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
36460 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
36461 Don't include <sysdep.h> nor <init-arch.h>.
36462 (_ZGVbN2v_exp): Removed.
36463 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
36465 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
36466 Don't include <sysdep.h> nor <init-arch.h>.
36467 (_ZGVdN4v_exp): Removed.
36468 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
36470 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
36471 Don't include <sysdep.h> nor <init-arch.h>.
36472 (_ZGVeN8v_exp): Removed.
36473 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
36475 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
36476 Don't include <sysdep.h> nor <init-arch.h>.
36477 (_ZGVbN2v_log): Removed.
36478 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
36480 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
36481 Don't include <sysdep.h> nor <init-arch.h>.
36482 (_ZGVdN4v_log): Removed.
36483 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
36485 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
36486 Don't include <sysdep.h> nor <init-arch.h>.
36487 (_ZGVeN8v_log): Removed.
36488 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
36490 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
36491 Don't include <sysdep.h> nor <init-arch.h>.
36492 (_ZGVbN2vv_pow): Removed.
36493 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
36495 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
36496 Don't include <sysdep.h> nor <init-arch.h>.
36497 (_ZGVdN4vv_pow): Removed.
36498 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
36500 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
36501 Don't include <sysdep.h> nor <init-arch.h>.
36502 (_ZGVeN8vv_pow): Removed.
36503 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
36505 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
36506 Don't include <sysdep.h> nor <init-arch.h>.
36507 (_ZGVbN2v_sin): Removed.
36508 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
36510 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
36511 Don't include <sysdep.h> nor <init-arch.h>.
36512 (_ZGVbN4v_sin): Removed.
36513 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
36515 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
36516 Don't include <sysdep.h> nor <init-arch.h>.
36517 (_ZGVbN8v_sin): Removed.
36518 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
36520 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
36521 Don't include <sysdep.h> nor <init-arch.h>.
36522 (_ZGVbN2vvv_sincos): Removed.
36523 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
36525 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
36526 Don't include <sysdep.h> nor <init-arch.h>.
36527 (_ZGVdN4vvv_sincos): Removed.
36528 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
36530 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
36531 Don't include <sysdep.h> nor <init-arch.h>.
36532 (_ZGVeN8vvv_sincos): Removed.
36533 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
36535 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
36536 Don't include <sysdep.h> nor <init-arch.h>.
36537 (_ZGVeN16v_cosf): Removed.
36538 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
36540 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
36541 Don't include <sysdep.h> nor <init-arch.h>.
36542 (_ZGVbN4v_cosf): Removed.
36543 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
36545 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
36546 Don't include <sysdep.h> nor <init-arch.h>.
36547 (_ZGVdN8v_cosf): Removed.
36548 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
36550 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
36551 Don't include <sysdep.h> nor <init-arch.h>.
36552 (_ZGVeN16v_expf): Removed.
36553 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
36555 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
36556 Don't include <sysdep.h> nor <init-arch.h>.
36557 (_ZGVbN4v_expf): Removed.
36558 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
36560 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
36561 Don't include <sysdep.h> nor <init-arch.h>.
36562 (_ZGVdN8v_expf): Removed.
36563 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
36565 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
36566 Don't include <sysdep.h> nor <init-arch.h>.
36567 (_ZGVeN16v_logf): Removed.
36568 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
36570 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
36571 Don't include <sysdep.h> nor <init-arch.h>.
36572 (_ZGVbN4v_logf): Removed.
36573 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
36575 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
36576 Don't include <sysdep.h> nor <init-arch.h>.
36577 (_ZGVdN8v_logf): Removed.
36578 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
36580 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
36581 Don't include <sysdep.h> nor <init-arch.h>.
36582 (_ZGVeN16vv_powf): Removed.
36583 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
36585 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
36586 Don't include <sysdep.h> nor <init-arch.h>.
36587 (_ZGVbN4vv_powf): Removed.
36588 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
36590 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
36591 Don't include <sysdep.h> nor <init-arch.h>.
36592 (_ZGVdN8vv_powf): Removed.
36593 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
36595 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
36596 Don't include <sysdep.h> nor <init-arch.h>.
36597 (_ZGVeN16vvv_sincosf): Removed.
36598 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
36600 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
36601 Don't include <sysdep.h> nor <init-arch.h>.
36602 (_ZGVbN4vvv_sincosf): Removed.
36603 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
36605 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
36606 Don't include <sysdep.h> nor <init-arch.h>.
36607 (_ZGVdN8vvv_sincosf): Removed.
36608 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
36610 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
36611 Don't include <sysdep.h> nor <init-arch.h>.
36612 (_ZGVeN16v_sinf): Removed.
36613 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
36615 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
36616 Don't include <sysdep.h> nor <init-arch.h>.
36617 (_ZGVbN4v_sinf): Removed.
36618 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
36620 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
36621 Don't include <sysdep.h> nor <init-arch.h>.
36622 (_ZGVdN8v_sinf): Removed.
36624 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36626 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36627 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
36628 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
36629 s_rint-sse4_1 and s_rintf-sse4_1.
36630 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
36631 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
36632 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
36633 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
36634 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
36635 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
36636 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
36637 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
36638 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
36639 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
36640 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
36641 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36643 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
36644 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
36645 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36646 (__ceilf): Removed.
36647 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
36648 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
36649 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36650 (__floor): Removed.
36651 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
36652 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
36653 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36654 (__floorf): Removed.
36655 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
36656 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
36657 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36658 (__nearbyint): Removed.
36659 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
36660 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
36661 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36662 (__nearbyintf): Removed.
36663 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
36664 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
36665 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36667 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
36668 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
36669 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
36670 (__rintf): Removed.
36672 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36674 * sysdeps/i386/start.S (_start): Check Check PIC instead of
36675 SHARED. Avoid dynamic relocation against main in static PIE.
36677 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36680 * elf/Makefile (CFLAGS-tst-prelink.c): New.
36681 (LDFLAGS-tst-prelink): Likewise.
36683 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36685 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
36686 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
36687 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
36688 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
36689 (INTERNAL_SYSCALL_NCS): Likewise.
36690 (LOADARGS_1): Likewise.
36691 (LOADARGS_5): Likewise.
36692 (RESTOREARGS_1): Likewise.
36693 (RESTOREARGS_5): Likewise.
36695 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36697 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
36698 (MEMPCPY_SYMBOL): Likewise.
36699 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36700 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
36701 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
36703 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36704 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
36706 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
36707 (__hidden_ver1): Don't use in libc.a.
36708 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
36709 (__mempcpy): Don't create a weak alias in libc.a.
36710 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
36712 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
36713 (__hidden_ver1): Don't use in libc.a.
36715 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36717 * config.make.in (have-insert): New.
36718 * configure.ac (libc_cv_insert): New. Set to yes if linker
36719 supports INSERT in linker script.
36720 (AC_SUBST(libc_cv_insert): New.
36721 * configure: Regenerated.
36722 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
36723 if $(have-insert) == yes.
36725 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36727 * elf/Makefile (tests): Add vismain only if
36728 $(have-protected-data) == yes.
36729 (tests-pie): Likewise.
36731 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36734 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
36735 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
36737 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36740 * sysdeps/i386/i586/memset.S
36741 (__memset_zero_constant_len_parameter): Removed.
36742 * sysdeps/i386/i686/memset.S
36743 (__memset_zero_constant_len_parameter): Likewise.
36744 * sysdeps/i386/i686/multiarch/memset_chk.S
36745 (__memset_zero_constant_len_parameter): Likewise.
36746 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
36749 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36751 * stdlib/getentropy.c (getentropy): Change return type to int.
36753 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
36755 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
36757 2017-08-03 Joseph Myers <joseph@codesourcery.com>
36759 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
36761 * math/s_nexttowardf.c (__nexttowardf): Likewise.
36762 * sysdeps/generic/math_private.h (ieee_double_shape_type):
36764 (ieee_float_shape_type): Likewise.
36765 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
36766 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
36767 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36768 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36769 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
36770 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
36771 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
36772 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36773 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
36775 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36776 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
36777 (__ieee754_yn): Likewise.
36778 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36779 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36780 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
36782 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36783 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
36784 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
36785 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
36786 (__erfc): Likewise.
36787 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
36788 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
36789 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
36790 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
36791 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
36792 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
36794 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
36795 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
36796 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
36797 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
36798 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36799 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
36800 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
36801 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
36802 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
36803 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
36804 (__issignaling): Likewise.
36805 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
36806 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
36807 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
36809 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36810 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
36811 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
36812 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
36814 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
36816 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
36817 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
36818 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
36819 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
36820 (__erfcf): Likewise.
36821 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
36822 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
36823 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
36824 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
36826 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
36827 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
36829 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
36830 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
36831 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
36832 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
36833 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
36834 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36835 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
36836 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
36838 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
36840 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
36842 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
36843 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
36845 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36847 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
36848 (__ieee754_ynl): Likewise.
36849 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
36850 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
36852 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
36854 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
36855 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
36856 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36858 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
36859 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
36860 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
36861 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
36862 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
36863 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
36864 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
36865 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
36867 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
36868 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
36869 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
36871 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
36872 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
36873 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
36874 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
36875 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
36876 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36878 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36880 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36882 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36884 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
36885 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36886 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36887 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
36888 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
36889 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
36890 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
36892 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36894 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36895 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36897 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
36898 (__ieee754_remainderl): Likewise.
36899 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36900 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36901 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36902 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36904 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36905 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36907 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36908 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
36909 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
36910 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
36911 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36912 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36914 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
36915 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
36916 (__ieee754_y0l): Likewise.
36919 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36920 (__ieee754_y1l): Likewise.
36923 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
36924 (__ieee754_ynl): Likewise.
36925 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
36926 (__ieee754_lgammal_r): Likewise.
36927 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
36929 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
36930 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
36931 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
36932 (__erfcl): Likewise.
36933 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
36934 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
36936 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
36937 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
36938 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
36939 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
36940 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
36941 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36942 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36944 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
36945 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36946 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
36947 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
36948 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36950 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
36951 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
36953 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
36954 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
36955 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
36956 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36957 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
36959 2017-08-03 Florian Weimer <fweimer@redhat.com>
36962 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
36963 on memory allocation failure.
36965 2017-08-03 Alan Modra <amodra@gmail.com>
36967 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
36968 tst-tlsopt-powerpc.c with function name change and no test harness.
36969 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
36970 Call tls_get_addr_opt_test.
36971 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
36972 (modules-names): Add mod-tlsopt-powerpc.
36973 (mod-tlsopt-powerpc.so-no-z-defs): Define.
36974 (tst-tlsopt-powerpc): Depend on .so.
36975 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
36976 define. Expand use in TLS_GD and TLS_LD.
36978 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36980 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
36982 * sysdeps/posix/shm_open.c: Include <pthread.h>.
36984 2017-08-02 Joseph Myers <joseph@codesourcery.com>
36987 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
36988 comparing size with that of double.
36989 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36990 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36991 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36992 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36993 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36994 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
36995 unsigned __int128 types.
36997 2017-08-02 Steve Ellcey <sellcey@cavium.com>
36999 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
37000 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
37001 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
37002 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
37003 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
37005 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37007 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
37009 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37011 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
37013 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37014 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37015 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37016 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37017 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37018 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37019 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37021 2017-08-02 Joseph Myers <joseph@codesourcery.com>
37024 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
37025 bit-field expressions passed to sizeof or typeof.
37026 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37027 (__TGMATH_F128): Likewise.
37028 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37029 (__TGMATH_CF128): Likewise.
37030 (__TGMATH_UNARY_REAL_ONLY): Likewise.
37031 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
37032 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
37033 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
37034 (__TGMATH_BINARY_REAL_ONLY): Likewise.
37035 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37036 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37037 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37038 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37039 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
37040 (__TGMATH_UNARY_REAL_IMAG): Likewise.
37041 (__TGMATH_UNARY_IMAG): Likewise.
37042 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
37043 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37044 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
37046 (define_vars_for_type): Handle bit_field type specially.
37047 (Tests.__init__): Declare structure with bit-field element.
37049 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37052 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
37053 (MEMCPY_CHK): Define only if SHARED is defined.
37054 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
37056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
37059 See ChangeLog.18 for earlier changes.