1 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
3 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
5 * sysdeps/x86_64/crti.S (_init): Likewise.
8 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11 * localedata/locales/os_RU (mon): Rename to...
13 (mon): Import from CLDR (genitive case).
15 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
17 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
18 cet-tunables.h> when CET is enabled.
20 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
23 * configure.ac: Add --enable-cet.
24 * configure: Regenerated.
25 * elf/Makefille (all-built-dso): Add a comment.
26 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
28 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
30 * elf/dl-open.c: Include <dl-prop.h>.
31 (dl_open_worker): Call _dl_open_check.
32 * elf/rtld.c: Include <dl-prop.h>.
33 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
35 * sysdeps/generic/dl-prop.h: New file.
36 * sysdeps/i386/dl-cet.c: Likewise.
37 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
38 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
39 * sysdeps/x86/cet-tunables.h: Likewise.
40 * sysdeps/x86/check-cet.awk: Likewise.
41 * sysdeps/x86/configure: Likewise.
42 * sysdeps/x86/configure.ac: Likewise.
43 * sysdeps/x86/dl-cet.c: Likewise.
44 * sysdeps/x86/dl-procruntime.c: Likewise.
45 * sysdeps/x86/dl-prop.h: Likewise.
46 * sysdeps/x86/libc-start.h: Likewise.
47 * sysdeps/x86/link_map.h: Likewise.
48 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
50 (_dl_runtime_profile): Likewise.
51 (_dl_runtime_resolve_shstk): New.
52 (_dl_runtime_profile_shstk): Likewise.
53 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
55 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
56 (CFLAGS-.os): Likewise.
57 (CFLAGS-.op): Likewise.
58 (CFLAGS-.oS): Likewise.
59 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
61 (tests-special): Add $(objpfx)check-cet.out.
63 (+$(cet-built-dso:=.note)): Likewise.
64 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
65 ($(objpfx)check-cet.out): New.
66 (generated): Add check-cet.out.
67 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
69 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
70 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
71 (init_cpu_features): Call get_cet_status to check CET status
72 and update dl_x86_feature_1 with CET status. Call
73 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
74 (set_x86_shstk). Disable and lock CET in libc.a.
75 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
76 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
77 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
78 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
79 (_CET_ENDBR): Define if not defined.
80 (ENTRY): Add _CET_ENDBR.
81 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
83 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
85 (_dl_runtime_profile): Likewise.
87 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
90 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
91 restore r2 on longjmp.
92 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
94 Added rules to build test tst-setjmp-bug21895-static.
95 Added module setjmp-bug21895 and rules to build a shared object from it.
96 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
97 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
99 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
101 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
102 * benchtests/bench-strstr.c: Likewise.
103 * string/memmem.c (FASTSEARCH): Define.
104 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
105 Add support for FASTSEARCH.
106 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
107 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
108 (FASTSEARCH): Define.
109 * string/test-strcasestr.c: Rename __strnlen to strnlen.
110 * string/test-strstr.c: Likewise.
112 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
114 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
115 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
117 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
118 H.J. Lu <hongjiu.lu@intel.com>
120 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
121 (__longjmp): Restore shadow stack pointer if shadow stack is
122 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
123 isn't defined for __longjmp_cancel.
124 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
125 (_setjmp): Save shadow stack pointer if shadow stack is enabled
126 and SHADOW_STACK_POINTER_OFFSET is defined.
127 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
128 (setjmp): Save shadow stack pointer if shadow stack is enabled
129 and SHADOW_STACK_POINTER_OFFSET is defined.
130 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
131 (__sigsetjmp): Save shadow stack pointer if shadow stack is
132 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
133 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
135 (____longjmp_chk): Restore shadow stack pointer if shadow stack
136 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
137 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
138 Remove jmp_buf-ssp.sym.
139 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
141 (____longjmp_chk): Restore shadow stack pointer if shadow stack
142 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
143 * sysdeps/x86/Makefile (gen-as-const-headers): Add
145 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
146 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
147 (__longjmp): Restore shadow stack pointer if shadow stack is
148 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
149 isn't defined for __longjmp_cancel.
150 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
151 (__sigsetjmp): Save shadow stack pointer if shadow stack is
152 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
154 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
157 * nptl/pthread_create.c: Include <tls-setup.h>.
158 (__pthread_create_2_1): Call tls_setup_tcbhead.
159 * sysdeps/generic/tls-setup.h: New file.
160 * sysdeps/x86/nptl/tls-setup.h: Likewise.
161 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
162 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
164 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
166 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
167 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
168 (X86_FEATURE_1_SHSTK): Likewise.
169 (CET_ENABLED): Likewise.
170 (IBT_ENABLED): Likewise.
171 (SHSTK_ENABLED): Likewise.
173 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
176 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
178 * localedata/dsb_DE.UTF-8.in: New file.
179 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
181 2018-07-12 Florian Weimer <fweimer@redhat.com>
183 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
184 __mprotect, not mprotect.
186 2018-07-11 Florian Weimer <fweimer@redhat.com>
188 * io/Makefile (headers): Add bits/statx.h.
190 2018-07-10 Mike FABIAN <mfabian@redhat.com>
192 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
193 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
195 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
196 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
199 2018-07-10 Florian Weimer <fweimer@redhat.com>
201 * io/Makefile (routines): Add statx.
202 (tests-internal): Add tst-statx.
203 * io/Versions (GLIBC_2.28): Export statx.
204 * io/bits/statx.h: New file.
205 * io/sys/stat.h [__USE_GNU]: Include it.
206 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
207 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
209 * io/statx.c: New file.
210 * io/statx_generic.: Likewise.
211 * io/tst-statx.: Likewise.
212 * include/bits/statx.h: Likewise.
213 * sysdeps/unix/sysv/linux/kernel-features.h
214 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
215 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
216 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
217 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
219 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
220 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
221 * sysdeps/unix/sysv/linux/statx.c: New file.
222 * manual/filesys.texi: Note that statx is undocumented.
223 * sysdeps/**/libc*.abilist: Update.
225 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
227 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
228 a kernel issue which lead to test failure in some cases.
230 2018-07-10 Florian Weimer <fweimer@redhat.com>
233 * posix/regexec.c (check_node_accept_bytes): When comparing
234 weights, do not compare an extra byte after the end of the
237 2018-07-10 Florian Weimer <fweimer@redhat.com>
239 * libio/readline.c: Fix copyright year.
240 * libio/tst-readline.c Likewise.
241 * nss/tst-nss-files-hosts-getent.c: Likewise.
243 2018-07-06 Florian Weimer <fweimer@redhat.com>
246 * nss/nss_files/files-XXX.c (internal_getent): Use
247 __libc_readline_unlocked. Seek back to the start of the line if
248 parsing failes with ERANGE.
249 (get_contents_ret, get_contents): Remove.
250 * nss/tst-nss-files-hosts-getent.c: New file.
251 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
252 (tst-nss-files-hosts-getent): Link with -ldl.
254 2018-07-06 Florian Weimer <fweimer@redhat.com>
256 * include/stdio.h (__libc_readline_unlocked): Declare.
257 (__ftello64, __fseeko64): Declare aliases.
258 * libio/readline.c: New file.
259 * libio/tst-readline.c: Likewise.
260 (routines): Add readline.
261 (tests-internal): Add tst-readlime.
262 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
263 __libc_readline_unlocked.
264 * libio/fseeko.c (__fseeko): Rename from fseeko.
266 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
267 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
268 (fseeko64): Add alias.
269 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
270 * libio/ftello64.c (__ftello64): Rename from ftello64.
271 (ftello64): Add alias.
273 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
275 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
278 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
280 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
281 Use dl_hwcap without masking.
282 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
285 2018-07-06 Florian Weimer <fweimer@redhat.com>
287 * conform/conformtest.pl (checknamespace): Escape literal braces
288 in regular expressions.
290 2018-07-06 Amit Pawar <amit.pawar@amd.com>
292 * sysdeps/x86/cpu-features.c (get_common_indeces):
293 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
294 * sysdeps/x86/cpu-features.c (init_cpu_features):
295 AVX_Fast_Unaligned_Load is disabled for Excavator core.
297 2018-07-05 Florian Weimer <fweimer@redhat.com>
299 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
301 (CFLAGS-elf-init.oS): Likewise.
303 2018-07-05 Florian Weimer <fweimer@redhat.com>
304 Carlos O'Donell <carlos@redhat.com>
306 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
307 $(no-stack-protector). stack_chk_fail_local.c can be compiled
308 with stack protector enabled because there is no risk of infinite
311 2018-07-05 Maciej W. Rozycki <macro@mips.com>
315 * libc-abis (ABSOLUTE): New ABI.
316 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
317 * NEWS: Mention the new ABI.
319 2018-07-05 Florian Weimer <fweimer@redhat.com>
322 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
323 (RENAME_WHITEOUT): Define.
324 [__USE_GNU] (renameat2): Declare.
325 * stdio-common/Makefile (routines): Add renameat2.
326 (tests): Add tst-renameat2.
327 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
328 * stdio-common/renameat2.c: New file.
329 * stdio-common/tst-renameat2.c: Likewise.
330 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
331 * manual/filesys.texi (Temporary Files): Note that renameat2 is
333 * sysdeps/unix/sysv/linux/kernel-features.h
334 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
335 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
336 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
337 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
338 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
339 * sysdeps/unix/sysv/linux/sh/kernel-features.h
340 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
341 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
342 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
343 * include/stdio.h (__renameat): Add alias for renameat.
344 * stdio-common/renameat.c (__renameat): Rename from renameat.
345 Add hidden definition and alias.
346 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
347 * sysdeps/mach/hurd/renameat.c: Likewise.
348 * sysdeps/**/libc*.abilist: Add renameat2.
350 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
352 * posix/bug-regex33.c: Fix build after regex sync.
354 2018-07-04 Carlos O'Donell <carlos@redhat.com>
357 * localedata/tst-langinfo-setlocale.c: New file.
358 * localedata/tst-langinfo-setlocale-static.c: New file.
359 * localedata/tst-langinfo-newlocale.c: New file.
360 * localedata/tst-langinfo-newlocale-static.c: New file.
361 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
362 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
363 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
364 (tests-static): Remove tst-langinfo-static. Add
365 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
366 (tests-special): Remove $(objpfx)tst-langinfo.out,
367 $(objpfx)tst-langinfo-static.out. Add
368 $(objpfx)tst-langinfo-setlocale.out,
369 $(objpfx)tst-langinfo-newlocale.out,
370 $(objpfx)tst-langinfo-setlocale-static.out,
371 $(objpfx)tst-langinfo-newlocale-static.out.
372 ($(objpfx)tst-langinfo.out): Remove.
373 ($(objpfx)tst-langinfo-static.out): Remove.
374 ($(objpfx)tst-langinfo-newlocale.out): New target.
375 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
376 (test-xfail-tst-langinfo-newlocale-static): Add.
377 ($(objpfx)tst-langinfo-setlocale.out): New target.
378 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
379 * localedata/tst-langinfo.c: Call test_locale.
380 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
383 2018-07-04 Florian Weimer <fweimer@redhat.com>
385 testrun.sh: Implement --tool=strace, --tool=valgrind
386 * Makefile (testrun-script): Define variable.
387 (testrun.sh): Use variable.
388 * manual/install.texi (Tools for Compilation): make 4.0 or later
390 * configure.ac: Check for make 4.0 or later.
391 * INSTALL: Regenerate.
392 * configure: Likewise.
394 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
400 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
401 * posix/PCRE.tests: Remove invalid test.
402 * posix/bug-regex28.c: Fix expected values for used syntax.
403 * posix/bug-regex37.c: New file.
404 * posix/bug-regex38.c: Likewise.
405 * posix/regcomp.c: Sync with gnulib.
406 * posix/regex.c: Likewise.
407 * posix/regex.h: Likewise.
408 * posix/regex_internal.c: Likewise.
409 * posix/regex_internal.h: Likewise.
410 * posix/regexec.c: Likewise.
412 2018-06-26 Mike FABIAN <mfabian@redhat.com>
415 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
416 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
417 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
418 * localedata/unicode-gen/PropList.txt: likewise.
419 * localedata/unicode-gen/UnicodeData.txt: likewise.
420 * localedata/charmaps/UTF-8: Regenerate.
421 * localedata/locales/i18n_ctype: likewise.
422 * localedata/locales/tr_TR: likewise.
423 * localedata/locales/translit_circle: likewise.
424 * localedata/locales/translit_cjk_compat: likewise.
425 * localedata/locales/translit_combining: likewise.
426 * localedata/locales/translit_compat: likewise.
427 * localedata/locales/translit_font: likewise.
428 * localedata/locales/translit_fraction: likewise.
430 2018-07-03 Florian Weimer <fweimer@redhat.com>
433 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
434 * stdio-common/tst-printf.sh: Adjust expected output.
437 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
439 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
442 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
444 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
445 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
446 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
447 * stdio-common/tst-printfsz-islongdouble.c: New file.
448 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
449 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
450 [subdir == stdio-common] (routines): Add ieee128-printf_size.
451 [subdir == stdio-common] (tests-internal): Add
452 test-printf-size-ieee128, and test-printf-size-ibm128.
453 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
454 (CFLAGS-test-printf-size-ibm128.c): New variables.
455 [subdir == stdio-common] (tests-special): Add
456 $(objpfx)test-printf-size-ieee128.out and
457 $(objpfx)test-printf-size-ibm128.out.
458 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
459 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
460 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
461 __printf_sizeieee128.
462 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
464 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
466 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
469 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
471 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
472 (exp2f_inline): Likewise.
473 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
474 (__math_uflowf): Likewise.
475 (__math_may_uflowf): Likewise.
476 (__math_divzerof): Likewise.
477 (__math_invalidf): Likewise.
478 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
479 (__math_oflowf): Likewise.
480 (__math_uflowf): Likewise.
481 (__math_may_uflowf): Likewise.
482 (__math_divzerof): Likewise.
483 (__math_invalidf): Likewise.
485 2018-06-29 DJ Delorie <dj@redhat.com>
486 Carlos O'Donell <carlos@redhat.com>
489 * include/libc-symbols.h: Comment the freeres framework.
490 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
491 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
492 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
493 * dlfcn/dlerror.c: Include libc-symbols.h
494 (__dlerror_main_freeres): New function.
495 * dlfcn/dlfreeres.c: New file.
496 * dlfcn/sdlfreeres.c: New file.
497 * include/dlfcn.h: Declare __dlerror_main_freeres.
498 * malloc/set-freeres.c: Declare __libdl_freeres, and
499 __libpthread_freeres.
500 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
501 the releavant libraries are loaded.
502 * malloc/thread-freeres.c: Add comments.
503 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
504 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
505 * nptl/allocatestack.c (__nptl_free_stacks): New function.
506 (__free_stacks): Rename to...
507 (free_stacks): ...this. Mark static.
508 (queue_stack): Call free_stacks.
509 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
510 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
511 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
512 ptr_freeres element from struct.
513 (pthread_functions): Remove .ptr_freeres from struct initializer.
514 [SHARED] (nptl_freeres): Remove.
515 * nptl/nptlfreeres.c: New file.
517 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
518 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
520 (__free_stacks): Rename to...
521 (__nptl_stacks_freeres): ...this.
522 (__shm_directory_freeres): Declare.
523 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
524 (__nptl_unwind_freeres): ...this.
525 * resolv/res-close.c: Add comment.
526 * resolv/resolv_conf.c: Include libc-symbols.h.
527 * string/strerror_l.c: Include libc-symbols.h.
528 * sunrpc/rpc_thread.c: Include libc-symbols.h.
529 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
530 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
531 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
533 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
535 * stdlib/tst-strfmon_l.c: Add tests for long double.
537 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
540 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
541 * localedata/locales/dsb_DE: New file.
543 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
546 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
548 (alt_mon): New entry, import from CLDR (nominative case).
550 2018-06-29 Sylvain Lesage <severo@rednegra.net>
553 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
555 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
557 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
558 Use vector registers.
560 * sysdeps/aarch64/multiarch/memmove_falkor.S
561 (__memcpy_falkor): Use vector registers.
563 2018-06-29 Martin Sebor <msebor@redhat.com>
565 * manual/stdio.texi (Customizing Printf): Mention interaction
568 2018-06-29 Maciej W. Rozycki <macro@mips.com>
571 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
572 `st_value' is 0 if `st_shndx' is SHN_ABS.
573 * elf/tst-absolute-zero.c: New file.
574 * elf/tst-absolute-zero-lib.c: New file.
575 * elf/tst-absolute-zero-lib.lds: New file.
576 * elf/Makefile (tests): Add `tst-absolute-zero'.
577 (modules-names): Add `tst-absolute-zero-lib'.
578 (LDLIBS-tst-absolute-zero-lib.so): New variable.
579 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
580 ($(objpfx)tst-absolute-zero: New dependency.
582 2018-06-29 Zack Weinberg <zackw@panix.com>
584 * configure.ac: New command-line option --disable-crypt.
585 Force --disable-nss-crypt when --disable-crypt is given, with a
586 warning if it was explicitly enabled.
587 * configure: Regenerate.
588 * config.make.in: New boolean substitution variable $(build-crypt).
589 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
591 * manual/install.texi: Document --disable-crypt.
592 * INSTALL: Regenerate.
594 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
596 * conform/Makefile: Only include libcrypt.a in
597 linknamespace-libs-xsi and linknamespace-libs-XPG4
599 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
600 USE_CRYPT to 1 when $(build-crypt).
601 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
602 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
603 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
605 2018-06-29 Zack Weinberg <zackw@panix.com>
607 * crypt/crypt.h, posix/unistd.h: Update comments and
608 prototypes for crypt and crypt_r.
610 * manual/crypt.texi (Cryptographic Functions): New initial
612 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
613 (Unpredictable Bytes): Improve initial exposition. Clarify error
614 behavior of getentropy and getrandom.
615 * manual/examples/genpass.c: Generate a salt using getentropy
616 instead of the current time. Use hash $5$ (SHA-2-256).
617 * manual/examples/testpass.c: Demonstrate validation against
618 hashes generated with three different one-way functions.
620 * manual/intro.texi: crypt.texi does not need an overview
623 * manual/nss.texi, manual/memory.texi, manual/socket.texi
624 * manual/terminal.texi: Consistently refer to "passphrases"
625 * instead of "passwords", and to the "user database" instead
626 * of the "password database".
627 * manual/users.texi: Similarly. Add notes about how actual
628 passphrase hashes are now stored in the shadow database.
629 Remove 20-year-old junk todo note.
631 2018-06-29 Zack Weinberg <zackw@panix.com>
633 * manual/crypt.texi: Use a normal top-level @node declaration.
634 Move most of the introductory text to the 'crypt' section.
635 Move the example programs below the @deftypefun for 'crypt_r'.
636 Move the 'getpass' section...
637 * manual/terminal.texi: ...here.
639 2018-06-29 Zack Weinberg <zackw@panix.com>
640 Florian Weimer <fweimer@redhat.com>
642 * posix/unistd.h: Do not declare encrypt.
643 (_XOPEN_CRYPT): Remove macro definition.
644 (crypt): Declare only for _USE_MISC.
645 * stdlib/stdlib.h: Do not declare setkey.
646 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
647 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
649 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
650 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
651 into compat symbols. Don't define initial_perm if it's not
653 * crypt/cert.c: Link explicitly with the expected versions for
654 setkey and encrypt. If they are not available at all, mark
655 the test as unsupported.
657 * sunrpc/des_crypt.c: Unconditionally block linkage with
658 cbc_crypt and ecb_crypt for new binaries.
659 * sunrpc/des_soft.c: Unconditionally block linkage with
660 des_setparity for new binaries.
662 * manual/crypt.texi: Remove the entire "DES Encryption"
663 section. Also remove the paragraph talking about FIPS 140-2
664 from the introduction.
665 * manual/string.texi (strfry, memfrob): Revise. Recommend use
666 of libgcrypt for "real" encryption, not DES.
667 * manual/conf.texi (Constants for Sysconf): Mention that
668 _XOPEN_CRYPT is no longer impelemented.
670 * conform/data/unistd.h-data: Remove crypt function declaration.
672 2018-06-29 Florian Weimer <fweimer@redhat.com>
675 * malloc/hooks.c: Update comments on restoring of dumped heaps.
676 (disallow_malloc_check): Remove variable.
677 (__malloc_check_init): Adjust.
678 (malloc_set_state): Update comment.
679 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
682 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
685 * localedata/locales/ast_ES (mon): Rename to...
687 (mon): Import from CLDR (genitive case).
689 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
690 Jakub Sitnicki <jkbs@redhat.com>
693 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
696 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
698 * manual/llio.texi: Remove spurious space.
700 2018-06-28 Florian Weimer <fweimer@redhat.com>
703 * time/bits/types/struct_timespec.h: Change header inclusion guard to
706 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
708 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
709 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
710 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
711 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
712 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
713 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
714 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
716 2018-06-27 Maciej W. Rozycki <macro@mips.com>
719 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
720 Copy and null-terminate entries that are not terminated, in
721 addition to empty ones.
723 2018-06-27 Florian Weimer <fweimer@redhat.com>
726 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
727 (extend_alloca_account): Remove.
728 * manual/stdio.texi (Variable Arguments Output): Update comment.
730 2018-06-27 Joseph Myers <joseph@codesourcery.com>
732 * nptl/sockperf.c: Remove file.
734 2018-06-27 Florian Weimer <fweimer@redhat.com>
737 * elf/dl-deps.c (_dl_map_object_deps): Use struct
738 scratch_buffer instead of extend_alloca.
740 2018-06-27 Florian Weimer <fweimer@redhat.com>
743 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
744 scratch_buffer instead of extend_alloca. Update comments.
746 2018-06-27 Florian Weimer <fweimer@redhat.com>
749 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
750 instead of extend_alloca.
752 2018-06-26 Joseph Myers <joseph@codesourcery.com>
755 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
756 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
758 * scripts/test-installation.pl: Put temporary files in build
760 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
761 (CFLAGS-bug4.c): Likewise.
762 (CFLAGS-bug5.c): Likewise.
763 (CFLAGS-test-fseek.c): Likewise.
764 (CFLAGS-test-popen.c): Likewise.
765 (CFLAGS-test_rdwr.c): Likewise.
766 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
768 * stdio-common/bug4.c (main): Likewise.
769 * stdio-common/bug5.c (main): Likewise.
770 * stdio-common/test-fseek.c (TESTFILE): Likewise.
771 * stdio-common/test-popen.c (do_test): Likewise.
772 * stdio-common/test_rdwr.c (main): Likewise.
774 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
776 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
777 (sem_open): Set sem.newsem.pad to zero for valgrind.
779 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
782 * NEWS: Mention fcntl64 addition.
783 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
784 * login/utmp_file.c: Likewise.
785 * sysdeps/posix/fdopendir.c: Likewise.
786 * sysdeps/posix/opendir.c: Likewise.
787 * sysdeps/unix/pt-fcntl.c: Likewise.
788 * include/fcntl.h (__libc_fcntl64, __fcntl64,
789 __fcntl64_nocancel_adjusted): New prototype.
790 (__fcntl_nocancel_adjusted): Remove prototype.
791 * io/Makefile (routines): Add fcntl64.
792 (CFLAGS-fcntl64.c): New rule.
793 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
794 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
795 * io/fcntl.h (fcntl64): Add prototype and redirect if
796 __USE_FILE_OFFSET64 is defined.
797 * io/fcntl64.c: New file.
798 * manual/llio.text: Add a note for which commands fcntl acts a
800 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
801 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
802 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
804 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
805 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
807 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
808 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
809 to __fcntl64_nocancel.
810 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
811 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
812 to __fcntl64_nocancel.
813 * sysdeps/generic/not-cancel.h: Likewise.
814 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
815 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
816 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
817 (fcntl64): New symbol.
818 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
819 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
820 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
823 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
824 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
825 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
826 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
827 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
828 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
830 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
831 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
832 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
833 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
834 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
835 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
836 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
837 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
838 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
843 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
844 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
845 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
847 2018-06-26 Florian Weimer <fweimer@redhat.com>
849 Run thread shutdown functions in an explicit order.
850 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
852 (__libc_thread_freeres): Call thread shutdown functions
854 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
855 * include/string.h (__strerror_thread_freeres): Declare.
856 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
857 arena_thread_freeres. No longer static. Remove thread shutdown
859 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
861 * resolv/res-close.c (__res_thread_freeres): Renamed from
862 res_thread_freeres. No longer static. Remove thread shutdown
864 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
865 * resolv/resolv_conf.c (freeres): Remove incorrect section
866 attribute and use libc_freeres_fn.
867 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
868 strerror_thread_freeres. No longer static. Remove thread
869 shutdown hook registration.
870 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
871 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
872 shutdown hook registration.
873 * Makerules (shlib.lds): Do not provide section boundary symbols
874 for __libc_thread_subfreeres.
875 * manual/memory.texi (Basic Allocation): Update comment.
877 2018-06-26 Florian Weimer <fweimer@redhat.com>
879 Remove always-defined _RPC_THREAD_SAFE_ macro.
880 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
881 Do not define _RPC_THREAD_SAFE_.
882 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
884 * sunrpc/clnt_perr.c: Likewise.
885 * sunrpc/clnt_raw.c: Likewise.
886 * sunrpc/clnt_simp.c: Likewise.
887 * sunrpc/key_call.c: Likewise.
888 * sunrpc/rpc_common.c: Likewise.
889 * sunrpc/rpc_main.c: Likewise.
890 * sunrpc/rpc_thread.c: Likewise.
891 * sunrpc/svc.c: Likewise.
892 * sunrpc/svc_raw.c: Likewise.
893 * sunrpc/svc_simple.c: Likewise.
894 * sumrpc/svcauth_des.c: Likewise.
896 2018-06-26 Florian Weimer <fweimer@redhat.com>
898 * libio/Makefile (tests-internal): Add tst-vtables,
899 tst-vtables-interposed.
900 * libio/tst-vtables.c: New file.
901 * libio/tst-vtables-common.c: Likewise.
902 * libio/tst-vtables-interposed.c: Likewise.
904 2018-06-26 Florian Weimer <fweimer@redhat.com>
906 * support/support_test_main.c (support_test_main): Only call
907 setvbuf if not disables.
908 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
909 * support/test-driver.h (struct test_config): Add no_setvbuf member.
911 2018-06-26 Florian Weimer <fweimer@redhat.com>
914 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
916 2018-06-25 Florian Weimer <fweimer@redhat.com>
919 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
920 Use struct scratch_buffer instead of extend_alloca.
922 2018-06-25 Florian Weimer <fweimer@redhat.com>
925 * nss/getent.c (initgroups_keys): Use dynarray instead of
928 2018-06-25 Florian Weimer <fweimer@redhat.com>
931 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
932 Use struct scratch_buffer instead of extend_alloca.
934 2018-06-25 Florian Weimer <fweimer@redhat.com>
937 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
938 back to malloc directly, without stack allocations.
940 2018-06-25 Florian Weimer <fweimer@redhat.com>
943 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
946 2018-06-25 Florian Weimer <fweimer@redhat.com>
949 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
951 * nscd/hstcache.c (addhstbyX): Likewise.
952 * nscd/pwdcache.c (addpwbyX): Likewise.
953 * nscd/servicescache.c (addservbyX): Likewise.
955 2018-06-25 Florian Weimer <fweimer@redhat.com>
958 * nscd/connections.c (read_cmdline): New function.
959 (restart): Use it. Update comment.
961 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
964 * localedata/locales/csb_PL (mon): Rename to...
966 (abmon): Rename to...
968 (mon): Add with proper genitive forms, copy from Wikipedia.
971 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
974 * localedata/locales/csb_PL (mon): Fix typos:
975 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
976 (yesstr): Add, value is "jo".
977 (nostr): Add, value is "nié".
979 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
981 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
982 all log1p and significand functions on m680x0.
983 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
985 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
986 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
987 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
988 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
989 s_log1p.c and include it..
991 2018-06-21 Vincent Chen <vincentc@andestech.com>
993 * elf/elf.h (R_NDS32_NONE): New define.
994 (R_NDS32_32_RELA): Likewise.
995 (R_NDS32_COPY): Likewise.
996 (R_NDS32_GLOB_DAT): Likewise.
997 (R_NDS32_JUMP_SLOT): Likewise.
998 (R_NDS32_RELATIVE): Likewise.
999 (R_NDS32_TLS_TPOFF): Likewise.
1000 (R_NDS32_TLS_DESC): Likewise.
1002 2018-06-21 Mark Wielaard <mark@klomp.org>
1004 * elf/elf.h (R_BPF_MAP_FD): Removed.
1005 (R_BPF_64_64, R_BPF_64_32): New.
1007 2018-06-21 Florian Weimer <fweimer@redhat.com>
1010 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
1011 Renamed from libc_feholdsetround_ctx.
1012 (default_libc_feresetround_ctx): Renamed from
1013 libc_feresetround_ctx.
1014 (default_libc_feholdsetround_noex_ctx): Renamed from
1015 libc_feholdsetround_noex_ctx.
1016 (default_libc_feresetround_noex_ctx): Renamed from
1017 libc_feresetround_noex_ctx.
1018 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
1019 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
1020 forwardning to the old implementations under the new names.
1021 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
1022 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
1023 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
1024 (libc_feresetround_ctx): Forward to default implements for i386
1025 and MATH_SET_BOTH_ROUNDING_MODES.
1026 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
1027 Add -DMATH_SET_BOTH_ROUNDING_MODES.
1029 2018-06-20 Joseph Myers <joseph@codesourcery.com>
1031 * string/tst-cmp.c: Include <libc-diag.h>.
1032 (strncmp_max): Disable -Wstringop-overflow= around call to
1034 (strncasecmp_max): Disable -Wstringop-overflow= around call to
1037 * string/bug-strpbrk1.c: Include <libc-diag.h>.
1038 (main): Disable -Wunused-value around call to strpbrk.
1039 * string/bug-strspn1.c: Include <libc-diag.h>.
1040 (main): Disable -Wunused-value around call to strspn.
1042 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1043 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1045 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
1046 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
1048 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1050 * math/Makefile (libm-calls): Move s_significandF to...
1051 (gen-libm-calls): ... here.
1052 * math/s_significand_template.c: New file.
1053 * math/s_significand.c: Removed.
1054 * math/s_significandf.c: Removed.
1055 * math/s_significandl.c: Removed.
1056 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
1057 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
1059 * math/e_exp2_template.c (declare_mgen_finite_alias,
1060 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
1061 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
1062 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
1064 2018-06-20 Florian Weimer <fweimer@redhat.com>
1066 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
1068 2018-06-19 Joseph Myers <joseph@codesourcery.com>
1071 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
1072 floating-point number to strtod functions rather than possibly
1073 negating result of those functions.
1074 * stdio-common/tst-scanf-round.c: New file.
1075 * stdio-common/Makefile (tests): Add tst-scanf-round.
1076 ($(objpfx)tst-scanf-round): Depend on $(libm).
1078 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1080 * sysdeps/mach/hurd/localplt.data: Move to...
1081 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
1082 R_386_GLOB_DAT like on Linux i386.
1084 2018-06-18 Joseph Myers <joseph@codesourcery.com>
1086 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
1087 (SHM_STAT_ANY): New macro.
1088 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
1089 (SHM_STAT_ANY): Likewise.
1090 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
1091 (SHM_STAT_ANY): Likewise.
1092 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
1093 (SHM_STAT_ANY): Likewise.
1094 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
1095 (SHM_STAT_ANY): Likewise.
1096 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
1097 (SHM_STAT_ANY): Likewise.
1098 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
1099 (SHM_STAT_ANY): Likewise.
1100 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
1101 (SHM_STAT_ANY): Likewise.
1102 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
1103 (SHM_STAT_ANY): Likewise.
1104 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
1105 (SHM_STAT_ANY): Likewise.
1106 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
1107 (SHM_STAT_ANY): Likewise.
1108 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
1109 (SHM_STAT_ANY): Likewise.
1111 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
1112 (SEM_STAT_ANY): New macro.
1113 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
1114 (SEM_STAT_ANY): Likewise.
1115 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
1116 (SEM_STAT_ANY): Likewise.
1117 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
1118 (SEM_STAT_ANY): Likewise.
1119 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
1120 (SEM_STAT_ANY): Likewise.
1121 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
1122 (SEM_STAT_ANY): Likewise.
1123 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
1124 (SEM_STAT_ANY): Likewise.
1125 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
1126 (SEM_STAT_ANY): Likewise.
1127 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
1128 (SEM_STAT_ANY): Likewise.
1129 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
1130 (SEM_STAT_ANY): Likewise.
1132 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
1133 (MSG_STAT_ANY): New macro.
1134 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
1135 (MSG_STAT_ANY): Likewise.
1136 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
1137 (MSG_STAT_ANY): Likewise.
1138 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
1139 (MSG_STAT_ANY): Likewise.
1140 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
1141 (MSG_STAT_ANY): Likewise.
1142 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
1143 (MSG_STAT_ANY): Likewise.
1144 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
1145 (MSG_STAT_ANY): Likewise.
1146 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
1147 (MSG_STAT_ANY): Likewise.
1148 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
1149 (MSG_STAT_ANY): Likewise.
1150 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
1151 (MSG_STAT_ANY): Likewise.
1153 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
1154 (MAP_TYPE): Change value to 0x2b.
1156 2018-06-18 Florian Weimer <fweimer@redhat.com>
1159 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
1160 socket with SOCK_CLOEXEC.
1162 2018-06-18 Joseph Myers <joseph@codesourcery.com>
1165 * sysdeps/powerpc/powerpc64/le/Makefile
1166 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
1167 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
1168 (gnulib-tests): Also add $(f128-loader-link) for
1169 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
1171 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
1173 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
1174 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
1176 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
1177 (sendfile64): New strong alias.
1178 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
1179 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
1180 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
1181 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
1183 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
1184 ___pthread_get_cleanup_stack.
1185 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
1186 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
1187 * mach/shortcut.awk: Make syscall stubs include
1188 <mach-shortcuts-hidden.h> and add hidden definition.
1189 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
1190 (__mach_msg): Add hidden prototype.
1191 * mach/msg.c: Include <mach.h>.
1192 (__mach_msg): Add hidden definition.
1193 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
1194 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
1195 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
1196 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
1197 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
1198 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
1199 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
1200 prototype and definition.
1201 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
1202 hidden target for _hurd_self_sigstate.
1204 2018-06-15 Joseph Myers <joseph@codesourcery.com>
1207 * stdlib/tst-strtod-nan-sign-main.c: New file.
1208 * stdlib/tst-strtod-nan-sign.c: Likewise.
1209 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
1210 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
1211 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
1212 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
1213 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
1215 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
1218 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
1221 2018-06-14 Florian Weimer <fweimer@redhat.com>
1224 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
1225 that the result stays within the ISO-8859-1 range.
1226 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
1227 characters are defined in IBM273.
1229 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
1231 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
1232 __mach_task_self): Remove attribute_hidden.
1234 2018-06-14 Joseph Myers <joseph@codesourcery.com>
1236 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
1237 ignore -Wrestrict for one test.
1239 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
1240 Szabolcs Nagy <szabolcs.nagy@arm.com>
1242 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
1244 2018-06-14 Florian Weimer <fweimer@redhat.com>
1246 * scripts/update-abilist.sh: Accept empty list of files to patch.
1248 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
1250 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
1251 test-xfail-check-abi-libmachuser): Add.
1252 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
1253 __libc_read and __libc_write to __read and __write.
1254 * sysdeps/hurd/include/hurd/port.h: New file.
1255 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
1256 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
1257 __thread_switch, __evc_wait): Move declarations to...
1258 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
1260 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
1261 use PLT to call _hurd_self_sigstate.
1263 2018-06-13 Joseph Myers <joseph@codesourcery.com>
1266 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
1267 MAX_EXP as overflowing.
1268 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
1270 (round_str): Output also whether result overflows in each rounding
1272 * stdlib/tst-strtod-round-data: Add more tests.
1273 * stdlib/tst-strtod-round-data.h: Regenerated.
1274 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
1275 (TEST): Handle extra arguments for overflow flags.
1276 (struct test_overflow): New type.
1277 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
1278 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
1279 (test_in_one_mode): Take argument with overflow information.
1280 (do_test): Update calls to test_in_one_mode.
1282 2018-06-12 Carlos O'Donell <carlos@redhat.com>
1284 * elf/dl-load (_dl_dst_substitute): Correct comment.
1285 (_dl_dst_count): Likewise.
1287 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
1288 lll_futex_timed_wait.
1290 2018-06-12 Joseph Myers <joseph@codesourcery.com>
1293 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
1295 * math/test-nan-const.c: New file.
1296 * math/Makefile (tests): Add test-nan-const.
1297 (CFLAGS-test-nan-const.c): New variable.
1299 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
1301 * benchtests/scripts/compare_strings.py (process_results): Add
1302 funcs argument. Compare only functions which are selected.
1303 (main): Check if base function is among selected functions.
1304 Pass selected functions to process_results.
1305 (__main__): Add -f/--functions argument.
1307 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
1308 Hongbo Zhang <hongbo.zhang@linaro.org>
1310 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
1311 __memcpy_falkor for phecda core.
1312 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
1313 __memmove_falkor for phecda core.
1314 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
1315 __memset_falkor for phecda core.
1316 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
1318 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
1319 macro to identify phecda core.
1321 2018-06-12 Carlos O'Donell <carlos@redhat.com>
1322 Andreas Schwab <schwab@suse.de>
1323 Dmitry V. Levin <ldv@altlinux.org>
1324 Florian Weimer <fweimer@redhat.com>
1331 * elf/dl-dst.h: Remove DL_DST_COUNT.
1332 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
1333 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
1334 (is_dst): Comment. Support ELF gABI.
1335 (_dl_dst_count): Comment. Simplify and count DSTs.
1336 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
1337 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
1340 2018-06-12 Zack Weinberg <zackw@panix.com>
1342 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
1343 * sysdeps/unix/sysv/linux/dl-sysdep.c
1344 Include not-cancel.h. Use __close_nocancel instead of __close,
1345 __open64_nocancel instead of __open, __read_nocancel instead of
1346 __libc_read, and __write_nocancel instead of __libc_write.
1348 * csu/check_fds.c (check_one_fd)
1349 * sysdeps/posix/fdopendir.c (__fdopendir)
1350 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
1351 instead of __fcntl and/or __libc_fcntl.
1353 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
1354 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
1355 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
1356 Use __open64_nocancel instead of __open_nocancel.
1358 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
1359 hidden_proto declarations to the end and issue them if either
1360 IS_IN(libc) or IS_IN(rtld).
1361 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
1362 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
1363 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
1364 read_nocancel, waitpid_nocancel, write_nocancel.
1366 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
1367 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
1368 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
1370 * nptl/pt-fcntl.c: New file.
1371 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
1372 (libpthread-routines): Add pt-fcntl.
1373 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
1374 (__libc_fcntl): Remove attribute_hidden.
1375 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
1376 __fcntl_nocancel_adjusted, not fcntl_common.
1377 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
1378 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
1379 to fcntl_nocancel.c.
1380 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1383 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
1385 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
1386 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
1387 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
1388 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
1389 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
1390 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
1391 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
1392 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
1393 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
1394 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
1395 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
1396 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
1397 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
1398 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
1399 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
1400 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
1401 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
1402 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
1403 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
1404 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
1406 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
1407 libpthread-routines.
1408 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
1411 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
1412 __libc_read, and __write instead of __libc_write. Define
1413 __open64 in addition to __open.
1415 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
1419 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
1420 to _private_tm[3] and add __glibc_reserved2.
1421 Add _Static_assert of offset of __private_ss == 0x30.
1422 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
1423 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
1425 2018-06-12 Florian Weimer <fweimer@redhat.com>
1427 x86: Make strncmp usable from rtld.
1428 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
1429 __strncmp_ia32 if in libc (and not in rtld).
1430 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
1431 strncmp if not in libc (and not to __strncmp_sse2).
1433 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
1436 * localedata/locales/gd_GB (mon): Rename to...
1438 (mon): Import from CLDR (genitive case).
1439 * localedata/locales/hsb_DE (mon): Rename to...
1441 (mon): Import from CLDR (genitive case).
1442 * localedata/locales/wa_BE (mon): Rename to...
1444 (mon): Add, fill with the proper genitive forms, but CLDR data
1445 is incomplete; completed according to the comments in this file.
1446 (d_t_fmt): Do not use "di" before the month name, no longer needed.
1448 * localedata/locales/wa_BE (country_name): Reword
1449 "Beljike" -> "Beldjike".
1451 2018-06-11 Joseph Myers <joseph@codesourcery.com>
1454 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
1455 cases of non-finite arguments.
1456 * math/libm-test-fma.inc (fma_test_data): Add more tests.
1458 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
1461 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
1463 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1466 * include/unistd.h (__execvpex): New prototype.
1467 * posix/Makefile (tests): Add tst-spawn4.
1468 (tests-internal): Add tst-spawn4-compat.
1469 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
1470 * posix/tst-spawn4-compat.c: New file.
1471 * posix/tst-spawn4.c: Likewise.
1472 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
1473 binaries as shell scripts.
1474 * sysdeps/posix/spawni.c (__spawni): Likewise.
1476 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
1479 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
1480 ($(all-built-dso:=.dynsym): New target.
1481 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
1482 ($(objpfx)check-initfini.out): New target.
1483 (generated): Add check-initfini.out.
1484 * scripts/check-initfini.awk: New file.
1485 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
1487 * sysdeps/alpha/crti.S (_init): Mark as hidden.
1489 * sysdeps/arm/crti.S (_init): Mark as hidden.
1491 * sysdeps/hppa/crti.S (_init): Mark as hidden.
1493 * sysdeps/i386/crti.S (_init): Mark as hidden.
1495 * sysdeps/ia64/crti.S (_init): Mark as hidden.
1497 * sysdeps/m68k/crti.S (_init): Mark as hidden.
1499 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
1501 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
1503 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
1505 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
1507 * sysdeps/nios2/crti.S (_init): Mark as hidden.
1509 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
1511 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
1513 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
1515 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
1517 * sysdeps/sh/crti.S (_init): Mark as hidden.
1519 * sysdeps/sparc/crti.S (_init): Mark as hidden.
1521 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
1524 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1526 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
1527 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
1528 and TF redirection to KFtype and KF only when the default
1529 long double type is not the IEEE 128-bit floating point type.
1531 2018-06-05 Joseph Myers <joseph@codesourcery.com>
1533 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
1535 (HWCAP_USCAT): Likewise.
1536 (HWCAP_ILRCPC): Likewise.
1537 (HWCAP_FLAGM): Likewise.
1538 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1540 (_dl_aarch64_cap_flags): Add new flag names.
1542 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
1543 (MAP_FIXED_NOREPLACE): New macro.
1544 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
1545 (MAP_FIXED_NOREPLACE): Likewise.
1546 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
1547 (MAP_FIXED_NOREPLACE): Likewise.
1548 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
1549 (MAP_FIXED_NOREPLACE): Likewise.
1550 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
1551 (MAP_FIXED_NOREPLACE): Likewise.
1552 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
1553 (MAP_FIXED_NOREPLACE): Likewise.
1554 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
1555 (MAP_FIXED_NOREPLACE): Likewise.
1556 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
1557 (MAP_FIXED_NOREPLACE): Likewise.
1558 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
1559 (MAP_FIXED_NOREPLACE): Likewise.
1560 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
1561 (MAP_FIXED_NOREPLACE): Likewise.
1562 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
1563 (MAP_FIXED_NOREPLACE): Likewise.
1564 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
1565 (MAP_FIXED_NOREPLACE): Likewise.
1566 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
1567 (MAP_FIXED_NOREPLACE): Likewise.
1568 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
1569 (MAP_FIXED_NOREPLACE): Likewise.
1570 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
1571 (MAP_FIXED_NOREPLACE): Likewise.
1573 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1576 2018-06-04 Joseph Myers <joseph@codesourcery.com>
1578 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1581 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1583 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
1585 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
1587 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1589 * benchtests/scripts/compare_string.py: (process_results) Catch
1590 exception in non-existent base_func and catch exception in
1591 non-existent attribute.
1592 (parse_file) Catch exception if input file does not exist.
1594 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1596 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
1597 options to avoid diff calculation and omit header, respectively.
1598 (main): process --no-diff and --no-header
1600 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1601 H.J. Lu <hongjiu.lu@intel.com>
1603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1604 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
1606 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1607 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
1608 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
1610 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
1611 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
1612 AVX unaligned load is fast and vzeroupper is preferred.
1613 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1614 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
1615 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
1616 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
1617 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
1618 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
1619 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
1620 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
1621 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
1622 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
1625 2018-06-01 Florian Weimer <fweimer@redhat.com>
1627 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
1628 configuring with --disable-multi-arch, building with
1629 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
1632 2018-06-01 Florian Weimer <fweimer@redhat.com>
1634 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
1635 results from building with “-march=x86-64 -mtune=generic
1636 -mfpmath=sse” and running on a Haswell-era CPU.
1638 2018-06-01 Joseph Myers <joseph@codesourcery.com>
1641 * soft-fp/sqrttf2.c: Remove file.
1642 * soft-fp/sqrtdf2.c: Move to ....
1643 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
1645 (__sqrtdf2): Make conditional on
1646 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
1648 * soft-fp/sqrtsf2.c: Move to ....
1649 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
1651 (__sqrtsf2): Make conditional on
1652 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
1654 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
1655 (gcc-double-routines): Remove sqrtdf2.
1656 (gcc-quad-routines): Remove sqrttf2.
1657 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
1658 Do not filter out sqrtsf2 and sqrtdf2.
1659 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1660 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
1662 2018-06-01 Florian Weimer <fweimer@redhat.com>
1664 * sysdeps/generic/libcidn.abilist: Remove file.
1666 2018-06-01 Florian Weimer <fweimer@redhat.com>
1669 * libio/strfile.h (struct _IO_str_fields): Rename members to
1670 discourage their use and add comment.
1671 (_IO_STR_DYNAMIC): Remove unused macro.
1672 * libio/strops.c (_IO_str_init_static_internal): Do not use
1673 callback pointers. Call malloc and free.
1674 (_IO_str_overflow): Do not use callback pointers. Call malloc
1676 (enlarge_userbuf): Likewise.
1677 (_IO_str_finish): Call free.
1678 * libio/wstrops.c (_IO_wstr_init_static): Initialize
1679 _allocate_buffer_unused.
1680 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
1682 (enlarge_userbuf): Likewise.
1683 (_IO_wstr_finish): Call free.
1684 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
1685 _allocate_buffer_unused, _free_buffer_unused.
1686 * libio/memstream.c (__open_memstream): Likewise.
1687 * libio/vasprintf.c (_IO_vasprintf): Likewise.
1688 * libio/wmemstream.c (open_wmemstream): Likewise.
1690 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
1692 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
1695 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1697 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
1698 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
1699 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
1701 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
1703 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
1705 2018-05-29 Florian Weimer <fweimer@redhat.com>
1707 * support/Makefile (libsupport-routines): Add
1708 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
1709 xpthread_barrierattr_setpshared.
1710 * support/xpthread_barrierattr_destroy.c: New file.
1711 * support/xpthread_barrierattr_init.c: Likewise.
1712 * support/xpthread_barrierattr_setpshared.c: Likewise.
1714 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
1717 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
1718 _r_debug and update DT_DEBUG for debugger.
1720 2018-05-29 Florian Weimer <fweimer@redhat.com>
1722 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
1723 (tst-strtod5i.out): Likewise.
1725 2018-05-25 Joseph Myers <joseph@codesourcery.com>
1727 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
1728 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
1729 (sparc64-quad-routines): New variable. Moved from ....
1730 [$(subdir) = soft-fp] (sysdep_routines): Add
1731 $(sparc64-quad-routines). Moved from ....
1732 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
1733 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
1734 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
1736 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
1737 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
1738 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
1739 * sysdeps/sparc/sparc64/qp_add.c: ... here.
1740 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
1741 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
1742 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
1743 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
1744 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
1745 * sysdeps/sparc/sparc64/qp_div.c: ... here.
1746 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
1747 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
1748 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
1749 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
1750 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
1751 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
1752 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
1753 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
1754 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
1755 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
1756 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
1757 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
1758 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
1759 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
1760 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
1761 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
1762 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
1763 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
1764 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
1765 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
1766 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
1767 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
1768 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
1769 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
1770 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
1771 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
1772 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
1773 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
1774 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
1775 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
1776 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
1777 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
1778 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
1779 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
1780 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
1781 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
1782 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
1783 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
1784 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
1785 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
1786 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
1787 * sysdeps/sparc/sparc64/qp_util.c: ... here.
1788 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
1789 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
1790 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
1791 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
1792 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
1793 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
1795 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
1796 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
1797 (sparc32-quad-routines): New variable. Moved from ....
1798 [$(subdir) = soft-fp] (sysdep_routines): Add
1799 $(sparc32-quad-routines). Moved from ....
1800 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
1801 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
1803 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
1804 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
1805 * sysdeps/sparc/sparc32/q_add.c: ... here.
1806 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
1807 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
1808 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
1809 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
1810 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
1811 * sysdeps/sparc/sparc32/q_div.c: ... here.
1812 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
1813 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
1814 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
1815 * sysdeps/sparc/sparc32/q_feq.c: ... here.
1816 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
1817 * sysdeps/sparc/sparc32/q_fge.c: ... here.
1818 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
1819 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
1820 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
1821 * sysdeps/sparc/sparc32/q_fle.c: ... here.
1822 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
1823 * sysdeps/sparc/sparc32/q_flt.c: ... here.
1824 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
1825 * sysdeps/sparc/sparc32/q_fne.c: ... here.
1826 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
1827 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
1828 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
1829 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
1830 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
1831 * sysdeps/sparc/sparc32/q_mul.c: ... here.
1832 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
1833 * sysdeps/sparc/sparc32/q_neg.c: ... here.
1834 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
1835 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
1836 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
1837 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
1838 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
1839 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
1840 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
1841 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
1842 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
1843 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
1844 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
1845 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
1846 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
1847 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
1848 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
1849 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
1850 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
1851 * sysdeps/sparc/sparc32/q_sub.c: ... here.
1852 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
1853 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
1854 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
1855 * sysdeps/sparc/sparc32/q_util.c: ... here.
1856 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
1857 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
1858 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
1859 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
1861 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1862 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1864 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
1865 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
1866 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
1867 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
1869 2018-05-24 Joseph Myers <joseph@codesourcery.com>
1871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
1873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1875 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
1876 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
1878 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1881 * math/math.h [C++] (iseqsig): Fix parameter type for the long
1884 2018-05-23 Joseph Myers <joseph@codesourcery.com>
1886 * sysdeps/sh/Implies: Remove sh/soft-fp.
1887 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
1888 * sysdeps/sh/sfp-machine.h: ... here.
1890 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
1892 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1893 (__mempcpy_erms): Skip zero length.
1894 (__memmove_erms): Likewise.
1895 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1896 (__memset_erms): Likewise.
1898 2018-05-23 Joseph Myers <joseph@codesourcery.com>
1900 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
1901 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
1902 Add functions moved from ....
1903 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
1904 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
1905 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
1907 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
1908 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
1909 * sysdeps/alpha/e_sqrtl.c: ... here.
1910 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
1911 * sysdeps/alpha/local-soft-fp.h: ... here.
1912 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
1913 * sysdeps/alpha/ots_add.c: ... here.
1914 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
1915 * sysdeps/alpha/ots_cmp.c: ... here.
1916 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
1917 * sysdeps/alpha/ots_cmpe.c: ... here.
1918 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
1919 * sysdeps/alpha/ots_cvtqux.c: ... here.
1920 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
1921 * sysdeps/alpha/ots_cvtqx.c: ... here.
1922 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
1923 * sysdeps/alpha/ots_cvttx.c: ... here.
1924 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
1925 * sysdeps/alpha/ots_cvtxq.c: ... here.
1926 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
1927 * sysdeps/alpha/ots_cvtxt.c: ... here.
1928 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
1929 * sysdeps/alpha/ots_div.c: ... here.
1930 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
1931 * sysdeps/alpha/ots_mul.c: ... here.
1932 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
1933 * sysdeps/alpha/ots_nintxq.c: ... here.
1934 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
1935 * sysdeps/alpha/ots_sub.c: ... here.
1936 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
1937 * sysdeps/alpha/sfp-machine.h: ... here.
1939 2018-05-23 Florian Weimer <fweimer@redhat.com>
1947 Switch to extern IDNA implementation (libidn2).
1948 * libidn: Remove subdirectory.
1949 * LICENSES: Do not mention licensing conditions for the removed
1951 * config.h.in (HAVE_LIBIDN): Remove.
1952 * include/dlfcn.h (__libc_dlopen): Update comment.
1953 * include/idna.h: Remove file.
1954 * inet/Makefile (routines): Add idna.
1955 (tests-static, tests-internal): Add tst-idna_name_classify.
1956 (LOCALES): Generate locales for tests.
1957 (tst-idna_name_classify.out): Depend on generated locales.
1958 * inet/idna_name_classify.c: New file.
1959 * inet/tst-idna_name_classify.c: Likewise.
1960 * inet/net-internal.h (__idna_to_dns_encoding)
1961 (__idna_from_dns_encoding): Declare.
1962 * inet/net-internal.h (enum idna_name_classification): Define.
1963 (__idna_name_classify): Declare.
1964 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
1965 __idna_from_dns_encoding.
1966 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
1967 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
1968 name as a fallback in case of encoding errors.
1969 (getnameinfo): Use DEPRECATED_NI_IDN.
1970 * inet/idna.c: New file.
1971 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
1972 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
1973 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
1974 (modules-names): Add tst-no-libidn2.
1975 (extra-test-objs): Add tst-no-libidn2.os.
1976 (LDFLAGS-tst-no-libidn2.so): Set soname.
1977 (LOCALES): Set, and generate locales.
1978 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
1979 (tst-resolv-ai_idn-latin1): Likewise.
1980 (tst-resolv-ai_idn-nolibidn2): Likewise.
1981 (tst-resolv-ai_idn.out): Depend on locales.
1982 (tst-resolv-ai_idn-latin1.out): Depend on locales.
1983 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
1985 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
1986 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
1987 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
1988 * resolv/tst-resolv-ai_idn.c: New file.
1989 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
1990 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
1991 * resolv/tst-no-libidn2.c: Likewise.
1992 * support/support_format_addrinfo.c (format_ai_flags): Do not
1993 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
1994 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
1995 (gaih_inet): Call __idna_to_dns_encoding and
1996 __idna_from_dns_encoding, and use the original (punycode) name if
1997 __idna_from_dns_encoding fails due to an encoding error.
1998 (getaddrinfo): Use DEPRECATED_AI_IDN.
1999 * sysdeps/unix/inet/Subdirs (libidn): Remove.
2000 * sysdeps/unix/inet/configure: Remove file.
2001 * sysdeps/unix/inet/configure.ac: Likewise.
2003 2018-05-23 Florian Weimer <fweimer@redhat.com>
2005 Implement allocate_once.
2006 * include/allocate_once.h: New file.
2007 * misc/allocate_once.c: Likewise.
2008 * misc/tst-allocate_once.c: Likewise.
2009 * misc/Makefile (routines): Add allocate_once.
2010 (tests-internal): Add tst-allocate_once.
2011 (generated): Add tst-allocate_once.mtrace,
2012 tst-allocate_once-mem.out.
2013 (tests-special): Add tst-allocate_once-mem.out.
2014 (tst-allocate_once-ENV): Set MALLOC_TRACE.
2015 (tst-allocate_once-mem.out): Call mtrace.
2016 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
2018 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
2021 * string/test-memcpy.c (do_test1): New function.
2022 (test_main): Call it.
2024 2018-05-23 Andreas Schwab <schwab@suse.de>
2028 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
2029 (L(preloop_large)): Save initial destination pointer in %r11 and
2030 use it instead of %rax after the loop.
2031 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
2033 2018-05-22 Joseph Myers <joseph@codesourcery.com>
2035 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
2036 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
2037 -I../soft-fp. Moved from ....
2038 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
2039 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
2040 * sysdeps/aarch64/e_sqrtl.c: ... here.
2041 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
2042 * sysdeps/aarch64/sfp-machine.h: ... here.
2044 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
2045 -Wmaybe-uninitialized around access to fq[0].
2046 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2050 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
2051 aliases for non-libc case of versioned symbols.
2052 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
2053 (llseek): Define as compat symbol if
2054 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
2056 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
2057 Make into a compat symbol, disabled for minimum symbol version
2058 GLIBC_2.28 and later.
2059 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
2061 2018-05-22 Florian Weimer <fweimer@redhat.com>
2063 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
2064 not add -mpreferred-stack-boundary=4.
2065 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
2066 (stack-align-test-flags): Likewise.
2067 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
2069 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
2070 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
2071 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
2072 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
2073 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
2074 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
2075 (CFLAGS-tst-align2.c): Likewise.
2077 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
2079 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
2080 (index_arch_Prefer_FSRM): Likewise.
2081 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
2082 Also check Prefer_FSRM.
2083 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
2084 Also return OPTIMIZE (erms) for Prefer_FSRM.
2086 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
2088 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
2089 (index_cpu_FSRM): Likewise.
2090 (reg_FSRM): Likewise.
2092 2018-05-18 Joseph Myers <joseph@codesourcery.com>
2094 * math/gen-tgmath-tests.py: Import sys.
2095 (Tests.__init__): Initialize macros_seen.
2096 (Tests.add_tests): Add macro to macros_seen. Only generate tests
2097 if requested to do so for this macro.
2098 (Tests.add_all_tests): Take argument for macro for which to
2100 (Tests.check_macro_list): New function.
2101 (main): Handle check-list argument and argument specifying macro
2102 for which to generate tests.
2103 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
2104 [PYTHON] (tgmath3-macro-tests): Likewise.
2105 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
2106 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
2108 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
2109 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
2111 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
2113 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
2115 [PYTHON] (tests-special): Add
2116 $(objpfx)test-tgmath3-macro-list.out.
2117 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
2119 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
2120 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
2124 * time/tzset.c (SECSPERDAY): Cast to time_t.
2125 * time/tst-y2039.c: New file.
2126 * time/Makefile (tests): Add tst-y2039.
2128 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2130 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2131 (PREFETCH_ONE_SET): Remove duplicate line.
2133 2018-05-17 Florian Weimer <fweimer@redhat.com>
2135 * sysdeps/generic/math-type-macros-double.h: Include
2136 <math-nan-payload-double.h> after <libm-alias-double.h>.
2137 * sysdeps/generic/math-type-macros-float.h: Include
2138 <math-nan-payload-float.h> after <libm-alias-float.h>.
2139 * sysdeps/generic/math-type-macros-float128.h: Include
2140 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
2141 * sysdeps/generic/math-type-macros-ldouble.h: Include
2142 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
2144 2018-05-17 Andreas Schwab <schwab@suse.de>
2146 * resolv/res_send.c (__res_context_send): Don't set errno when
2147 returing error after malloc failure.
2149 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
2151 * nptl/allocatestack.c (allocate_stack): Remove the
2152 !__ASSUME_PRIVATE_FUTEX paths.
2153 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
2154 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2156 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
2157 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
2158 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
2159 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
2160 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
2161 !__ASSUME_PRIVATE_FUTEX path.
2162 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
2163 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
2164 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
2165 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
2166 !__ASSUME_PRIVATE_FUTEX macros.
2167 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2168 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2169 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2170 * sysdeps/unix/sysv/linux/kernel-features.h
2171 (__ASSUME_PRIVATE_FUTEX): Removed.
2173 2018-05-17 Joseph Myers <joseph@codesourcery.com>
2175 * math/Makefile (libm-narrow-fns): Add div.
2176 (libm-test-funcs-narrow): Likewise.
2177 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
2178 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
2179 * math/gen-auto-libm-tests.c (test_functions): Add div.
2180 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
2181 (NARROW_DIV_ROUND_TO_ODD): Likewise.
2182 (NARROW_DIV_TRIVIAL): Likewise.
2183 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
2185 (__ddivl): Likewise.
2186 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
2188 (CFLAGS-nldbl-ddiv.c): New variable.
2189 (CFLAGS-nldbl-fdiv.c): Likewise.
2190 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
2192 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
2194 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
2195 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
2196 * math/auto-libm-test-in: Add tests of div.
2197 * math/auto-libm-test-out-narrow-div: New generated file.
2198 * math/libm-test-narrow-div.inc: New file.
2199 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
2200 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
2201 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
2202 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
2203 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
2204 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
2205 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
2206 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
2207 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
2208 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
2209 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
2210 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
2211 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
2212 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
2213 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
2214 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2215 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
2216 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2218 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
2219 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2220 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2221 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2222 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2223 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2224 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2225 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2226 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2227 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2228 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2229 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2230 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
2233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2235 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
2236 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2237 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2238 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2239 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2240 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2241 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2242 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2244 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2247 * nscd/nscd-client.h (sendfileall): Remove prototype.
2248 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
2249 (handle_request): Use writeall instead of sendfileall.
2250 * nscd/aicache.c (addhstaiX): Likewise.
2251 * nscd/grpcache.c (cache_addgr): Likewise.
2252 * nscd/hstcache.c (cache_addhst): Likewise.
2253 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2254 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
2255 * nscd/pwdcache.c (cache_addpw): Likewise.
2256 * nscd/servicescache.c (cache_addserv): Likewise.
2257 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
2258 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
2259 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
2262 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
2264 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
2265 Include <string/strncat.c>.
2266 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
2268 (__GI___strncat): New hidden alias.
2270 2018-05-16 Joseph Myers <joseph@codesourcery.com>
2272 * sysdeps/mips/mips32/libm-test-ulps: Update.
2273 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2275 2018-05-16 Florian Weimer <fweimer@redhat.com>
2277 * support/Makefile (libsupport-routines): Add support_quote_blob,
2278 support_test_compare_blob.
2279 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
2280 * support/check.h (TEST_COMPARE_BLOB): Define.
2281 (support_test_compare_blob): Declare.
2282 * support/support.h (support_quote_blob): Declare.
2283 * support/support_quote_blob.c: New file.
2284 * support/support_test_compare_blob.c: Likewise.
2285 * support/tst-support_quote_blob.c: Likewise.
2286 * support/tst-test_compare_blob.c: Likewise.
2288 2018-05-16 Florian Weimer <fweimer@redhat.com>
2290 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
2291 of <strtod_nan_double.h>.
2292 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
2293 instead of SET_MANTISSA.
2294 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
2295 of include <strtod_nan_float.h>.
2296 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
2297 instead of <strtod_nan_ldouble.h>.
2298 * stdlib/strtod_nan_double.h: Move to ...
2299 * sysdeps/generic/math-nan-payload-double.h: ... here.
2300 (FLOAT): Remove definition.
2301 (SET_MANTISSA): Rename to ...
2302 (SET_NAN_PAYLOAD): ... this.
2303 * stdlib/strtod_nan_float.h: Move to ...
2304 * sysdeps/generic/math-nan-payload-float.h: ... here.
2305 (FLOAT): Remove definition.
2306 (SET_MANTISSA): Rename to ...
2307 (SET_NAN_PAYLOAD): ... this.
2308 * sysdeps/generic/math-type-macros-double.h: Include
2309 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
2310 instead of <math-svid-compat.h>.
2311 * sysdeps/generic/math-type-macros-float.h: Include
2312 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
2313 instead of <math-svid-compat.h>.
2314 * sysdeps/generic/math-type-macros-float128.h: Include
2315 <math-nan-payload-float128.h>.
2316 * sysdeps/generic/math-type-macros-ldouble.h: Include
2317 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
2318 instead of <math-svid-compat.h>.
2319 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
2320 check for definition.
2321 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
2322 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
2323 Include <ieee754_float128.h>.
2324 (FLOAT): Remove definition.
2325 (SET_MANTISSA): Rename to ...
2326 (SET_NAN_PAYLOAD): ... this.
2327 * sysdeps/ieee754/float128/strtof128_nan.c: Include
2328 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
2329 Do not include <float128_private.h>.
2330 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
2331 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
2332 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
2333 (FLOAT): Remove definition.
2334 (SET_MANTISSA): Rename to ...
2335 (SET_NAN_PAYLOAD): ... this.
2336 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
2337 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
2338 (FLOAT): Remove definition.
2339 (SET_MANTISSA): Rename to ...
2340 (SET_NAN_PAYLOAD): ... this.
2341 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
2342 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
2343 (FLOAT): Remove definition.
2344 (SET_MANTISSA): Rename to ...
2345 (SET_NAN_PAYLOAD): ... this.
2346 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
2347 of "../stdlib/strtod_nan_double.h".
2348 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
2349 of "../stdlib/strtod_nan_float.h".
2350 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
2351 instead of "../stdlib/strtod_nan_ldouble.h".
2352 * manual/arith.texi (Parsing of Floats): Adjust comment.
2354 2018-05-16 Joseph Myers <joseph@codesourcery.com>
2356 * math/Makefile (libm-narrow-fns): Add mul.
2357 (libm-test-funcs-narrow): Likewise.
2358 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
2359 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
2360 * math/gen-auto-libm-tests.c (test_functions): Add mul.
2361 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
2362 (NARROW_MUL_ROUND_TO_ODD): Likewise.
2363 (NARROW_MUL_TRIVIAL): Likewise.
2364 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
2365 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
2367 (__dmull): Likewise.
2368 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
2370 (CFLAGS-nldbl-dmul.c): New variable.
2371 (CFLAGS-nldbl-fmul.c): Likewise.
2372 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
2374 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
2376 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
2377 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
2378 * math/auto-libm-test-in: Add tests of mul.
2379 * math/auto-libm-test-out-narrow-mul: New generated file.
2380 * math/libm-test-narrow-mul.inc: New file.
2381 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
2382 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
2383 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
2384 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
2385 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
2386 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
2387 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
2388 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
2389 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
2390 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
2391 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
2392 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
2393 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
2394 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
2395 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
2396 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2397 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
2398 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2400 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
2401 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2402 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2403 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2404 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2405 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2406 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2407 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2408 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2409 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2410 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2411 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2412 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
2415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2417 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
2418 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2419 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2420 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2421 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2422 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2423 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2424 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2426 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
2428 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
2431 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
2433 * sysdeps/i386/ldsodefs.h: Removed.
2434 * sysdeps/x86_64/ldsodefs.h: Moved to ...
2435 * sysdeps/x86/ldsodefs.h: This.
2437 (La_i86_retval): Likewise.
2438 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
2439 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
2441 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
2443 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
2446 2018-05-13 Alan Modra <amodra@gmail.com>
2448 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
2449 R_PARISC_TLS_DTPOFF32 reloc addend.
2451 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2453 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
2454 * math/math.h: Restrict the prototype definition for the functions
2455 issignaling(_Float128) and iszero(_Float128); and template
2456 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
2457 __HAVE_FLOAT128_UNLIKE_LDBL.
2458 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
2459 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
2460 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
2461 __f128() constants; define the type _Float128 as long double;
2462 and reuse long double in __CFLOAT128.
2464 2018-05-11 Joseph Myers <joseph@codesourcery.com>
2466 * sysdeps/generic/math_private.h: Do not include
2468 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
2470 * math/fromfp.h: Include <math-barriers.h>.
2471 * math/math-narrow.h: Likewise.
2472 * math/s_nextafter.c: Likewise.
2473 * math/s_nexttowardf.c: Likewise.
2474 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
2475 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
2476 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
2477 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
2478 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2479 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2480 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2481 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2482 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2483 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2484 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2485 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2486 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2487 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2488 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
2489 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
2490 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2491 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2492 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2493 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2494 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2495 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2496 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2497 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2498 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2499 * sysdeps/ieee754/k_standardl.c: Likewise.
2500 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2501 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2502 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2503 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2504 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2505 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2506 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2507 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2508 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2509 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2510 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2511 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2512 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2513 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2514 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2515 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2516 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
2517 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
2518 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2519 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2520 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
2521 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
2523 2018-05-11 Florian Weimer <fweimer@redhat.com>
2525 Use 64-bit epoch values in the time zone file parser.
2526 * include/time.h (internal_time_t): Define.
2527 (__tzfile_compute): Use it.
2528 * time/tzfile.c (struct leap): Use internal_time_t for epoch
2530 (transitions): Switch to internal_time_t.
2531 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
2533 (__tzfile_compute): Use internal_time_t for timer argument. Check
2534 for truncation before calling __offtime.
2536 2018-05-11 Florian Weimer <fweimer@redhat.com>
2539 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
2540 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
2542 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
2543 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
2544 export without --enable-obsolete-rpc.
2545 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
2546 symbol. This should not have been exported, ever.
2548 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
2551 * localedata/locales/gd_GB (abmon): Fix typo in May:
2552 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
2554 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
2556 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
2557 Use multiple registers to copy data in loop tail.
2559 * sysdeps/aarch64/multiarch/memmove_falkor.S
2560 (__memmove_falkor): Use multiple registers to move data in
2563 2018-05-10 Joseph Myers <joseph@codesourcery.com>
2565 * math/math-underflow.h: New file.
2566 * sysdeps/generic/math_private.h: Do not include <float.h>.
2567 (fabs_tg): Remove macro. Moved to math-underflow.h.
2568 (min_of_type_f): Likewise.
2569 (min_of_type_): Likewise.
2570 (min_of_type_l): Likewise.
2571 (min_of_type_f128): Likewise.
2572 (min_of_type): Likewise.
2573 (math_check_force_underflow): Likewise.
2574 (math_check_force_underflow_nonneg): Likewise.
2575 (math_check_force_underflow_complex): Likewise.
2576 * math/e_exp2_template.c: Include <math-underflow.h>.
2577 * math/k_casinh_template.c: Likewise.
2578 * math/s_catan_template.c: Likewise.
2579 * math/s_catanh_template.c: Likewise.
2580 * math/s_ccosh_template.c: Likewise.
2581 * math/s_cexp_template.c: Likewise.
2582 * math/s_clog10_template.c: Likewise.
2583 * math/s_clog_template.c: Likewise.
2584 * math/s_csin_template.c: Likewise.
2585 * math/s_csinh_template.c: Likewise.
2586 * math/s_csqrt_template.c: Likewise.
2587 * math/s_ctan_template.c: Likewise.
2588 * math/s_ctanh_template.c: Likewise.
2589 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2590 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2591 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2592 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2593 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2594 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2595 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2596 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2597 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2598 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2599 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2600 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2601 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2602 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2603 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2604 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2605 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2606 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2607 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2608 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2609 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2610 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2611 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2612 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2613 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2614 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2615 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2616 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2617 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2618 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2619 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2620 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2621 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2622 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2623 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2624 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2625 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2626 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2627 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2628 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2629 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2630 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2631 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2632 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2633 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2634 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2635 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2636 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2637 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2638 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2639 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2640 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
2641 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2642 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2643 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2644 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2645 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2646 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2647 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2648 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2649 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2650 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2651 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2652 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2653 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2654 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2655 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2656 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
2657 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2658 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2659 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2660 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2661 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2662 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
2663 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2664 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2665 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2666 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2667 * sysdeps/x86/fpu/powl_helper.c: Likewise.
2668 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
2669 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
2670 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2671 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2672 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2674 2018-05-09 Joseph Myers <joseph@codesourcery.com>
2676 * sysdeps/generic/math-barriers.h: New file.
2677 * sysdeps/generic/math_private.h [!math_opt_barrier]
2678 (math_opt_barrier): Move to math-barriers.h.
2679 [!math_opt_barrier] (math_force_eval): Likewise.
2680 * sysdeps/aarch64/fpu/math-barriers.h: New file.
2681 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
2683 (math_force_eval): Likewise.
2684 * sysdeps/alpha/fpu/math-barriers.h: New file.
2685 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
2687 (math_force_eval): Likewise.
2688 * sysdeps/x86/fpu/math-barriers.h: New file.
2689 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
2691 (math_force_eval): Likewise.
2692 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
2693 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
2694 multiple-include guard for rename.
2695 * sysdeps/powerpc/fpu/math-barriers.h: New file.
2696 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
2698 (math_force_eval): Likewise.
2700 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2704 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
2706 * stdlib/Makefile (test-bz22786): New test.
2707 * stdlib/test-bz22786.c: New test.
2709 2018-05-09 Joseph Myers <joseph@codesourcery.com>
2711 * include/math-narrow-eval.h: New file. Contents moved from ....
2712 * sysdeps/generic/math_private.h: ... here.
2713 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
2714 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
2715 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
2716 * stdlib/strtod_l.c: Likewise.
2717 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
2718 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
2719 * sysdeps/i386/fpu/s_fdim.c: Likewise.
2720 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2721 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2722 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2723 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2724 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2725 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2726 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2727 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2728 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
2729 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2730 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2731 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2732 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2733 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2734 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2735 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2736 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2737 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2738 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2739 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2740 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2741 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
2742 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2743 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2744 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2745 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2747 2018-05-08 Andreas Schwab <schwab@suse.de>
2749 * sysdeps/nptl/internaltypes.h: Fix comment.
2751 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
2753 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2754 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
2757 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
2759 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
2760 of I into loop header.
2761 * benchtests/bench-memmove-walk.c
2762 (test_main): Likewise.
2764 2018-05-07 Alexandre Oliva <oliva@gnu.org>
2767 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
2768 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
2770 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2773 * elf/dl-load.c (open_verify): Fix stack overflow.
2774 * elf/Makefile (tst-big-note): New test.
2775 * elf/tst-big-note-lib.S: New.
2776 * elf/tst-big-note.c: New.
2778 2018-05-04 Joseph Myers <joseph@codesourcery.com>
2780 * scripts/abilist.awk: Ignore absolute symbols.
2781 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
2782 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
2783 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
2784 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
2785 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
2786 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
2787 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
2788 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
2789 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
2790 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
2791 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
2792 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
2793 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2794 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
2795 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
2796 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2797 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
2798 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
2799 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2800 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
2801 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
2802 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
2803 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
2804 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
2805 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
2806 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2807 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
2808 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
2809 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2810 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
2811 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
2812 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2813 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
2814 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
2815 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
2816 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
2817 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
2818 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
2819 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2820 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
2821 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
2822 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2823 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
2824 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
2825 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2826 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
2827 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
2828 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
2829 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
2830 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
2831 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
2832 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2833 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
2834 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
2835 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2836 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
2837 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
2838 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2839 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
2840 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
2841 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
2842 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
2843 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
2844 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
2845 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2846 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
2847 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
2848 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2849 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
2850 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
2851 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2852 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
2853 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
2854 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
2855 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
2856 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
2857 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
2858 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2859 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
2860 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
2861 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2862 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
2863 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
2864 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2865 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
2866 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
2867 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
2868 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
2869 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
2870 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
2871 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2872 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2874 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
2875 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2876 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
2877 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
2878 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2879 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
2880 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
2881 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
2882 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
2883 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
2884 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
2885 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2886 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2888 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
2889 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2890 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
2891 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
2892 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2893 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
2894 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
2895 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
2896 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
2897 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
2898 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
2899 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
2900 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
2901 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
2902 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2903 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
2904 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
2905 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2906 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
2907 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
2908 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
2909 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
2910 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
2911 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
2912 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2913 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
2914 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2916 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
2917 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
2918 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
2919 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
2920 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2921 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
2922 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
2923 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
2924 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
2925 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
2926 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
2927 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
2928 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
2929 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
2930 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
2931 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
2932 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
2933 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
2934 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2935 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2937 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
2938 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
2939 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
2940 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2941 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
2942 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
2943 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
2944 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
2945 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
2946 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
2947 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2948 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
2949 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
2950 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2951 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
2952 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
2953 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
2954 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
2955 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2956 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
2957 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
2958 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2959 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
2960 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
2961 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
2962 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
2963 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
2964 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
2965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
2966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
2968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
2971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
2972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
2973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
2974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
2978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
2979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
2982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
2994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
2995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
3000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
3001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
3002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
3006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
3007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
3015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
3016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
3017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
3024 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
3025 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
3027 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
3028 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3029 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
3030 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
3031 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
3032 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
3033 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
3034 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
3035 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
3036 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
3037 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
3038 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
3039 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
3040 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3042 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3043 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
3044 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
3045 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3046 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
3047 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
3048 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
3049 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
3050 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
3051 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
3052 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
3053 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3055 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3056 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
3057 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
3058 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3059 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
3060 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
3061 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
3062 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
3063 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
3064 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
3065 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
3066 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
3067 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
3068 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3069 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
3070 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
3071 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3072 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
3073 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
3074 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
3075 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
3076 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
3077 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
3078 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
3079 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3081 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
3082 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3083 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
3084 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
3085 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3086 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
3087 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
3088 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
3089 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
3090 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
3091 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
3092 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
3093 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3095 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
3096 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3097 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
3098 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
3099 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3100 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
3101 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
3102 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
3103 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
3104 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
3105 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
3106 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
3107 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
3108 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
3109 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3110 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
3111 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
3112 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3113 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
3114 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
3115 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
3116 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
3117 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
3118 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
3119 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3120 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
3121 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
3122 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
3123 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3124 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
3125 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
3126 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3127 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
3128 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
3129 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
3130 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
3131 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
3132 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
3134 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
3137 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
3138 Use atomic_load_acquire to load __tid.
3140 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
3142 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
3143 Restore the pointer into %rdx, after syscall and use %rdx,
3144 instead of %rsi, to restore context.
3146 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
3148 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
3149 Pop the pointer into %rdx after syscall and use %rdx, instead
3150 of %rsi, to restore context.
3152 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
3154 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
3155 handlers after setjmp.
3156 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
3158 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
3159 <libc-pointer-arith.h>.
3160 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
3161 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
3162 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
3163 _JUMP_BUF_SIGSET_BITS_PER_WORD.
3164 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
3165 * sysdeps/x86/__longjmp_cancel.S: New file.
3166 * sysdeps/x86/longjmp.c: Likewise.
3167 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
3169 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3171 * NEWS: Add ustat.h deprecation entry.
3172 * bits/ustat.h: Remove file.
3173 * misc/sys/ustat.h: Likewise.
3174 * misc/ustat.h: Likewise.
3175 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
3176 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
3177 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
3179 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
3180 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
3181 generic Linux implementation.
3183 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3185 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
3186 * math/w_expl_compat.c: Likewise.
3187 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
3189 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
3191 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
3193 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3195 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
3196 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
3197 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
3199 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
3200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3201 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3202 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
3203 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
3206 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3208 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
3210 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
3211 * math/w_asin_template.c: Likewise.
3212 * math/w_atanh_template.c: Likewise.
3214 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3216 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
3217 to powerpc/powerpc64/be for big-endian.
3218 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
3221 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
3222 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
3223 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
3224 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
3225 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3226 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
3227 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
3228 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
3229 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
3230 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3231 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
3232 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
3233 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
3234 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
3235 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
3236 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
3237 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
3238 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
3239 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
3240 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
3241 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
3242 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3243 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
3244 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
3245 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
3246 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3247 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
3248 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
3249 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
3250 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
3251 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
3252 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
3254 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
3255 adjusted to imply powerpc64 and older processors on powerpc64/be.
3256 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
3257 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
3258 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
3259 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
3260 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
3261 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
3262 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
3263 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
3264 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
3265 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
3266 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
3267 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
3268 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
3269 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
3270 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
3271 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
3272 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
3273 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
3274 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
3275 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
3276 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
3277 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
3278 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
3279 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
3280 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
3281 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
3282 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
3283 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
3284 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
3285 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
3286 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
3288 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
3289 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
3290 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
3291 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
3293 * sysdeps/powerpc/powerpc64/be/Implies: New file.
3294 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
3295 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
3296 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
3298 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
3299 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
3300 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
3301 * sysdeps/powerpc/powerpc64le/configure: Likewise.
3302 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
3303 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
3304 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
3305 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
3306 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
3307 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
3308 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
3310 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
3311 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
3312 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
3313 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
3314 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
3315 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
3316 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
3317 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
3318 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
3319 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
3320 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
3322 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
3323 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
3324 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
3325 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
3326 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
3327 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
3328 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
3329 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
3330 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
3331 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
3332 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
3333 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
3335 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
3336 and adjusted to imply olders processors.
3337 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
3338 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
3339 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
3340 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
3341 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
3342 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
3343 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
3344 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
3345 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
3346 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
3347 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
3349 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
3351 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
3352 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
3354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
3356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
3357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
3359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
3361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
3362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
3363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
3365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
3366 powerpc64 and adjusted.
3367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
3369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
3372 2018-04-27 Joseph Myers <joseph@codesourcery.com>
3374 * sysdeps/tile: Remove.
3375 * sysdeps/unix/sysv/linux/tile: Likewise.
3376 * README (tilegx-*-linux-gnu): Remove from list of supported
3378 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
3379 contribution of support for generic Linux kernel syscall
3381 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
3382 tilegx configurations.
3383 (Config.install_linux_headers): Do not handle tile.
3384 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
3386 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
3387 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
3388 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
3389 conditional undefine and redefine.
3390 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
3392 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
3393 conditional undefine and redefine.
3395 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
3397 * signal/tst-sigaction.c: New file to test BZ #23069.
3398 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
3400 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3403 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
3404 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
3405 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
3406 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3408 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3410 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
3411 _DIRENT_MATCHES_DIRENT64 is not defined.
3412 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
3413 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
3415 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
3416 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
3418 2018-04-25 Joseph Myers <joseph@codesourcery.com>
3420 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
3421 version to GCC 8 branch.
3423 2018-04-24 Joseph Myers <joseph@codesourcery.com>
3425 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
3426 (check_no_hidden): Use type of original function when declaring
3429 * sysdeps/unix/sysv/linux/sys/ptrace.h
3430 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
3431 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
3432 (struct __ptrace_seccomp_metadata): New type.
3433 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3434 (PTRACE_SECCOMP_GET_METADATA): Likewise.
3435 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
3436 (PTRACE_SECCOMP_GET_METADATA): Likewise.
3437 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
3438 (PTRACE_SECCOMP_GET_METADATA): Likewise.
3439 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3440 (PTRACE_SECCOMP_GET_METADATA): Likewise.
3441 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
3442 (PTRACE_SECCOMP_GET_METADATA): Likewise.
3443 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
3444 (PTRACE_SECCOMP_GET_METADATA): Likewise.
3445 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
3446 (PTRACE_SECCOMP_GET_METADATA): Likewise.
3447 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
3448 (PTRACE_SECCOMP_GET_METADATA): Likewise.
3450 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3452 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
3454 * dirent/versionsort.c (versionsort): Likewise.
3455 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
3456 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
3457 * dirent/versionsort64.c (versionsort64): Likewise.
3458 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
3459 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
3460 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
3461 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
3462 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
3463 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
3464 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
3465 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
3466 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
3467 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
3468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
3469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
3470 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
3471 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
3473 2018-04-23 Joseph Myers <joseph@codesourcery.com>
3475 * elf/elf.h (NT_PPC_PKEY): New macro.
3477 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
3480 * localedata/locales/hr_HR: fix thousands_sep and
3483 2018-04-20 Joseph Myers <joseph@codesourcery.com>
3485 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
3486 (XTABS): Define to TAB3.
3488 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3490 * sysdeps/hppa/fpu/libm-test-ulps: Update.
3492 * dirent/scandir-tail-common.c: New file.
3493 * dirent/scandir-tail.c: Use scandir-tail-common.c.
3494 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
3495 * dirent/scandir.c: Use scandir-tail-common.c.
3496 * dirent/scandirat.c: Likewise.
3497 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
3498 * dirent/scandir64.c (scandir64): Always build and alias to scandir
3499 if _DIRENT_MATCHES_DIRENT64 is defined.
3500 * dirent/scandirat64.c (scandirat64): Likewise.
3501 * include/dirent.h (__scandir_tail): Only define iff
3502 _DIRENT_MATCHES_DIRENT64 is not defined.
3503 (__scandir64_tail): Define regardless.
3504 (__scandirat, scandirat64): Remove libc_hidden_proto.
3505 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
3506 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
3507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
3508 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
3509 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
3510 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
3511 * sysdeps/unix/sysv/linux/scandir64.c: New file.
3513 2018-04-20 Joseph Myers <joseph@codesourcery.com>
3515 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
3517 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3519 (_dl_aarch64_cap_flags): Add asimdfhm.
3521 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
3523 * sysdeps/nios2/libm-test-ulps: Update.
3525 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3527 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3528 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
3530 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
3532 (_DIRENT_MATCHES_DIRENT64): Undef
3533 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
3534 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
3535 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
3536 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
3537 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
3538 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
3539 use getdents64 syscalls as base.
3540 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
3542 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
3543 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
3544 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
3545 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
3546 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
3547 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
3548 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
3549 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
3550 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3551 (__get_clockfreq_via_proc_openprom): Use __getdents64.
3552 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
3554 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
3556 * scripts/test_printers_common.py (init_test): Disable lock elision.
3558 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
3560 * math/test-tgmath.c (count_double, count_float,
3561 count_ldouble, count_cdouble, count_cfloat,
3562 count_cldouble): Use volatile int.
3564 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3566 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
3567 (conformtest-xfail-conds): Add i386-gnu.
3568 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
3570 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
3571 ipc_perm.cuid, ipc_perm.cgid): Likewise.
3572 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
3573 msqid_ds.msg_lrpid): Likewise.
3574 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
3576 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
3577 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
3578 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
3579 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
3581 (struct statvfs64): Likewise.
3582 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
3584 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
3585 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
3586 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
3587 instead of wait_queue.
3588 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
3589 instead of vm_area_struct.
3590 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
3591 struct sched_param definition to it.
3592 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3593 * bits/types/struct_sched_param.h: New file.
3594 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
3595 <bits/types/struct_sched_param.h> instead of <sched.h>.
3596 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
3597 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
3598 generic version but include <bits/pthreadtypes.h> to make struct
3599 sigevent's sigev_notify_attributes field a pthread_attr_t*.
3600 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
3602 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
3603 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
3604 [__USE_XOPEN] (OFDEL): New macro.
3605 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
3606 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
3607 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
3609 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
3610 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
3611 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
3613 * sysdeps/i386/sys/ucontext.h: Likewise.
3614 * sysdeps/m68k/sys/ucontext.h: Likewise.
3615 * sysdeps/mips/sys/ucontext.h: Likewise.
3616 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
3617 * sysdeps/mach/hurd/i386/Makefile
3618 (test-xfail-POSIX/fcntl.h/conform): Add.
3619 (test-xfail-POSIX/signal.h/conform): Add.
3620 (test-xfail-POSIX/semaphore.h/conform): Add.
3621 (test-xfail-POSIX/regex.h/conform): Add.
3622 (test-xfail-POSIX/aio.h/conform): Add.
3623 (test-xfail-POSIX/mqueue.h/conform): Add.
3624 (test-xfail-POSIX/sys/types.h/conform): Add.
3625 (test-xfail-UNIX98/fcntl.h/conform): Add.
3626 (test-xfail-UNIX98/netdb.h/conform): Add.
3627 (test-xfail-UNIX98/signal.h/conform): Add.
3628 (test-xfail-UNIX98/semaphore.h/conform): Add.
3629 (test-xfail-UNIX98/regex.h/conform): Add.
3630 (test-xfail-UNIX98/aio.h/conform): Add.
3631 (test-xfail-UNIX98/ftw.h/conform): Add.
3632 (test-xfail-UNIX98/mqueue.h/conform): Add.
3633 (test-xfail-UNIX98/netinet/in.h/conform): Add.
3634 (test-xfail-UNIX98/sys/wait.h/conform): Add.
3635 (test-xfail-UNIX98/sys/sem.h/conform): Add.
3636 (test-xfail-UNIX98/sys/uio.h/conform): Add.
3637 (test-xfail-UNIX98/sys/socket.h/conform): Add.
3638 (test-xfail-UNIX98/sys/types.h/conform): Add.
3639 (test-xfail-UNIX98/stdlib.h/conform): Add.
3640 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
3641 (test-xfail-POSIX2008/fcntl.h/conform): Add.
3642 (test-xfail-POSIX2008/netdb.h/conform): Add.
3643 (test-xfail-POSIX2008/signal.h/conform): Add.
3644 (test-xfail-POSIX2008/semaphore.h/conform): Add.
3645 (test-xfail-POSIX2008/regex.h/conform): Add.
3646 (test-xfail-POSIX2008/aio.h/conform): Add.
3647 (test-xfail-POSIX2008/mqueue.h/conform): Add.
3648 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
3649 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
3650 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
3651 (test-xfail-POSIX2008/sys/types.h/conform): Add.
3652 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
3653 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
3654 (test-xfail-XOPEN2K/netdb.h/conform): Add.
3655 (test-xfail-XOPEN2K/signal.h/conform): Add.
3656 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
3657 (test-xfail-XOPEN2K/regex.h/conform): Add.
3658 (test-xfail-XOPEN2K/aio.h/conform): Add.
3659 (test-xfail-XOPEN2K/ftw.h/conform): Add.
3660 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
3661 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
3662 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
3663 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
3664 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
3665 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
3666 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
3667 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
3668 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
3669 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
3670 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
3671 (test-xfail-XOPEN2K8/signal.h/conform): Add.
3672 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
3673 (test-xfail-XOPEN2K8/regex.h/conform): Add.
3674 (test-xfail-XOPEN2K8/aio.h/conform): Add.
3675 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
3676 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
3677 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
3678 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
3679 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
3680 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
3681 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
3682 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
3683 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
3684 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
3685 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
3687 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
3688 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
3690 2018-04-18 Joseph Myers <joseph@codesourcery.com>
3692 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
3693 --enable-obsolete for powerpc-linux-gnuspe.
3695 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3697 * conform/data/sys/un.h-data: Allow sun_ prefix.
3698 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
3700 * sysdeps/mach/include/mach.h: Likewise.
3701 * sysdeps/mach/include/mach/mig_support.h: Likewise.
3702 * sysdeps/mach/include/mach_error.h: Likewise.
3704 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3706 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
3707 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
3708 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
3709 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
3711 2018-04-16 Andreas Schwab <schwab@suse.de>
3714 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
3716 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
3718 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
3719 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
3721 2018-04-12 DJ Delorie <dj@redhat.com>
3723 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3726 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3728 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
3729 (struct kernel_sigaction): Use the same definition on 31bit as is used
3732 2018-04-09 Florian Weimer <fweimer@redhat.com>
3735 * resolv/res_send.c (send_dg): Use designated initializers instead
3736 of assignment to zero-initialize other fields of struct mmsghdr.
3738 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3740 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
3741 __READDIR_ALIAS): Undefine after usage.
3742 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
3743 __READDIR_R_ALIAS): Likewise.
3744 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
3745 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
3746 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
3747 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
3748 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
3749 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
3750 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3751 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3752 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
3753 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
3754 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
3755 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
3756 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
3757 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
3758 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
3759 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
3760 * sysdeps/unix/sysv/linux/readdir.c: New file.
3761 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
3762 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
3763 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3765 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
3767 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
3769 * manual/charset.texi (Converting a Character): Fix typo.
3771 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3775 * sysdeps/arm/libm-test-ulps: Update.
3777 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
3778 as base implementation.
3779 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3780 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3781 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3782 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3783 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3784 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
3785 remove unrequired definitions and update comments.
3786 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
3787 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
3788 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
3789 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
3790 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
3791 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
3792 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3793 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
3794 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
3795 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
3796 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
3797 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3798 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3799 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
3800 and RESET_SA_RESTORER hooks.
3802 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
3804 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3806 2018-04-05 Florian Weimer <fweimer@redhat.com>
3808 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
3809 integer overflow, memory leak on error, and indeterminate errno
3810 value. Add a null wide character to terminate the result string.
3811 * manual/charset.texi (Converting a Character): Mention embedded
3812 null bytes in the mbrtowc input string. Explain what happens in
3813 the -2 result case. Do not claim that mbrtowc is simple or
3814 obvious to use. Adjust the description of the code example. Use
3815 @code, not @var, for concrete variables.
3817 2018-04-05 Florian Weimer <fweimer@redhat.com>
3819 * manual/examples/mbstouwcs.c: New file.
3820 * manual/charset.texi (Converting a Character): Include it.
3822 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
3824 * include/dirent.h (dirfd): Add hidden proto.
3825 * dirent/dirfd.c (dirfd): Add hidden def.
3826 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
3827 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
3829 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3831 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
3832 sin, cos and sincos to 1 ULP.
3834 2018-04-04 Maciej W. Rozycki <macro@mips.com>
3837 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
3839 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
3840 * elf/tst-absolute-sym.c: New file.
3841 * elf/tst-absolute-sym-lib.c: New file.
3842 * elf/tst-absolute-sym-lib.lds: New file.
3843 * elf/Makefile (tests): Add `tst-absolute-sym'.
3844 (modules-names): Add `tst-absolute-sym-lib'.
3845 (LDLIBS-tst-absolute-sym-lib.so): New variable.
3846 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
3847 ($(objpfx)tst-absolute-sym): New dependency.
3850 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
3852 (SYMBOL_ADDRESS): New macro.
3853 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
3854 SYMBOL_ADDRESS for symbol address calculation.
3855 * elf/dl-runtime.c (_dl_fixup): Likewise.
3856 (_dl_profile_fixup): Likewise.
3857 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
3858 * elf/rtld.c (dl_main): Likewise.
3859 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
3860 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
3861 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
3862 (elf_machine_rela): Likewise.
3863 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
3864 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
3865 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3866 (elf_machine_rela): Likewise.
3867 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
3868 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
3869 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
3870 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
3872 (elf_machine_reloc): Likewise.
3873 (elf_machine_got_rel): Likewise.
3874 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
3875 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
3876 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
3878 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3880 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
3881 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3883 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3885 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3886 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3888 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3890 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
3891 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3893 2018-04-04 Zack Weinberg <zackw@panix.com>
3895 * sysdeps/generic/internal-signals.h: Include signal.h,
3896 sigsetops.h, and stdbool.h.
3897 (__libc_signal_block_all): Actually block all signals.
3898 (__libc_signal_block_app): Likewise.
3899 (__libc_signal_restore_set): Actually restore the signal mask.
3901 2018-04-04 Florian Weimer <fweimer@redhat.com>
3903 inet: Actually build and run tst-deadline.
3904 * inet/Makefile (tests-internal): Add tst-deadline and do not
3905 overwrite the variable.
3906 (tests-static-internal): Remove variable.
3908 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
3911 * bits/uio-ext.h (RWF_APPEND): New.
3912 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
3913 * manual/llio.texi: Document RWF_APPEND.
3914 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
3915 (RWF_SUPPORTED): Add RWF_APPEND.
3917 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3920 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
3921 check for internal nptl signals.
3922 * nptl/sigaction.c (__sigaction): Likewise.
3923 * signal/sigaddset.c (sigaddset): Likewise.
3924 * signal/sigdelset.c (sigdelset): Likewise.
3925 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
3926 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
3928 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
3929 to filter out internal nptl signals.
3930 * signal/tst-sigset.c (do_test): Check ech signal indidually and
3931 also check realtime signals using standard macros.
3932 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
3933 __is_internal_signal, __libc_signal_block_all,
3934 __libc_signal_block_app, __libc_signal_restore_set): New functions.
3935 * sysdeps/nptl/sigfillset.c: Remove file.
3936 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
3937 Change return to bool.
3938 (__clear_internal_signals): Remove SIGTIMER clean since it is
3939 equal to SIGCANEL on Linux.
3940 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
3941 signal set was constructed using standard functions.
3943 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3945 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
3947 * hurd/hurdsig.c (interrupted_reply_port_location): Use
3948 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
3949 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
3951 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
3952 * signal/sigaddset.c: Include <sigsetopts.h>.
3953 * signal/sigdelset.c: Likewise.
3955 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
3957 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
3959 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
3960 logic as sin and cos.
3962 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
3964 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
3965 inputs. Return correct sign.
3966 (do_sincos): Remove small input check before do_sin, let do_sin set
3971 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
3973 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
3974 (do_cos_slow): Likewise.
3975 (do_sin_slow): Likewise.
3976 (reduce_and_compute): Likewise.
3988 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
3990 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
3991 (do_cos): Remove corp parameter and calculations.
3993 (do_sincos): Remove cor variable.
3994 (__sin): Use do_sincos for huge inputs.
3996 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
3997 (reduce_and_compute_sincos): Remove unused function.
3999 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
4001 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
4002 reduce_sincos, improve accuracy to 136 bits.
4003 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
4004 (__sin): Use improved reduction and simplified do_sincos calculation.
4006 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
4008 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
4010 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
4011 (do_sincos_2): Likewise.
4012 (__sin): Remove middle range reduction case.
4014 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
4017 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
4019 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
4020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
4023 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
4025 2018-04-03 Joseph Myers <joseph@codesourcery.com>
4027 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4030 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4032 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
4034 (opendir_oflags): Use O_DIRECTORY regardless.
4035 (__opendir, __opendirat): Remove need_isdir_precheck usage.
4036 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
4038 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4040 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
4041 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
4043 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
4044 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
4045 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
4046 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
4047 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
4048 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
4050 * htl/Makefile: Bump licence to LGPL 2.1+.
4051 * htl/alloca_cutoff.c: Likewise.
4052 * htl/cthreads-compat.c: Likewise.
4053 * htl/lockfile.c: Likewise.
4054 * htl/pt-alloc.c: Likewise.
4055 * htl/pt-cancel.c: Likewise.
4056 * htl/pt-cleanup.c: Likewise.
4057 * htl/pt-create.c: Likewise.
4058 * htl/pt-dealloc.c: Likewise.
4059 * htl/pt-detach.c: Likewise.
4060 * htl/pt-exit.c: Likewise.
4061 * htl/pt-getattr.c: Likewise.
4062 * htl/pt-initialize.c: Likewise.
4063 * htl/pt-internal.h: Likewise.
4064 * htl/pt-join.c: Likewise.
4065 * htl/pt-self.c: Likewise.
4066 * htl/pt-setcancelstate.c: Likewise.
4067 * htl/pt-setcanceltype.c: Likewise.
4068 * htl/pt-sigmask.c: Likewise.
4069 * htl/pt-spin-inlines.c: Likewise.
4070 * htl/pt-testcancel.c: Likewise.
4071 * htl/pt-yield.c: Likewise.
4072 * htl/tests/test-1.c: Likewise.
4073 * htl/tests/test-10.c: Likewise.
4074 * htl/tests/test-11.c: Likewise.
4075 * htl/tests/test-12.c: Likewise.
4076 * htl/tests/test-13.c: Likewise.
4077 * htl/tests/test-14.c: Likewise.
4078 * htl/tests/test-15.c: Likewise.
4079 * htl/tests/test-16.c: Likewise.
4080 * htl/tests/test-17.c: Likewise.
4081 * htl/tests/test-2.c: Likewise.
4082 * htl/tests/test-3.c: Likewise.
4083 * htl/tests/test-4.c: Likewise.
4084 * htl/tests/test-5.c: Likewise.
4085 * htl/tests/test-6.c: Likewise.
4086 * htl/tests/test-7.c: Likewise.
4087 * htl/tests/test-8.c: Likewise.
4088 * htl/tests/test-9.c: Likewise.
4089 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
4090 * sysdeps/htl/bits/cancelation.h: Likewise.
4091 * sysdeps/htl/bits/pthread-np.h: Likewise.
4092 * sysdeps/htl/bits/pthread.h: Likewise.
4093 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
4094 * sysdeps/htl/bits/semaphore.h: Likewise.
4095 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
4096 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
4097 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
4098 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
4099 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
4100 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
4101 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
4102 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
4103 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
4104 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
4105 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
4106 * sysdeps/htl/old_pt-atfork.c: Likewise.
4107 * sysdeps/htl/pt-atfork.c: Likewise.
4108 * sysdeps/htl/pt-attr-destroy.c: Likewise.
4109 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
4110 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
4111 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
4112 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
4113 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
4114 * sysdeps/htl/pt-attr-getscope.c: Likewise.
4115 * sysdeps/htl/pt-attr-getstack.c: Likewise.
4116 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
4117 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
4118 * sysdeps/htl/pt-attr-init.c: Likewise.
4119 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
4120 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
4121 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
4122 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
4123 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
4124 * sysdeps/htl/pt-attr-setscope.c: Likewise.
4125 * sysdeps/htl/pt-attr-setstack.c: Likewise.
4126 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
4127 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
4128 * sysdeps/htl/pt-attr.c: Likewise.
4129 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
4130 * sysdeps/htl/pt-barrier-init.c: Likewise.
4131 * sysdeps/htl/pt-barrier-wait.c: Likewise.
4132 * sysdeps/htl/pt-barrier.c: Likewise.
4133 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
4134 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
4135 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
4136 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
4137 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
4138 * sysdeps/htl/pt-cond-destroy.c: Likewise.
4139 * sysdeps/htl/pt-cond-init.c: Likewise.
4140 * sysdeps/htl/pt-cond-signal.c: Likewise.
4141 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
4142 * sysdeps/htl/pt-cond-wait.c: Likewise.
4143 * sysdeps/htl/pt-cond.c: Likewise.
4144 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
4145 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
4146 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
4147 * sysdeps/htl/pt-condattr-init.c: Likewise.
4148 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
4149 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
4150 * sysdeps/htl/pt-destroy-specific.c: Likewise.
4151 * sysdeps/htl/pt-equal.c: Likewise.
4152 * sysdeps/htl/pt-getconcurrency.c: Likewise.
4153 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
4154 * sysdeps/htl/pt-getschedparam.c: Likewise.
4155 * sysdeps/htl/pt-getspecific.c: Likewise.
4156 * sysdeps/htl/pt-init-specific.c: Likewise.
4157 * sysdeps/htl/pt-key-create.c: Likewise.
4158 * sysdeps/htl/pt-key-delete.c: Likewise.
4159 * sysdeps/htl/pt-key.h: Likewise.
4160 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
4161 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
4162 * sysdeps/htl/pt-mutex-init.c: Likewise.
4163 * sysdeps/htl/pt-mutex-lock.c: Likewise.
4164 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
4165 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
4166 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
4167 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
4168 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
4169 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
4170 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
4171 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
4172 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
4173 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
4174 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
4175 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
4176 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
4177 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
4178 * sysdeps/htl/pt-mutexattr.c: Likewise.
4179 * sysdeps/htl/pt-once.c: Likewise.
4180 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
4181 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
4182 * sysdeps/htl/pt-rwlock-init.c: Likewise.
4183 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
4184 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
4185 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
4186 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
4187 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
4188 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
4189 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
4190 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
4191 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
4192 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
4193 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
4194 * sysdeps/htl/pt-setconcurrency.c: Likewise.
4195 * sysdeps/htl/pt-setschedparam.c: Likewise.
4196 * sysdeps/htl/pt-setschedprio.c: Likewise.
4197 * sysdeps/htl/pt-setspecific.c: Likewise.
4198 * sysdeps/htl/pt-spin.c: Likewise.
4199 * sysdeps/htl/pt-startup.c: Likewise.
4200 * sysdeps/htl/pthread.h: Likewise.
4201 * sysdeps/htl/sem-close.c: Likewise.
4202 * sysdeps/htl/sem-destroy.c: Likewise.
4203 * sysdeps/htl/sem-getvalue.c: Likewise.
4204 * sysdeps/htl/sem-init.c: Likewise.
4205 * sysdeps/htl/sem-open.c: Likewise.
4206 * sysdeps/htl/sem-post.c: Likewise.
4207 * sysdeps/htl/sem-timedwait.c: Likewise.
4208 * sysdeps/htl/sem-trywait.c: Likewise.
4209 * sysdeps/htl/sem-unlink.c: Likewise.
4210 * sysdeps/htl/sem-wait.c: Likewise.
4211 * sysdeps/hurd/htl/pt-kill.c: Likewise.
4212 * sysdeps/i386/htl/pt-machdep.h: Likewise.
4213 * sysdeps/mach/htl/pt-block.c: Likewise.
4214 * sysdeps/mach/htl/pt-spin.c: Likewise.
4215 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
4216 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
4217 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
4218 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
4219 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
4220 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
4221 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
4222 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
4223 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
4224 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
4225 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
4226 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
4227 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
4228 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
4229 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
4230 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
4231 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
4232 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
4233 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
4234 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
4235 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
4236 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
4237 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
4238 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
4239 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
4240 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
4241 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
4242 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
4243 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
4244 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
4245 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
4246 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
4247 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
4248 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
4249 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
4250 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
4251 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
4252 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
4253 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
4254 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
4255 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
4256 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
4257 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
4259 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
4260 * README: Remove the mention of out-of-tree patches needed for
4263 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
4264 (UTIME_NOW, UTIME_OMIT): Define macros.
4266 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
4267 instead of pthread_detach.
4268 (__cthread_fork): Call __pthread_create instead of pthread_create.
4269 (__cthread_keycreate): Call __pthread_key_create instead of
4271 (__cthread_getspecific): Call __pthread_getspecific instead of
4272 pthread_getspecific.
4273 (__cthread_setspecific): Call __pthread_setspecific instead of
4274 pthread_setspecific.
4275 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
4276 __pthread_mutex_unlock instead of pthread_mutex_lock and
4277 pthread_mutex_unlock.
4278 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
4279 ___pthread_get_cleanup_stack.
4280 (__pthread_get_cleanup_stack): New strong alias.
4281 * htl/pt-create.c: Include <pthreadP.h>.
4282 (entry_point): Call __pthread_exit instead of pthread_exit.
4283 (pthread_create): Rename to __pthread_create.
4284 (pthread_create): New strong alias.
4285 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
4286 (pthread_detach): New strong alias.
4287 (__pthread_detach): Call __pthread_cond_broadcast instead of
4288 pthread_cond_broadcast.
4289 * htl/pt-exit.c: Include <pthreadP.h>.
4290 (__pthread_exit): Call __pthread_setcancelstate and
4291 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
4292 __pthread_get_cleanup_stack.
4293 * htl/pt-testcancel.c: Include <pthreadP.h>.
4294 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
4295 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
4296 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
4297 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
4298 pthread_attr_getstacksize.
4299 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
4300 Rename to __pthread_attr_getstackaddr.
4301 (pthread_attr_getstackaddr): New strong alias.
4302 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
4303 Rename to __pthread_attr_getstacksize.
4304 (pthread_attr_getstacksize): New strong alias.
4305 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
4306 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
4307 (pthread_attr_setstack): New strong alias.
4308 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
4309 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
4310 pthread_attr_getstacksize, pthread_attr_setstacksize and
4311 pthread_attr_setstackaddr.
4312 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
4313 Rename to __pthread_attr_setstackaddr.
4314 (pthread_attr_setstackaddr): New strong alias.
4315 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
4316 Rename to __pthread_attr_setstacksize.
4317 (pthread_attr_setstacksize): New strong alias.
4318 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
4319 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
4321 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
4322 (__pthread_key_create): New hidden def.
4323 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
4324 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
4325 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
4326 __pthread_exit, __pthread_key_create, __pthread_getspecific,
4327 __pthread_setspecific, __pthread_setcancelstate,
4328 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
4329 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
4330 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
4332 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
4333 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
4334 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
4335 (pthread_attr_setstackaddr): New strong alias.
4336 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
4337 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
4338 (pthread_attr_setstacksize): New strong alias.
4339 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
4340 (call_exit): Call __pthread_exit instead of pthread_exit.
4341 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
4342 (_pthread_mutex_init): New hidden definition.
4343 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
4344 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
4345 instead of pthread_attr_init and pthread_attr_setstack.
4347 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
4348 __vm_deallocate instead of vm_allocate and vm_deallocate.
4349 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
4351 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
4353 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
4355 * hurd/siginfo.c: Include <libioP.h>.
4356 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
4357 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
4359 * mach/devstream.c: Include <libioP.h>.
4360 (dealloc_ref): Call __mach_port_deallocate instead of
4361 mach_port_deallocate.
4362 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
4363 Call __mach_port_deallocate instead of mach_port_deallocate.
4364 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
4366 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
4368 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
4369 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
4370 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
4372 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
4374 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
4376 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
4377 __clock_gettime instead of clock_gettime.
4378 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
4379 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4380 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
4381 * sysdeps/unix/bsd/stty.c (stty): Likewise.
4382 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
4384 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
4385 __clock_gettime and __nanosleep instead of clock_gettime and
4387 * hurd/catch-signal.c (hurd_catch_signal): Rename to
4388 __hurd_catch_signal.
4389 (hurd_catch_signal): New strong alias.
4390 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
4391 __hurd_catch_signal instead of hurd_catch_signal.
4392 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
4393 * hurd/hurdexec.c (_hurd_init): Add hidden def.
4394 * hurd/hurdinit.c (_hurd_init): Add hidden def.
4395 * hurd/hurdsig.c: Include <mach/mig_support.h>.
4396 (_hurd_thread_sigstate): Add hidden def.
4397 (_hurd_internal_post_signal): Use __mutex_unlock instead of
4399 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
4400 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
4401 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
4402 __hurd_file_name_path_lookup.
4403 (hurd_file_name_path_lookup): New strong alias.
4404 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
4405 hurd_file_name_path_lookup.
4406 * mach/errstring.c (mach_error_type): Add hidden def.
4407 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
4408 * mach/mutex-init.c (__mutex_init): Add hidden def.
4409 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
4410 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
4411 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
4412 * sysdeps/mach/hurd/getcwd.c
4413 (_hurd_canonicalize_directory_name_internal): Rename to
4414 __hurd_canonicalize_directory_name_internal.
4415 (_hurd_canonicalize_directory_name_internal): New strong alias.
4416 (__canonicalize_directory_name_internal, __getcwd): Call
4417 __hurd_canonicalize_directory_name_internal instead of
4418 _hurd_canonicalize_directory_name_internal.
4419 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
4420 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
4422 * sysdeps/hurd/include/hurd.h: New file.
4423 * sysdeps/hurd/include/hurd/fd.h: New file.
4424 * sysdeps/hurd/include/hurd/signal.h: New file.
4425 * sysdeps/mach/include/lock-intern.h: New file.
4426 * sysdeps/mach/include/mach.h: New file.
4427 * sysdeps/mach/include/mach/mig_support.h: New file.
4428 * sysdeps/mach/include/mach_error.h: New file.
4429 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
4431 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
4432 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
4433 _HEADER_H_HIDDEN_DEF macro.
4434 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
4435 _hurd_fd_error_signal): Add hidden prototype.
4436 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
4438 * libio/iolibio.h (_IO_puts): New hidden prototype.
4439 * libio/ioputs.c (_IO_puts): New hidden def.
4440 * sysdeps/mach/hurd/localplt.data: New file.
4442 2018-04-02 Agustina Arzille <avarzille@riseup.net>
4443 Amos Jeffries <squid3@treenet.co.nz>
4444 David Michael <fedora.dm0@gmail.com>
4445 Marco Gerards <marco@gnu.org>
4446 Marcus Brinkmann <marcus@gnu.org>
4447 Neal H. Walfield <neal@gnu.org>
4448 Pino Toscano <toscano.pino@tiscali.it>
4449 Richard Braun <rbraun@sceen.net>
4450 Roland McGrath <roland@gnu.org>
4451 Samuel Thibault <samuel.thibault@ens-lyon.org>
4452 Thomas DiModica <ricinwich@yahoo.com>
4453 Thomas Schwinge <tschwinge@gnu.org>
4455 * htl: New directory.
4456 * sysdeps/htl: New directory.
4457 * sysdeps/hurd/htl: New directory.
4458 * sysdeps/i386/htl: New directory.
4459 * sysdeps/mach/htl: New directory.
4460 * sysdeps/mach/hurd/htl: New directory.
4461 * sysdeps/mach/hurd/i386/htl: New directory.
4462 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
4463 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
4464 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
4466 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4468 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
4469 signals in thread created for runing timers.
4471 2018-04-01 Florian Weimer <fweimer@redhat.com>
4473 * support/support_format_addrinfo.c (support_format_addrinfo):
4474 Include unknown error number in formatted result.
4476 2018-03-29 Florian Weimer <fweimer@redhat.com>
4478 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
4481 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4483 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
4484 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
4485 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4486 (__ASSUME_CLONE_BACKWARDS): Define.
4488 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
4491 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
4492 early when linux sentinel value is set.
4494 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4496 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
4498 2018-03-27 Andreas Schwab <schwab@suse.de>
4501 * resolv/res_send.c (__res_context_send): Return ENOMEM if
4502 allocation of private copy of nsaddr_list fails.
4504 2018-03-26 Joseph Myers <joseph@codesourcery.com>
4507 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
4508 * sysdeps/unix/sysv/linux/umount.c: ... here.
4509 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
4510 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
4511 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
4512 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
4514 * sysdeps/unix/sysv/linux/umount.S: Likewise.
4515 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
4517 2018-03-26 Andreas Schwab <schwab@suse.de>
4519 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
4520 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
4521 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
4522 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
4523 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
4524 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
4525 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
4526 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
4527 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
4528 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
4529 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
4530 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
4531 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
4532 (R_RISCV_NUM): Define.
4534 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4536 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
4537 TLS declaration of errno.
4538 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
4540 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
4541 (ARCH_SETUP_TLS): Likewise.
4542 * sysdeps/mach/hurd/libc-start.h: New file copied from
4543 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
4544 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
4545 instead of __libc_setup_tls.
4546 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
4547 __libc_setup_tls before initializing libpthread and running _hurd_init
4548 which starts the signal thread.
4549 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
4551 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4553 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
4556 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
4557 after it is defined.
4559 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
4560 Max Horn <max@quendi.de>
4564 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
4566 * string/test-memmove.c (do_test2): New testcase.
4568 2018-03-22 Joseph Myers <joseph@codesourcery.com>
4570 * sysdeps/generic/frame.h: Remove file.
4571 * sysdeps/arm/frame.h: Likewise.
4572 * sysdeps/hppa/frame.h: Likewise.
4573 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
4575 (GET_FRAME): Likewise.
4576 (GET_STACK): Likewise.
4577 (CALL_SIGHANDLER): Likewise.
4578 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
4580 (GET_FRAME): Likewise.
4581 (GET_STACK): Likewise.
4582 (CALL_SIGHANDLER): Likewise.
4583 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
4584 (SIGCONTEXT_EXTRA_ARGS): Likewise.
4585 (GET_FRAME): Likewise.
4586 (GET_STACK): Likewise.
4587 (CALL_SIGHANDLER): Likewise.
4588 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
4589 (SIGCONTEXT_EXTRA_ARGS): Likewise.
4590 (GET_FRAME): Likewise.
4591 (GET_STACK): Likewise.
4592 (ADVANCE_STACK_FRAME): Likewise.
4593 (CALL_SIGHANDLER): Likewise.
4594 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
4595 (SIGCONTEXT_EXTRA_ARGS): Likewise.
4596 (GET_FRAME): Likewise.
4597 (GET_STACK): Likewise.
4598 (CALL_SIGHANDLER): Likewise.
4599 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
4600 (SIGCONTEXT_EXTRA_ARGS): Likewise.
4601 (GET_FRAME): Likewise.
4602 (GET_STACK): Likewise.
4603 (CALL_SIGHANDLER): Likewise.
4604 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
4605 (SIGCONTEXT_EXTRA_ARGS): Likewise.
4606 (GET_FRAME): Likewise.
4607 (GET_STACK): Likewise.
4608 (CALL_SIGHANDLER): Likewise.
4609 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
4610 (SIGCONTEXT_EXTRA_ARGS): Likewise.
4611 (GET_FRAME): Likewise.
4612 (GET_STACK): Likewise.
4613 (CALL_SIGHANDLER): Likewise.
4614 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
4615 (SIGCONTEXT_EXTRA_ARGS): Likewise.
4616 (GET_FRAME): Likewise.
4617 (GET_STACK): Likewise.
4618 (CALL_SIGHANDLER): Likewise.
4619 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
4620 (SIGCONTEXT_EXTRA_ARGS): Likewise.
4621 (GET_FRAME): Likewise.
4622 (GET_STACK): Likewise.
4623 (CALL_SIGHANDLER): Likewise.
4624 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
4625 (SIGCONTEXT_EXTRA_ARGS): Likewise.
4626 (GET_FRAME): Likewise.
4627 (GET_STACK): Likewise.
4628 (CALL_SIGHANDLER): Likewise.
4629 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
4630 (SIGCONTEXT_EXTRA_ARGS): Likewise.
4631 (GET_FRAME): Likewise.
4632 (GET_STACK): Likewise.
4633 (CALL_SIGHANDLER): Likewise.
4634 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
4635 (SIGCONTEXT_EXTRA_ARGS): Likewise.
4636 (GET_FRAME): Likewise.
4637 (GET_STACK): Likewise.
4638 (CALL_SIGHANDLER): Likewise.
4639 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
4640 (SIGCONTEXT_EXTRA_ARGS): Likewise.
4641 (FIRST_FRAME_POINTER): Likewise.
4642 (ADVANCE_STACK_FRAME): Likewise.
4643 (GET_STACK): Likewise.
4644 (GET_FRAME): Likewise.
4645 (CALL_SIGHANDLER): Likewise.
4646 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
4647 (SIGCONTEXT_EXTRA_ARGS): Likewise.
4648 (ADVANCE_STACK_FRAME): Likewise.
4649 (GET_STACK): Likewise.
4650 (GET_FRAME): Likewise.
4651 (CALL_SIGHANDLER): Likewise.
4652 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
4653 (SIGCONTEXT_EXTRA_ARGS): Likewise.
4654 (GET_FRAME): Likewise.
4655 (GET_STACK): Likewise.
4656 (CALL_SIGHANDLER): Likewise.
4657 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
4658 (SIGCONTEXT_EXTRA_ARGS): Likewise.
4659 (GET_FRAME): Likewise.
4660 (GET_STACK): Likewise.
4661 (CALL_SIGHANDLER): Likewise.
4663 2018-03-21 Joseph Myers <joseph@codesourcery.com>
4665 * sysdeps/x86_64/backtrace.c: Move to ....
4666 * debug/backtrace.c: ... here.
4667 * sysdeps/aarch64/backtrace.c: Remove file.
4668 * sysdeps/alpha/backtrace.c: Likewise.
4669 * sysdeps/hppa/backtrace.c: Likewise.
4670 * sysdeps/ia64/backtrace.c: Likewise.
4671 * sysdeps/mips/backtrace.c: Likewise.
4672 * sysdeps/nios2/backtrace.c: Likewise.
4673 * sysdeps/riscv/backtrace.c: Likewise.
4674 * sysdeps/sh/backtrace.c: Likewise.
4675 * sysdeps/tile/backtrace.c: Likewise.
4677 2018-03-20 Joseph Myers <joseph@codesourcery.com>
4680 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
4683 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
4686 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
4687 possibly overflowing computations.
4689 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
4691 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
4692 values from Linux-specific section now that it is in the GNU section.
4693 * sysdeps/gnu/errlist.c: Regenerate.
4695 2018-03-20 Joseph Myers <joseph@codesourcery.com>
4697 * math/Makefile (libm-narrow-fns): Add sub.
4698 (libm-test-funcs-narrow): Likewise.
4699 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
4700 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
4701 * math/gen-auto-libm-tests.c (test_functions): Add sub.
4702 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
4703 (NARROW_SUB_ROUND_TO_ODD): Likewise.
4704 (NARROW_SUB_TRIVIAL): Likewise.
4705 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
4707 (__dsubl): Likewise.
4708 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
4710 (CFLAGS-nldbl-dsub.c): New variable.
4711 (CFLAGS-nldbl-fsub.c): Likewise.
4712 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
4714 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
4716 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
4717 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
4718 * math/auto-libm-test-in: Add tests of sub.
4719 * math/auto-libm-test-out-narrow-sub: New generated file.
4720 * math/libm-test-narrow-sub.inc: New file.
4721 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
4722 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
4723 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
4724 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
4725 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
4726 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
4727 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
4728 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
4729 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
4730 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
4731 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
4733 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
4734 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
4735 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
4736 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4737 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
4738 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4740 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
4741 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4742 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4743 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4744 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4745 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4746 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4747 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4748 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4749 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4750 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4751 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4752 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
4755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4757 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
4758 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4759 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4760 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4761 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4762 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4763 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
4764 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
4765 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4766 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4768 2018-03-19 Joseph Myers <joseph@codesourcery.com>
4771 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
4773 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
4775 * benchtests/bench-timing.h (attribute_hidden): Undefine.
4777 2018-03-18 Richard Braun <rbraun@sceen.net>
4779 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
4782 2018-03-18 Agustina Arzille <avarzille@riseup.net>
4784 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
4785 (__libc_cleanup_fct): Define function.
4786 (__libc_cleanup_region_start, __libc_cleanup_region_end,
4787 __libc_cleanup_end): Rewrite implementation using
4788 __attribute__ ((__cleanup__)).
4789 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
4790 * hurd/Makefile (routines): Add hurdlock.
4791 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
4793 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
4794 * hurd/hurdpid.c: Include <lowlevellock.h>
4795 (_S_msg_proc_newids): Use lll_wait to synchronize.
4796 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
4797 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
4798 * mach/Makefile (lock-headers): Remove machine-lock.h.
4799 * mach/lock-intern.h: Include <lowlevellock.h> instead of
4801 (__spin_lock_t): New type.
4802 (__SPIN_LOCK_INITIALIZER): New macro.
4803 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
4804 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
4805 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
4806 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
4807 (__mutex_init): Initialize with lll.
4808 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
4809 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
4811 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4812 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
4813 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
4814 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
4815 (__setpgid): Use lll for synchronization.
4816 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
4817 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
4818 instead of <cthreads.h>.
4819 (_IO_lock_inexpensive): New macro
4820 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
4821 (__libc_lock_self0): New declaration.
4822 (__libc_lock_owner_self): New macro.
4823 (__libc_key_t): Remove type.
4824 (_LIBC_LOCK_INITIALIZER): New macro.
4825 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
4826 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
4827 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
4828 __libc_lock_define_initialized_recursive,
4829 __rtld_lock_define_initialized_recursive,
4830 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
4831 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
4832 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
4833 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
4834 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
4835 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
4836 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
4838 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
4839 * hurd/hurdlock.c: New file.
4840 * hurd/hurdlock.h: New file.
4841 * mach/lowlevellock.h: New file
4843 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4845 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
4846 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
4847 when opening a symlink with O_NOFOLLOW.
4848 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
4849 path when flags contains O_NOFOLLOW.
4850 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
4851 if flags contains O_DIRECTORY and the result is a directory.
4852 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
4853 oneself when the pointer given in D is nul (as set by ext2fs).
4854 * sysdeps/mach/hurd/mlockall.c: New file.
4855 * sysdeps/mach/hurd/munlockall.c: New file.
4857 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
4859 * hurd/hurdsig.c: Include <pthread.h>.
4860 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
4861 get the signal thread stack layout.
4862 * hurd/Makefile (headers): Remove threadvar.h.
4863 (inline-headers): Remove threadvar.h.
4864 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
4865 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
4866 __hurd_threadvar_max, __hurd_errno_location.
4867 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
4868 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
4869 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
4870 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
4871 unless TLS is not initialized yet, in which case we do not need a
4872 critical section yet anyway.
4873 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
4875 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
4877 (__hurd_threadvar_index): Remove enum.
4878 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
4879 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
4881 (__hurd_reply_port0): New variable declaration.
4882 (__hurd_local_reply_port): New macro.
4883 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
4884 (interrupted_reply_port_location): Add thread_t parameter. Use it
4885 with THREAD_TCB to access thread-local variables.
4886 (_hurdsig_abort_rpcs): Pass ss->thread to
4887 interrupted_reply_port_location.
4888 (_hurd_internal_post_signal): Likewise.
4889 (_hurdsig_init): Use presence of cthread_fork instead of
4890 __hurd_threadvar_stack_mask to start signal thread by hand.
4891 Remove signal thread threadvar initialization.
4892 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
4893 * hurd/sigunwind.c: Include <hurd/threadvar.h>
4894 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
4896 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
4898 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
4899 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
4900 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
4901 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
4902 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
4903 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
4904 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
4906 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
4908 [IS_IN(rtld)] (rtld_errno): New variable.
4909 [IS_IN(rtld)] (__errno_location): New weak function.
4910 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
4911 * sysdeps/mach/hurd/errno.c: Remove file.
4912 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
4913 (__fork): Remove THREADVAR_SPACE macro and its use.
4914 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
4916 (init): Do not initialize threadvar.
4917 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
4919 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
4920 __hurd_local_reply_port instead of threadvar.
4921 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
4922 _hurd_sigstate fields.
4923 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
4924 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
4925 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
4926 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
4927 instead of threadvar.
4928 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
4929 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
4930 (use_threadvar, global_reply_port): Remove variables.
4931 (__hurd_reply_port0): New variable.
4932 (__mig_get_reply_port): Use __hurd_local_reply_port and
4933 __hurd_reply_port0 instead of threadvar.
4934 (__mig_dealloc_reply_port): Likewise.
4935 (__mig_init): Do not initialize threadvar.
4936 * sysdeps/mach/hurd/profil.c: Fix comment.
4937 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
4938 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
4939 cthread_keycreate, cthread_getspecific, cthread_setspecific to
4940 __cthread_fork, __cthread_detach, __pthread_getattr_np,
4941 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
4942 __cthread_setspecific.
4943 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
4944 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
4945 __cthread_t instead of cthread_fork, cthread_detach,
4946 pthread_getattr_np, pthread_attr_getstack.
4947 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
4948 __cthread_keycreate.
4949 (cthread_getspecific): Rename to __cthread_getspecific.
4950 (cthread_setspecific): Rename to __cthread_setspecific.
4951 (__libc_getspecific): Use __cthread_getspecific instead of
4952 cthread_getspecific.
4953 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
4954 __cthread_keycreate instead of cthread_keycreate.
4955 (__libc_setspecific): Use __cthread_setspecific instead of
4956 cthread_setspecific.
4957 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
4959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
4960 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
4961 testing whether it is defined.
4963 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4965 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
4967 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
4968 * sysdeps/mach/i386/thread_state.h
4969 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
4971 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
4973 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
4975 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
4976 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
4978 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
4980 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
4981 descriptor instead of creating a new one.
4982 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
4984 * mach/setup-thread.c: Include <ldsodefs.h>.
4985 (__mach_setup_thread): Call _dl_allocate_tls, pass
4986 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
4987 MACHINE_THREAD_STATE_FLAVOR, before getting
4988 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
4989 MACHINE_THREAD_STATE_FLAVOR with the result.
4990 * hurd/hurdfault.c (_hurdsig_fault_init): Call
4991 MACHINE_THREAD_STATE_FIX_NEW.
4992 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
4993 too. Add original thread parameter.
4995 2018-03-16 Joseph Myers <joseph@codesourcery.com>
4997 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
4998 Remove inline function.
5000 * sysdeps/i386/fpu/libm-test-ulps: Update.
5001 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5003 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
5005 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
5008 2018-03-15 Joseph Myers <joseph@codesourcery.com>
5010 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
5011 (__sincos_code): Remove define and undefine.
5012 [__FAST_MATH__] (__sincos): Remove inline function.
5013 [__FAST_MATH__] (__sincosf): Remove inline function.
5014 [__FAST_MATH__] (__sincosl): Remove inline function.
5015 (__atan2l): Remove inline functions.
5016 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
5017 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
5019 (floor): Remove inline function.
5021 [__FAST_MATH__] (__ldexp_code): Remove macro.
5022 [__FAST_MATH__] (ldexp): Remove inline function.
5023 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
5024 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
5025 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
5026 [__USE_ISOC99] (__lrint_code): Remove macro.
5027 [__USE_ISOC99] (__llrint_code): Likewise.
5028 [__USE_ISOC99] (lrintf): Remove inline function.
5029 [__USE_ISOC99] (lrint): Likewise.
5030 [__USE_ISOC99] (lrintl): Likewise.
5031 [__USE_ISOC99] (llrint): Likewise.
5032 [__USE_ISOC99] (llrintf): Likewise.
5033 [__USE_ISOC99] (llrintl): Likewise.
5035 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
5037 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
5038 (__ieee754_sqrtf): Remove.
5039 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
5040 (__ieee754_sqrtf): Remove.
5041 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
5042 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
5043 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
5044 (__ieee754_sqrtf): Remove.
5045 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
5046 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
5049 (__ieee754_sqrt): Remove.
5050 (__ieee754_sqrtf): Remove.
5051 (__ieee754_sqrtl): Remove.
5052 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
5053 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
5054 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
5055 (__ieee754_sqrtf): Remove.
5056 (__ieee754_sqrtl): Remove.
5058 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
5060 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
5061 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
5062 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5063 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
5064 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
5065 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5066 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5067 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5069 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
5070 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
5071 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
5072 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5073 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
5074 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
5075 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
5076 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
5077 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5078 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
5079 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
5080 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
5081 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
5082 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
5083 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
5084 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5085 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5086 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5087 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
5088 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
5089 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5090 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5091 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
5092 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
5093 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
5094 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
5095 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5096 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5097 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
5098 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
5099 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5100 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
5101 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5102 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
5103 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5104 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5105 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
5106 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
5107 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
5108 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
5110 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
5112 * include/math.h (sqrt): Declare with asm redirect.
5115 (sqrtf128): Likewise.
5116 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
5117 nonlib and libnldbl with -fmath-errno.
5118 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
5119 * math/w_sqrt_template.c: Likewise.
5120 * math/w_sqrtf_compat.c: Likewise.
5121 * math/w_sqrtl_compat.c: Likewise.
5122 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
5123 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
5124 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
5127 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
5129 * benchtests/Makefile: Define _ISOMAC.
5130 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
5131 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
5132 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
5133 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
5134 * benchtests/bench-timing.h: Define attribute_hidden.
5136 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
5138 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
5141 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
5144 * localedata/locales/cs_CZ (mon): Rename to...
5146 (mon): Import from CLDR (genitive case).
5148 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
5151 * localedata/locales/el_CY (abmon): Rename to...
5153 (abmon): Import from CLDR (abbreviated genitive case).
5154 * localedata/locales/el_GR (abmon): Rename to...
5156 (abmon): Import from CLDR (abbreviated genitive case).
5158 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
5161 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
5163 2018-03-15 Robert Buj <robert.buj@gmail.com>
5166 * localedata/locales/ca_ES (abmon): Rename to...
5167 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
5170 (abmon): Import from CLDR (genitive case, month names preceded by
5173 (abday): Synchronize with CLDR.
5174 (d_t_fmt): Likewise.
5178 (LC_TIME): Improve indentation.
5179 (LC_TELEPHONE): Likewise.
5180 (LC_NAME): Likewise.
5181 (LC_ADDRESS): Likewise.
5183 2018-03-14 Joseph Myers <joseph@codesourcery.com>
5185 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
5186 (lrintf): Remove definitions used only with old GCC.
5187 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
5188 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
5189 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
5190 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
5191 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
5192 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
5193 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
5194 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
5195 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
5196 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
5197 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
5198 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
5199 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
5200 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
5201 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
5202 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
5203 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
5204 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
5205 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
5206 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
5207 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
5208 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
5209 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
5210 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
5211 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
5212 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
5213 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
5214 [__FAST_MATH__] (__M_SQRT2): Remove macro.
5216 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5218 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
5219 instruction to unbreak builds with binutils 2.26 and older.
5221 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
5223 * sysdeps/aarch64/strncmp.S (count): New macro.
5224 (strncmp): Store misaligned length in SRC1 in COUNT.
5225 (mutual_align): Adjust.
5226 (misaligned8): Load dword at a time when it is safe.
5228 2018-03-12 Zack Weinberg <zackw@panix.com>
5232 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
5233 if the _IO_EOF_SEEN bit is already set; update commentary.
5234 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
5235 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5237 * support/support_openpty.c, support/tty.h: New files.
5238 * support/Makefile (libsupport-routines): Add support_openpty.
5240 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
5242 * libio/Makefile (tests): Add tst-fgetc-after-eof.
5243 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
5245 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
5247 * po/pt_BR.po: Update translations.
5249 2018-03-12 David Michael <fedora.dm0@gmail.com>
5251 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
5252 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
5253 get a port to the startup server.
5255 2018-03-11 Zack Weinberg <zackw@panix.com>
5257 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
5258 before nldbl-compat.h.
5260 2018-03-10 Zack Weinberg <zackw@panix.com>
5262 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
5263 math.h or math_private.h.
5265 * sysdeps/alpha/fpu/s_isnan.c
5266 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
5267 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
5268 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
5269 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
5270 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
5271 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
5272 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
5273 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
5274 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
5275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
5276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
5277 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
5278 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
5279 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
5280 Include math_private.h.
5282 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
5283 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
5284 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
5285 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
5286 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
5287 * sysdeps/powerpc/power7/fpu/s_logb.c:
5288 Include math.h and math_private.h.
5290 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
5291 uses of $at in .set noat / .set at.
5293 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
5295 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
5296 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
5297 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
5298 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
5301 2018-03-09 Florian Weimer <fweimer@redhat.com>
5303 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
5306 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
5309 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
5310 Add nop before __startcontext, add explaining comments.
5312 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5315 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
5317 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5318 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
5319 Do not build hardware transactional code for __SPE__.
5320 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5321 (__lll_trylock_elision): Likewise.
5322 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5323 (__lll_unlock_elision): Likewise.
5325 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
5326 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
5327 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
5328 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
5329 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
5330 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
5331 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
5332 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
5333 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
5334 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
5335 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
5336 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
5337 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
5338 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
5339 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
5340 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
5341 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
5342 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
5343 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
5344 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
5345 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
5346 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5347 (__ASSUME_CLONE_BACKWARDS): Define.
5348 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
5349 __clone2 if __NR_clone2 is defined.
5350 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5351 (__ASSUME_CLONE_BACKWARDS): Likewise.
5352 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5353 (__ASSUME_CLONE_BACKWARDS): Likewise.
5354 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5355 (__ASSUME_CLONE2): Likewise.
5356 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5357 (__ASSUME_CLONE_BACKWARDS3): Likewise.
5358 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
5359 variants and the define architecture can use.
5360 (__ASSUME_CLONE_DEFAULT): Define as default.
5361 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5362 (__ASSUME_CLONE_BACKWARDS): Likewise.
5363 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5364 (__ASSUME_CLONE_BACKWARDS): Likewise.
5365 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5366 (__ASSUME_CLONE_BACKWARDS2): Likewise.
5368 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
5370 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
5372 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
5375 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
5376 (do_test_limit): Likewise.
5378 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
5379 for every implementation.
5380 (do_test): Likewise.
5382 * benchtests/bench-strncmp.c: Convert output to json.
5384 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5386 * io/futimens.c: Add missing start-of-file descriptive comment.
5387 * io/utime.c: Likewise.
5388 * misc/futimesat.c: Likewise.
5389 * misc/utimes.c: Likewise.
5390 * sysdeps/mach/hurd/futimesat.c: Likewise.
5391 * sysdeps/mach/hurd/utimes.c: Likewise.
5392 * sysdeps/posix/utime.c: Likewise.
5393 * sysdeps/posix/utimes.c: Likewise.
5394 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
5395 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5396 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
5397 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
5399 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5401 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
5403 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
5404 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
5405 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
5406 (__futimens): Move implementation to...
5407 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
5408 utime_tvalue_from_tspec): ... new helper functions.
5409 (hurd_futimens): New function.
5410 * sysdeps/mach/hurd/futimesat.c: New file.
5411 * sysdeps/mach/hurd/utimensat.c: New file.
5413 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
5415 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
5416 UTIME_OMIT): New macros.
5417 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
5418 before reverting to converting time spec to time value and calling
5420 * sysdeps/mach/hurd/utime-helper.c: New file.
5421 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
5422 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
5423 reverting to utime_tvalue_from_tval and __file_utimes.
5424 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
5425 (__lutimes): Just call hurd_futimens after lookup.
5426 * sysdeps/mach/hurd/utimes.c: Likewise.
5428 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5430 * bits/sigaction.h: Add include guard.
5431 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
5432 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
5433 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
5434 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
5435 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
5436 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
5437 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
5438 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
5439 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
5441 2018-03-05 Joseph Myers <joseph@codesourcery.com>
5443 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
5444 -Wmaybe-uninitialized for -Os.
5445 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
5448 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5450 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
5451 __INO_T_MATCHES_INO64_T is defined.
5452 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
5453 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
5455 * dirent/alphasort64.c: Likewise.
5456 * dirent/scandir.c: Likewise.
5457 * dirent/scandir64-tail.c: Likewise.
5458 * dirent/scandir64.c: Likewise.
5459 * dirent/scandirat.c: Likewise.
5460 * dirent/scandirat64.c: Likewise.
5461 * dirent/versionsort.c: Likewise.
5462 * dirent/versionsort64.c: Likewise.
5463 * include/dirent.h: Likewise.
5465 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
5466 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
5467 for socketpair endpoint.
5468 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
5469 WRITE_BUFFER_SIZE as buffer size for sending socket.
5470 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
5471 issue on system where send is implemented with sendto syscall.
5472 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
5473 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
5474 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
5475 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
5478 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
5479 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
5480 sa_restorer for vDSO case.
5481 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
5483 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5485 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
5486 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
5487 * hurd/hurd/ioctl.h: Include <mach/port.h>
5488 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
5489 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
5490 <mach/mach_types.h> and <mach/message.h>.
5491 (headers): Move mach/param.h to bits/mach/param.h.
5492 * sysdeps/mach/i386/mach/param.h: Move file to ...
5493 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
5494 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
5496 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
5497 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
5498 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
5499 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
5500 trivial, for C++ conformity.
5501 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
5502 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
5503 Process mig output through $(migheadersed).
5504 * hurd/Makefile (migheadersed): Define variable.
5505 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
5506 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
5508 * hurd/hurd.h: Include <bits/types/sigset_t.h>
5509 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
5510 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
5511 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
5512 <bits/types/sigset_t.h>.
5513 [!defined __USE_GNU]: Do not #error out.
5514 (struct hurd_sigstate): Use _NSIG instead of NSIG.
5515 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
5516 Include <stddef.h> and <bits/types/sigset_t.h>
5517 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
5518 instead of sighandler_t.
5519 * stdlib/errno.h (error_t): Move definition to...
5520 * bits/types/error_t.h: ... new header.
5521 * stdlib/Makefile (headers): Add bits/types/error_t.h.
5522 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
5523 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
5524 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
5525 * hurd/hurd.h: Include <bits/types/error_t.h>
5526 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
5527 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
5528 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
5529 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
5530 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
5531 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
5532 * sysdeps/mach/hurd/futimens.c: New file.
5534 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
5537 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
5538 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
5539 * nscd/gai.c (__nss_hosts_database): Readd definition.
5540 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
5541 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
5542 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
5544 2018-03-02 Joseph Myers <joseph@codesourcery.com>
5546 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
5547 (ifunc_one): Likewise.
5549 2018-03-01 DJ Delorie <dj@delorie.com>
5552 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
5555 2018-03-01 Maciej W. Rozycki <macro@mips.com>
5557 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
5558 `match_pid' parameter.
5559 (td_ta_thr_iter): Update accordingly.
5561 2018-03-01 Florian Weimer <fweimer@redhat.com>
5563 * nptl/Makefile (install-lib-ldscripts): Remove.
5564 (install): Remove rule.
5565 ($(inst_libdir)/libpthread.so): Likewise.
5567 2018-03-01 Mike FABIAN <mfabian@redhat.com>
5570 * localedata/locales/an_ES: update month and day names,
5571 improve d_fmt, improve postal_fmt, add country_post,
5574 2018-03-01 Mike FABIAN <mfabian@redhat.com>
5576 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
5577 Ukrainian instead of Bulgarian.
5579 2018-03-01 Florian Weimer <fweimer@redhat.com>
5581 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
5584 2018-03-01 Florian Weimer <fweimer@redhat.com>
5586 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
5587 * nptl/Makefile (routines): Add pthread_atfork.
5588 (static-only-routines): Set to pthread_atfork.
5589 (libpthread-routines): Remove pthread_atfork.
5590 (libpthread-static-only-routines): Remove.
5591 (install): Update comment.
5592 (libpthread.so): Do not install libpthread_nonshared.a.
5593 (tests): Do not link with libpthread_nonshared.a.
5594 (generated): Remove libpthread_nonshared.a.
5595 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
5596 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
5597 with libpthread_nonshared.a.
5599 2018-02-28 Joseph Myers <joseph@codesourcery.com>
5602 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
5603 (libc_feholdexcept_setroundf128): New macro.
5604 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
5607 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
5609 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
5610 * include/inttypes.h: New file.
5612 2018-02-27 Joseph Myers <joseph@codesourcery.com>
5614 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
5615 -Os in two more places.
5617 2018-02-27 Mike FABIAN <mfabian@redhat.com>
5619 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
5620 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
5621 be sorted correctly at the moment because of a bug.
5623 2018-02-27 Mike FABIAN <mfabian@redhat.com>
5625 [BZ #22550] - es_ES locale (and other es_* locales): collation should
5626 treat ñ as a primary different character, sync the collation
5627 for Spanish with CLDR.
5628 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
5629 * localedata/Makefile: Add new test files.
5630 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
5631 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
5633 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
5634 * localedata/am_ET.UTF-8.in: New test file.
5635 * localedata/az_AZ.UTF-8.in: Likewise.
5636 * localedata/be_BY.UTF-8.in: Likewise.
5637 * localedata/ber_DZ.UTF-8.in: Likewise.
5638 * localedata/ber_MA.UTF-8.in: Likewise.
5639 * localedata/bg_BG.UTF-8.in: Likewise.
5640 * localedata/br_FR.UTF-8.in: Likewise.
5641 * localedata/cmn_TW.UTF-8.in: Likewise.
5642 * localedata/crh_UA.UTF-8.in: Likewise.
5643 * localedata/csb_PL.UTF-8.in: Likewise.
5644 * localedata/cv_RU.UTF-8.in: Likewise.
5645 * localedata/cy_GB.UTF-8.in: Likewise.
5646 * localedata/dz_BT.UTF-8.in: Likewise.
5647 * localedata/eo.UTF-8.in: Likewise.
5648 * localedata/es_ES.UTF-8.in: Likewise.
5649 * localedata/fa_IR.UTF-8.in: Likewise.
5650 * localedata/fi_FI.UTF-8.in: Likewise.
5651 * localedata/fil_PH.UTF-8.in: Likewise.
5652 * localedata/fur_IT.UTF-8.in: Likewise.
5653 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
5654 * localedata/ha_NG.UTF-8.in: Likewise.
5655 * localedata/ig_NG.UTF-8.in: Likewise.
5656 * localedata/ik_CA.UTF-8.in: Likewise.
5657 * localedata/kk_KZ.UTF-8.in: Likewise.
5658 * localedata/ku_TR.UTF-8.in: Likewise.
5659 * localedata/ky_KG.UTF-8.in: Likewise.
5660 * localedata/ln_CD.UTF-8.in: Likewise.
5661 * localedata/mi_NZ.UTF-8.in: Likewise.
5662 * localedata/ml_IN.UTF-8.in: Likewise.
5663 * localedata/mn_MN.UTF-8.in: Likewise.
5664 * localedata/mr_IN.UTF-8.in: Likewise.
5665 * localedata/mt_MT.UTF-8.in: Likewise.
5666 * localedata/nb_NO.UTF-8.in: Likewise.
5667 * localedata/om_KE.UTF-8.in: Likewise.
5668 * localedata/os_RU.UTF-8.in: Likewise.
5669 * localedata/ps_AF.UTF-8.in: Likewise.
5670 * localedata/ro_RO.UTF-8.in: Likewise.
5671 * localedata/ru_RU.UTF-8.in: Likewise.
5672 * localedata/sc_IT.UTF-8.in: Likewise.
5673 * localedata/se_NO.UTF-8.in: Likewise.
5674 * localedata/sq_AL.UTF-8.in: Likewise.
5675 * localedata/sv_SE.UTF-8.in: Likewise.
5676 * localedata/szl_PL.UTF-8.in: Likewise.
5677 * localedata/tg_TJ.UTF-8.in: Likewise.
5678 * localedata/tk_TM.UTF-8.in: Likewise.
5679 * localedata/tt_RU.UTF-8.in: Likewise.
5680 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
5681 * localedata/ug_CN.UTF-8.in: Likewise.
5682 * localedata/uz_UZ.UTF-8.in: Likewise.
5683 * localedata/vi_VN.UTF-8.in: Likewise.
5684 * localedata/yi_US.UTF-8.in: Likewise.
5685 * localedata/yo_NG.UTF-8.in: Likewise.
5686 * localedata/zh_CN.UTF-8.in: Likewise.
5687 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
5688 file and fix bugs in the collation.
5689 * localedata/locales/az_AZ: Likewise.
5690 * localedata/locales/be_BY: Likewise.
5691 * localedata/locales/ber_DZ: Likewise.
5692 * localedata/locales/ber_MA: Likewise.
5693 * localedata/locales/bg_BG: Likewise.
5694 * localedata/locales/br_FR: Likewise.
5695 * localedata/locales/br_FR@euro: Likewise.
5696 * localedata/locales/ca_ES: Likewise.
5697 * localedata/locales/cns11643_stroke: Likewise.
5698 * localedata/locales/crh_UA: Likewise.
5699 * localedata/locales/cs_CZ: Likewise.
5700 * localedata/locales/csb_PL: Likewise.
5701 * localedata/locales/cv_RU: Likewise.
5702 * localedata/locales/cy_GB: Likewise.
5703 * localedata/locales/da_DK: Likewise.
5704 * localedata/locales/dz_BT: Likewise.
5705 * localedata/locales/en_CA: Likewise.
5706 * localedata/locales/eo: Likewise.
5707 * localedata/locales/es_CU: Likewise.
5708 * localedata/locales/es_EC: Likewise.
5709 * localedata/locales/es_ES: Likewise.
5710 * localedata/locales/es_US: Likewise.
5711 * localedata/locales/et_EE: Likewise.
5712 * localedata/locales/fa_IR: Likewise.
5713 * localedata/locales/fi_FI: Likewise.
5714 * localedata/locales/fil_PH: Likewise.
5715 * localedata/locales/fur_IT: Likewise.
5716 * localedata/locales/gez_ER@abegede: Likewise.
5717 * localedata/locales/ha_NG: Likewise.
5718 * localedata/locales/hr_HR: Likewise.
5719 * localedata/locales/hsb_DE: Likewise.
5720 * localedata/locales/hu_HU: Likewise.
5721 * localedata/locales/ig_NG: Likewise.
5722 * localedata/locales/ik_CA: Likewise.
5723 * localedata/locales/is_IS: Likewise.
5724 * localedata/locales/iso14651_t1_pinyin: Likewise.
5725 * localedata/locales/kk_KZ: Likewise.
5726 * localedata/locales/ku_TR: Likewise.
5727 * localedata/locales/ky_KG: Likewise.
5728 * localedata/locales/ln_CD: Likewise.
5729 * localedata/locales/lt_LT: Likewise.
5730 * localedata/locales/lv_LV: Likewise.
5731 * localedata/locales/mi_NZ: Likewise.
5732 * localedata/locales/ml_IN: Likewise.
5733 * localedata/locales/mn_MN: Likewise.
5734 * localedata/locales/mr_IN: Likewise.
5735 * localedata/locales/mt_MT: Likewise.
5736 * localedata/locales/nb_NO: Likewise.
5737 * localedata/locales/om_KE: Likewise.
5738 * localedata/locales/os_RU: Likewise.
5739 * localedata/locales/pl_PL: Likewise.
5740 * localedata/locales/ps_AF: Likewise.
5741 * localedata/locales/ro_RO: Likewise.
5742 * localedata/locales/ru_RU: Likewise.
5743 * localedata/locales/ru_UA: Likewise.
5744 * localedata/locales/sc_IT: Likewise.
5745 * localedata/locales/se_NO: Likewise.
5746 * localedata/locales/si_LK: Likewise.
5747 * localedata/locales/sq_AL: Likewise.
5748 * localedata/locales/sv_FI: Likewise.
5749 * localedata/locales/sv_FI@euro: Likewise.
5750 * localedata/locales/sv_SE: Likewise.
5751 * localedata/locales/szl_PL: Likewise.
5752 * localedata/locales/tg_TJ: Likewise.
5753 * localedata/locales/ti_ER: Likewise.
5754 * localedata/locales/tk_TM: Likewise.
5755 * localedata/locales/tl_PH: Likewise.
5756 * localedata/locales/tr_TR: Likewise.
5757 * localedata/locales/tt_RU: Likewise.
5758 * localedata/locales/tt_RU@iqtelif: Likewise.
5759 * localedata/locales/ug_CN: Likewise.
5760 * localedata/locales/uk_UA: Likewise.
5761 * localedata/locales/uz_UZ: Likewise.
5762 * localedata/locales/uz_UZ@cyrillic: Likewise.
5763 * localedata/locales/vi_VN: Likewise.
5764 * localedata/locales/yi_US: Likewise.
5765 * localedata/locales/yo_NG: Likewise.
5767 2018-02-27 Mike FABIAN <mfabian@redhat.com>
5769 * gen-locales.mk: Make test files which contain @ modifiers in their
5771 * localedata/gen-locale.sh: Likewise.
5773 2018-02-27 Mike FABIAN <mfabian@redhat.com>
5775 * posix/tst-fnmatch.input: Fix results for range expressions
5777 * posix/tst-regexloc.c: Do not use a range expression for
5778 de_DE.ISO-8859-1 locale.
5780 2018-02-27 Mike FABIAN <mfabian@redhat.com>
5782 * posix/bug-regex5.c: Fix test case because with the new
5783 iso14651_t1_common file, the da_DK locale now has 6 collating elements
5784 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
5787 2018-02-27 Mike FABIAN <mfabian@redhat.com>
5789 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
5790 downloaded from ISO, the collation order of @-. and space has changed.
5791 Therefore, this test file needed to be adapted.
5792 * localedata/fr_CA.UTF-8.in: Likewise.
5793 * localedata/fr_FR.UTF-8.in: Likewise.
5794 * localedata/uk_UA.UTF-8.in: Likewise.
5796 2018-02-27 Mike FABIAN <mfabian@redhat.com>
5798 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
5799 order of ȥ in the new iso14651_t1_common file.
5800 * localedata/pl_PL.UTF-8.in: Likewise.
5802 2018-02-27 Mike FABIAN <mfabian@redhat.com>
5804 * localedata/locales/iso14651_t1_common: Add sections for various
5805 scripts to the iso14651_t1_common file.
5807 2018-02-27 Mike FABIAN <mfabian@redhat.com>
5809 * localedata/locales/iso14651_t1_common: Use the code point of a
5810 character in the fourth collation level instead of IGNORE for all
5811 entries which have IGNORE on all 4 levels.
5813 2018-02-27 Mike FABIAN <mfabian@redhat.com>
5815 * localedata/locales/iso14651_t1_common: Add some convenient collation
5816 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
5817 rules similar to those in CLDR.
5819 2018-02-27 Mike FABIAN <mfabian@redhat.com>
5821 * localedata/locales/iso14651_t1_common: The new version of this
5822 file downloaded from ISO contained several syntax errors which
5823 are fixed by this patch.
5825 2018-02-27 Mike FABIAN <mfabian@redhat.com>
5827 * localedata/locales/iso14651_t1_common: replace all <U.....>
5828 with <U000.....> because glibc understands only 4 digit or 8 digit
5830 2018-02-27 Mike FABIAN <mfabian@redhat.com>
5832 * localedata/locales/iso14651_t1_common: Necessary changes
5833 to make the file downloaded from ISO usable by glibc.
5835 2018-02-27 Mike FABIAN <mfabian@redhat.com>
5838 * localedata/locales/iso14651_t1_common: Update file to
5839 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
5841 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5843 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
5844 of <nptl/pthreadP.h>
5845 (thread_attr_compare): Move function to...
5846 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
5847 * sysdeps/nptl/timer_routines.h: ... new header.
5848 * sysdeps/mach/hurd/gai_misc.h: New file.
5850 2018-02-26 Joseph Myers <joseph@codesourcery.com>
5852 * string/strcoll_l.c: Include <libc-diag.h>.
5853 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
5854 declarations of seq1 and seq2.
5857 * stdlib/atoi.c (atoi): Use libc_hidden_def.
5858 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
5860 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
5864 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
5865 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
5866 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
5867 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
5868 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
5869 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
5871 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5873 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
5874 macros used in __ptrace_request.
5876 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
5879 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
5881 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
5882 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
5883 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
5886 2018-02-23 Joseph Myers <joseph@codesourcery.com>
5889 * ctype/ctype.c (tolower): Use libc_hidden_def.
5890 (toupper): Likewise.
5891 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
5892 [!_ISOMAC] (toupper): Likewise.
5894 2018-02-23 Mike FABIAN <mfabian@redhat.com>
5896 * localedata/Makefile: Remove --quiet argument when
5899 2018-02-23 Mike FABIAN <mfabian@redhat.com>
5902 * localedata/locales/pt_BR (LC_TIME): use / instead of -
5904 * localedata/locales/pt_PT (LC_TIME): likewise
5906 2018-02-23 Mike FABIAN <mfabian@redhat.com>
5909 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
5910 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
5911 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
5913 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5917 * nptl/Makefile (routines): Remove unregister-atfork.
5918 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
5919 (fork_handler_alloc): Remove function.
5920 (fork_handlers, fork_handler_init): New variables.
5921 (__fork_lock): Rename to atfork_lock.
5922 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
5923 to use a dynamic array to add/remove atfork handlers.
5924 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5925 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
5927 (fork_handler): Remove next, refcntr, and need_signal member.
5928 (__run_fork_handler_type): New enum.
5929 (__run_fork_handlers): New prototype.
5930 * nptl/register-atfork.c: Remove file.
5931 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
5933 * sysdeps/nptl/nptl-signals.h: Move to ...
5934 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
5936 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
5937 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
5938 unnecessary check for SIGTIMER.
5939 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
5940 remove unnecessary removal of SIGTIMER.
5941 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
5942 include-signals.h rename.
5943 * nptl/pthreadP.h: Likewise.
5944 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
5945 __is_internal_signal instead of __nptl_is_internal_signal.
5947 2018-02-22 Andrew Waterman <andrew@sifive.com>
5950 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
5951 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
5952 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
5953 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
5955 2018-02-22 DJ Delorie <dj@delorie.com>
5957 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
5959 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
5961 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
5962 do_misaligned, not misaligned8.
5964 2018-02-22 Steve Ellcey <sellcey@cavium.com>
5966 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5967 Add memcpy_thunderx2.
5968 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
5970 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
5971 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
5972 and IS_THUNDERX2PA checks.
5973 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
5974 Use macro to set name appropriately.
5975 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
5976 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
5977 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
5979 (IS_THUNDERX2): New macro.
5981 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
5983 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5985 2018-02-21 Zack Weinberg <zackw@panix.com>
5987 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
5988 Define here, unconditionally.
5989 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
5990 * libio/libioP.h: Remove #if 0 blocks.
5991 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
5992 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
5993 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
5995 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
5996 Assume weak_alias is always defined.
5998 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
5999 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
6000 Remove #if 0 and #ifdef TODO blocks.
6001 Assume text_set_element is always defined.
6003 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
6004 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
6005 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
6007 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
6008 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
6009 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
6010 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
6011 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
6012 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
6013 Reformat bit flags for _flags field to make occupancy clearer.
6015 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
6016 Keep definitions consistent with those in libio/libio.h.
6018 * libio/libio.h (_IO_file_flags): Remove macro.
6019 All uses changed to _flags.
6021 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
6022 (__HAVE_COLUMN, _IO_BE): Don't define.
6023 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
6024 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
6025 * libio/libioP.h (EOF): Don't define.
6026 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
6027 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
6028 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
6029 testing _IO_UNIFIED_JUMPTABLES.
6031 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
6032 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
6033 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
6034 (_IO_size_t): Delete; all uses changed to size_t.
6035 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
6036 (_IO_off_t): Delete; all uses changed to off_t.
6037 (_IO_off64_t): Delete; all uses changed to off64_t.
6038 (_IO_pid_t): Delete; all uses changed to pid_t.
6039 (_IO_uid_t): Delete; all uses changed to uid_t.
6040 (_IO_wint_t): Delete; all uses changed to wint_t.
6041 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
6042 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
6043 (_IO_cookie_io_functions_t): Delete; all uses changed to
6044 cookie_io_functions_t.
6045 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
6046 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
6047 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
6048 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
6050 * libio/iofopncook.c: Remove unnecessary forward declarations.
6051 * libio/iolibio.h: Correct outdated commentary.
6052 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
6053 * stdio-common/fxprintf.c (__fxprintf_nocancel):
6054 Remove unnecessary casts.
6055 * stdio-common/getline.c: Use _IO_getdelim directly.
6056 Don't redefine ssize_t.
6057 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
6058 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
6059 Remove outdated comments.
6060 * stdio-common/vfscanf.c: Don't redefine va_list.
6062 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
6063 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
6064 Remove preprocessor conditionals on _LIBC and __USE_GNU,
6065 which are always true, and __cplusplus, which is always false.
6067 2018-02-21 Joseph Myers <joseph@codesourcery.com>
6071 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
6072 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
6073 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
6074 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
6076 [!_ISOMAC] (putc_unlocked): Likewise.
6077 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
6078 define inline if [__USE_EXTERN_INLINES].
6079 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
6084 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
6085 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
6086 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
6087 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
6088 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
6090 * time/tzfile.c (__tzfile_read): Likewise.
6092 2018-02-21 Mike FABIAN <mfabian@redhat.com>
6095 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
6097 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
6099 * io/fcntl.h: Fix a typo in a comment.
6101 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
6104 * include/features.h: Add _ISOC11_SOURCE to test for whether to
6105 define _DEFAULT_SOURCE.
6106 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
6108 2018-02-21 Florian Weimer <fweimer@redhat.com>
6111 * elf/cache.c (save_cache): Call fsync on temporary file before
6113 (save_aux_cache): Call fdatasync on temporary file before renaming
6116 2018-02-21 Florian Weimer <fweimer@redhat.com>
6119 * include/caller.h: Remove file.
6120 * elf/dl-caller.c: Likewise.
6121 * elf/Makefile (dl-routines): Remove dl-caller.
6122 (shared-only-routines): Do not add dl-caller.
6123 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
6125 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
6127 (dl_open_worker): Do not call __check_caller.
6128 (_dl_open): Do not set caller_dl_open member.
6129 * elf/rtld.c (_rtld_global_ro): Do not initialize
6130 _dl_check_caller member.
6131 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
6132 _dl_check_caller member.
6133 (_dl_check_caller): Remove declaration.
6134 * sysdeps/unix/sysv/linux/dl-execstack.c
6135 (_dl_make_stack_executable): Do not call __check_caller.
6137 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
6139 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
6140 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
6142 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
6144 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
6147 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
6150 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
6151 of 199606L, 200112L, and 200809L.
6152 (_XOPEN_SOURCE): Document special values of 600 and 700.
6153 (_ISOC11_SOURCE): Document macro.
6154 (_ATFILE_SOURCE): Likewise.
6155 (_FORTIFY_SOURCE): Likewise.
6157 2018-02-19 Joseph Myers <joseph@codesourcery.com>
6161 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
6162 and define as weak alias of __ferror_unlocked. Use
6164 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
6166 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
6167 function if [__USE_EXTERN_INLINES].
6168 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
6171 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
6174 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
6176 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
6179 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
6180 the GLIBC_2.1 version.
6182 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
6185 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
6186 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
6187 intl/tst-gettext-de.po from po/de.po by removing the
6188 POT-Creation-Date line.
6189 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
6191 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
6194 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
6196 * mach/Makefile (headers): Add mach/param.h.
6197 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
6198 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
6199 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
6200 (__ptsname_r): Move implementation to...
6201 (__ptsname_internal): ... new function. Add filling the STP
6204 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
6206 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
6209 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
6211 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
6214 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6216 * nptl/Makefile (tst-mutex8-ENV): Delete.
6217 * nptl/tst-mutex8.c (check_type):
6218 Add runtime check if mutex will be elided.
6220 2018-02-15 Joseph Myers <joseph@codesourcery.com>
6224 * manual/install.texi (Configuring and compiling): Describe
6225 passing CC and CFLAGS on configure command line, not as
6226 environment variables. Use @code markup on those variables.
6227 Specify what options go in CC and what go in CFLAGS. Note the
6228 requirement to compile with optimization.
6229 * INSTALL: Regenerated.
6232 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
6233 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
6234 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
6235 __sigprocmask instead of sigprocmask.
6236 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
6238 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
6239 __sigsetjmp and sigprocmask.
6242 * include/argz.h (argz_next): Use libc_hidden_proto.
6243 (__argz_next): Likewise.
6244 * string-argz-next.c (__argz_next): Use libc_hidden_def.
6245 (argz_next): Use libc_hidden_weak.
6248 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
6250 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
6254 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
6256 * libio/iofputs.c (fputs): Use libc_hidden_weak.
6260 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
6261 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
6262 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
6263 (__feof_unlocked): New declaration, and inline function if
6264 [__USE_EXTERN_INLINES].
6265 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
6266 instead of feof_unlocked.
6267 * intl/localealias.c [_LIBC] (FEOF): Likewise.
6268 * nss/nsswitch.c (nss_parse_file): Likewise.
6269 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
6271 * time/getdate.c (__getdate_r): Likewise.
6272 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
6273 Define as macro to call __feof_unlocked.
6275 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
6277 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
6279 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
6281 * math/Makefile: Remove mpexp.c and mplog.c
6282 * sysdeps/i386/fpu/mpexp.c: Delete file.
6283 * sysdeps/i386/fpu/mplog.c: Likewise.
6284 * sysdeps/ia64/fpu/mpexp.c: Likewise.
6285 * sysdeps/ia64/fpu/mplog.c: Likewise.
6286 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
6287 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
6288 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
6289 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
6290 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
6291 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
6292 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
6293 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
6294 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
6295 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6296 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
6297 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
6298 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6299 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
6300 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
6301 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6303 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
6305 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6307 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6309 * sysdeps/sh/libm-test-ulps: Update.
6311 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6313 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
6316 2018-02-12 Zack Weinberg <zackw@panix.com>
6319 * posix/sys/types.h: Don't include sys/sysmacros.h.
6320 * misc/sys/sysmacros.h: Remove the conditional deprecation
6321 warnings for the macros defined by this header.
6323 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6325 * manual/probes.texi: Remove slowexp probes.
6326 * math/Makefile: Remove slowexp.
6327 * sysdeps/generic/math_private.h (__slowexp): Remove.
6328 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
6329 document error bounds.
6330 * sysdeps/i386/fpu/slowexp.c: Remove.
6331 * sysdeps/ia64/fpu/slowexp.c: Remove.
6332 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
6333 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
6334 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
6335 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
6336 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
6337 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
6338 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
6339 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
6340 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
6341 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
6342 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
6344 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6347 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
6348 * benchtests/pow-inputs: Update comment for slow path cases.
6349 * manual/probes.texi (slowpow_p10): Delete removed probe.
6350 (slowpow_p10): Likewise.
6351 * math/Makefile: Remove halfulp.c and slowpow.c.
6352 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
6353 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
6354 (__halfulp): Remove.
6355 (__slowpow): Remove.
6356 * sysdeps/i386/fpu/halfulp.c: Delete file.
6357 * sysdeps/i386/fpu/slowpow.c: Likewise.
6358 * sysdeps/ia64/fpu/halfulp.c: Likewise.
6359 * sysdeps/ia64/fpu/slowpow.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
6361 improve comments and add error analysis.
6362 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
6363 (power1): Remove function:
6364 (log1): Remove error argument, add error analysis.
6365 (my_log2): Remove function.
6366 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
6367 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6368 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
6369 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
6370 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
6371 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
6372 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
6373 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
6374 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
6375 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
6376 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
6377 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6378 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
6379 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6381 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
6383 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
6384 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
6386 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
6389 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
6390 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
6391 and PTRACE_SETHBPREGS.
6393 2018-02-10 Zack Weinberg <zackw@panix.com>
6396 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
6398 * malloc/tst-malloc-stats-cancellation.c: New test case.
6399 * malloc/Makefile: Add new test case.
6401 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
6403 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
6405 2018-02-10 Joseph Myers <joseph@codesourcery.com>
6407 * math/Makefile (libm-narrow-fns): Add add.
6408 (libm-test-funcs-narrow): Likewise.
6409 * math/Versions (GLIBC_2.28): Add narrowing add functions.
6410 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
6411 * math/gen-auto-libm-tests.c (test_functions): Add add.
6412 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
6413 (NARROW_ADD_ROUND_TO_ODD): Likewise.
6414 (NARROW_ADD_TRIVIAL): Likewise.
6415 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
6417 (__daddl): Likewise.
6418 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
6420 (CFLAGS-nldbl-dadd.c): New variable.
6421 (CFLAGS-nldbl-fadd.c): Likewise.
6422 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
6424 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
6426 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
6427 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
6428 * math/auto-libm-test-in: Add tests of add.
6429 * math/auto-libm-test-out-narrow-add: New generated file.
6430 * math/libm-test-narrow-add.inc: New file.
6431 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
6432 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
6434 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
6435 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
6436 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
6437 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
6439 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
6445 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
6446 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
6447 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
6448 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
6449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6450 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
6451 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6452 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6453 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6454 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6455 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6456 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6457 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6458 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6459 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6460 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6461 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6462 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
6465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6467 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
6468 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6469 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6470 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6471 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6472 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6473 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
6474 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
6475 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6476 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6478 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
6479 (f128-pairs): New variable.
6480 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
6481 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
6483 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
6484 Also make tests add $(f128-loader-link) to gnulib-tests.
6486 2018-02-09 DJ Delorie <dj@redhat.com>
6489 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
6490 64-bit ELF type for 64-bit ELF objects.
6492 2018-02-09 Joseph Myers <joseph@codesourcery.com>
6494 * math/libm-test-driver.c (snan_tests_arg): New variable.
6495 * math/libm-test-support.h (snan_tests_arg): New declaration.
6496 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
6498 * math/Makefile (test-type-pairs): New variable.
6499 (test-type-pairs-f64xf128-yes): Likewise.
6500 (tests): Add test-narrow-macros.
6501 (libm-test-funcs-narrow): New variable.
6502 (libm-test-c-narrow): Likewise.
6503 (generated): Add $(libm-test-c-narrow).
6504 (libm-tests-base-narrow): New variable.
6505 (libm-tests-narrow): Likewise.
6506 (libm-tests): Add $(libm-tests-narrow).
6507 (libm-tests-for-type): Handle $(libm-tests-narrow).
6508 (libm-test-c-narrow-obj): New variable.
6509 ($(libm-test-c-narrow-obj)): New rule.
6510 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
6511 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
6512 $(o-iterator) to set dependencies and CFLAGS.
6513 * math/gen-auto-libm-tests.c: Document use for narrowing
6515 (output_for_one_input_case): Take argument NARROW.
6516 (generate_output): Likewise. Update call to
6517 output_for_one_input_case.
6518 (main): Take --narrow option. Update call to generate_output.
6519 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
6520 (apply_lit): Update call to _apply_lit.
6521 (apply_arglit): New function.
6522 (parse_args): Handle "a" arguments.
6523 (parse_auto_input): Handle format names using ":".
6524 * math/README.libm-test: Document "a" parameter type.
6525 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
6526 (ARG_TYPE_TRUE_MIN): Likewise.
6527 (ARG_TYPE_MAX): Likwise.
6528 (ARG_MIN_EXP): Likewise.
6529 (ARG_MAX_EXP): Likewise.
6530 (ARG_MANT_DIG): Likewise.
6531 (TEST_COND_arg_ibm128): Likewise.
6532 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
6533 (TEST_COND_arg_fmt): New macro.
6534 (init_max_error): Update prototype.
6535 * math/libm-test-support.c (test_ibm128): New variable.
6536 (init_max_error): Take argument testing_ibm128 and set test_ibm128
6537 instead of using [TEST_COND_ibm128] conditional.
6538 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
6539 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
6540 [TEST_NARROW] (TEST_MSG): New definition.
6541 (arg_plus_zero): New macro.
6542 (arg_minus_zero): Likewise.
6543 (arg_plus_infty): Likewise.
6544 (arg_minus_infty): Likewise.
6545 (arg_qnan_value_pl): Likewise.
6546 (arg_qnan_value): Likewise.
6547 (arg_snan_value_pl): Likewise.
6548 (arg_snan_value): Likewise.
6549 (arg_max_value): Likewise.
6550 (arg_min_value): Likewise.
6551 (arg_min_subnorm_value): Likewise.
6552 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
6553 (RUN_TEST_LOOP_aa_f): New macro.
6554 (TEST_SUFF): New macro.
6555 (TEST_SUFF_STR): Likewise.
6556 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
6557 (TEST_COND_any_ibm128): New macro.
6558 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
6559 this_func. Update call to init_max_error.
6560 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
6561 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
6562 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
6563 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
6564 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
6565 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
6566 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
6567 * math/test-math-scalar.h (TEST_NARROW): Likewise.
6568 * math/test-math-vector.h (TEST_NARROW): Likewise.
6569 * math/test-arg-double.h: New file.
6570 * math/test-arg-float128.h: Likewise.
6571 * math/test-arg-float32x.h: Likewise.
6572 * math/test-arg-float64.h: Likewise.
6573 * math/test-arg-float64x.h: Likewise.
6574 * math/test-arg-ldouble.h: Likewise.
6575 * math/test-math-narrow.h: Likewise.
6576 * math/test-narrow-macros.c: Likewise.
6577 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
6578 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
6579 test-narrow-macros-ldbl-64.
6580 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
6582 * math/bits/mathcalls-narrow.h: New file.
6583 * include/bits/mathcalls-narrow.h: Likewise.
6584 * math/math-narrow.h: Likewise.
6585 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
6586 (__MATHCALL_NARROW_ARGS_2): Likewise.
6587 (__MATHCALL_NARROW_ARGS_3): Likewise.
6588 (__MATHCALL_NARROW_NORMAL): Likewise.
6589 (__MATHCALL_NARROW_REDIR): Likewise.
6590 (__MATHCALL_NARROW): Likewise.
6591 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
6592 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
6594 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6595 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
6596 (libm-narrow-fns): New variable.
6597 (libm-narrow-types-basic): Likewise.
6598 (libm-narrow-types-ldouble-yes): Likewise.
6599 (libm-narrow-types-float128-yes): Likewise.
6600 (libm-narrow-types-float128-alias-yes): Likewise.
6601 (libm-narrow-types): Likewise.
6602 (libm-routines): Add narrowing functions.
6603 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
6604 (libc_feholdexcept_setroundf128): New macro.
6605 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
6606 * sysdeps/ieee754/float128/float128_private.h: Include
6607 <math/math-narrow.h>.
6608 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
6609 Undefine and redefine.
6610 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
6611 (libm_alias_float_ldouble): Undefine and redefine.
6612 (libm_alias_double_ldouble): Likewise.
6614 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
6616 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
6618 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
6621 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
6623 * manual/creature.texi: Convert references to gcc.info to gcc.
6624 * manual/stdio.texi: Likewise.
6625 * manual/string.texi: Likewise.
6627 2018-02-07 Joseph Myers <joseph@codesourcery.com>
6630 * posix/bits/types.h (__int_least8_t): New typedef.
6631 (__uint_least8_t): Likewise.
6632 (__int_least16_t): Likewise.
6633 (__uint_least16_t): Likewise.
6634 (__int_least32_t): Likewise.
6635 (__uint_least32_t): Likewise.
6636 (__int_least64_t): Likewise.
6637 (__uint_least64_t): Likewise.
6638 * sysdeps/generic/stdint.h (int_least8_t): Define using
6640 (int_least16_t): Define using __int_least16_t.
6641 (int_least32_t): Define using __int_least32_t.
6642 (int_least64_t): Define using __int_least64_t.
6643 (uint_least8_t): Define using __uint_least8_t.
6644 (uint_least16_t): Define using __uint_least16_t.
6645 (uint_least32_t): Define using __uint_least32_t.
6646 (uint_least64_t): Define using __uint_least64_t.
6647 * wcsmbs/uchar.h: Include <bits/types.h>.
6648 (char16_t): Define using __uint_least16_t conditional only on
6650 (char32_t): Define using __uint_least32_t conditional only on
6652 * wcsmbs/test-char-types.c: New file.
6653 * wcsmbs/Makefile (tests): Add test-char-types.
6655 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6658 2018-02-07 Zack Weinberg <zackw@panix.com>
6660 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
6661 Delete all contents except for definitions of _G_HAVE_MMAP and
6662 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
6663 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
6664 sysdeps/unix/sysv/linux/_G_config.h. Make same content
6667 * libio/libio.h: Don't include bits/_G_config.h here.
6668 Include stddef.h with __need_wchar_t defined. Include
6669 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
6670 Define _IO_iconv_t here, directly.
6671 Don't define _IO_HAVE_ST_BLKSIZE.
6672 * libio/libioP.h: Include _G_config.h here. Move include of
6673 shlib-compat.h up with rest of includes. Simplify conditionals
6674 controlling definition of _IO_JUMPS_OFFSET.
6676 * csu/init.c: Remove always-true #if around entire file.
6677 Don't include stdio.h. Set _IO_stdin_used to hardwired
6678 constant 0x20001, and update commentary.
6679 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
6680 Replace all uses of _G_va_list with __gnuc_va_list.
6681 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
6682 instead of #if _IO_HAVE_ST_BLKSIZE.
6683 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
6684 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
6687 * libio/bits/libio.h: Move back to libio/libio.h and adjust
6688 multiple-include guard to match.
6689 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
6691 Remove preprocessor conditionals that are always true and/or
6692 redundant to other preprocessor conditionals in the same nest.
6693 Include shlib-compat.h unconditionally.
6694 Error out if _LIBC is not defined, or if _ISOMAC is defined,
6695 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
6696 defined after including stdio.h.
6697 Use __BEGIN_DECLS/__END_DECLS.
6699 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
6700 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
6701 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
6703 2018-02-07 Zack Weinberg <zackw@panix.com>
6705 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
6706 New single-type headers split from _G_config.h.
6707 * libio/bits/types/cookie_io_functions_t.h
6708 * libio/bits/types/struct_FILE.h
6709 New single-type headers split from libio.h.
6711 * libio/Makefile: Install the above new headers. Don't install
6712 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
6714 * libio/_G_config.h, libio/libio.h: Delete file.
6716 * libio/bits/libio.h: Remove improper-inclusion guard.
6717 Include stdio.h and don't repeat anything that it does.
6718 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
6719 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
6720 __io_read_fn as cookie_read_function_t,
6721 __io_write_fn as cookie_write_function_t,
6722 __io_seek_fn as cookie_seek_function_t,
6723 __io_close_fn as cookie_close_function_t,
6724 and _IO_cookie_io_functions_t as cookie_io_functions_t.
6725 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
6726 here, in the "compatibility defines" section. Remove an #if 0
6727 block. Use the "body" macros from bits/types/struct_FILE.h to
6728 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
6729 and _IO_ferror_unlocked.
6730 Move prototypes of __uflow and __overflow...
6732 * libio/stdio.h: ...here. Don't include bits/libio.h.
6733 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6734 directly from stdarg.h. Include bits/types/__fpos_t.h,
6735 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
6736 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
6737 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
6738 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
6739 cookie_io_functions_t, not _IO_cookie_io_functions_t;
6740 __ssize_t, not _IO_ssize_t. Unconditionally define
6741 BUFSIZ as 8192 and EOF as (-1).
6743 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
6744 macros from bits/types/struct_FILE.h instead of _IO_* macros
6745 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
6746 instead of _IO_ssize_t.
6747 * libio/bits/stdio2.h: Similarly.
6749 * libio/iolibio.h: Add multiple-include guard.
6750 Include bits/libio.h after stdio.h.
6751 * libio/libioP.h: Add multiple-include guard.
6752 Include stdio.h and bits/libio.h before iolibio.h.
6754 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
6755 * include/bits/types/cookie_io_functions_t.h
6756 * include/bits/types/struct_FILE.h: New wrappers.
6758 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6759 Get definitions of _G_fpos_t and _G_fpos64_t from
6760 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
6761 respectively. Remove improper-inclusion guards.
6763 * conform/data/stdio.h-data: Update expectations of va_list.
6764 * scripts/check-installed-headers.sh: Remove special case for
6765 libio.h and _G_config.h.
6767 2018-02-07 Joseph Myers <joseph@codesourcery.com>
6771 * include/sys/sysmacros.h [!_ISOMAC]
6772 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
6773 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
6774 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
6775 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
6777 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
6778 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
6780 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
6781 Undefine and redefine to add use __gnu_dev_ prefix.
6782 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
6784 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
6785 and define as hidden inline function.
6786 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
6788 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
6790 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
6791 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
6792 (gnu_dev_minor): Likewise.
6793 (gnu_dev_makedev): Likewise.
6794 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
6796 * posix/wordexp.c (exec_comm_child): Likewise.
6797 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
6798 instead of minor and __gnu_dev_major instead of major.
6799 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
6800 __gnu_dev_major instead of major.
6801 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
6802 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
6803 instead of gnu_dev_minor.
6804 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
6805 (SLAVE_P): Likewise.
6806 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
6807 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
6811 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
6813 * locale/weightwc.h (findidx): Likewise.
6815 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
6817 * manual/probes.texi (slowlog): Delete documentation of removed probe.
6818 (slowlog_inexact): Likewise
6819 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
6820 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
6822 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
6825 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
6826 missing second underscore to parameter name.
6828 2018-02-06 Joseph Myers <joseph@codesourcery.com>
6834 * bits/byteswap.h: Update file comment. Do not include
6835 <bits/byteswap-16.h>.
6836 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
6838 (__bswap_16): Define as inline function.
6839 (__bswap_constant_32): Reformat definition.
6840 (__bswap_32): Always define as inline function, not macro, using
6841 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
6842 otherwise __bswap_constant_32.
6843 (__bswap_constant_64): Reformat definition. Do not use
6845 (__bswap_64): Always define as inline function, not macro. Use
6846 __extension__ on function definition. Use __builtin_bswap64 if
6847 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
6848 * string/test-endian-file-scope.c: New file.
6849 * string/test-endian-sign-conversion.c: Likewise.
6850 * string/Makefile (headers): Remove bits/byteswap-16.h.
6851 (tests): Add test-endian-file-scope and
6852 test-endian-sign-conversion.
6853 (CFLAGS-test-endian-sign-conversion.c): New variable.
6854 * bits/byteswap-16.h: Remove file.
6855 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
6856 * sysdeps/ia64/bits/byteswap.h: Likewise.
6857 * sysdeps/m68k/bits/byteswap.h: Likewise.
6858 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6859 * sysdeps/s390/bits/byteswap.h: Likewise.
6860 * sysdeps/tile/bits/byteswap.h: Likewise.
6861 * sysdeps/x86/bits/byteswap-16.h: Likewise.
6862 * sysdeps/x86/bits/byteswap.h: Likewise.
6865 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
6866 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
6867 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
6868 199901L] (__restrict): Define to restrict.
6871 * string/testcopy.c: Include <support/support.h>. Do not include
6872 <malloc.h>. Use <support/test-driver.c>.
6873 (main): Rename to do_test. Make static. Use xmalloc instead of
6877 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
6878 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
6879 (SSIZE_MAX): Define to INT_MAX.
6880 * posix/test-ssize-max.c: New file.
6881 * posix/Makefile (tests): Add test-ssize-max.
6884 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
6885 <support/support.h>. Do not include <malloc.h>.
6886 (query_auxv): Use xmalloc instead of malloc.
6889 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
6890 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
6893 2018-02-06 Florian Weimer <fweimer@redhat.com>
6896 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6897 Use scratch_buffer instead of extend_alloca.
6899 2018-02-06 Zack Weinberg <zackw@panix.com>
6901 * libio/stdio.h: Don't define getc or putc as macros.
6902 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
6903 not _IO_getc and _IO_putc.
6905 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
6906 * stdio-common/tstgetln.c: Don't redefine ssize_t.
6908 2018-02-06 Joseph Myers <joseph@codesourcery.com>
6910 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
6911 (TCP_FASTOPEN_NO_COOKIE): Likewise.
6913 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
6916 * elf/elf.h (NT_PRFPREG): New macro.
6917 (NT_S390_VXRS_LOW): Likewise.
6918 (NT_S390_VXRS_HIGH): Likewise.
6919 (NT_S390_GS_CB): Likewise.
6920 (NT_S390_GS_BC): Likewise.
6921 (NT_S390_RI_CB): Likewise.
6923 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
6924 (MAP_SYNC): New macro.
6925 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
6927 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
6928 (MAP_SYNC): Likewise.
6929 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
6930 (MAP_SYNC): Likewise.
6931 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
6932 (MAP_SYNC): Likewise.
6933 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
6934 (MAP_SYNC): Likewise.
6935 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
6936 (MAP_SYNC): Likewise.
6937 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
6938 (MAP_SYNC): Likewise.
6939 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
6941 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
6944 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
6945 (MAP_SHARED_VALIDATE): New macro.
6946 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6947 (MAP_SHARED_VALIDATE): Likewise.
6949 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
6951 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
6952 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
6953 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6955 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
6957 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
6958 (DT_NUM): Updated to 35.
6960 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
6962 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
6963 __builtin_expect with __glibc_likely and __glibc_unlikely.
6964 (elf_machine_rela): Likewise.
6965 (elf_machine_lazy_rel): Likewise.
6967 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
6969 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
6970 __builtin_expect with __glibc_likely and __glibc_unlikely.
6971 (elf_machine_lazy_rel): Likewise.
6973 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
6976 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
6978 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
6980 2018-02-05 Andreas Schwab <schwab@suse.de>
6983 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
6986 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6988 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
6989 not check against PTHREAD_STACK_MIN.
6991 2018-02-02 Sean McKean <smckean83@gmail.com>
6994 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
6996 2018-02-02 Florian Weimer <fweimer@redhat.com>
6999 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
7000 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
7001 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
7002 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
7003 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
7004 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7005 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7006 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
7007 * manual/llio.texi (Scatter-Gather): Mention offset -1.
7008 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
7009 * misc/tst-preadvwritev2.c (do_test): Call it.
7010 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
7012 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7014 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
7016 * benchtests/bench-memcmp.c: Print json instead of plain text.
7018 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
7021 2018-02-01 Joseph Myers <joseph@codesourcery.com>
7023 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7025 (s390_sthyi): New syscall.
7027 * sysdeps/generic/ldbl-classify-compat.h: New file.
7028 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
7029 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
7030 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
7031 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
7032 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
7033 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
7034 * sysdeps/ieee754/dbl-64/s_finite.c: Include
7035 <ldbl-classify-compat.h>.
7036 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
7037 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
7038 <ldbl-classify-compat.h>.
7039 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
7040 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
7041 <ldbl-classify-compat.h>.
7042 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
7043 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
7044 <ldbl-classify-compat.h>.
7045 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
7046 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
7047 <ldbl-classify-compat.h>.
7048 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
7049 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
7050 <ldbl-classify-compat.h>.
7051 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
7052 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
7053 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7054 * sysdeps/m68k/coldfire/math_private.h: Remove file.
7055 * sysdeps/microblaze/math_private.h: Likewise.
7056 * sysdeps/nios2/math_private.h: Likewise.
7057 * sysdeps/sh/math_private.h: Likewise.
7059 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
7060 * sysdeps/m68k/coldfire/math_private.h: ... here.
7061 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
7062 * sysdeps/tile/math_private.h: Likewise.
7063 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
7065 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
7068 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
7070 (libc_fetestexcept): Likewise.
7071 (libc_feupdateenv_test): Likewise.
7072 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
7073 (libc_fetestexcept): Likewise.
7074 (libc_feupdateenv_test): Likewise.
7075 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
7076 (libc_fetestexcept): Likewise.
7077 (libc_feupdateenv_test): Likewise.
7078 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
7079 (libc_fetestexcept): Likewise.
7080 (libc_feupdateenv_test): Likewise.
7082 * sysdeps/generic/math_private.h
7083 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
7084 New inline function.
7085 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
7088 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
7089 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
7090 * sysdeps/generic/math_private.h
7091 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
7093 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
7095 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
7097 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
7099 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
7101 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
7103 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
7104 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
7105 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
7106 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
7107 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
7108 (__fegetenv): Likewise.
7109 (fesetenv): Likewise.
7110 (__fesetenv): Likewise.
7111 (feupdateenv): Likewise.
7112 (__feupdateenv): Likewise.
7113 (fegetround): Likewise.
7114 (__fegetround): Likewise.
7115 (fesetround): Likewise.
7116 (__fesetround): Likewise.
7118 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
7119 (feraiseexcept): New macro.
7120 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
7121 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
7123 (__feraiseexcept): Likewise.
7124 (feclearexcept): Likewise.
7125 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
7126 (__feraiseexcept): Likewise.
7127 (feclearexcept): Likewise.
7128 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
7129 (__feraiseexcept): Likewise.
7130 (feclearexcept): Likewise.
7131 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
7132 (__feraiseexcept): Likewise.
7133 (feclearexcept): Likewise.
7134 (fetestexcept): Likewise.
7136 * sysdeps/m68k/coldfire/math-tests.h: New file.
7138 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
7139 * sysdeps/m68k/bits/fenv.h: ... here.
7140 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
7142 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
7144 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
7146 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
7148 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
7150 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
7152 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
7153 (__FE_UNDEFINED): New enum constant.
7154 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
7156 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
7158 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
7160 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
7161 to match generic bits/fenv.h.
7162 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
7165 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
7167 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
7168 * soft-fp/half.h (union _FP_UNION_H): Likewise.
7169 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
7170 * soft-fp/single.h (union _FP_UNION_S): Likewise.
7172 2018-02-01 Carlos O'Donell <carlos@redhat.com>
7173 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
7174 Joseph Myers <joseph@codesourcery.com>
7177 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
7178 (__log1p): Disable -Wmaybe-uninitialized for -Os around
7179 computation using c.
7180 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
7181 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
7182 computation using c.
7184 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
7186 * version.h (RELEASE): Set to "development".
7187 (VERSION): Set to "2.27.9000".
7188 * NEWS (2.28): New section.
7190 * version.h (RELEASE): Set to "stable".
7191 (VERSION): Set to "2.27".
7192 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
7194 * NEWS: Add the list of bugs fixed in 2.27.
7196 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7198 * stdlib/test-atexit-race-common.c (do_test): Check stack size
7199 against PTHREAD_STACK_MIN.
7201 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
7203 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
7205 (Rafal Luzynski, Andreas Schwab): Update.
7207 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
7210 * NEWS: List the languages which actually use the alternative
7211 months feature in this release. Also explain that "alt_mon" and
7212 "ab_alt_mon" are optional.
7214 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
7217 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
7219 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
7221 * manual/install.texi (Tools for Compilation): Update the newest
7222 versions of gcc, binutils, texinfo, gawk, bison, and sed.
7223 * INSTALL: Regenerated.
7225 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7227 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
7228 instead of __builtin_expect.
7230 2018-01-30 Florian Weimer <fweimer@redhat.com>
7232 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
7234 * nss/tst-nss-getpwent.c (do_test): Likewise.
7236 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
7239 * localedata/locales/hr_HR (mon): Rename to...
7241 (mon): Import from CLDR (genitive case).
7242 (d_t_fmt): Update the comment.
7244 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
7246 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
7247 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
7248 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
7250 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7252 * mach/Versions: Fix version when __mach_host_self_ was added.
7253 * hurd/Versions: Fix version when _hurd_exec_paths was added.
7254 * sysdeps/mach/hurd/i386/ld.abilist: New file.
7255 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
7256 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
7257 * sysdeps/mach/hurd/i386/libc.abilist: New file.
7258 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
7259 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
7260 * sysdeps/mach/hurd/i386/libm.abilist: New file.
7261 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
7262 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
7263 * sysdeps/mach/hurd/i386/librt.abilist: New file.
7264 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
7265 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
7266 || to respect codestyle.
7267 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
7268 (do_test_bz20181): Rename accordingly.
7269 * malloc/malloc.c: Include <assert.h>.
7270 (assert): Do not define.
7271 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
7272 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
7273 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
7274 * sysdeps/mach/hurd/hp-timing.h: New file.
7275 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
7277 2018-01-29 Darius Rad <darius@bluespec.com>
7279 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
7281 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
7283 * sysdeps/init_array/crti.S (.section .init_array): Add
7284 PREINIT_FUNCTION when defined.
7285 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
7286 * config.h.in: Regenerate.
7287 * manual/platform.texi: Add RISC-V documenation for
7288 __riscv_flush_icache.
7289 * sysdeps/riscv/__longjmp.S: New file.
7290 * sysdeps/riscv/backtrace.c: Likewise.
7291 * sysdeps/riscv/bits/endian.h: Likewise.
7292 * sysdeps/riscv/bits/setjmp.h: Likewise.
7293 * sysdeps/riscv/bits/wordsize.h: Likewise.
7294 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
7295 * sysdeps/riscv/bsd-setjmp.c: Likewise.
7296 * sysdeps/riscv/dl-trampoline.S: Likewise.
7297 * sysdeps/riscv/gccframe.h: Likewise.
7298 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
7299 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
7300 * sysdeps/riscv/machine-gmon.h: Likewise.
7301 * sysdeps/riscv/memusage.h: Likewise.
7302 * sysdeps/riscv/setjmp.S: Likewise.
7303 * sysdeps/riscv/sys/asm.h: Likewise.
7304 * sysdeps/riscv/tls-macros.h: Likewise.
7305 * sysdeps/riscv/dl-tls.h: New file.
7306 * sysdeps/riscv/libc-tls.c: Likewise.
7307 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
7308 * sysdeps/riscv/nptl/tls.h: Likewise.
7309 * sysdeps/riscv/stackinfo.h: Likewise.
7310 * sysdeps/riscv/bits/fenv.h: New file.
7311 * sysdeps/riscv/e_sqrtl.c: Likewise.
7312 * sysdeps/riscv/fpu_control.h: Likewise.
7313 * sysdeps/riscv/math-tests.h: Likewise.
7314 * sysdeps/riscv/nofpu/Implies: Likewise.
7315 * sysdeps/riscv/sfp-machine.h: Likewise.
7316 * sysdeps/riscv/tininess.h: Likewise.
7317 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
7318 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7319 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
7320 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
7321 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
7322 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
7323 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7324 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
7325 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7326 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7327 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7328 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
7329 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
7330 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
7331 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
7332 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
7333 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7334 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7335 * sysdeps/riscv/rvd/s_fma.c: Likewise.
7336 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7337 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7338 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7339 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7340 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7341 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7342 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
7343 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
7344 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
7345 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
7346 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7347 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7348 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7349 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
7350 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
7351 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7352 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7353 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7354 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
7355 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
7356 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7357 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
7358 * sysdeps/riscv/rvf/math_private.h: Likewise.
7359 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7360 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7361 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7362 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7363 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
7364 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7365 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7366 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7367 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7368 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7369 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7370 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7371 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7372 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7373 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7374 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7375 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
7376 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
7377 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
7378 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
7379 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
7380 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
7381 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
7382 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
7383 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
7384 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
7385 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
7386 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
7387 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7388 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
7389 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
7390 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
7391 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7392 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
7393 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
7394 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
7395 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
7396 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
7397 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
7398 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
7399 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
7400 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
7401 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
7402 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
7403 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
7404 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
7405 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7406 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
7407 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
7408 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
7409 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
7410 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
7411 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
7412 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
7413 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
7414 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
7415 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
7416 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
7417 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
7418 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
7419 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
7420 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
7421 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7422 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
7423 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
7424 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
7425 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
7426 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
7427 * sysdeps/riscv/Implies: New file.
7428 * sysdeps/riscv/Makefile: Likewise.
7429 * sysdeps/riscv/configure: Likewise.
7430 * sysdeps/riscv/configure.ac: Likewise.
7431 * sysdeps/riscv/nptl/Makefile: Likewise.
7432 * sysdeps/riscv/preconfigure: Likewise.
7433 * sysdeps/riscv/rv64/Implies-after: Likewise.
7434 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
7435 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
7436 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
7437 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
7438 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
7439 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
7440 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
7441 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
7442 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
7443 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
7444 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
7445 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
7448 2018-01-29 Florian Weimer <fweimer@redhat.com>
7451 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
7452 libnsl_hidden_proto.
7453 * include/rpcsvc/yp.h (yp_xdrall): Declare with
7454 libnsl_hidden_proto.
7455 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
7456 * nis/Makefile (libnsl-routines): Add nss-default only for
7458 * nis/nis_defaults.c (__nis_default_ttl): Add
7459 libnsl_hidden_nolink_def.
7460 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
7462 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
7463 * nis/ypclnt.c (yp_maplist): Likewise.
7465 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
7467 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7468 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
7470 2018-01-29 Joseph Myers <joseph@codesourcery.com>
7472 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
7473 clean -dxfq for git updates when replacing sources.
7475 * scripts/build-many-glibcs.py (Config.build_gcc): Use
7476 --disable-libcilkrts unconditionally, not just for the final GCC
7479 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7482 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
7485 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
7488 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
7491 * localedata/locales/be_BY (mon): Rename to...
7492 (alt_mon): This, then synchronize with CLDR (nominative case).
7493 (abmon): Rename to...
7494 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
7495 (mon): Import from CLDR (genitive case).
7497 * localedata/locales/be_BY@latin (mon): Rename to...
7499 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
7501 * localedata/locales/be_BY@latin (lang_name): Reworded to
7502 "biełaruskaja mova".
7504 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
7507 * localedata/locales/el_CY (mon): Renamed to...
7509 (mon): Import from CLDR (genitive case).
7510 * localedata/locales/el_GR: Likewise.
7512 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
7515 * localedata/locales/ru_RU (mon): Rename to...
7517 (abmon): Rename to...
7519 (mon): Import from CLDR (genitive case).
7520 (abmon): Copy from the old content except the 5th month which is
7521 now in the genitive case, even when abbreviated.
7522 * localedata/locales/ru_UA: Likewise.
7523 * time/tst-strptime.c (day_tests): Add an actual example of
7524 a difference between %b and %Ob in Russian.
7526 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7528 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
7529 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
7531 * resolv/res-close.c: Include <stdlib.h>.
7532 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
7533 <sys/wait.h>, <time.h>, <sys/uio.h>.
7534 (NOT_CANCEL_H): Add inclusion guard.
7535 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
7536 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
7537 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
7539 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
7540 vm_address_t * to ElfW(Addr) * for dl_main parameter.
7541 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
7543 * sysdeps/pthread/timer_create.c (timer_create): Do not use
7544 timer_ptr2id to cast struct timer_node * to void *.
7545 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
7546 --disable-libcilkrts to gcc configure.
7547 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
7548 and make them the default for now.
7549 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
7550 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7551 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
7552 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
7553 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
7555 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
7556 __task_terminate would ever return successfully.
7557 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
7559 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
7560 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
7561 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
7562 critical section to make code simpler and avoid warning.
7563 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
7564 critical section to make code simpler and avoid warning.
7565 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
7566 const char * instead of char *.
7567 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
7568 __hurd_file_name_split, hurd_file_name_split,
7569 __hurd_directory_name_split, hurd_directory_name_split,
7570 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
7571 hurd_file_name_path_lookup): Make lookup function parameter take a
7572 const char *name instead of char *name.
7573 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
7574 __hurd_directory_name_split): Likewise.
7575 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
7576 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
7577 * sysdeps/mach/hurd/check_native.c: New file.
7578 * sysdeps/mach/hurd/check_pf.c: New file.
7579 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
7580 (__freeifaddrs): Define macro to freeifaddrs.
7581 * sysdeps/mach/hurd/libhurduser.abilist: New file.
7582 * sysdeps/mach/libmachuser.abilist: New file.
7583 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
7584 (do_test_bz20181): Rename accordingly.
7585 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
7586 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
7588 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
7589 version only if __USE_EXTERN_INLINES is defined.
7590 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
7591 __hurd_sockfail): Likewise.
7592 (_hurd_fd_get): Always declare functions, and provide inline versions
7593 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
7594 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
7595 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
7596 _hurd_port_set): Always declare functions, and provide inline versions
7597 only if __USE_EXTERN_INLINES and _LIBC are defined and
7599 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
7600 _hurd_critical_section_unlock): Likewise.
7601 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
7602 * __hurd_threadvar_location): Likewise.
7603 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
7604 _hurd_userlink_clear): Likewise.
7605 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
7606 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
7607 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
7608 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
7609 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
7610 __spin_lock_locked): Likewise.
7611 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
7612 __spin_lock_locked): Likewise.
7613 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
7614 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
7615 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
7616 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
7617 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
7618 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
7619 _POSIX_NO_TRUNC): Define to 0.
7620 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
7621 check size against PTHREAD_STACK_MIN.
7622 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
7623 IS_IN(libpthread)]: Include <sigsetops.h>.
7624 * mach/Makefile (user-interfaces): Add mach/gnumach.
7625 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
7626 * sysdeps/mach/configure (mach_interface_list): Regenerate.
7627 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
7628 instead of invalid -1.
7629 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
7630 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
7631 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
7634 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
7636 * hurd/fcntl-internal.h: New file.
7638 2018-01-27 James Clarke <jrtc27@jrtc27.com>
7640 * sysdeps/hppa/fpu/libm-test-ulps: Update.
7642 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7644 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
7647 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
7648 Build only shared objects.
7650 2018-01-26 Carlos O'Donell <carlos@redhat.com>
7652 * README: Update for hppa.
7654 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
7656 * sysdeps/sparc/fpu/libm-test-ulps: Update
7657 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
7659 2018-01-26 Carlos O'Donell <carlos@redhat.com>
7663 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
7666 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
7667 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
7668 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
7669 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
7672 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
7675 * bits/types/__cancel_jmp_buf_tag.h: New file.
7676 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
7677 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
7678 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
7679 * nptl/Makefile (headers): Add
7680 bits/types/__cancel_jmp_buf_tag.h.
7681 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
7682 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
7683 * sysdeps/nptl/pthread.h: Include
7684 <bits/types/__cancel_jmp_buf_tag.h>.
7685 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
7687 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
7689 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
7692 * localedata/locales/uk_UA (mon): Renamed to...
7694 (alt_digits): "0" removed and then renamed to...
7696 (date_fmt): Definition changed not to use the alternative
7699 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
7701 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
7702 FLAG_RISCV_FLOAT_ABI_DOUBLE.
7703 * elf/elf.h (EF_RISCV_RVC): New define.
7704 (EF_RISCV_FLOAT_ABI): Likewise.
7705 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
7706 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
7707 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
7708 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
7709 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
7711 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
7713 2018-01-25 Andreas Schwab <schwab@suse.de>
7715 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
7717 * sysdeps/gnu/configure: Regenerate.
7718 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7719 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7721 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7722 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7723 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
7724 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7725 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7727 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7729 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
7730 URL, and run autoconf, make it the default for now.
7732 2018-01-24 Joseph Myers <joseph@codesourcery.com>
7734 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7735 soft-float ColdFire configuration.
7737 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
7738 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
7739 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
7741 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
7744 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
7746 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
7748 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
7751 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
7752 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
7753 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
7756 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
7759 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
7760 Rename to __reserved and add comment.
7761 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
7762 Rename to __reserved.
7764 2018-01-24 Joseph Myers <joseph@codesourcery.com>
7766 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7767 i686-gnu configurations.
7768 (Context.run_builds): Include mig, gnumach and hurd in components
7770 (Context.checkout): Add mig, gnumach and hurd to components.
7771 (Context.checkout_tar): Add URL mappings for mig, gnumach and
7773 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
7774 (Config.build): Install gnumach headers, build mig and install
7775 hurd headers for 'gnu' OS.
7776 (Config.install_gnumach_headers): New function.
7777 (Config.install_hurd_headers): Likewise.
7778 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
7779 when building for 'gnu' OS.
7781 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
7783 * manual/tunables.texi (Hardware Capability Tunables): Fix
7786 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
7788 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
7789 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
7790 (ALTMON_11, ALTMON_12): Improve documentation.
7791 * manual/time.texi (strftime): Likewise.
7793 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
7796 * localedata/locales/pl_PL: Alternative month names added,
7797 primary month names are genitive now.
7798 * time/tst-strptime.c (day_tests): Actually use a genitive case
7799 of a month name in Polish language.
7801 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
7804 * manual/locale.texi: Document ALTMON_1..12 constants for
7805 nl_langinfo. Specify when to use ALTMON instead of MON.
7806 * manual/time.texi (strftime, strptime): Document GNU extension
7807 permitting O modifier with %B and %b. Specify when to use
7810 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
7813 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
7814 names, define them as the same as abbreviated month names explicitly.
7815 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
7816 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
7817 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
7818 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
7819 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
7820 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
7821 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
7822 _NL_WABALTMON_12): New enum constants.
7823 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
7824 wab_alt_mon, and ab_alt_mon_defined members.
7825 (time_output): Output ab_alt_mon and wab_alt_mon members.
7826 (time_read): Read them, initialize them as copies of abmon and wabmon
7827 respectively if they are missing, initialize ab_alt_mon_defined.
7828 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
7829 * locale/programs/locfile-kw.h: Regenerate.
7830 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
7831 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
7833 * time/strftime_l.c (a_altmonth, aam_len): New macros.
7834 [!COMPILE_WIDE] (ABALTMON_1): New macro.
7835 (__strftime_internal): Handle %Ob and %Oh formats.
7836 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
7837 (__strptime_internal): Handle %Ob and %Oh formats.
7838 * time/tst-strptime.c (day_tests): Add more tests to parse different
7839 forms of month names including the new %Ob format specifier.
7841 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
7844 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
7845 define them as the same as primary full month names explicitly.
7846 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
7847 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
7848 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
7849 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
7850 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
7851 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
7852 _NL_WALTMON_12): New enum constants.
7853 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
7854 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
7856 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
7857 walt_mon, and alt_mon_defined members.
7858 (time_output): Output alt_mon and walt_mon members.
7859 (time_read): Read them, initialize them as copies of mon and wmon
7860 respectively if they are missing, initialize alt_mon_defined.
7861 * locale/programs/locfile-kw.gperf (alt_mon): Define.
7862 * locale/programs/locfile-kw.h: Regenerate.
7863 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
7864 * localedata/tst-langinfo.c (map): Add tests for the new constants
7865 ALTMON_1 .. ALTMON_12.
7866 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
7868 * time/strftime_l.c (f_altmonth): New macro.
7869 (__strftime_internal): Handle %OB format.
7870 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
7871 (__strptime_internal): Handle %OB format.
7872 * time/tst-strptime.c (day_tests): Add tests to parse different forms
7873 of month names including the new %OB format specifier.
7875 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7878 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
7879 from ABORT_TRANSACTION.
7880 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
7881 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
7882 ABORT_TRANSACTION_IMPL): Likewise.
7883 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
7884 Linux code, but remove the code that aborts transactions.
7886 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7888 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
7890 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
7892 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
7893 in date: "2004-14-09" should be "2004-09-14".
7894 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
7895 "2003-15-09" should be "2003-09-15".
7897 2018-01-18 Arjun Shankar <arjun@redhat.com>
7903 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
7905 (_int_memalign): check for integer overflow before calling
7907 * malloc/tst-malloc-too-large.c: New test.
7908 * malloc/Makefile: Add tst-malloc-too-large.
7910 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
7912 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
7913 in date: "2017-24-07" should be "2017-07-24".
7914 * localedata/locales/mai_IN: Likewise.
7915 * localedata/locales/mai_NP: Likewise.
7917 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
7919 * po/ru.po: Update translations.
7921 2018-01-17 Joseph Myers <joseph@codesourcery.com>
7924 * sysdeps/hppa/backtrace.c: New file.
7926 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
7929 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
7930 align La_x86_64_retval to VEC_SIZE.
7932 2018-01-16 Joseph Myers <joseph@codesourcery.com>
7934 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
7935 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
7937 2018-01-16 Florian Weimer <fweimer@redhat.com>
7939 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
7940 Move tst-thread-exit-clobber ...
7941 [$(CXX)] (tests-unsupported): ... to here.
7943 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
7945 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
7946 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
7947 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
7948 (_dl_aarch64_cap_flags): Update.
7949 (_DL_HWCAP_COUNT): Update.
7951 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
7953 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
7954 (_DL_HWCAP_LAST): Remove.
7955 (_DL_HWCAP_COUNT): Move to ...
7956 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
7957 (_DL_HWCAP_COUNT): ... here.
7959 2018-01-16 Florian Weimer <fweimer@redhat.com>
7961 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
7962 mode with GNU extensions.
7964 2018-01-15 Alan Hayward <alan.hayward@arm.com>
7966 * elf/elf.h (NT_ARM_SVE): Define.
7968 2018-01-15 Florian Weimer <fweimer@redhat.com>
7971 * nptl/tst-minstack-throw.cc: New file.
7972 * nptl/Makefile (tests): Add tst-minstack-throw.
7973 (LDLIBS-tst-minstack-throw): Link with libstdc++.
7974 [!CXX] (tests-unsupported): Add tst-minstack-throw.
7976 2018-01-15 Joseph Myers <joseph@codesourcery.com>
7978 * scripts/build-many-glibcs.py (Context.checkout): Default
7979 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
7982 2018-01-13 Carlos O'Donell <carlos@redhat.com>
7985 * elf/elf.h (DF_1_STUB): Define.
7988 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7991 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
7992 Do not add 0.5 to integer or out-of-range arguments.
7994 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
7996 * po/bg.po: Update translations.
7997 * po/cs.po: Likewise.
7998 * po/de.po: Likewise.
7999 * po/ko.po: Likewise.
8000 * po/pl.po: Likewise.
8001 * po/sv.po: Likewise.
8002 * po/uk.po: Likewise.
8003 * po/vi.po: Likewise.
8005 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8007 * aarch64/start.S (_start): Use __wrap_main.
8008 (__wrap_main): New local symbol.
8010 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
8014 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
8015 generic_getcwd if the path returned by getcwd syscall is not absolute.
8016 * io/tst-getcwd-abspath.c: New test.
8017 * io/Makefile (tests): Add tst-getcwd-abspath.
8019 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
8021 * malloc/malloc.c (malloc_consolidate): Add size check.
8023 2018-01-12 Florian Weimer <fweimer@redhat.com>
8025 * support/write_message.c (write_message): Preserve errno.
8026 * support/check.c (print_failure): Likewise.
8027 * support/support_test_verify_impl.c (support_test_verify_impl):
8029 * support/support_test_compare_failure.c
8030 (support_test_compare_failure): Likewise.
8032 2018-01-12 Florian Weimer <fweimer@redhat.com>
8035 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
8036 Prevent installation of libnsl.so.
8037 (libnsl-inhibit-o): Do not build (or install) static libraries.
8039 2018-01-12 Egmont Koblinger <egmont@gmail.com>
8042 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
8043 before the day number which may produce a double space.
8044 (date_fmt): Likewise.
8046 2018-01-12 Joseph Myers <joseph@codesourcery.com>
8048 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
8049 instead of fegetenv.
8051 2018-01-11 Joseph Myers <joseph@codesourcery.com>
8054 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
8055 comment to say exceptions are discarded.
8056 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
8058 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
8061 2018-01-11 Florian Weimer <fweimer@redhat.com>
8063 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
8066 2018-01-11 Florian Weimer <fweimer@redhat.com>
8069 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
8070 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
8072 2018-01-10 Joseph Myers <joseph@codesourcery.com>
8075 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
8076 negative arguments in test for NaN or infinity argument.
8078 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
8080 * po/libc.pot: Regenerate.
8082 2018-01-10 Florian Weimer <fweimer@redhat.com>
8085 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
8086 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
8088 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8090 * hurd/hurd/fd.h: Include <fcntl.h>
8091 (__hurd_at_flags): New function.
8092 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
8093 with call to __hurd_at_flags.
8094 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
8095 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
8097 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
8098 (__access_noerrno): Use __faccessat_common instead of access_common.
8099 (__access): Likewise.
8100 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
8101 with a call to __faccessat.
8102 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
8103 (__faccessat_common): ... this. Move implementation of __access into it when
8104 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
8105 reauthenticate_cwdir_at helper to implement AT mechanism.
8106 (__faccessat_noerrno): New function, just calls __faccessat_common.
8107 (__faccessat): New function, just calls __faccessat_common.
8108 (faccessat): Define weak alias.
8110 2018-01-10 Joseph Myers <joseph@codesourcery.com>
8113 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8114 (CFLAGS-s_fmaxmagl.c): New variable.
8115 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
8118 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
8119 long int for arguments of possibly overflowing addition or
8121 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8123 2018-01-09 Joseph Myers <joseph@codesourcery.com>
8126 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8127 (CFLAGS-e_remainderl.c): New variable.
8130 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
8132 (CFLAGS-s_cacoshl.c): Likewise.
8133 (CFLAGS-s_casinhl.c): Likewise.
8134 (CFLAGS-s_catanl.c): Likewise.
8135 (CFLAGS-s_catanhl.c): Likewise.
8136 (CFLAGS-s_cexpl.c): Likewise.
8137 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
8138 (CFLAGS-s_csinhl.c): Likewise.
8139 (CFLAGS-s_clogl.c): Likewise.
8140 (CFLAGS-s_clog10l.c): Likewise.
8141 (CFLAGS-s_csinl.c): Likewise.
8142 (CFLAGS-s_csqrtl.c): Likewise.
8144 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
8145 2017-01-09 Svante Signell <svante.signell@gmail.com>
8147 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
8148 (_hurd_exec_paths): New function.
8149 * hurd/hurd.h (_hurd_exec): Deprecate function.
8150 (_hurd_exec_paths): Declare function.
8151 * hurd/Versions: Export _hurd_exec_paths.
8152 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
8153 (__execve): Use __getcwd to build absolute path, and use
8154 _hurd_exec_paths instead of _hurd_exec.
8155 * sysdeps/mach/hurd/spawni.c: Likewise.
8156 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
8159 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
8161 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
8162 test instead of failing in case of ENOENT returned by posix_openpt.
8164 2018-01-08 Florian Weimer <fweimer@redhat.com>
8166 resolv: Support binary labels in test framework.
8167 * support/resolv_test.c (struct to_be_freed): Remove.
8168 (struct compressed_name): New.
8169 (allocate_compressed_name, ascii_tolower)
8170 (compare_compressed_name): New functions.
8171 (struct resolv_response_builder): Update type of
8172 compression_offsets for use with tsearch. Rempve to_be_freed.
8173 (response_push_pointer_to_free): Remove function.
8174 (resolv_response_add_name): Rewrite using struct compressed_name
8175 and tsearch instead of hsearch_r.
8176 (response_builder_allocate): Remove initialization of
8177 compression_offsets.
8178 (response_builder_free): Update for removal of to_be_freed. Use
8179 tdestroy instead of hdestroy_r.
8180 * resolv/Makefile (tests): Add tst-resolv-binary.
8181 (tst-resolv-binary): Link with -lresolv -lpthread.
8183 2018-01-08 Florian Weimer <fweimer@redhat.com>
8185 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
8186 time. Pass positive flag instead of negative flag to
8187 support_test_compare_failure.
8188 (support_test_compare_failure): Change negative parameter to
8190 * support/support_test_compare_failure.c (report)
8191 (support_test_compare_failure): Likewise.
8192 * support/tst-test_compare.c (return_ssize_t, return_int): New.
8193 (do_test): Check int/size_t, ssize_t/size_t comparisons.
8195 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
8198 * nptl/descr.h (stackblock, stackblock_size): Update comments.
8199 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
8200 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
8202 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8204 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
8206 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8207 Add s_sincosf-sse2 and s_sincosf-fma.
8208 (CFLAGS-s_sincosf-fma.c): New.
8209 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
8210 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
8211 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
8212 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
8213 __sincosf is defined.
8215 2018-01-08 Florian Weimer <fweimer@redhat.com>
8217 * nptl/tst-thread-exit-clobber.cc: New file.
8218 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
8220 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
8221 (tests): Add tst-thread-exit-clobber.
8222 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
8224 2018-01-08 Florian Weimer <fweimer@redhat.com>
8226 * support/check.h (support_static_assert): Define.
8227 (TEST_COMPARE): Use it.
8229 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
8231 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
8232 [!__RLIM_T_MATCHES_RLIM64_T]
8233 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
8234 __getrlimit64. Add libc_hidden_weak.
8236 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
8238 * elf/elf.h (R_RISCV_NONE): New define.
8239 (R_RISCV_32): Likewise.
8240 (R_RISCV_64): Likewise.
8241 (R_RISCV_RELATIVE): Likewise.
8242 (R_RISCV_COPY): Likewise.
8243 (R_RISCV_JUMP_SLOT): Likewise.
8244 (R_RISCV_TLS_DTPMOD32): Likewise.
8245 (R_RISCV_TLS_DTPMOD64): Likewise.
8246 (R_RISCV_TLS_DTPREL32): Likewise.
8247 (R_RISCV_TLS_DTPREL64): Likewise.
8248 (R_RISCV_TLS_TPREL32): Likewise.
8249 (R_RISCV_TLS_TPREL64): Likewise.
8250 * Makerules (make-link-multidir): Make directories before linking into
8252 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
8254 (VDSO_HASH_LINUX_4_15): Likewise.
8255 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
8256 in subdirectories of lib.
8257 * nptl/Makefile (/librt.so): Always depend on
8258 "$(shared-thread-library)".
8260 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8262 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
8263 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
8264 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
8266 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
8267 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
8269 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
8270 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
8271 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
8272 * sysdeps/gnu/glob-lstat-compat.c: New file.
8273 * sysdeps/gnu/glob64-lstat-compat.c: New file.
8274 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
8276 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8278 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
8279 Reserve 16 chars to reloc_addr before calling _itoa_word.
8281 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
8284 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
8285 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
8287 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
8288 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
8290 * resource/tst-getrlimit.c: Add copyright header.
8292 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
8293 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8295 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
8296 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
8297 Define __GI_getrlimit64 as weak alias of __getrlimit64.
8298 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
8300 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
8301 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
8302 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
8303 RLIM64_INFINITY): Fix values to match the kernel ones.
8304 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
8305 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
8306 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
8307 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
8308 getrlimit64@@GLIBC_2_27.
8309 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
8311 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
8312 getrlimit, setrlimit, getrlimit64 and setrlimit64.
8313 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
8314 setrlimit, getrlimit64 and setrlimit64.
8316 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
8319 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
8320 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
8322 2018-01-04 Joseph Myers <joseph@codesourcery.com>
8324 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
8325 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
8326 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
8328 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8332 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
8333 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
8337 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
8338 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
8339 * sysdeps/alpha/fpu/s_floor.c: Likewise.
8340 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
8342 2018-01-04 Florian Weimer <fweimer@redhat.com>
8345 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
8346 Align the stack before calling exit.
8347 * stdlib/tst-makecontext-align.c: New file.
8348 * stdlib/Makefile (tests): Add tst-makecontext-align.
8350 2018-01-04 Florian Weimer <fweimer@redhat.com>
8352 Add support for calling dlvsym from libc.so.
8353 * include/dlfcn.h (__libc_dlvsym): Declare.
8354 * elf/Makefile (tests-static-internal): Add
8355 tst-libc_dlvsym-static.
8356 (tests-internal): Add tst-libc_dlvsym.
8357 (modules-names): Add tst-libc_dlvsym-dso.
8358 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
8359 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
8360 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
8361 object tst-libc_dlvsym-dso.so needs to be built before running
8363 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
8364 * elf/Versions: Export __libc_dlvsym.
8365 * elf/dl-libc.c (struct do_dlvsym_args): New.
8366 (do_dlvsym, __libc_dlvsym): New functions.
8367 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
8368 (_dl_open_hook2): New variable.
8369 (__libc_register_dl_open_hook): Set it.
8370 * elf/tst-libc_dlvsym-dso.c: New file.
8371 * elf/tst-libc_dlvsym-static.c: Likewise.
8372 * elf/tst-libc_dlvsym.c: Likewise.
8373 * elf/tst-libc_dlvsym.h: Likewise.
8375 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8377 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
8378 include <sys/mount.h>.
8380 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
8382 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
8383 Add __NO_MATH_ERRNO__ check.
8385 2018-01-02 Joseph Myers <joseph@codesourcery.com>
8387 * sysdeps/mips/mips32/libm-test-ulps: Update.
8388 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8390 2018-01-02 Florian Weimer <fweimer@redhat.com>
8392 * misc/tst-pselect.c: Add copyright header.
8394 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
8396 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
8398 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
8400 (settrlimit): Rename into setrlimit.
8401 (__sttrlimit): Rename into __setrlimit.
8403 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
8404 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
8405 never defined in that case.
8407 2018-01-02 Joseph Myers <joseph@codesourcery.com>
8409 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
8411 * sysdeps/arm/libm-test-ulps: Update.
8413 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
8414 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
8416 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8418 * NEWS: Add cosf and sincosf to list of optimized functions.
8420 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
8423 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
8424 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
8425 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
8426 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
8428 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
8431 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
8433 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
8434 making a copy of it.
8436 2018-01-01 Joseph Myers <joseph@codesourcery.com>
8438 * manual/texinfo.tex: Update to version 2017-12-26.21 with
8439 trailing whitespace removed.
8440 * scripts/config.guess: Update to version 2018-01-01.
8441 * scripts/config.sub: Update to version 2018-01-01.
8442 * scripts/move-if-change: Update from gnulib.
8444 * NEWS: Update copyright dates.
8445 * catgets/gencat.c (print_version): Likewise.
8446 * csu/version.c (banner): Likewise.
8447 * debug/catchsegv.sh: Likewise.
8448 * debug/pcprofiledump.c (print_version): Likewise.
8449 * debug/xtrace.sh (do_version): Likewise.
8450 * elf/ldconfig.c (print_version): Likewise.
8451 * elf/ldd.bash.in: Likewise.
8452 * elf/pldd.c (print_version): Likewise.
8453 * elf/sotruss.sh: Likewise.
8454 * elf/sprof.c (print_version): Likewise.
8455 * iconv/iconv_prog.c (print_version): Likewise.
8456 * iconv/iconvconfig.c (print_version): Likewise.
8457 * locale/programs/locale.c (print_version): Likewise.
8458 * locale/programs/localedef.c (print_version): Likewise.
8459 * login/programs/pt_chown.c (print_version): Likewise.
8460 * malloc/memusage.sh (do_version): Likewise.
8461 * malloc/memusagestat.c (print_version): Likewise.
8462 * malloc/mtrace.pl: Likewise.
8463 * manual/libc.texinfo: Likewise.
8464 * nptl/version.c (banner): Likewise.
8465 * nscd/nscd.c (print_version): Likewise.
8466 * nss/getent.c (print_version): Likewise.
8467 * nss/makedb.c (print_version): Likewise.
8468 * posix/getconf.c (main): Likewise.
8469 * scripts/test-installation.pl: Likewise.
8470 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8472 * All files with FSF copyright notices: Update copyright dates
8473 using scripts/update-copyrights.
8474 * locale/programs/charmap-kw.h: Regenerated.
8475 * locale/programs/locfile-kw.h: Likewise.
8477 2017-12-31 Zack Weinberg <zackw@panix.com>
8479 * libio/bits/libio-ldbl.h: Correct check for improper
8480 inclusion. Add own multiple include guard.
8482 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
8483 Dmitry V. Levin <ldv@altlinux.org>
8487 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
8488 string token expansion. Check for NULL pointer or empty string possibly
8489 returned by expand_dynamic_string_token.
8490 (decompose_rpath): Check for empty path after dynamic string
8493 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
8496 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
8498 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
8499 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
8500 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
8502 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
8503 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8504 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8505 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8506 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8507 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
8509 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
8510 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
8511 __ptrace_peeksiginfo_flags, ptrace): Move to ...
8512 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
8513 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8514 bits/ptrace-shared.h.
8515 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
8516 <bits/ptrace-shared.h>.
8517 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
8518 __ptrace_peeksiginfo_flags, ptrace): Remove.
8519 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8520 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8521 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8522 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8523 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
8525 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
8528 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
8529 end of the loop. Improve comments.
8531 2017-12-29 Zack Weinberg <zackw@panix.com>
8534 * manual/errno.texi (Checking for Errors): Explicitly say that errno
8535 might be set on success.
8537 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
8540 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
8541 is unchanged on success.
8543 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
8545 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
8547 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
8548 expand_dynamic_string_token): Likewise.
8549 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
8552 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
8555 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
8556 is set and name contains ':', and all code depending on these checks.
8558 2017-12-24 Zack Weinberg <zackw@panix.com>
8560 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
8561 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
8563 * libio/libio.h: Rename the original version of this file to
8564 libio/bits/libio.h. Error out if not included by stdio.h or the
8566 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
8567 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
8568 if not included by bits/libio.h or the stub _G_config.h.
8569 * sysdeps/unix/sysv/linux/_G_config.h: Move to
8570 sysdeps/unix/sysv/linux/bits. Error out if not included by
8571 bits/libio.h or the stub _G_config.h.
8572 * libio/stdio.h: Include bits/libio.h, not libio.h.
8573 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
8574 well as libio.h and _G_config.h.
8576 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
8577 * libio/strfile.h, stdio-common/vfscanf.c
8578 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
8579 Include stdio.h, not _G_config.h nor libio.h.
8580 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
8581 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
8583 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
8585 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
8588 * stdlib/getrandom.c (getrandom): Fix comment.
8589 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
8591 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
8594 * manual/arith.texi (strtoul): Fix a typo.
8597 * manual/arith.texi (finite): Fix the description of the return
8600 2017-12-22 Eric Blake <ebb9@byu.net>
8602 Avoid gcc warnings on cygwin
8603 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
8604 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
8605 Avoid unused variable.
8607 2017-12-22 Florian Weimer <fweimer@redhat.com>
8609 * io/Makefile (routines): Add copy_file_range.
8610 (tests): Add tst-copy_file_range.
8611 (tests-static, tests-internal): Add tst-copy_file_range-compat.
8612 * io/Versions (GLIBC_2.27): Export copy_file_range.
8613 * io/copy_file_range-compat.c: New file.
8614 * io/copy_file_range.c: Likewise.
8615 * io/tst-copy_file_range-compat.c: Likewise.
8616 * io/tst-copy_file_range.c: Likewise.
8617 * manual/llio.texi (Copying File Data): New section.
8618 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
8619 * support/Makefile (libsupport-routines): Add support-xfstat,
8621 * support/support-xfstat.c: New file.
8622 * support/xftruncate.c: Likewise.
8623 * support/xlseek.c: Likewise.
8624 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
8625 * sysdeps/unix/sysv/linux/**.abilist: Update.
8626 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
8628 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8630 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8631 disable-multi-arch variant to aarch64-linux-gnu.
8633 2017-12-20 Joseph Myers <joseph@codesourcery.com>
8635 * manual/texinfo.tex: Update to version 2017-12-18.20 with
8636 trailing whitespace removed.
8637 * scripts/config.guess: Update to version 2017-12-17.
8638 * scripts/config.sub: Update to version 2017-11-23.
8639 * scripts/install-sh: Update to version 2017-09-23.17.
8640 * scripts/move-if-change: Update to version 2017-09-13 06:45.
8642 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8644 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
8645 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
8646 * sysdeps/tile/_mcount.S (__mcount): Likewise.
8647 * sysdeps/tile/crti.S (_init, _fini): Likewise.
8648 * sysdeps/tile/crtn.S: Likewise.
8649 * sysdeps/tile/dl-start.S (_start): Likewise.
8650 * sysdeps/tile/dl-trampoline.S: Likewise.
8651 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
8652 * sysdeps/tile/start.S (_start): Likewise.
8653 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
8654 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
8655 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
8656 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
8657 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
8658 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
8659 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
8661 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
8663 * sysdeps/tile/preconfigure: Remove tilegx folder.
8664 * sysdeps/tile/tilegx/Implies: Move definitions to ...
8665 * sysdeps/tile/Implies: ... here.
8666 * sysdeps/tile/tilegx/Makefile: Move rules to ...
8667 * sysdeps/tile/Makefile: ... here.
8668 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
8669 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
8670 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
8671 * sysdeps/tile/bits/wordsize.h: ... here.
8672 * sysdeps/tile/tilegx/*: Move to ...
8673 * sysdeps/tile/*: ... here.
8674 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
8675 * sysdeps/tile/tilegx32/Implies: ... here.
8676 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
8677 * sysdeps/tile/tilegx64/Implies: ... here.
8678 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
8680 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8681 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
8682 * sysdeps/unix/sysv/linux/tile/*: ... here.
8683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
8684 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
8685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
8686 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
8688 * README: Remove tilepro-*-linux-gnu from supported architecture.
8689 * scripts/build-many-glibcs.py: Likewise.
8690 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
8691 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
8692 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
8693 elf_machine_matches_host, elf_machine_dynamic,
8694 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
8695 howto, elf_machine_rela): Likewise.
8696 * sysdeps/tile/dl-start.S (_start): Likewise.
8697 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
8698 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
8699 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
8700 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
8701 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
8702 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8704 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
8705 * sysdeps/tile/preconfigure: Likewise.
8706 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
8707 POINTER_CHK_GUARD): Likewise.
8708 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
8709 * sysdeps/tile/start.S (_start): Likewise.
8710 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
8712 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
8713 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
8715 * sysdeps/unix/sysv/linux/tile/bits/environments.h
8716 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
8717 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
8719 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
8720 * sysdeps/tile/tilepro/Implies: Remove file.
8721 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
8722 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
8723 * sysdeps/tile/tilepro/memchr.c: Likewise.
8724 * sysdeps/tile/tilepro/memcpy.S: Likewise.
8725 * sysdeps/tile/tilepro/memset.c: Likewise.
8726 * sysdeps/tile/tilepro/memusage.h: Likewise.
8727 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
8728 * sysdeps/tile/tilepro/strchr.c: Likewise.
8729 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
8730 * sysdeps/tile/tilepro/strlen.c: Likewise.
8731 * sysdeps/tile/tilepro/strrchr.c: Likewise.
8732 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
8733 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
8734 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
8735 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
8736 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
8737 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8739 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
8740 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8741 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
8742 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
8743 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8744 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
8745 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
8746 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
8747 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
8748 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
8749 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
8750 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
8751 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
8752 tilepro mention in comment.
8754 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
8755 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
8756 * nptl/pthread_join_common.c: New file: common function used on
8757 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
8758 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
8759 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
8760 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8761 (cleanup): Move definition to pthread_join_common.c.
8762 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
8763 Remove superflous checks.
8764 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
8767 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
8769 * sysdeps/aarch64/libm-test-ulps: Update.
8771 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8773 * sysdeps/aarch64/memset.S (MEMSET): Define.
8775 2017-12-20 Florian Weimer <fweimer@redhat.com>
8778 nptl: Provide full implementation of pthread_self in libc.so.
8779 * nptl/Makefile (routines): Add pthread_self.
8780 (libpthread-routines): Replace pthread_self with
8781 compat-pthread_self.
8782 * nptl/forward.c (pthread_self): Remove.
8783 * nptl/nptl-init.c (pthread_functions): Do not initialize
8785 * nptl/pthread_self.c (pthread_self): Remove weak alias.
8786 * nptl/compat-pthread_self.c: New file.
8787 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
8788 Remove ptr_pthread_self.
8790 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
8792 * posix/regcomp.c: Fix spelling in comments.
8793 * posix/regex.h: Likewise.
8794 * posix/regex_internal.c: Likewise.
8795 * posix/regexec.c: Likewise.
8797 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8800 * math/Makefile [C++] (tests): Add test for iseqsig.
8801 * math/math.h [C++] (iseqsig): New implementation, which does
8802 not rely on __MATH_TG/__builtin_types_compatible_p.
8803 * math/test-math-iseqsig.cc: New file.
8804 * sysdeps/powerpc/powerpc64le/Makefile
8805 (CFLAGS-test-math-iseqsig.cc): New variable.
8807 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
8809 * elf/dl-load.c (is_trusted_path): Remove.
8810 (fillin_rpath): Remove check_trusted argument and its use,
8811 all callers changed.
8813 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
8816 * Makeconfig (link-pie-before-libc): Replace -pie with
8817 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
8818 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
8819 (tst-dlopen-aout-no-pie): New.
8820 (LDFLAGS-tst-prelink): Removed.
8821 (tst-prelink-no-pie): New.
8822 (LDFLAGS-tst-main1): Removed.
8823 (tst-main1-no-pie): New.
8824 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
8825 (tst-gmon-no-pie): New.
8827 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
8829 * manual/install.texi: Document that --enable-static-pie
8831 * INSTALL: Regenerated.
8833 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
8836 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
8839 2017-12-19 Joseph Myers <joseph@codesourcery.com>
8843 2017-12-19 Joseph Myers <joseph@codesourcery.com>
8845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8847 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
8849 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
8850 <errno.h>. Include "eexp.tbl".
8851 (half): New constant.
8853 (__ieee754_exp): Rewrite.
8854 (__slowexp): Remove prototype.
8855 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
8856 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
8857 * sysdeps/i386/fpu/slowexp.c: Likewise.
8858 * sysdeps/ia64/fpu/slowexp.c: Likewise.
8859 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
8860 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
8861 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
8862 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8863 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
8864 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
8866 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
8867 (CPPFLAGS-slowexp.c): Remove variable.
8868 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8869 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
8870 (CFLAGS-slowexp-fma.c): Remove variable.
8871 (CFLAGS-slowexp-fma4.c): Likewise.
8872 (CFLAGS-slowexp-avx.c): Likewise.
8873 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
8875 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
8876 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
8877 * math/Makefile (type-double-routines): Remove slowexp.
8878 * manual/probes.texi (slowexp_p6): Remove.
8879 (slowexp_p32): Likewise.
8881 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8883 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
8886 * lib/glob.c (glob): Do not pass NULL to mempcpy.
8888 2017-12-19 Joseph Myers <joseph@codesourcery.com>
8890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8892 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
8894 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
8895 <errno.h>. Include "eexp.tbl".
8896 (half): New constant.
8898 (__ieee754_exp): Rewrite.
8899 (__slowexp): Remove prototype.
8900 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
8901 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
8902 * sysdeps/i386/fpu/slowexp.c: Likewise.
8903 * sysdeps/ia64/fpu/slowexp.c: Likewise.
8904 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
8905 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
8906 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
8907 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8908 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
8909 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
8911 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
8912 (CPPFLAGS-slowexp.c): Remove variable.
8913 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8914 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
8915 (CFLAGS-slowexp-fma.c): Remove variable.
8916 (CFLAGS-slowexp-fma4.c): Likewise.
8917 (CFLAGS-slowexp-avx.c): Likewise.
8918 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
8920 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
8921 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
8922 * math/Makefile (type-double-routines): Remove slowexp.
8923 * manual/probes.texi (slowexp_p6): Remove.
8924 (slowexp_p32): Likewise.
8926 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8927 James Clarke <jrtc27@jrtc27.com>
8930 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
8933 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8936 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
8939 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
8942 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8943 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
8944 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8945 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
8948 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
8951 * bits/types/__cancel_jmp_buf_tag.h: New file.
8952 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
8953 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
8954 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
8955 * nptl/Makefile (headers): Add
8956 bits/types/__cancel_jmp_buf_tag.h.
8957 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
8958 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
8959 * sysdeps/nptl/pthread.h: Include
8960 <bits/types/__cancel_jmp_buf_tag.h>.
8961 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
8963 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
8965 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
8967 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8968 --enable-static-pie variants to x86_64, x32 and i686.
8970 2017-12-19 Joseph Myers <joseph@codesourcery.com>
8973 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
8974 argument for attrubutes. All callers changed.
8975 (__inline_mathop1): Likewise. All callers changed.
8976 (__inline_mathop): Likewise. All callers changed.
8977 [__USE_MISC] (scalbn): Use __inline_forward instead of
8979 [__USE_ISOC99] (scalbln): Likewise.
8980 [__USE_ISOC99] (nearbyint): Likewise.
8981 [__USE_ISOC99] (lrint): Likewise.
8982 [__USE_MISC] (scalbnf): Likewise.
8983 [__USE_ISOC99] (scalblnf): Likewise.
8984 [__USE_ISOC99] (nearbyintf): Likewise.
8985 [__USE_ISOC99] (lrintf): Likewise.
8986 [__USE_MISC] (scalbnl): Likewise.
8987 [__USE_ISOC99] (scalblnl): Likewise.
8988 [__USE_ISOC99] (nearbyintl): Likewise.
8989 [__USE_ISOC99] (lrintl): Likewise.
8990 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
8991 __inline_mathop and __m81_defun changed.
8993 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
8994 CPU or FPU for ARM hard-float configurations.
8996 2017-12-18 Joseph Myers <joseph@codesourcery.com>
8998 * nptl/tst-attr3.c: Include <libc-diag.h>.
8999 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
9001 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
9003 * string/tester.c (test_strncat): Also disable -Warray-bounds
9004 warnings for two tests.
9006 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
9009 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
9010 $(cc-pie-default) == yes.
9011 * config.make.in (cc-pie-default): New.
9012 * configure.ac (libc_cv_pie_default): Renamed to ...
9013 (libc_cv_cc_pie_default): This.
9014 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
9015 * configure: Regenerated.
9017 2017-12-18 Florian Weimer <fweimer@redhat.com>
9020 ld.so: Harden dl-libc/libdl hooks.
9021 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
9022 (rtld_active): New function.
9023 * dlfcn/dladdr.c (__dladdr): Call it.
9024 * dlfcn/dladdr1.c (__dladdr1): Likewise.
9025 * dlfcn/dlclose.c (__dlcose): Likewise.
9026 * dlfcn/dlerror.c (__dlerror): Likewise.
9027 * dlfcn/dlinfo.c (__dlinfo): Likewise.
9028 * dlfcn/dlmopen.c (__dlmopen): Likewise.
9029 * dlfcn/dlopen.c (__dlopen): Likewise.
9030 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9031 * dlfcn/dlsym.c (__dlsym): Likewise.
9032 * dlfcn/dlvsym.c (__dlvsym): Likewise.
9033 * libio/vtables.c (_IO_vtable_check): Likewise.
9034 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
9035 (__libc_dlclose): Likewise.
9036 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
9039 2017-12-18 Joseph Myers <joseph@codesourcery.com>
9042 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
9043 buffers for readlink input and output.
9045 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
9048 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
9049 inhibit_stack_protector.
9052 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
9053 inhibit_stack_protector.
9055 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
9058 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
9059 code and invocation.
9061 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
9063 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
9065 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
9068 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
9070 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9072 * sysdeps/s390/fpu/libm-test-ulps: Update.
9074 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9078 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9080 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
9081 constants to s_sincosf.h file.
9082 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9083 * sysdeps/ieee754/flt-32/s_sincosf.c: New
9085 * sysdeps/ieee754/flt-32/s_sincosf.h:
9088 2017-12-12 Carlos O'Donell <carlos@redhat.com>
9091 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
9094 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
9097 * INSTALL: Regenerated.
9098 * Makeconfig (real-static-start-installed-name): New.
9099 (pic-default): Updated for --enable-static-pie.
9100 (pie-default): New for --enable-static-pie.
9101 (default-pie-ldflag): Likewise.
9102 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
9103 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
9104 Replace $(static-start-installed-name) with
9105 $(real-static-start-installed-name).
9106 (+prectorT): Updated for --enable-static-pie.
9107 (+postctorT): Likewise.
9108 (CFLAGS-.o): Add $(pie-default).
9109 (CFLAGS-.op): Likewise.
9110 * NEWS: Mention --enable-static-pie.
9111 * config.h.in (ENABLE_STATIC_PIE): New.
9112 * configure.ac (--enable-static-pie): New configure option.
9113 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
9114 (have-static-pie): Likewise.
9115 Enable static PIE if linker supports --no-dynamic-linker.
9116 (ENABLE_STATIC_PIE): New AC_DEFINE.
9117 (enable-static-pie): New LIBC_CONFIG_VAR.
9118 * configure: Regenerated.
9119 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
9120 gr$(start-installed-name) for --enable-static-pie.
9121 (extra-objs): Likewise.
9122 (install-lib): Likewise.
9123 (extra-objs): Add static-reloc.o and static-reloc.os
9124 ($(objpfx)$(start-installed-name)): Also depend on
9125 $(objpfx)static-reloc.o.
9126 ($(objpfx)r$(start-installed-name)): New.
9127 ($(objpfx)g$(start-installed-name)): Also depend on
9128 $(objpfx)static-reloc.os.
9129 ($(objpfx)gr$(start-installed-name)): New.
9130 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
9132 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
9134 * csu/static-reloc.c: New file.
9135 * elf/Makefile (routines): Add dl-reloc-static-pie.
9136 (elide-routines.os): Likewise.
9137 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
9138 (tst-tls1-static-non-pie-no-pie): New.
9139 * elf/dl-reloc-static-pie.c: New file.
9140 * elf/dl-support.c (_dl_get_dl_main_map): New function.
9141 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
9142 STATIC_PIE_BOOTSTRAP.
9143 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
9144 * gmon/Makefile (tests): Add tst-gmon-static-pie.
9145 (tests-static): Likewise.
9146 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
9147 (tst-gmon-static-no-pie): New.
9148 (CFLAGS-tst-gmon-static-pie.c): Likewise.
9149 (CRT-tst-gmon-static-pie): Likewise.
9150 (tst-gmon-static-pie-ENV): Likewise.
9151 (tests-special): Likewise.
9152 ($(objpfx)tst-gmon-static-pie.out): Likewise.
9153 (clean-tst-gmon-static-pie-data): Likewise.
9154 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
9155 * gmon/tst-gmon-static-pie.c: New file.
9156 * manual/install.texi: Document --enable-static-pie.
9157 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
9158 (_dl_get_dl_main_map): Likewise.
9159 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
9160 * sysdeps/x86_64/configure.ac: Likewise.
9161 * sysdeps/i386/configure: Regenerated.
9162 * sysdeps/x86_64/configure: Likewise.
9163 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
9164 (ASFLAGS-.op): Likewise.
9166 2017-12-15 Joseph Myers <joseph@codesourcery.com>
9168 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
9169 * posix/tst-mmap-offset.c (fname): Use /tmp.
9170 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
9172 2017-12-15 Steve Ellcey <sellcey@cavium.com>
9174 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
9176 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
9178 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
9181 2017-12-15 Joseph Myers <joseph@codesourcery.com>
9183 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
9184 --with-float=hard for arm-linux-gnueabihf configurations.
9187 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
9188 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
9189 ($(mo-installed)): Use $(objpfx)%.mo.
9190 (realclean): Remove rule.
9192 * po/Makefile (linguas): Remove rule and dependencies.
9193 (linguas.mo): Likewise.
9194 (.PHONY): Do not depend on linguas and linguas.mo.
9195 (podir): Remove variable.
9196 (pofiles): Likewise.
9197 [$(pofiles)] (%.po): Remove rule.
9199 * sysdeps/sparc/sparc32/Makefile
9200 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
9201 start-of-line whitespace in argument of echo.
9202 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
9203 with whitespace. Generate __wrap_.udiv alias.
9204 * sysdeps/sparc/sparc32/rem.S: Regenerated.
9205 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9206 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9207 * sysdeps/sparc/sparc32/urem.S: Likewise.
9209 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9211 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
9214 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
9216 * benchtests/bench-strcmp.c: Print output in JSON format.
9218 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
9220 2017-12-14 Florian Weimer <fweimer@redhat.com>
9224 * elf/dl-load.c (_dl_init_paths): Compute number of components in
9225 the expanded path string.
9227 2017-12-14 Florian Weimer <fweimer@redhat.com>
9231 * elf/dl-load.c (system_dirs): Update comment.
9232 (nsystem_dirs_len): Use array_length.
9233 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
9235 2017-12-14 Florian Weimer <fweimer@redhat.com>
9237 Simplify compiling most of support/ outside of glibc.
9238 * support/check_addrinfo.c: Include <string.h>.
9239 * support/check_dns_packet.c: Likewise.
9240 * support/check_hostent.c: Likewise.
9241 * support/support_can_chroot.c: Include <support/xunistd.h>.
9242 * support/support_format_addrinfo.c: Include <stdlib.h>
9243 * support/support_format_dns_packet.c: Include <stdbool.h>.
9244 * support/support_format_hostent.c: Include <stdlib.h>.
9245 * support/support_format_netent.c: Likewise.
9246 * support/support_write_string.c: Include <support/xunistd.h>.
9247 * support/xdlfcn.c: Include <stddef.h>.
9249 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
9251 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
9253 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
9254 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9256 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
9257 (sysdeps_routines): Add memset-niagara7.
9258 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
9260 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
9262 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
9263 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
9264 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
9265 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
9266 Add niagara7 option.
9267 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
9270 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
9271 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
9272 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
9274 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
9276 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
9277 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
9278 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
9279 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
9280 and __memmove_niagara7.
9281 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
9282 Add niagara7 option.
9283 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
9284 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
9285 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
9286 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
9287 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
9289 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
9291 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
9292 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
9293 * sysdeps/sparc/sparc64/memmove.S: Likewise.
9294 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
9296 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
9297 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
9298 _dl_sparc_cap_flags array.
9299 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
9301 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
9303 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
9304 time whenever possible.
9306 2017-12-12 Carlos O'Donell <carlos@redhat.com>
9308 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
9309 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
9311 2017-12-12 Joseph Myers <joseph@codesourcery.com>
9313 * soft-fp/fmadf4.c: Move to ....
9314 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
9315 * soft-fp/fmasf4.c: Move to ....
9316 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
9317 * soft-fp/fmatf4.c: Move to ....
9318 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
9319 * sysdeps/ieee754/soft-fp/Makefile: New file.
9320 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
9321 * sysdeps/arm/preconfigure: Regenerated.
9322 * sysdeps/arm/nofpu/Implies: New file.
9323 * sysdeps/arm/s_fma.c: Remove file.
9324 * sysdeps/arm/s_fmaf.c: Likewise.
9325 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
9326 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
9327 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
9328 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
9329 * sysdeps/microblaze/s_fma.c: Remove file.
9330 * sysdeps/microblaze/s_fmaf.c: Likewise.
9331 * sysdeps/mips/mips32/nofpu/Implies: New file.
9332 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
9333 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
9334 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
9335 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
9336 * sysdeps/mips/ieee754/s_fma.c: Remove file.
9337 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
9338 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
9340 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
9341 * sysdeps/nios2/s_fma.c: Remove file.
9342 * sysdeps/nios2/s_fmaf.c: Likewise.
9343 * sysdeps/sh/nofpu/Implies: New file.
9344 * sysdeps/sh/s_fma.c: Remove file.
9345 * sysdeps/sh/s_fmaf.c: Likewise.
9346 * sysdeps/tile/Implies: Add ieee754/soft-fp.
9347 * sysdeps/tile/s_fma.c: Remove file.
9348 * sysdeps/tile/s_fmaf.c: Likewise.
9350 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
9352 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9353 Add s_cosf-sse2 and s_cosf-fma.
9354 (CFLAGS-s_cosf-fma.c): New.
9355 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
9356 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
9357 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
9359 2017-12-12 Steve Ellcey <sellcey@cavium.com>
9361 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
9363 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9365 * libio/Makefile (tests): Add tst-bz22415.
9366 (tst-bz22415-ENV): New rule.
9367 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
9368 (tests-special): Add tst-bz22415-mem.out.
9369 ($(objpfx)tst-bz22415-mem.out): New rule.
9370 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
9371 in case of a successful seek operation.
9372 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9373 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
9375 * libio/tst-bz22415.c: New test.
9377 * sysdeps/ia64/fpu/libm-test-ulps: Update.
9379 2017-12-12 James Clarke <jrtc27@jrtc27.com>
9381 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
9382 __IPC_64 to 0 to avoid IPC_64 being set.
9384 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9387 * math/bits/mathcalls.h (nextafter): Remove const.
9388 (nexttoward): Likewise.
9390 2017-12-12 Joseph Myers <joseph@codesourcery.com>
9392 * configure.ac (--with-fp): Remove configure option.
9393 (with_fp_cond): New variable.
9394 (libc_cv_with_fp): New configure test. Use this variable instead
9396 * configure: Regenerated.
9397 * config.make.in (with-fp): Use @libc_cv_with_fp@.
9398 * manual/install.texi (Configuring and compiling): Remove
9400 * INSTALL: Regenerated.
9401 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
9402 * sysdeps/mips/preconfigure (with_fp_cond): Define.
9403 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
9404 * sysdeps/sh/preconfigure (with_fp_cond): Define.
9405 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
9406 use --without-fp to configure glibc.
9408 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
9410 * manual/locale.texi (nl_langinfo): Fix a typo.
9412 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
9415 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
9417 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
9419 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
9420 (CFLAGS-argp-parse.c): Likewise.
9421 (CFLAGS-argp-fmtstream.c): Likewise.
9422 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
9423 (CPPFLAGS-sha512-crypt.c): Likewise.
9424 (CPPFLAGS-md5-crypt.c): Likewise.
9425 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
9426 (CFLAGS-stack_chk_fail_local.c): Likewise.
9427 (CFLAGS-backtrace.c): Likewise.
9428 (CFLAGS-sprintf_chk.c): Likewise.
9429 (CFLAGS-snprintf_chk.c): Likewise.
9430 (CFLAGS-vsprintf_chk.c): Likewise.
9431 (CFLAGS-vsnprintf_chk.c): Likewise.
9432 (CFLAGS-asprintf_chk.c): Likewise.
9433 (CFLAGS-vasprintf_chk.c): Likewise.
9434 (CFLAGS-obprintf_chk.c): Likewise.
9435 (CFLAGS-dprintf_chk.c): Likewise.
9436 (CFLAGS-vdprintf_chk.c): Likewise.
9437 (CFLAGS-printf_chk.c): Likewise.
9438 (CFLAGS-fprintf_chk.c): Likewise.
9439 (CFLAGS-vprintf_chk.c): Likewise.
9440 (CFLAGS-vfprintf_chk.c): Likewise.
9441 (CFLAGS-gets_chk.c): Likewise.
9442 (CFLAGS-fgets_chk.c): Likewise.
9443 (CFLAGS-fgets_u_chk.c): Likewise.
9444 (CFLAGS-fread_chk.c): Likewise.
9445 (CFLAGS-fread_u_chk.c): Likewise.
9446 (CFLAGS-swprintf_chk.c): Likewise.
9447 (CFLAGS-vswprintf_chk.c): Likewise.
9448 (CFLAGS-wprintf_chk.c): Likewise.
9449 (CFLAGS-fwprintf_chk.c): Likewise.
9450 (CFLAGS-vwprintf_chk.c): Likewise.
9451 (CFLAGS-vfwprintf_chk.c): Likewise.
9452 (CFLAGS-fgetws_chk.c): Likewise.
9453 (CFLAGS-fgetws_u_chk.c): Likewise.
9454 (CFLAGS-read_chk.c): Likewise.
9455 (CFLAGS-pread_chk.c): Likewise.
9456 (CFLAGS-pread64_chk.c): Likewise.
9457 (CFLAGS-recv_chk.c): Likewise.
9458 (CFLAGS-recvfrom_chk.c): Likewise.
9459 (CFLAGS-tst-longjmp_chk.c): Likewise.
9460 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
9461 (CFLAGS-tst-longjmp_chk2.c): Likewise.
9462 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
9463 (CFLAGS-tst-longjmp_chk3.c): Likewise.
9464 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9465 (CFLAGS-tst-chk1.c): Likewise.
9466 (CFLAGS-tst-chk2.c): Likewise.
9467 (CFLAGS-tst-chk3.c): Likewise.
9468 (CFLAGS-tst-chk4.cc): Likewise.
9469 (CFLAGS-tst-chk5.cc): Likewise.
9470 (CFLAGS-tst-chk6.cc): Likewise.
9471 (CFLAGS-tst-lfschk1.c): Likewise.
9472 (CFLAGS-tst-lfschk2.c): Likewise.
9473 (CFLAGS-tst-lfschk3.c): Likewise.
9474 (CFLAGS-tst-lfschk4.cc): Likewise.
9475 (CFLAGS-tst-lfschk5.cc): Likewise.
9476 (CFLAGS-tst-lfschk6.cc): Likewise.
9477 (CFLAGS-tst-ssp-1.c): Likewise.
9478 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
9479 (CFLAGS-scandir64.c): Likewise.
9480 (CFLAGS-scandir-tail.c): Likewise.
9481 (CFLAGS-scandir64-tail.c): Likewise.
9482 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
9483 (CFLAGS-dl-tunables.c): Likewise.
9484 (CFLAGS-dl-runtime.c): Likewise.
9485 (CFLAGS-dl-lookup.c): Likewise.
9486 (CFLAGS-dl-iterate-phdr.c): Likewise.
9487 (CFLAGS-vismain.c): Likewise.
9488 (CFLAGS-tst-linkall-static.c): Likewise.
9489 (CFLAGS-tst-linkall-static.c): Likewise.
9490 (CPPFLAGS-dl-load.c): Likewise.
9491 (CFLAGS-ldconfig.c): Likewise.
9492 (CFLAGS-dl-cache.c): Likewise.
9493 (CFLAGS-cache.c): Likewise.
9494 (CFLAGS-rtld.c): Likewise.
9495 (CFLAGS-multiload.c): Likewise.
9496 (CFLAGS-filtmod1.c): Likewise.
9497 (CFLAGS-tst-align.c): Likewise.
9498 (CFLAGS-tst-align2.c): Likewise.
9499 (CFLAGS-tst-alignmod.c): Likewise.
9500 (CFLAGS-tst-alignmod2.c): Likewise.
9501 (CPPFLAGS-tst-execstack.c): Likewise.
9502 (CFLAGS-tst-ptrguard1-static.c): Likewise.
9503 (CFLAGS-tst-latepthreadmod.c): Likewise.
9504 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
9505 (CFLAGS-getgrnam_r.c): Likewise.
9506 (CFLAGS-getgrent_r.c): Likewise.
9507 (CFLAGS-getgrent.c): Likewise.
9508 (CFLAGS-fgetgrent.c): Likewise.
9509 (CFLAGS-fgetgrent_r.c): Likewise.
9510 (CFLAGS-putgrent.c): Likewise.
9511 (CFLAGS-initgroups.c): Likewise.
9512 (CFLAGS-getgrgid.c): Likewise.
9513 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
9514 (CFLAGS-getsgent.c): Likewise.
9515 (CFLAGS-fgetsgent.c): Likewise.
9516 (CFLAGS-fgetsgent_r.c): Likewise.
9517 (CFLAGS-putsgent.c): Likewise.
9518 (CFLAGS-getsgnam.c): Likewise.
9519 (CFLAGS-getsgnam_r.c): Likewise.
9520 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
9521 (CFLAGS-iconv_charmap.c): Likewise.
9522 (CFLAGS-dummy-repertoire.c): Likewise.
9523 (CFLAGS-charmap.c): Likewise.
9524 (CFLAGS-linereader.c): Likewise.
9525 (CFLAGS-simple-hash.c): Likewise.
9526 (CFLAGS-gconv_conf.c): Likewise.
9527 (CFLAGS-iconvconfig.c): Likewise.
9528 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9529 (CFLAGS-gethstbyad.c): Likewise.
9530 (CFLAGS-gethstbynm_r.c): Likewise.
9531 (CFLAGS-gethstbynm.c): Likewise.
9532 (CFLAGS-gethstbynm2_r.c): Likewise.
9533 (CFLAGS-gethstbynm2.c): Likewise.
9534 (CFLAGS-gethstent_r.c): Likewise.
9535 (CFLAGS-gethstent.c): Likewise.
9536 (CFLAGS-rcmd.c): Likewise.
9537 (CFLAGS-getnetbynm_r.c): Likewise.
9538 (CFLAGS-getnetbynm.c): Likewise.
9539 (CFLAGS-getnetbyad_r.c): Likewise.
9540 (CFLAGS-getnetbyad.c): Likewise.
9541 (CFLAGS-getnetent_r.c): Likewise.
9542 (CFLAGS-getnetent.c): Likewise.
9543 (CFLAGS-getaliasent_r.c): Likewise.
9544 (CFLAGS-getaliasent.c): Likewise.
9545 (CFLAGS-getrpcent_r.c): Likewise.
9546 (CFLAGS-getrpcent.c): Likewise.
9547 (CFLAGS-getservent_r.c): Likewise.
9548 (CFLAGS-getservent.c): Likewise.
9549 (CFLAGS-getprtent_r.c): Likewise.
9550 (CFLAGS-getprtent.c): Likewise.
9551 (CFLAGS-either_ntoh.c): Likewise.
9552 (CFLAGS-either_hton.c): Likewise.
9553 (CFLAGS-getnetgrent.c): Likewise.
9554 (CFLAGS-getnetgrent_r.c): Likewise.
9555 (CFLAGS-tst-checks-posix.c): Likewise.
9556 (CFLAGS-tst-sockaddr.c): Likewise.
9557 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
9558 (CFLAGS-tst-translit.c): Likewise.
9559 (CFLAGS-tst-gettext2.c): Likewise.
9560 (CFLAGS-tst-codeset.c): Likewise.
9561 (CFLAGS-tst-gettext3.c): Likewise.
9562 (CFLAGS-tst-gettext4.c): Likewise.
9563 (CFLAGS-tst-gettext5.c): Likewise.
9564 (CFLAGS-tst-gettext6.c): Likewise.
9565 * io/Makefile (CFLAGS-open.c): Likewise.
9566 (CFLAGS-open64.c): Likewise.
9567 (CFLAGS-creat.c): Likewise.
9568 (CFLAGS-creat64.c): Likewise.
9569 (CFLAGS-fcntl.c): Likewise.
9570 (CFLAGS-poll.c): Likewise.
9571 (CFLAGS-ppoll.c): Likewise.
9572 (CFLAGS-lockf.c): Likewise.
9573 (CFLAGS-statfs.c): Likewise.
9574 (CFLAGS-fstatfs.c): Likewise.
9575 (CFLAGS-statvfs.c): Likewise.
9576 (CFLAGS-fstatvfs.c): Likewise.
9577 (CFLAGS-fts.c): Likewise.
9578 (CFLAGS-fts64.c): Likewise.
9579 (CFLAGS-ftw.c): Likewise.
9580 (CFLAGS-ftw64.c): Likewise.
9581 (CFLAGS-lockf.c): Likewise.
9582 (CFLAGS-posix_fallocate.c): Likewise.
9583 (CFLAGS-posix_fallocate64.c): Likewise.
9584 (CFLAGS-fallocate.c): Likewise.
9585 (CFLAGS-fallocate64.c): Likewise.
9586 (CFLAGS-read.c): Likewise.
9587 (CFLAGS-write.c): Likewise.
9588 (CFLAGS-test-stat.c): Likewise.
9589 (CFLAGS-test-lfs.c): Likewise.
9590 * libio/Makefile (CFLAGS-fileops.c): Likewise.
9591 (CFLAGS-fputc.c): Likewise.
9592 (CFLAGS-fputwc.c): Likewise.
9593 (CFLAGS-freopen64.c): Likewise.
9594 (CFLAGS-freopen.c): Likewise.
9595 (CFLAGS-fseek.c): Likewise.
9596 (CFLAGS-fseeko64.c): Likewise.
9597 (CFLAGS-fseeko.c): Likewise.
9598 (CFLAGS-ftello64.c): Likewise.
9599 (CFLAGS-ftello.c): Likewise.
9600 (CFLAGS-fwide.c): Likewise.
9601 (CFLAGS-genops.c): Likewise.
9602 (CFLAGS-getc.c): Likewise.
9603 (CFLAGS-getchar.c): Likewise.
9604 (CFLAGS-getwc.c): Likewise.
9605 (CFLAGS-getwchar.c): Likewise.
9606 (CFLAGS-iofclose.c): Likewise.
9607 (CFLAGS-iofflush.c): Likewise.
9608 (CFLAGS-iofgetpos64.c): Likewise.
9609 (CFLAGS-iofgetpos.c): Likewise.
9610 (CFLAGS-iofgets.c): Likewise.
9611 (CFLAGS-iofgetws.c): Likewise.
9612 (CFLAGS-iofputs.c): Likewise.
9613 (CFLAGS-iofputws.c): Likewise.
9614 (CFLAGS-iofread.c): Likewise.
9615 (CFLAGS-iofsetpos64.c): Likewise.
9616 (CFLAGS-iofsetpos.c): Likewise.
9617 (CFLAGS-ioftell.c): Likewise.
9618 (CFLAGS-iofwrite.c): Likewise.
9619 (CFLAGS-iogetdelim.c): Likewise.
9620 (CFLAGS-iogetline.c): Likewise.
9621 (CFLAGS-iogets.c): Likewise.
9622 (CFLAGS-iogetwline.c): Likewise.
9623 (CFLAGS-ioputs.c): Likewise.
9624 (CFLAGS-ioseekoff.c): Likewise.
9625 (CFLAGS-ioseekpos.c): Likewise.
9626 (CFLAGS-iosetbuffer.c): Likewise.
9627 (CFLAGS-iosetvbuf.c): Likewise.
9628 (CFLAGS-ioungetc.c): Likewise.
9629 (CFLAGS-ioungetwc.c): Likewise.
9630 (CFLAGS-oldfileops.c): Likewise.
9631 (CFLAGS-oldiofclose.c): Likewise.
9632 (CFLAGS-oldiofgetpos64.c): Likewise.
9633 (CFLAGS-oldiofgetpos.c): Likewise.
9634 (CFLAGS-oldiofsetpos64.c): Likewise.
9635 (CFLAGS-oldiofsetpos.c): Likewise.
9636 (CFLAGS-peekc.c): Likewise.
9637 (CFLAGS-putc.c): Likewise.
9638 (CFLAGS-putchar.c): Likewise.
9639 (CFLAGS-putwc.c): Likewise.
9640 (CFLAGS-putwchar.c): Likewise.
9641 (CFLAGS-rewind.c): Likewise.
9642 (CFLAGS-wfileops.c): Likewise.
9643 (CFLAGS-wgenops.c): Likewise.
9644 (CFLAGS-oldiofopen.c): Likewise.
9645 (CFLAGS-iofopen.c): Likewise.
9646 (CFLAGS-iofopen64.c): Likewise.
9647 (CFLAGS-oldtmpfile.c): Likewise.
9648 (CFLAGS-tst_putwc.c): Likewise.
9649 * locale/Makefile (CFLAGS-md5.c): Likewise.
9650 (CFLAGS-charmap.c): Likewise.
9651 (CFLAGS-locfile.c): Likewise.
9652 (CFLAGS-charmap-dir.c): Likewise.
9653 * login/Makefile (CFLAGS-grantpt.c): Likewise.
9654 (CFLAGS-getpt.c): Likewise.
9655 (CFLAGS-pt_chown.c): Likewise.
9656 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
9657 (CFLAGS-obstack.c): Likewise.
9658 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
9659 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
9660 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
9661 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
9662 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
9663 (CFLAGS-test-tgmath.c): Likewise.
9664 (CFLAGS-test-tgmath2.c): Likewise.
9665 (CFLAGS-test-tgmath-ret.c): Likewise.
9666 (CFLAGS-test-powl.c): Likewise.
9667 (CFLAGS-test-snan.c): Likewise.
9668 (CFLAGS-test-signgam-finite.c): Likewise.
9669 (CFLAGS-test-signgam-finite-c99.c): Likewise.
9670 (CFLAGS-test-signgam-finite-c11.c): Likewise.
9671 (CFLAGS-test-signgam-uchar.c): Likewise.
9672 (CFLAGS-test-signgam-uchar-init.c): Likewise.
9673 (CFLAGS-test-signgam-uchar-static.c): Likewise.
9674 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9675 (CFLAGS-test-signgam-uint.c): Likewise.
9676 (CFLAGS-test-signgam-uint-init.c): Likewise.
9677 (CFLAGS-test-signgam-uint-static.c): Likewise.
9678 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9679 (CFLAGS-test-signgam-ullong.c): Likewise.
9680 (CFLAGS-test-signgam-ullong-init.c): Likewise.
9681 (CFLAGS-test-signgam-ullong-static.c): Likewise.
9682 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9683 (CFLAGS-test-math-cxx11.cc): Likewise.
9684 (CFLAGS-test-math-isinff.cc): Likewise.
9685 (CFLAGS-test-math-iszero.cc): Likewise.
9686 (CFLAGS-test-math-issignaling.cc): Likewise.
9687 (CFLAGS-test-math-iscanonical.cc): Likewise.
9688 (CFLAGS-test-iszero-excess-precision.c): Likewise.
9689 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
9690 (CFLAGS-test-flt-eval-method.c): Likewise.
9691 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
9692 (CFLAGS-test-finite-macros.c): Likewise.
9693 * misc/Makefile (CFLAGS-select.c): Likewise.
9694 (CFLAGS-tsearch.c): Likewise.
9695 (CFLAGS-lsearch.c): Likewise.
9696 (CFLAGS-pselect.c): Likewise.
9697 (CFLAGS-readv.c): Likewise.
9698 (CFLAGS-writev.c): Likewise.
9699 (CFLAGS-preadv.c): Likewise.
9700 (CFLAGS-preadv64.c): Likewise.
9701 (CFLAGS-pwritev.c): Likewise.
9702 (CFLAGS-pwritev64.c): Likewise.
9703 (CFLAGS-preadv2.c): Likewise.
9704 (CFLAGS-preadv64v2.c): Likewise.
9705 (CFLAGS-pwritev2.c): Likewise.
9706 (CFLAGS-pwritev64v2.c): Likewise.
9707 (CFLAGS-usleep.c): Likewise.
9708 (CFLAGS-syslog.c): Likewise.
9709 (CFLAGS-error.c): Likewise.
9710 (CFLAGS-getpass.c): Likewise.
9711 (CFLAGS-mkstemp.c): Likewise.
9712 (CFLAGS-mkstemp64.c): Likewise.
9713 (CFLAGS-getsysstats.c): Likewise.
9714 (CFLAGS-getusershell.c): Likewise.
9715 (CFLAGS-err.c): Likewise.
9716 (CFLAGS-tst-tsearch.c): Likewise.
9717 (CFLAGS-msync.c): Likewise.
9718 (CFLAGS-fdatasync.c): Likewise.
9719 (CFLAGS-fsync.c): Likewise.
9720 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
9721 (CFLAGS-unwind.c): Likewise.
9722 (CFLAGS-unwind-forcedunwind.c): Likewise.
9723 (CFLAGS-pthread_cancel.c): Likewise.
9724 (CFLAGS-pthread_setcancelstate.c): Likewise.
9725 (CFLAGS-pthread_setcanceltype.c): Likewise.
9726 (CFLAGS-cancellation.c): Likewise.
9727 (CFLAGS-libc-cancellation.c): Likewise.
9728 (CFLAGS-pthread_exit.c): Likewise.
9729 (CFLAGS-forward.c): Likewise.
9730 (CFLAGS-pthread_testcancel.c): Likewise.
9731 (CFLAGS-pthread_join.c): Likewise.
9732 (CFLAGS-pthread_timedjoin.c): Likewise.
9733 (CFLAGS-pthread_once.c): Likewise.
9734 (CFLAGS-pthread_cond_wait.c): Likewise.
9735 (CFLAGS-sem_wait.c): Likewise.
9736 (CFLAGS-sem_timedwait.c): Likewise.
9737 (CFLAGS-fcntl.c): Likewise.
9738 (CFLAGS-lockf.c): Likewise.
9739 (CFLAGS-pread.c): Likewise.
9740 (CFLAGS-pread64.c): Likewise.
9741 (CFLAGS-pwrite.c): Likewise.
9742 (CFLAGS-pwrite64.c): Likewise.
9743 (CFLAGS-wait.c): Likewise.
9744 (CFLAGS-waitpid.c): Likewise.
9745 (CFLAGS-sigwait.c): Likewise.
9746 (CFLAGS-msgrcv.c): Likewise.
9747 (CFLAGS-msgsnd.c): Likewise.
9748 (CFLAGS-tcdrain.c): Likewise.
9749 (CFLAGS-open.c): Likewise.
9750 (CFLAGS-open64.c): Likewise.
9751 (CFLAGS-pause.c): Likewise.
9752 (CFLAGS-recv.c): Likewise.
9753 (CFLAGS-send.c): Likewise.
9754 (CFLAGS-accept.c): Likewise.
9755 (CFLAGS-sendto.c): Likewise.
9756 (CFLAGS-connect.c): Likewise.
9757 (CFLAGS-recvfrom.c): Likewise.
9758 (CFLAGS-recvmsg.c): Likewise.
9759 (CFLAGS-sendmsg.c): Likewise.
9760 (CFLAGS-close.c): Likewise.
9761 (CFLAGS-read.c): Likewise.
9762 (CFLAGS-write.c): Likewise.
9763 (CFLAGS-nanosleep.c): Likewise.
9764 (CFLAGS-sigsuspend.c): Likewise.
9765 (CFLAGS-msync.c): Likewise.
9766 (CFLAGS-fdatasync.c): Likewise.
9767 (CFLAGS-fsync.c): Likewise.
9768 (CFLAGS-pt-system.c): Likewise.
9769 (CFLAGS-tst-cleanup2.c): Likewise.
9770 (CFLAGS-tst-cleanupx2.c): Likewise.
9771 (CFLAGS-flockfile.c): Likewise.
9772 (CFLAGS-ftrylockfile.c): Likewise.
9773 (CFLAGS-funlockfile.c): Likewise.
9774 (CFLAGS-tst-initializers1.c): Likewise.
9775 (CFLAGS-tst-initializers1-c89.c): Likewise.
9776 (CFLAGS-tst-initializers1-c99.c): Likewise.
9777 (CFLAGS-tst-initializers1-c11.c): Likewise.
9778 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
9779 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
9780 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
9781 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
9782 (CFLAGS-nscd_getgr_r.c): Likewise.
9783 (CFLAGS-nscd_gethst_r.c): Likewise.
9784 (CFLAGS-nscd_getai.c): Likewise.
9785 (CFLAGS-nscd_initgroups.c): Likewise.
9786 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
9787 (CFLAGS-pause.c): Likewise.
9788 (CFLAGS-pread.c): Likewise.
9789 (CFLAGS-pread64.c): Likewise.
9790 (CFLAGS-pwrite.c): Likewise.
9791 (CFLAGS-pwrite64.c): Likewise.
9792 (CFLAGS-sleep.c): Likewise.
9793 (CFLAGS-wait.c): Likewise.
9794 (CFLAGS-waitid.c): Likewise.
9795 (CFLAGS-waitpid.c): Likewise.
9796 (CFLAGS-getopt.c): Likewise.
9797 (CFLAGS-wordexp.c): Likewise.
9798 (CFLAGS-sysconf.c): Likewise.
9799 (CFLAGS-pathconf.c): Likewise.
9800 (CFLAGS-fpathconf.c): Likewise.
9801 (CFLAGS-spawn.c): Likewise.
9802 (CFLAGS-spawnp.c): Likewise.
9803 (CFLAGS-spawni.c): Likewise.
9804 (CFLAGS-glob.c): Likewise.
9805 (CFLAGS-glob64.c): Likewise.
9806 (CFLAGS-getconf.c): Likewise.
9807 (CFLAGS-nanosleep.c): Likewise.
9808 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
9809 (CFLAGS-getpwent.c): Likewise.
9810 (CFLAGS-getpw.c): Likewise.
9811 (CFLAGS-fgetpwent_r.c): Likewise.
9812 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
9813 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
9814 (CFLAGS-mq_timedreceive.c): Likewise.
9815 (CFLAGS-mq_timedsend.c): Likewise.
9816 (CFLAGS-clock_nanosleep.c): Likewise.
9817 (CFLAGS-librt-cancellation.c): Likewise.
9818 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
9819 (CFLAGS-getspent.c): Likewise.
9820 (CFLAGS-fgetspent.c): Likewise.
9821 (CFLAGS-fgetspent_r.c): Likewise.
9822 (CFLAGS-putspent.c): Likewise.
9823 (CFLAGS-getspnam.c): Likewise.
9824 (CFLAGS-getspnam_r.c): Likewise.
9825 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
9826 (CFLAGS-sigsuspend.c): Likewise.
9827 (CFLAGS-sigtimedwait.c): Likewise.
9828 (CFLAGS-sigwait.c): Likewise.
9829 (CFLAGS-sigwaitinfo.c): Likewise.
9830 (CFLAGS-sigreturn.c): Likewise.
9831 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
9832 (CFLAGS-vfwprintf.c): Likewise.
9833 (CFLAGS-tmpfile.c): Likewise.
9834 (CFLAGS-tmpfile64.c): Likewise.
9835 (CFLAGS-tempname.c): Likewise.
9836 (CFLAGS-psignal.c): Likewise.
9837 (CFLAGS-vprintf.c): Likewise.
9838 (CFLAGS-cuserid.c): Likewise.
9839 (CFLAGS-errlist.c): Likewise.
9840 (CFLAGS-siglist.c): Likewise.
9841 (CFLAGS-scanf15.c): Likewise.
9842 (CFLAGS-scanf17.c): Likewise.
9843 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
9844 (CFLAGS-msort.c): Likewise.
9845 (CFLAGS-qsort.c): Likewise.
9846 (CFLAGS-system.c): Likewise.
9847 (CFLAGS-fmtmsg.c): Likewise.
9848 (CFLAGS-strfmon.c): Likewise.
9849 (CFLAGS-strfmon_l.c): Likewise.
9850 (CFLAGS-strfromd.c): Likewise.
9851 (CFLAGS-strfromf.c): Likewise.
9852 (CFLAGS-strfroml.c): Likewise.
9853 (CFLAGS-tst-bsearch.c): Likewise.
9854 (CFLAGS-tst-qsort.c): Likewise.
9855 (CFLAGS-tst-makecontext2.c): Likewise.
9856 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
9857 (CFLAGS-xnlm_prot.c): Likewise.
9858 (CFLAGS-xrstat.c): Likewise.
9859 (CFLAGS-xyppasswd.c): Likewise.
9860 (CFLAGS-xklm_prot.c): Likewise.
9861 (CFLAGS-xrex.c): Likewise.
9862 (CFLAGS-xsm_inter.c): Likewise.
9863 (CFLAGS-xmount.c): Likewise.
9864 (CFLAGS-xrusers.c): Likewise.
9865 (CFLAGS-xspray.c): Likewise.
9866 (CFLAGS-xnfs_prot.c): Likewise.
9867 (CFLAGS-xrquota.c): Likewise.
9868 (CFLAGS-xkey_prot.c): Likewise.
9869 (CFLAGS-auth_unix.c): Likewise.
9870 (CFLAGS-key_call.c): Likewise.
9871 (CFLAGS-pmap_rmt.c): Likewise.
9872 (CFLAGS-clnt_perr.c): Likewise.
9873 (CFLAGS-openchild.c): Likewise.
9874 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
9875 (CFLAGS-msgsnd.c): Likewise.
9876 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
9877 * time/Makefile (CFLAGS-tzfile.c): Likewise.
9878 (CFLAGS-tzset.c): Likewise.
9879 (CFLAGS-getdate.c): Likewise.
9880 (CFLAGS-test_time.c): Likewise.
9881 (CPPFLAGS-tst-tzname.c): Likewise.
9882 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
9883 (CFLAGS-zic.c): Likewise.
9884 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
9885 (CFLAGS-wcswidth.c): Likewise.
9886 (CFLAGS-wcstol.c): Likewise.
9887 (CFLAGS-wcstoul.c): Likewise.
9888 (CFLAGS-wcstoll.c): Likewise.
9889 (CFLAGS-wcstoull.c): Likewise.
9890 (CFLAGS-wcstod.c): Likewise.
9891 (CFLAGS-wcstold.c): Likewise.
9892 (CFLAGS-wcstof128.c): Likewise.
9893 (CFLAGS-wcstof.c): Likewise.
9894 (CFLAGS-wcstol_l.c): Likewise.
9895 (CFLAGS-wcstoul_l.c): Likewise.
9896 (CFLAGS-wcstoll_l.c): Likewise.
9897 (CFLAGS-wcstoull_l.c): Likewise.
9898 (CFLAGS-wcstod_l.c): Likewise.
9899 (CFLAGS-wcstold_l.c): Likewise.
9900 (CFLAGS-wcstof128_l.c): Likewise.
9901 (CFLAGS-wcstof_l.c): Likewise.
9902 (CPPFLAGS-tst-wchar-h.c): Likewise.
9903 (CPPFLAGS-wcstold_l.c): Likewise.
9905 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
9907 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
9909 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9910 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9912 * manual/tunables.texi (Hardware Capability Tunables): Document
9913 glibc.tune.cached_memopt.
9914 * sysdeps/powerpc/cpu-features.c: New file.
9915 * sysdeps/powerpc/cpu-features.h: New file.
9916 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
9917 _dl_powerpc_cpu_features.
9918 * sysdeps/powerpc/dl-tunables.list: New file.
9919 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
9920 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9921 (INIT_ARCH): Initialize use_aligned_memopt.
9922 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
9923 IS_IN(rtld))]: Restrict dl_platform_init availability and
9924 initialize CPU features used by tunables.
9925 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
9926 Add memcpy-power8-cached.
9927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
9928 __memcpy_power8_cached.
9929 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9930 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
9933 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
9935 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
9936 (CFLAGS-noinl-tester.c): Likewise.
9937 (CFLAGS-tst-strlen.c): Likewise.
9938 (CFLAGS-stratcliff.c): Likewise.
9939 (CFLAGS-test-ffs.c): Likewise.
9940 (CFLAGS-tst-inlcall.c): Likewise.
9941 (CFLAGS-tst-xbzero-opt.c): Likewise.
9942 (CFLAGS-memcpy.c): Likewise.
9943 (CFLAGS-wordcopy.c): Likewise.
9945 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9947 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9948 Store r15 on stack and add cfi rule.
9949 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9952 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
9955 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
9958 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
9960 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9961 Add s_sinf-sse2 and s_sinf-fma.
9962 (CFLAGS-s_sinf-fma.c): New.
9963 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
9964 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
9965 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
9967 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
9969 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
9971 2017-12-07 Joseph Myers <joseph@codesourcery.com>
9974 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
9975 part of result to imaginary part of argument if it is zero and the
9976 real part of the argument is not finite.
9977 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
9978 of result to real part of argument if it is zero and the imaginary
9979 part of the argument is not finite.
9981 2017-12-07 Mike FABIAN <mfabian@redhat.com>
9984 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
9985 and to the list of locales to be built for testing.
9986 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
9987 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
9988 and build the collation rules upon that.
9990 2017-12-07 Joseph Myers <joseph@codesourcery.com>
9992 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
9993 * manual/math.texi (Mathematics): Document support for _Float32.
9994 * math/Makefile (test-types): Add float32.
9995 * math/Versions (GLIBC_2.27): Add _Float32 functions.
9996 * stdlib/Versions (GLIBC_2.27): Likewise.
9997 * wcsmbs/Versions (GLIBC_2.27): Likewise.
9998 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
9999 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10000 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10001 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10002 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10003 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10004 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10005 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10006 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10007 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10008 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10009 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10010 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10011 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10012 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10013 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10014 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10015 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10016 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10017 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10018 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
10020 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10021 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10022 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10023 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10024 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
10038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10042 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10043 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10044 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10045 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10046 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10047 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10048 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10049 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10050 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10051 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10060 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10061 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10062 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10063 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10064 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10065 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10066 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10067 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10069 2017-12-06 Joseph Myers <joseph@codesourcery.com>
10071 * stdlib/strtof.c: Include <bits/floatn.h>
10072 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
10073 and later undefine as macro. Define as weak alias if
10075 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
10076 and later undefine as macro. Define as weak alias if
10078 * stdlib/strtof_l.c: Include <bits/floatn.h>
10079 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
10080 and later undefine as macro. Define as weak alias if
10082 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
10083 and later undefine as macro. Define as weak alias if
10086 * stdlib/strfromf.c: Include <bits/floatn.h>.
10087 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
10088 and later undefine as macro and define as weak alias.
10090 * math/test-float32.h: New file.
10092 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
10093 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
10094 (libm_alias_float_other_r): Create f32 alias.
10095 (libm_alias_float_r): Use semicolon before call to
10096 libm_alias_float_other_r.
10098 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
10099 second argument to libm_alias_float_other.
10100 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
10101 second argument to libm_alias_float_other.
10102 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
10103 argument to libm_alias_float_other.
10106 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
10107 real part of result for argument 0 + i * NaN.
10108 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
10109 results for tests of 0 + i * NaN.
10111 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10113 * sysdeps/alpha/fpu/libm-test-ulps: Update.
10115 2017-12-06 David S. Miller <davem@davemloft.net>
10117 * sysdeps/sparc/fpu/libm-test-ulps: Update
10118 exp_{downward,towardzero,upward} ulps.
10120 2017-12-06 Joseph Myers <joseph@codesourcery.com>
10122 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
10125 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
10127 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
10129 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
10131 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
10134 2017-12-06 Mike FABIAN <mfabian@redhat.com>
10137 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
10138 and to the list of locales to be built for testing.
10139 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
10140 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
10141 and build the collation rules upon that.
10143 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10145 * NEWS: Add sinf to list of optimized functions.
10147 2017-12-06 Joseph Myers <joseph@codesourcery.com>
10149 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
10150 (__HAVE_FLOAT32X): Likewise.
10151 * manual/math.texi (Mathematics): Document support for _Float64
10153 * math/Makefile (test-types): Add float64 and float32x.
10154 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
10156 * stdlib/Versions (GLIBC_2.27): Likewise.
10157 * wcsmbs/Versions (GLIBC_2.27): Likewise.
10158 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
10159 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10160 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10161 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10162 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10163 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10164 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10165 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10166 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10167 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10168 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10169 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10170 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10171 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10172 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10173 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10174 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10175 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10176 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10177 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10178 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
10180 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10181 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10182 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10183 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10184 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
10197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10201 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10202 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10203 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10204 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10205 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10206 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10207 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10208 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10209 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10210 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10219 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10220 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10221 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10222 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10223 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10224 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10225 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10226 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10228 2017-12-05 Joseph Myers <joseph@codesourcery.com>
10230 * bits/floatn-common.h: Include <bits/long-double.h>.
10231 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10232 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
10233 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10234 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
10235 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10236 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
10237 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
10238 (__builtin_huge_valf64): Use __builtin_huge_vall.
10239 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
10240 (__builtin_inff64): Use __builtin_infl.
10241 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
10242 (__builtin_nanf64): Use __builtin_nanl.
10243 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
10244 (__builtin_nansf64): Use __builtin_nansl.
10246 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10247 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10248 Carlos O'Donnell <carlos@redhat.com>
10250 * elf/dl-tunables.list: Add elision parameters.
10251 * manual/tunables.texi: Add entries about elision tunable.
10252 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
10253 Add callback functions to dynamically enable/disable elision.
10254 Add multiple callbacks functions to set elision parameters.
10255 Deleted __libc_enable_secure check.
10256 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
10257 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
10258 * configure: Regenerated.
10259 * configure.ac: Option enable_lock_elision was deleted.
10260 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
10261 * config.make.in: Remove references to enable_lock_elision.
10262 * manual/install.texi: Elision configure option was removed.
10263 * INSTALL: Regenerated to remove enable_lock_elision.
10265 Disable elision so it can verify error case for destroying a mutex.
10266 * sysdeps/powerpc/nptl/elide.h:
10267 Cleanup ENABLE_LOCK_ELISION check.
10268 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
10269 * sysdeps/s390/configure: Regenerated.
10270 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
10271 * nptl/tst-mutex8.c:
10272 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
10273 * sysdeps/powerpc/powerpc32/sysdep.h:
10274 Deleted all ENABLE_LOCK_ELISION checks.
10275 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10276 * sysdeps/powerpc/sysdep.h: Likewise.
10277 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
10278 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
10279 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10280 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10281 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10282 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
10283 enable-lock-elision.
10285 2017-12-05 Joseph Myers <joseph@codesourcery.com>
10287 * stdlib/strtod.c: Include <bits/floatn.h>.
10288 (BUILD_DOUBLE): New macro.
10289 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
10290 (strtof64): Define and later undefine as macro. Define as weak
10291 alias if [!USE_WIDE_CHAR].
10292 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
10293 (wcstof64): Define and later undefine as macro. Define as weak
10294 alias if [USE_WIDE_CHAR].
10295 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
10296 (strtof32x): Define and later undefine as macro. Define as weak
10297 alias if [!USE_WIDE_CHAR].
10298 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
10299 (wcstof32x): Define and later undefine as macro. Define as weak
10300 alias if [USE_WIDE_CHAR].
10301 * stdlib/strtod_l.c: Include <bits/floatn.h>.
10302 (BUILD_DOUBLE): New macro.
10303 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
10304 (strtof64_l): Define and later undefine as macro. Define as weak
10305 alias if [!USE_WIDE_CHAR].
10306 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
10307 (wcstof64_l): Define and later undefine as macro. Define as weak
10308 alias if [USE_WIDE_CHAR].
10309 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
10310 (strtof32x_l): Define and later undefine as macro. Define as weak
10311 alias if [!USE_WIDE_CHAR].
10312 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
10313 (wcstof32x_l): Define and later undefine as macro. Define as weak
10314 alias if [USE_WIDE_CHAR].
10316 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10318 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
10319 (reduced): Use ones as double instead of integer.
10321 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
10323 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
10325 2017-12-05 Joseph Myers <joseph@codesourcery.com>
10327 * stdlib/strfromd.c: Include <bits/floatn.h>.
10328 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
10329 and later undefine as macro and define as weak alias.
10330 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
10333 * math/test-float32x.h: New file.
10334 * math/test-float64.h: Likewise.
10336 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
10337 (libm_alias_double_other_r_f64): New macro.
10338 (libm_alias_double_other_r_f32x): Likewise.
10339 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
10340 libm_alias_double_other_r_f32x.
10341 (libm_alias_double_r): Use semicolon before call to
10342 libm_alias_double_other_r.
10343 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
10345 (libm_alias_double_other_r_f64): New macro.
10346 (libm_alias_double_other_r_f32x): Likewise.
10347 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
10348 libm_alias_double_other_r_f32x.
10350 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
10352 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
10354 (SINF_FUNC): Likewise. Replace floor with simple casts.
10356 2017-12-05 Mike FABIAN <mfabian@redhat.com>
10359 * localedata/Makefile: Add et_EE.UTF-8 to test-input
10360 and to the list of locales to be built for testing.
10361 * localedata/et_EE.UTF-8.in: New file for testing the collation.
10362 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
10363 and build the collation rules upon that.
10365 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
10367 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
10368 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
10369 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
10370 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
10371 instead of __insn__xxx.
10372 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
10373 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
10374 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
10375 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
10376 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
10377 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
10379 2017-12-05 Florian Weimer <fweimer@redhat.com>
10381 Linux: Implement interfaces for memory protection keys
10382 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
10384 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
10385 * support/xunistd.h (xsysconf): Declare.
10386 * support/xraise.c: New file.
10387 * support/xsigaction.c: Likewise.
10388 * support/xsignal.c: Likewise.
10389 * support/xsysconf.c: Likewise.
10390 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
10391 pkey_set, pkey_get, pkey_mprotect.
10392 [misc] (tests): Add tst-pkey.
10393 (tst-pkey): Link with -lpthread.
10394 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
10395 pkey_free, pkey_set, pkey_get, pkey_mprotect.
10396 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
10397 (PKEY_DISABLE_WRITE): Define.
10398 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
10400 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
10401 (SEGV_PKUERR): Add.
10402 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
10403 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
10404 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
10405 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
10407 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
10408 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
10409 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
10410 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
10411 * sysdeps/unix/sysv/linux/**.abilist: Update.
10413 2017-12-05 Florian Weimer <fweimer@redhat.com>
10415 * support/tst-test_compare.c (subprocess): Use long long instead
10416 of long argument for consistent type width across 32-bit and
10417 64-bit architectures.
10418 (do_test): Adjust expected output.
10420 2017-12-05 Joseph Myers <joseph@codesourcery.com>
10422 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
10423 (cosf): Define using libm_alias_float.
10424 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
10425 (fabsf): Define using libm_alias_float.
10426 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
10427 (fmaf): Define using libm_alias_float.
10428 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
10429 (rintf): Define using libm_alias_float.
10430 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
10431 (sinf): Define using libm_alias_float.
10432 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
10433 <libm-alias-float.h>.
10434 (modff): Define using libm_alias_float.
10435 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
10436 <libm-alias-float.h>.
10437 (logbf): Define using libm_alias_float.
10438 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
10439 <libm-alias-float.h>.
10440 (ceilf): Define using libm_alias_float.
10441 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
10442 <libm-alias-float.h>.
10443 (copysignf): Define using libm_alias_float.
10444 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
10445 <libm-alias-float.h>.
10446 (floorf): Define using libm_alias_float.
10447 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10448 <libm-alias-float.h>.
10449 (llrintf): Define using libm_alias_float.
10450 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10451 <libm-alias-float.h>.
10452 (llroundf): Define using libm_alias_float.
10453 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
10454 <libm-alias-float.h>.
10455 (lrintf): Define using libm_alias_float.
10456 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
10457 <libm-alias-float.h>.
10458 (lroundf): Define using libm_alias_float.
10459 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
10460 <libm-alias-float.h>.
10461 (nearbyintf): Define using libm_alias_float.
10462 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
10463 <libm-alias-float.h>.
10464 (rintf): Define using libm_alias_float.
10465 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
10466 <libm-alias-float.h>.
10467 (roundf): Define using libm_alias_float.
10468 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
10469 <libm-alias-float.h>.
10470 (truncf): Define using libm_alias_float.
10471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
10472 Include <libm-alias-float.h>.
10473 (ceilf): Define using libm_alias_float.
10474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
10475 Include <libm-alias-float.h>.
10476 (copysignf): Define using libm_alias_float.
10477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
10478 Include <libm-alias-float.h>.
10479 (floorf): Define using libm_alias_float.
10480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
10481 Include <libm-alias-float.h>.
10482 (llrintf): Define using libm_alias_float.
10483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
10484 Include <libm-alias-float.h>.
10485 (llroundf): Define using libm_alias_float.
10486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
10487 Include <libm-alias-float.h>.
10488 (logbf): Define using libm_alias_float.
10489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
10490 Include <libm-alias-float.h>.
10491 (lrintf): Define using libm_alias_float.
10492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
10493 Include <libm-alias-float.h>.
10494 (lroundf): Define using libm_alias_float.
10495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
10496 Include <libm-alias-float.h>.
10497 (modff): Define using libm_alias_float.
10498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
10499 Include <libm-alias-float.h>.
10500 (roundf): Define using libm_alias_float.
10501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
10502 Include <libm-alias-float.h>.
10503 (truncf): Define using libm_alias_float.
10504 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
10505 <libm-alias-float.h>.
10506 (llrintf): Define using libm_alias_float.
10507 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
10508 <libm-alias-float.h>.
10509 (llroundf): Define using libm_alias_float.
10510 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
10511 <libm-alias-float.h>.
10512 (ceilf): Define using libm_alias_float.
10513 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
10514 <libm-alias-float.h>.
10515 (floorf): Define using libm_alias_float.
10516 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
10517 <libm-alias-float.h>.
10518 (llroundf): Define using libm_alias_float.
10519 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
10520 <libm-alias-float.h>.
10521 (lroundf): Define using libm_alias_float.
10522 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
10523 <libm-alias-float.h>.
10524 (roundf): Define using libm_alias_float.
10525 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
10526 <libm-alias-float.h>.
10527 (truncf): Define using libm_alias_float.
10528 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
10529 <libm-alias-float.h>.
10530 (copysignf): Define using libm_alias_float.
10531 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
10532 <libm-alias-float.h>.
10533 (llrintf): Define using libm_alias_float.
10534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
10535 <libm-alias-float.h>.
10536 (llroundf): Define using libm_alias_float.
10537 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
10538 <libm-alias-float.h>.
10539 (lrintf): Define using libm_alias_float.
10540 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
10541 <libm-alias-float.h>.
10542 (lroundf): Define using libm_alias_float.
10543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
10544 <libm-alias-float.h>.
10545 (ceilf): Define using libm_alias_float.
10546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
10547 <libm-alias-float.h>.
10548 (copysignf): Define using libm_alias_float.
10549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
10550 <libm-alias-float.h>.
10551 (cosf): Define using libm_alias_float.
10552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
10553 <libm-alias-float.h>.
10554 (floorf): Define using libm_alias_float.
10555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
10556 <libm-alias-float.h>.
10557 (llrintf): Define using libm_alias_float.
10558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
10559 <libm-alias-float.h>.
10560 (llroundf): Define using libm_alias_float.
10561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
10562 <libm-alias-float.h>.
10563 (logbf): Define using libm_alias_float.
10564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
10565 <libm-alias-float.h>.
10566 (modff): Define using libm_alias_float.
10567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
10568 <libm-alias-float.h>.
10569 (roundf): Define using libm_alias_float.
10570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
10571 <libm-alias-float.h>.
10572 (sinf): Define using libm_alias_float.
10573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
10574 <libm-alias-float.h>.
10575 (truncf): Define using libm_alias_float.
10576 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
10577 <libm-alias-float.h>.
10578 (ceilf): Define using libm_alias_float.
10579 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
10580 <libm-alias-float.h>.
10581 (copysignf): Define using libm_alias_float.
10582 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
10583 <libm-alias-float.h>.
10584 (floorf): Define using libm_alias_float.
10585 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
10586 <libm-alias-float.h>.
10587 (llrintf): Define using libm_alias_float.
10588 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
10589 <libm-alias-float.h>.
10590 (llroundf): Define using libm_alias_float.
10591 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
10592 <libm-alias-float.h>.
10593 (nearbyintf): Define using libm_alias_float.
10594 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
10595 <libm-alias-float.h>.
10596 (rintf): Define using libm_alias_float.
10597 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
10598 <libm-alias-float.h>.
10599 (roundf): Define using libm_alias_float.
10600 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
10601 <libm-alias-float.h>.
10602 (truncf): Define using libm_alias_float.
10603 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
10604 <libm-alias-float.h>.
10605 (ceilf): Define using libm_alias_float.
10606 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
10607 <libm-alias-float.h>.
10608 (floorf): Define using libm_alias_float.
10609 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
10610 <libm-alias-float.h>.
10611 (llroundf): Define using libm_alias_float.
10612 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
10613 <libm-alias-float.h>.
10614 (roundf): Define using libm_alias_float.
10615 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
10616 <libm-alias-float.h>.
10617 (truncf): Define using libm_alias_float.
10618 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
10619 <libm-alias-float.h>.
10620 (copysignf): Define using libm_alias_float.
10621 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
10622 <libm-alias-float.h>.
10623 (llrintf): Define using libm_alias_float.
10624 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
10625 <libm-alias-float.h>.
10626 (llroundf): Define using libm_alias_float.
10627 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
10628 <libm-alias-float.h>.
10629 (cosf): Define using libm_alias_float.
10630 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
10631 <libm-alias-float.h>.
10632 (llrintf): Define using libm_alias_float.
10633 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
10634 <libm-alias-float.h>.
10635 (llroundf): Define using libm_alias_float.
10636 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
10637 <libm-alias-float.h>.
10638 (sinf): Define using libm_alias_float.
10640 2017-12-04 Florian Weimer <fweimer@redhat.com>
10642 * support/check.h (TEST_COMPARE): Define.
10643 (support_test_compare_failure): Declare.
10644 * support/Makefile (libsupport-routines): Add
10645 support_test_compare_failure.
10646 (tests): Add tst-test_compare.
10647 * support /support_test_compare_failure.c: New file.
10648 * support/tst-test_compare.c: Likewise.
10650 2017-12-04 Mike FABIAN <mfabian@redhat.com>
10653 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
10654 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
10655 available, this rewrite of the collation rules does reproduce
10656 the test file in the same order.
10658 2017-12-04 Mike FABIAN <mfabian@redhat.com>
10661 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
10662 digraphs in the month and day names. Using single code points for
10663 digraphs is deprecated. While there are dedicated Unicode
10664 codepoints, for the digraphs, these are included for backwards
10665 compatibility and modern texts use a sequence of Basic Latin
10666 characters. See: https://www.unicode.org/faq/ligature_digraph.html
10667 This makes the month and day names agree exactly with CLDR now,
10668 CLDR does not use the single code points for the digraphs either.
10670 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
10672 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
10674 2017-12-04 Joseph Myers <joseph@codesourcery.com>
10676 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
10679 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
10681 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
10682 Define only for libc.so.
10684 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
10686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10687 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
10688 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
10689 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
10690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10692 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10695 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
10697 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
10700 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
10701 PREINIT_FUNCTION_WEAK is nonzero.
10702 (gmon_initializer): New function. Put procedure label for it in
10703 .init_array section.
10704 (_init): Don't call PREINIT_FUNCTION.
10705 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
10706 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
10707 value when map argument is null.
10709 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
10710 depi instruction from PIC pc-relative sequence.
10711 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
10712 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
10713 (elf_machine_load_address): Likewise.
10714 (elf_machine_runtime_setup): Likewise.
10716 2017-12-02 Joseph Myers <joseph@codesourcery.com>
10718 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
10719 <libm-alias-double.h>.
10720 (logb): Define using libm_alias_double.
10721 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
10722 <libm-alias-double.h>.
10723 (copysign): Define using libm_alias_double.
10724 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
10725 <libm-alias-double.h>.
10726 (llrint): Define using libm_alias_double.
10727 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
10728 <libm-alias-double.h>.
10729 (llround): Define using libm_alias_double.
10730 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
10731 <libm-alias-double.h>.
10732 (lrint): Define using libm_alias_double.
10733 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
10734 <libm-alias-double.h>.
10735 (lround): Define using libm_alias_double.
10736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10737 Include <libm-alias-double.h>.
10738 (copysign): Define using libm_alias_double.
10739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
10740 Include <libm-alias-double.h>.
10741 (llrint): Define using libm_alias_double.
10742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
10743 Include <libm-alias-double.h>.
10744 (llround): Define using libm_alias_double.
10745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
10746 <libm-alias-double.h>.
10747 (logb): Define using libm_alias_double.
10748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
10749 Include <libm-alias-double.h>.
10750 (lrint): Define using libm_alias_double.
10751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
10752 Include <libm-alias-double.h>.
10753 (lround): Define using libm_alias_double.
10754 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
10755 <libm-alias-double.h>.
10756 (llrint): Define using libm_alias_double.
10757 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
10758 <libm-alias-double.h>.
10759 (llround): Define using libm_alias_double.
10760 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
10761 <libm-alias-double.h>.
10762 (llround): Define using libm_alias_double.
10763 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
10764 <libm-alias-double.h>.
10765 (lround): Define using libm_alias_double.
10766 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
10767 <libm-alias-double.h>.
10768 (copysign): Define using libm_alias_double.
10769 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
10770 <libm-alias-double.h>.
10771 (llrint): Define using libm_alias_double.
10772 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
10773 <libm-alias-double.h>.
10774 (llround): Define using libm_alias_double.
10775 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
10776 <libm-alias-double.h>.
10777 (lrint): Define using libm_alias_double.
10778 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
10779 <libm-alias-double.h>.
10780 (lround): Define using libm_alias_double.
10781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
10782 <libm-alias-double.h>.
10783 (copysign): Define using libm_alias_double.
10784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
10785 <libm-alias-double.h>.
10786 (llrint): Define using libm_alias_double.
10788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
10789 <libm-alias-double.h>.
10790 (llround): Define using libm_alias_double.
10791 (lround): Likewise.
10792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
10793 <libm-alias-double.h>.
10794 (logb): Define using libm_alias_double.
10795 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
10796 <libm-alias-double.h>.
10797 (copysign): Define using libm_alias_double.
10798 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
10799 <libm-alias-double.h>.
10800 (llrint): Define using libm_alias_double.
10802 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
10803 <libm-alias-double.h>.
10804 (llround): Define using libm_alias_double.
10805 (lround): Likewise.
10806 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
10807 <libm-alias-double.h>.
10808 (llround): Define using libm_alias_double.
10809 (lround): Likewise.
10810 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
10811 <libm-alias-double.h>.
10812 (copysign): Define using libm_alias_double.
10813 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
10814 <libm-alias-double.h>.
10815 (llrint): Define using libm_alias_double.
10817 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
10818 <libm-alias-double.h>.
10819 (llround): Define using libm_alias_double.
10820 (lround): Likewise.
10821 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
10822 <libm-alias-double.h>.
10823 (llrint): Define using libm_alias_double.
10825 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
10826 <libm-alias-double.h>.
10827 (llround): Define using libm_alias_double.
10828 (lround): Likewise.
10830 2017-12-01 Joseph Myers <joseph@codesourcery.com>
10832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10833 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
10834 compat symbol based on llround.
10836 * sysdeps/powerpc/power7/fpu/s_logb.c
10837 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
10838 symbol based on __logb, not on logb.
10839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
10840 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
10841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
10842 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
10844 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
10845 (rint): Define using libm_alias_double.
10846 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
10847 <libm-alias-double.h>.
10848 (modf): Define using libm_alias_double.
10849 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
10850 <libm-alias-double.h>.
10851 (ceil): Define using libm_alias_double.
10852 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
10853 <libm-alias-double.h>.
10854 (floor): Define using libm_alias_double.
10855 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
10856 <libm-alias-double.h>.
10857 (nearbyint): Define using libm_alias_double.
10858 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
10859 <libm-alias-double.h>.
10860 (rint): Define using libm_alias_double.
10861 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
10862 <libm-alias-double.h>.
10863 (round): Define using libm_alias_double.
10864 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
10865 <libm-alias-double.h>.
10866 (trunc): Define using libm_alias_double.
10867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
10868 <libm-alias-double.h>.
10869 (ceil): Define using libm_alias_double.
10870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
10871 Include <libm-alias-double.h>.
10872 (floor): Define using libm_alias_double.
10873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
10874 <libm-alias-double.h>.
10875 (modf): Define using libm_alias_double.
10876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
10877 Include <libm-alias-double.h>.
10878 (round): Define using libm_alias_double.
10879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
10880 Include <libm-alias-double.h>.
10881 (trunc): Define using libm_alias_double.
10882 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
10883 <libm-alias-double.h>.
10884 (ceil): Define using libm_alias_double.
10885 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
10886 <libm-alias-double.h>.
10887 (floor): Define using libm_alias_double.
10888 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
10889 <libm-alias-double.h>.
10890 (round): Define using libm_alias_double.
10891 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
10892 <libm-alias-double.h>.
10893 (trunc): Define using libm_alias_double.
10894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
10895 <libm-alias-double.h>.
10896 (ceil): Define using libm_alias_double.
10897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
10898 <libm-alias-double.h>.
10899 (floor): Define using libm_alias_double.
10900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
10901 <libm-alias-double.h>.
10902 (modf): Define using libm_alias_double.
10903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
10904 <libm-alias-double.h>.
10905 (round): Define using libm_alias_double.
10906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
10907 <libm-alias-double.h>.
10908 (trunc): Define using libm_alias_double.
10909 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
10910 <libm-alias-double.h>.
10911 (ceil): Define using libm_alias_double.
10912 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
10913 <libm-alias-double.h>.
10914 (floor): Define using libm_alias_double.
10915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
10916 <libm-alias-double.h>.
10917 (nearbyint): Define using libm_alias_double.
10918 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
10919 <libm-alias-double.h>.
10920 (rint): Define using libm_alias_double.
10921 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
10922 <libm-alias-double.h>.
10923 (round): Define using libm_alias_double.
10924 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
10925 <libm-alias-double.h>.
10926 (trunc): Define using libm_alias_double.
10927 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
10928 <libm-alias-double.h>.
10929 (ceil): Define using libm_alias_double.
10930 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
10931 <libm-alias-double.h>.
10932 (floor): Define using libm_alias_double.
10933 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
10934 <libm-alias-double.h>.
10935 (round): Define using libm_alias_double.
10936 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
10937 <libm-alias-double.h>.
10938 (trunc): Define using libm_alias_double.
10940 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
10941 (fabs): Define using libm_alias_double.
10942 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
10943 (fma): Define using libm_alias_double.
10944 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
10945 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
10946 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
10947 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
10949 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10951 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
10953 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
10954 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
10955 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
10957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
10958 due redirect macro.
10960 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
10962 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
10964 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10966 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
10967 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
10968 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
10969 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
10971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10972 (libm-sysdep_routines): Add s_nearbyintf-generic and
10973 s_nearbyint-generic.
10974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
10976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
10977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
10979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
10981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
10983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
10986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10987 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
10988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
10990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
10993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
10995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10998 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
10999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
11001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
11002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
11004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
11005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
11006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
11008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11009 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
11010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
11012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
11013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
11015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
11016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
11017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
11019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11020 (sysdep_calls): New rule.
11021 (sysdep_routines): Use sysdep_calls as base.
11022 (libm-sysdep_routines): Add generic rule for symbols shared with
11023 libc. Add s_copysign-generic and s_copysign-generic objects.
11024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
11026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
11027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
11029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
11030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
11031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
11033 2017-12-01 Mike FABIAN <mfabian@redhat.com>
11036 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
11037 the list of locales to be built for testing.
11038 * localedata/is_IS.UTF-8.in: New file.
11039 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
11042 2017-12-01 Joseph Myers <joseph@codesourcery.com>
11044 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
11045 <libm-alias-float.h>.
11046 (fabsf): Define using libm_alias_float.
11048 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
11050 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
11052 2017-11-30 Joseph Myers <joseph@codesourcery.com>
11054 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
11055 <libm-alias-float.h>.
11056 (fabsf): Define using libm_alias_float.
11057 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
11058 <libm-alias-float.h>.
11059 (lrintf): Define using libm_alias_float.
11060 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
11061 <libm-alias-float.h>.
11062 (rintf): Define using libm_alias_float.
11064 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
11065 <libm-alias-double.h>.
11066 (fabs): Define using libm_alias_double.
11067 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
11068 <libm-alias-double.h>.
11069 (lrint): Define using libm_alias_double.
11070 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
11071 <libm-alias-double.h>.
11072 (rint): Define using libm_alias_double.
11074 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
11075 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
11076 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
11077 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
11078 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
11079 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
11080 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
11081 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
11082 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
11083 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
11084 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
11085 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
11086 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
11087 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
11088 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
11089 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
11090 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
11091 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
11093 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
11094 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
11095 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
11097 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
11098 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
11099 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
11101 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
11102 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
11103 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
11104 s_expm1_template.c.
11105 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
11106 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
11107 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
11109 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
11110 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
11111 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
11112 s_floor_template.c.
11113 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
11114 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
11115 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
11116 s_frexp_template.c.
11117 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
11118 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
11119 s_lrint_template.c.
11120 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
11121 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
11122 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
11124 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
11125 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
11126 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
11127 s_nearbyint_template.c.
11128 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
11129 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
11130 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
11131 s_remquo_template.c.
11132 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
11133 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
11134 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
11136 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
11137 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
11138 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
11140 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
11141 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
11142 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
11143 s_sincos_template.c.
11144 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
11145 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
11146 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
11148 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
11149 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
11150 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
11152 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
11153 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
11154 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
11155 s_trunc_template.c.
11156 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
11157 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
11158 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
11159 s_atan.c instead of including s_atan.c.
11160 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
11161 s_atanf.c instead of including s_atanf.c.
11162 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
11163 s_atanl.c instead of including s_atanl.c.
11164 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
11165 instead of s_atan.c.
11166 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
11167 instead of s_atanf.c.
11168 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
11169 instead of s_atanl.c.
11171 * scripts/update-copyrights: Do not handle intl/plural.c
11174 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
11177 * configure.ac (BISON): Require to be present.
11178 * configure: Regenerated.
11179 * intl/Makefile (generated): Add plural.c.
11180 [$(BISON) != no]: Make code unconditional.
11181 (plural.c): Change rule to $(objpfx)plural.c.
11182 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
11183 * intl/plural.c: Remove.
11184 * manual/install.texi (Tools for Compilation): Document bison as
11186 * INSTALL: Regenerated.
11188 2017-11-30 Joseph Myers <joseph@codesourcery.com>
11190 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
11191 <libm-alias-double.h>.
11192 (llrint): Define using libm_alias_double.
11193 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
11194 <libm-alias-float.h>.
11195 (llrintf): Define using libm_alias_float.
11196 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
11197 <libm-alias-ldouble.h>.
11198 (llrintl): Define using libm_alias_ldouble.
11200 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
11201 declare_mgen_alias instead of weak_alias.
11202 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
11203 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
11204 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
11206 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11208 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
11210 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
11211 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
11212 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
11214 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
11215 Add submul_1-generic.
11216 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
11217 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
11218 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
11220 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
11221 Add addmul_1-generic.
11222 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
11223 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
11224 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
11226 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
11228 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
11229 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
11230 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
11232 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
11234 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
11235 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
11236 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
11238 2017-11-30 Mike FABIAN <mfabian@redhat.com>
11240 According to CLDR, collation rules for Serbian and Bosnian
11241 should be the same as for Croatian.
11244 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
11245 and to the list of locales to be built for testing.
11246 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
11247 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
11248 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
11249 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
11251 2017-11-30 Mike FABIAN <mfabian@redhat.com>
11253 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
11254 to make test case pass.
11255 * localedata/hr_HR.UTF-8.in: Add more test strings.
11257 2017-11-30 Mike FABIAN <mfabian@redhat.com>
11259 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
11261 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
11263 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
11264 the list of locales to built for testing.
11265 * localedata/hr_HR.UTF-8.in: New file.
11267 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
11270 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
11272 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
11273 CLDR (except use ligatures for the digraphs, CLDR does not use
11274 the ligatures), add first_workday, some fixes in the date and time
11276 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
11278 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
11279 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
11280 Add int_p_cs_precedes and int_n_cs_precedes.
11281 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
11282 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
11284 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
11285 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
11287 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
11288 and lang_lib. Change postal_fmt.
11290 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
11292 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
11294 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
11295 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
11296 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
11297 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
11298 * sysdeps/generic/setjmpP.h: New file.
11299 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
11300 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
11301 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
11302 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11303 Add jmp_buf-ssp.sym.
11304 (tests): Add tst-saved_mask-1.
11306 2017-11-30 Arjun Shankar <arjun@redhat.com>
11310 * malloc/malloc.c (__libc_malloc): Use checked_request2size
11311 instead of request2size.
11313 2017-11-30 Joseph Myers <joseph@codesourcery.com>
11315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
11316 (__lllrint): Remove alias.
11317 (lllrint): Likewise.
11318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
11319 (__lllrintf): Likewise.
11320 (lllrintf): Likewise.
11322 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
11323 <libm-alias-float.h>.
11324 (copysignf): Define using libm_alias_float.
11325 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
11326 <libm-alias-float.h>.
11327 (fabsf): Define using libm_alias_float.
11328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
11329 Include <libm-alias-float.h>.
11330 (copysignf): Define using libm_alias_float.
11331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
11332 <libm-alias-float.h>.
11333 (fabsf): Define using libm_alias_float.
11334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
11335 <libm-alias-float.h>.
11336 (fdimf): Define using libm_alias_float.
11337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
11338 <libm-alias-float.h>.
11339 (fmaf): Define using libm_alias_float.
11340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
11341 <libm-alias-float.h>.
11342 (llrintf): Define using libm_alias_float.
11343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
11344 Include <libm-alias-float.h>.
11345 (nearbyintf): Define using libm_alias_float.
11346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
11347 <libm-alias-float.h>.
11348 (rintf): Define using libm_alias_float.
11349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
11350 <libm-alias-float.h>.
11351 (llrintf): Define using libm_alias_float.
11352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
11353 <libm-alias-float.h>.
11354 (lrintf): Define using libm_alias_float.
11355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
11356 <libm-alias-float.h>.
11357 (nearbyintf): Define using libm_alias_float.
11358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
11359 <libm-alias-float.h>.
11360 (rintf): Define using libm_alias_float.
11361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
11362 <libm-alias-float.h>.
11363 (ceilf): Define using libm_alias_float.
11364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
11365 <libm-alias-float.h>.
11366 (floorf): Define using libm_alias_float.
11367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
11368 <libm-alias-float.h>.
11369 (fmaf): Define using libm_alias_float.
11370 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
11371 <libm-alias-float.h>.
11372 (lrintf): Define using libm_alias_float.
11373 (llrintf): Likewise.
11374 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
11375 <libm-alias-float.h>.
11376 (nearbyintf): Define using libm_alias_float.
11377 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
11378 <libm-alias-float.h>.
11379 (rintf): Define using libm_alias_float.
11380 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
11381 <libm-alias-float.h>.
11382 (truncf): Define using libm_alias_float.
11383 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
11384 <libm-alias-float.h>.
11385 (copysignf): Define using libm_alias_float.
11386 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
11387 <libm-alias-float.h>.
11388 (fabsf): Define using libm_alias_float.
11389 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
11390 <libm-alias-float.h>.
11391 (lrintf): Define using libm_alias_float.
11392 (llrintf): Likewise.
11393 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
11394 <libm-alias-float.h>.
11395 (nearbyintf): Define using libm_alias_float.
11396 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
11397 <libm-alias-float.h>.
11398 (rintf): Define using libm_alias_float.
11400 2017-11-29 Joseph Myers <joseph@codesourcery.com>
11402 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
11403 <libm-alias-double.h>.
11404 (copysign): Define using libm_alias_double.
11405 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
11406 <libm-alias-double.h>.
11407 (fabs): Define using libm_alias_double.
11408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11409 Include <libm-alias-double.h>.
11410 (copysign): Define using libm_alias_double.
11411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
11412 <libm-alias-double.h>.
11413 (fabs): Define using libm_alias_double.
11414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
11415 <libm-alias-double.h>.
11416 (fdim): Define using libm_alias_double.
11417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
11418 <libm-alias-double.h>.
11419 (fma): Define using libm_alias_double.
11420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
11421 <libm-alias-double.h>.
11422 (llrint): Define using libm_alias_double.
11423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
11424 Include <libm-alias-double.h>.
11425 (nearbyint): Define using libm_alias_double.
11426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
11427 <libm-alias-double.h>.
11428 (rint): Define using libm_alias_double.
11429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
11430 <libm-alias-double.h>.
11431 (fabs): Define using libm_alias_double.
11432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
11433 <libm-alias-double.h>.
11434 (llrint): Define using libm_alias_double.
11435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
11436 <libm-alias-double.h>.
11437 (nearbyint): Define using libm_alias_double.
11438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
11439 <libm-alias-double.h>.
11440 (rint): Define using libm_alias_double.
11441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
11442 <libm-alias-double.h>.
11443 (ceil): Define using libm_alias_double.
11444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
11445 <libm-alias-double.h>.
11446 (floor): Define using libm_alias_double.
11447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
11448 <libm-alias-double.h>.
11449 (fma): Define using libm_alias_double.
11450 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
11451 <libm-alias-double.h>.
11452 (lrint): Define using libm_alias_double.
11453 (llrint): Likewise.
11454 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
11455 <libm-alias-double.h>.
11456 (nearbyint): Define using libm_alias_double.
11457 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
11458 <libm-alias-double.h>.
11459 (rint): Define using libm_alias_double.
11460 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
11461 <libm-alias-double.h>.
11462 (trunc): Define using libm_alias_double.
11463 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
11464 <libm-alias-double.h>.
11465 (copysign): Define using libm_alias_double.
11466 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
11467 <libm-alias-double.h>.
11468 (fabs): Define using libm_alias_double.
11469 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
11470 <libm-alias-double.h>.
11471 (lrint): Define using libm_alias_double.
11472 (llrint): Likewise.
11473 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
11474 <libm-alias-double.h>.
11475 (nearbyint): Define using libm_alias_double.
11476 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
11477 <libm-alias-double.h>.
11478 (rint): Define using libm_alias_double.
11481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
11483 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
11485 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11486 SPARC --disable-multi-arch glibc variants.
11488 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
11489 <libm-alias-float.h>.
11490 (exp2f): Define using libm_alias_float, or libm_alias_float_other
11492 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
11493 <libm-alias-float.h>.
11494 (exp2f): Define using libm_alias_float, or libm_alias_float_other
11496 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
11497 <libm-alias-float.h>.
11498 (exp2f): Define using libm_alias_float, or libm_alias_float_other
11500 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
11501 <libm-alias-float.h>.
11502 (exp2f): Define using libm_alias_float, or libm_alias_float_other
11504 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
11505 <libm-alias-float.h>.
11506 (exp2f): Define using libm_alias_float, or libm_alias_float_other
11508 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
11509 <libm-alias-float.h>.
11510 (ceilf): Define using libm_alias_float.
11511 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
11512 <libm-alias-float.h>.
11513 (floorf): Define using libm_alias_float.
11514 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
11515 <libm-alias-float.h>.
11516 (fmaf): Define using libm_alias_float.
11517 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
11518 <libm-alias-float.h>.
11519 (nearbyintf): Define using libm_alias_float.
11520 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
11521 <libm-alias-float.h>.
11522 (rintf): Define using libm_alias_float.
11523 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
11524 <libm-alias-float.h>.
11525 (truncf): Define using libm_alias_float.
11526 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
11527 (copysignf): Define using libm_alias_float.
11528 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
11529 (cosf): Define using libm_alias_float.
11530 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
11531 (fabsf): Define using libm_alias_float.
11532 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
11533 (fmaxf): Define using libm_alias_float.
11534 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
11535 (fminf): Define using libm_alias_float.
11536 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
11537 (llrintf): Define using libm_alias_float.
11538 [!__ILP32__] (lrintf): Likewise.
11539 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
11540 (sincosf): Define using libm_alias_float.
11541 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
11542 (sinf): Define using libm_alias_float.
11543 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
11544 (lrintf): Define using libm_alias_float.
11546 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
11547 <libm-alias-double.h>.
11548 (atan): Define using libm_alias_double.
11549 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
11550 <libm-alias-double.h>.
11551 (ceil): Define using libm_alias_double.
11552 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
11553 <libm-alias-double.h>.
11554 (floor): Define using libm_alias_double.
11555 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
11556 <libm-alias-double.h>.
11557 (fma): Define using libm_alias_double.
11558 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
11559 <libm-alias-double.h>.
11560 (nearbyint): Define using libm_alias_double.
11561 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
11562 <libm-alias-double.h>.
11563 (rint): Define using libm_alias_double.
11564 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
11565 <libm-alias-double.h>.
11566 (sin): Define using libm_alias_double.
11568 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
11569 <libm-alias-double.h>.
11570 (tan): Define using libm_alias_double.
11571 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
11572 <libm-alias-double.h>.
11573 (trunc): Define using libm_alias_double.
11574 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
11575 (copysign): Define using libm_alias_double.
11576 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
11577 (fabs): Define using libm_alias_double.
11578 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
11579 (fmax): Define using libm_alias_double.
11580 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
11581 (fmin): Define using libm_alias_double.
11582 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
11583 (llrint): Define using libm_alias_double.
11584 [!__ILP32__] (lrint): Likewise.
11585 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
11586 (lrint): Define using libm_alias_double.
11588 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11590 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
11591 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
11593 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
11594 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
11595 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
11596 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
11597 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
11598 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
11600 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
11601 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
11603 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
11604 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
11605 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
11606 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
11607 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
11608 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
11610 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
11611 (libm-sysdep_routines): Add s_nearbyint-generic and
11612 s_nearbyintf-generic objects.
11613 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
11614 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
11615 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
11616 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
11617 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
11618 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
11620 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
11621 Add s_finitef-generic and s_finite-generic objects.
11622 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
11623 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
11624 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
11625 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
11626 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
11627 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
11629 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
11630 Add s_isinff-generic and s_isinf-generic objects.
11631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
11632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
11633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
11634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
11635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
11636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
11638 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
11639 Add s_isnanf-generic and s_isnan-generic objects.
11640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
11641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
11642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
11643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
11644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
11645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
11647 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
11649 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
11651 (sysdep_routines): Use sysdep_calls as base.
11652 (libm-sysdep_routines): Add generic rule for symbols shared with
11653 libc. Add s_signbit-generic and s_signbitf-generic objects.
11654 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
11655 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
11656 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
11657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
11658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
11659 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
11661 2017-11-29 Joseph Myers <joseph@codesourcery.com>
11663 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
11664 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
11665 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
11666 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
11667 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
11668 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
11669 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
11670 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
11671 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
11672 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
11673 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
11674 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
11675 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
11676 libm_alias_float_r.
11677 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
11678 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
11680 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
11681 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
11682 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
11683 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
11684 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
11685 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
11686 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
11687 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
11688 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
11689 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
11691 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
11693 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
11694 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
11695 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
11696 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
11697 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
11698 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
11699 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
11700 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
11701 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
11702 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
11703 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
11704 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
11705 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
11706 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
11707 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
11708 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
11709 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
11710 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
11711 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
11713 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
11714 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
11715 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
11716 * sysdeps/ia64/fpu/w_lgammaf_main.c
11717 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
11718 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
11720 2017-11-28 Mike FABIAN <mfabian@redhat.com>
11721 Alexandre Oliva <aoliva@redhat.com>
11724 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
11725 * localedata/fr_CA.UTF-8.in: New file with test data for backward
11727 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
11729 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
11730 * localedata/locales/de_DE (LC_COLLATE): Likewise.
11731 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
11732 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
11733 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
11734 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
11735 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
11736 instead of “ifdef DIACRIT_BACKWARD”.
11738 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11740 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
11741 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
11742 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
11743 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
11744 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
11745 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
11746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11748 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
11751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
11752 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11753 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11754 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
11755 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
11756 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
11757 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
11758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11759 ($(have-as-vis3) == yes): Remove conditional.
11760 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
11762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
11764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
11766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
11768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
11770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
11771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
11772 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
11773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
11774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
11775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
11776 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
11777 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
11779 2017-11-29 Joseph Myers <joseph@codesourcery.com>
11781 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
11782 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
11783 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
11784 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
11785 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
11786 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
11787 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
11788 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
11789 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
11790 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
11791 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
11792 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
11793 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
11794 libm_alias_double_r.
11795 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
11797 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
11798 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
11799 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
11800 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
11801 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
11802 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
11803 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
11804 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
11805 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
11806 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
11807 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
11809 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
11811 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
11812 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
11813 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
11814 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
11815 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
11816 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
11817 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
11818 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
11819 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
11820 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
11821 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
11822 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
11823 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
11824 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
11825 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
11826 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
11827 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
11828 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
11830 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
11831 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
11832 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
11833 * sysdeps/ia64/fpu/w_lgamma_main.c
11834 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
11835 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
11837 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
11839 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
11840 address of $global$ into %dp register earlier. Use pc-relative
11841 instruction sequence for PIC case.
11843 2017-11-28 Joseph Myers <joseph@codesourcery.com>
11845 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
11846 (asinhf): Define using libm_alias_float.
11847 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
11848 (atanf): Define using libm_alias_float.
11849 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
11850 (cbrtf): Define using libm_alias_float.
11851 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
11852 (ceilf): Define using libm_alias_float.
11853 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
11854 (copysignf): Define using libm_alias_float.
11855 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
11856 (expm1f): Define using libm_alias_float.
11857 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
11858 (fabsf): Define using libm_alias_float.
11859 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
11860 (floorf): Define using libm_alias_float.
11861 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
11862 (fmaxf): Define using libm_alias_float.
11863 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
11864 (fminf): Define using libm_alias_float.
11865 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
11866 (frexpf): Define using libm_alias_float.
11867 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
11868 (llrintf): Define using libm_alias_float.
11869 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
11870 (logbf): Define using libm_alias_float.
11871 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
11872 (lrintf): Define using libm_alias_float.
11873 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
11874 (nearbyintf): Define using libm_alias_float.
11875 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
11876 (remquof): Define using libm_alias_float.
11877 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
11878 (rintf): Define using libm_alias_float.
11879 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
11880 (truncf): Define using libm_alias_float.
11881 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
11882 <libm-alias-float.h>.
11883 (exp2f): Define using libm_alias_float, or libm_alias_float_other
11885 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
11886 <libm-alias-float.h>.
11887 (expf): Define using libm_alias_float, or libm_alias_float_other
11889 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
11890 <libm-alias-float.h>.
11891 (log2f): Define using libm_alias_float, or libm_alias_float_other
11893 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
11894 <libm-alias-float.h>.
11895 (logf): Define using libm_alias_float, or libm_alias_float_other
11897 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
11898 <libm-alias-float.h>.
11899 (powf): Define using libm_alias_float, or libm_alias_float_other
11901 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
11902 <libm-alias-float.h>.
11903 (cosf): Define using libm_alias_float.
11904 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
11905 <libm-alias-float.h>.
11906 (sincosf): Define using libm_alias_float.
11907 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
11908 <libm-alias-float.h>.
11909 (sinf): Define using libm_alias_float.
11910 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
11911 (fmaxf): Define using libm_alias_float.
11912 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
11913 (fminf): Define using libm_alias_float.
11914 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11915 <libm-alias-float.h>.
11916 (fmaf): Define using libm_alias_float.
11918 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
11919 (asinh): Define using libm_alias_double.
11920 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
11921 (atan): Define using libm_alias_double.
11922 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
11923 (cbrt): Define using libm_alias_double.
11924 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
11925 (ceil): Define using libm_alias_double.
11926 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
11927 (copysign): Define using libm_alias_double.
11928 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
11929 (expm1): Define using libm_alias_double.
11930 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
11931 (fabs): Define using libm_alias_double.
11932 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
11933 (fdim): Define using libm_alias_double.
11934 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
11935 (floor): Define using libm_alias_double.
11936 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
11937 (fmax): Define using libm_alias_double.
11938 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
11939 (fmin): Define using libm_alias_double.
11940 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
11941 (frexp): Define using libm_alias_double.
11942 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
11943 (llrint): Define using libm_alias_double.
11944 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
11945 (logb): Define using libm_alias_double.
11946 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
11947 (lrint): Define using libm_alias_double.
11948 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
11949 (nearbyint): Define using libm_alias_double.
11950 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
11951 (remquo): Define using libm_alias_double.
11952 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
11953 (rint): Define using libm_alias_double.
11954 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
11955 (trunc): Define using libm_alias_double.
11956 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
11957 (fmax): Define using libm_alias_double.
11958 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
11959 (fmin): Define using libm_alias_double.
11960 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
11961 (fma): Define using libm_alias_double.
11963 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
11966 * elf/dl-hwcaps.c (ROUND): Removed.
11967 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
11968 and ELF_NOTE_NEXT_OFFSET.
11969 * elf/dl-load.c (ROUND): Removed.
11970 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
11971 * elf/readelflib.c (ROUND): Removed.
11972 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
11973 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
11974 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
11975 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
11977 2017-11-28 Joseph Myers <joseph@codesourcery.com>
11979 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
11980 [!__fmaf] (fmaf): Define using libm_alias_float.
11982 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
11983 [!__fma] (fma): Define using libm_alias_double.
11984 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
11986 2017-11-28 Mike FABIAN <mfabian@redhat.com>
11989 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
11990 and implement the collation rules for cs from CLDR on top of that.
11991 * Makefile: Add cs_CZ.UTF-8 to test-input.
11992 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
11994 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
11996 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
11998 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
11999 Icarus Sparry <icarus.w.sparry@intel.com>
12001 * benchtests/Makefile:Add BENCHSET to allow subsets of
12002 benchmarks to be run.
12003 * benchtests/README: Add documentation for: Running subsets of
12006 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
12008 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
12009 range of tests names.
12011 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
12012 result from property and remove "max", min" and "mean" from
12013 required properties based on benchtests/bench-skeleton.c.
12015 2017-11-28 Florian Weimer <fweimer@redhat.com>
12018 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
12019 due to Internet requirement.
12020 * posix/Makefile (tests): Remove tst-getaddrinfo4,
12022 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
12024 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12026 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
12027 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
12028 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
12029 (sysdep_routines): Add memset-ultra1.
12030 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
12032 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
12033 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
12034 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
12035 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
12036 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
12037 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
12038 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
12039 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12041 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
12043 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
12044 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
12045 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
12046 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
12047 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
12048 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
12049 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
12051 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
12052 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
12053 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
12054 (sysdep_routines): Add memcpy-ultra1.
12055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
12056 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
12058 2017-11-28 Joseph Myers <joseph@codesourcery.com>
12060 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
12061 (cfloat_versions): Take function argument without trailing 'f'.
12062 Call libm_alias_float_other.
12063 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
12064 * sysdeps/alpha/fpu/cargf.c: Likewise.
12065 * sysdeps/alpha/fpu/cimagf.c: Likewise.
12066 * sysdeps/alpha/fpu/conjf.c: Likewise.
12067 * sysdeps/alpha/fpu/crealf.c: Likewise.
12068 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
12069 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
12070 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
12071 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
12072 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
12073 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
12074 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
12075 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
12076 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
12077 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
12078 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
12079 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
12080 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
12081 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
12082 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
12083 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
12084 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
12085 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
12086 (clog10f): Use libm_alias_float_other.
12087 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
12088 (ceilf): Define using libm_alias_float.
12089 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
12090 (copysignf): Define using libm_alias_float.
12091 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
12092 (fabsf): Define using libm_alias_float.
12093 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
12094 (floorf): Define using libm_alias_float.
12095 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
12096 (fmaxf): Define using libm_alias_float.
12097 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
12098 (fminf): Define using libm_alias_float.
12099 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
12100 (lrintf): Define using libm_alias_float.
12101 (llrintf): Likewise.
12102 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
12103 (lroundf): Define using libm_alias_float.
12104 (llroundf): Likewise.
12105 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
12106 (rintf): Define using libm_alias_float.
12107 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
12108 (truncf): Define using libm_alias_float.
12110 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
12111 (ceilf): Define using libm_alias_float.
12112 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
12113 (floorf): Define using libm_alias_float.
12114 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
12115 (fmaf): Define using libm_alias_float.
12116 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
12117 (fmaxf): Define using libm_alias_float.
12118 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
12119 (fminf): Define using libm_alias_float.
12120 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
12121 (llrintf): Define using libm_alias_float.
12122 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
12123 (llroundf): Define using libm_alias_float.
12124 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
12125 (lrintf): Define using libm_alias_float.
12126 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
12127 (lroundf): Define using libm_alias_float.
12128 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
12129 <libm-alias-float.h>.
12130 (nearbyintf): Define using libm_alias_float.
12131 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
12132 (rintf): Define using libm_alias_float.
12133 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
12134 (roundf): Define using libm_alias_float.
12135 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
12136 (truncf): Define using libm_alias_float.
12138 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
12139 (ceil): Define using libm_alias_double.
12140 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
12141 (copysign): Define using libm_alias_double.
12142 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
12143 (fabs): Define using libm_alias_double.
12144 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
12145 (floor): Define using libm_alias_double.
12146 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
12147 (fmax): Define using libm_alias_double.
12148 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
12149 (fmin): Define using libm_alias_double.
12150 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
12151 (lrint): Define using libm_alias_double.
12152 (llrint): Likewise.
12153 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
12154 (lround): Define using libm_alias_double.
12155 (llround): Likewise.
12156 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
12157 (rint): Define using libm_alias_double.
12158 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
12159 (trunc): Define using libm_alias_double.
12161 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
12162 (libm_alias_double_r): Add semicolon after weak_alias call.
12164 2017-11-27 Joseph Myers <joseph@codesourcery.com>
12166 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
12167 (ceil): Define using libm_alias_double.
12168 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
12169 (floor): Define using libm_alias_double.
12170 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
12171 (fma): Define using libm_alias_double.
12172 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
12173 (fmax): Define using libm_alias_double.
12174 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
12175 (fmin): Define using libm_alias_double.
12176 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
12177 (llrint): Define using libm_alias_double.
12178 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
12179 (llround): Define using libm_alias_double.
12180 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
12181 (lrint): Define using libm_alias_double.
12182 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
12183 (lround): Define using libm_alias_double.
12184 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
12185 (nearbyint): Define using libm_alias_double.
12186 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
12187 (rint): Define using libm_alias_double.
12188 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
12189 (round): Define using libm_alias_double.
12190 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
12191 (trunc): Define using libm_alias_double.
12193 2017-11-27 Florian Weimer <fweimer@redhat.com>
12195 * sysdeps/unix/sysv/linux/mlock2.c: New file.
12196 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
12197 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
12198 (tests): Add tst-mlock2.
12199 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
12200 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
12201 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
12202 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
12203 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
12204 for mlock. Document mlock2.
12206 2017-11-27 Joseph Myers <joseph@codesourcery.com>
12208 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
12209 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
12211 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
12213 * sysdeps/x86/Makeconfig: New file.
12214 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
12215 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
12216 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
12217 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
12218 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
12219 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
12220 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
12222 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
12223 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
12224 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
12225 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
12226 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
12227 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
12228 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
12229 * manual/math.texi (Mathematics): Document support for _Float64x.
12230 * math/Versions (GLIBC_2.27): Add _Float64x functions.
12231 * stdlib/Versions (GLIBC_2.27): Likewise.
12232 * wcsmbs/Versions (GLIBC_2.27): Likewise.
12233 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
12234 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12235 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12236 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12237 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12238 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12239 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12240 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12241 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12242 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12243 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12248 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12249 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12250 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12251 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12252 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12253 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12254 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12255 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12256 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12257 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12258 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12259 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12260 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12261 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12263 2017-11-27 Andreas Schwab <schwab@suse.de>
12265 * elf/Makefile (dl-routines): Add dl-sort-maps.
12266 * elf/dl-sort-maps.c: New file.
12267 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
12268 (_dl_sort_maps): Declare.
12269 * elf/dl-fini.c (_dl_sort_fini): Remove.
12270 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
12271 * elf/dl-close.c (_dl_close_worker): Likewise.
12272 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
12274 * elf/dl-open.c (dl_open_worker): Likewise.
12276 2017-11-24 Joseph Myers <joseph@codesourcery.com>
12278 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
12279 using libm_alias_float128.
12280 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
12282 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
12284 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
12285 (setpayloadsigf128): Likewise.
12286 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
12288 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
12291 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
12292 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
12293 -mfloat128 to CFLAGS.
12295 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
12297 (CFLAGS-libm-test-support-float64x.c): New variable.
12298 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
12299 $(f128-loader-link) to gnulib-tests.
12301 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
12302 (libm_alias_float128_other_r): If
12303 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
12305 (libm_alias_float128_r): Add semicolon after weak_alias call.
12306 * sysdeps/generic/libm-alias-ldouble.h
12307 (libm_alias_ldouble_other_r_f128): New macro.
12308 (libm_alias_ldouble_other_r_f64x): Likewise.
12309 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
12310 and libm_alias_ldouble_other_r_f64x.
12311 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
12312 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
12313 (libm_alias_ldouble_other_r_f128): New macro.
12314 (libm_alias_ldouble_other_r_f64x): Likewise.
12315 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
12316 and libm_alias_ldouble_other_r_f64x.
12318 * stdlib/strfroml.c: Always include <stdlib.h>.
12319 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
12320 undefine as macro and define as weak alias.
12321 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
12322 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
12324 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
12325 Define and later undefine as macro and define as weak alias.
12327 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
12328 Define and later undefine as macro. Define as weak alias if
12330 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
12331 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
12332 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
12333 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
12334 Define and later undefine as macro. Define as weak alias if
12336 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
12337 Define and later undefine as macro. Define as weak alias if
12339 * sysdeps/ieee754/float128/strtof128_l.c
12340 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
12341 Define and later undefine as macro. Define as weak alias if
12343 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
12344 Define and later undefine as macro. Define as weak alias if
12346 * sysdeps/ieee754/ldbl-128/strtold_l.c
12347 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
12348 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
12349 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
12350 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
12351 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
12352 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
12353 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
12354 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
12355 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
12356 * sysdeps/ieee754/ldbl-96/strtold_l.c
12357 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
12358 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
12359 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
12360 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
12362 * math/test-float64x.h: New file.
12363 * math/Makefile (type-float64x-yes): New variable.
12364 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
12366 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
12367 function-like macro.
12368 (min_of_type_): Likewise.
12369 (min_of_type_l): Likewise.
12370 (min_of_type_f128): Likewise.
12371 (min_of_type): Pass () as last argument of __MATH_TG.
12373 * stdlib/tst-strtod-round-skeleton.c
12374 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
12377 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
12378 for combinations of long double with _Float64 and _Float64x.
12380 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
12381 (__DECL_SIMD_cosf32): Likewise.
12382 (__DECL_SIMD_cosf64): Likewise.
12383 (__DECL_SIMD_cosf32x): Likewise.
12384 (__DECL_SIMD_cosf64x): Likewise.
12385 (__DECL_SIMD_cosf128x): Likewise.
12386 (__DECL_SIMD_sinf16): Likewise.
12387 (__DECL_SIMD_sinf32): Likewise.
12388 (__DECL_SIMD_sinf64): Likewise.
12389 (__DECL_SIMD_sinf32x): Likewise.
12390 (__DECL_SIMD_sinf64x): Likewise.
12391 (__DECL_SIMD_sinf128x): Likewise.
12392 (__DECL_SIMD_sincosf16): Likewise.
12393 (__DECL_SIMD_sincosf32): Likewise.
12394 (__DECL_SIMD_sincosf64): Likewise.
12395 (__DECL_SIMD_sincosf32x): Likewise.
12396 (__DECL_SIMD_sincosf64x): Likewise.
12397 (__DECL_SIMD_sincosf128x): Likewise.
12398 (__DECL_SIMD_logf16): Likewise.
12399 (__DECL_SIMD_logf32): Likewise.
12400 (__DECL_SIMD_logf64): Likewise.
12401 (__DECL_SIMD_logf32x): Likewise.
12402 (__DECL_SIMD_logf64x): Likewise.
12403 (__DECL_SIMD_logf128x): Likewise.
12404 (__DECL_SIMD_expf16): Likewise.
12405 (__DECL_SIMD_expf32): Likewise.
12406 (__DECL_SIMD_expf64): Likewise.
12407 (__DECL_SIMD_expf32x): Likewise.
12408 (__DECL_SIMD_expf64x): Likewise.
12409 (__DECL_SIMD_expf128x): Likewise.
12410 (__DECL_SIMD_powf16): Likewise.
12411 (__DECL_SIMD_powf32): Likewise.
12412 (__DECL_SIMD_powf64): Likewise.
12413 (__DECL_SIMD_powf32x): Likewise.
12414 (__DECL_SIMD_powf64x): Likewise.
12415 (__DECL_SIMD_powf128x): Likewise.
12417 * stdlib/Versions (libc): Move entries for wcstof128 and
12418 wcstof128_l to ....
12419 * wcsmbs/Versions (libc): ... here.
12420 Include <float128-abi.h>.
12422 2017-11-24 Florian Weimer <fweimer@redhat.com>
12424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12425 bits/mman-shared.h.
12426 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
12427 <bits/mman-shared.h>.
12428 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
12430 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
12431 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
12432 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
12433 <bits/mman-shared.h>.
12435 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12438 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
12439 posix_memalign/free.
12440 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
12442 2017-11-22 Mike FABIAN <mfabian@redhat.com>
12445 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
12446 and implement the collation rules for pl from CLDR on top of that.
12447 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
12448 of locales to be built for testing.
12449 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
12451 2017-11-23 Joseph Myers <joseph@codesourcery.com>
12453 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
12454 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
12455 libm_alias_ldouble_other.
12456 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
12457 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
12458 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
12459 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
12460 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
12461 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
12462 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
12463 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
12464 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
12465 libm_alias_ldouble_r.
12466 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
12467 libm_alias_ldouble_other.
12468 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
12469 (log10l): Likewise.
12470 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
12471 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
12472 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
12473 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
12474 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
12475 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
12476 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
12477 (atan2l): Likewise.
12478 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
12479 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
12480 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
12481 libm_alias_ldouble.
12482 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
12484 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
12485 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
12486 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
12488 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
12489 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
12490 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
12491 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
12492 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
12493 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
12494 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
12495 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
12496 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
12497 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
12498 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
12499 libm_alias_ldouble.
12500 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
12501 libm_alias_ldouble_other.
12502 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
12503 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
12504 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
12505 libm_alias_ldouble.
12506 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
12507 libm_alias_ldouble_other.
12508 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
12509 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
12510 * sysdeps/ia64/fpu/w_lgammal_main.c
12511 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
12512 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
12514 2017-11-23 Florian Weimer <fweimer@redhat.com>
12516 * malloc/malloc.c (tcache_thread_shutdown): Rename from
12517 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
12518 alike. Remove freeres marker.
12519 * malloc/arena.c (arena_thread_freeres): Call
12520 tcache_thread_shutdown.
12522 2017-11-23 Florian Weimer <fweimer@redhat.com>
12525 Export nscd hash function as __nss_hash.
12526 * include/nss.h (__nss_hash): Declare.
12527 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
12529 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
12530 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
12532 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
12533 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
12534 * nss/Makefiles (routines): Add nss_hash.
12535 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
12536 * nss/nss_hash.c: Rename from nis/nis_hash.c.
12537 (__nss_hash): Rename from __nis_hash. Define hidden alias.
12538 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
12540 2017-11-23 Florian Weimer <fweimer@redhat.com>
12543 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
12544 Return error code, not -1.
12545 * signal/tst-sigwait-eintr.c: New file.
12546 * signal/Makefile (tests): Add tst-sigwait-eintr.
12548 2017-11-23 Florian Weimer <fweimer@redhat.com>
12550 Linux: Add memfd_create system call wrapper
12551 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
12553 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
12554 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
12555 [__USE_GNU] (memfd_create): Declare.
12556 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
12557 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
12558 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
12559 * sysdeps/unix/sysv/linux/**.abilist: Update.
12560 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
12562 2017-11-22 Joseph Myers <joseph@codesourcery.com>
12564 * localedata/gen-locale.sh: Fix typo in variable name.
12566 * resolv/res_debug.c (p_secstodate): Condition definition on
12567 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
12568 directly as __p_secstodate, and as a compat symbol. Do not use
12569 libresolv_hidden_def.
12570 * resolv/resolv.h (p_secstodate): Remove macro and function
12572 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
12573 using p_secstodate.
12574 * include/resolv.h (__p_secstodate): Do not use
12575 libresolv_hidden_proto.
12576 * resolv/Makefile (tests): Move tst-p_secstodate to ....
12577 (tests-internal): ... here.
12578 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
12579 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
12580 and declare and use __p_secstodate and use compat_symbol_reference
12582 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
12583 implementation returning 77.
12586 * resolv/res_debug.c: Include <libc-diag.h>.
12587 (p_secstodate): Assert time_t at least as wide as u_long. On
12588 overflow, use integer seconds since the epoch as output, or use
12589 "<overflow>" as output and set errno to EOVERFLOW if integer
12590 seconds since the epoch would be 14 or more characters.
12591 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
12593 * resolv/tst-p_secstodate.c: New file.
12594 * resolv/Makefile (tests): Add tst-p_secstodate.
12595 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
12597 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
12598 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12599 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
12601 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
12603 * posix/regcomp.c (init_word_char): Add comments.
12605 2017-11-22 Joseph Myers <joseph@codesourcery.com>
12608 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
12609 strlen to compute length of ut_user and set trailing NUL byte of
12612 2017-11-21 Mike FABIAN <mfabian@redhat.com>
12615 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
12616 using “copy "iso14651_t1"” and then implementing the
12617 collation rules for lv from CLDR on top of that.
12618 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
12619 of locales to be built for testing.
12620 * lv_LV.UTF-8.in: New file with test data to test the Latvian
12623 2017-11-21 Joseph Myers <joseph@codesourcery.com>
12625 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
12626 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
12627 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
12628 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
12629 [__USE_MISC] (MADV_HWPOISON): New macro.
12630 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
12632 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12634 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
12635 -Wmissing-braces on GCC 4.9.
12637 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
12639 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
12640 * sysdeps/s390/s390-32/start.S (_start): Likewise
12641 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
12642 (thread_start): Likewise.
12643 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
12644 (thread_start): Likewise.
12645 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
12646 (__makecontext_ret): Likewise.
12647 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
12648 (__makecontext_ret): Likewise.
12650 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
12652 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
12653 __wcschrnul): Remove attribute_hidden.
12655 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
12657 regex: don't assume uint64_t or uint32_t
12658 This avoids -Werror=overflow errors for 32-bit systems in
12659 the 64-bit case. Problem reported by Joseph Myers in:
12660 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
12661 Also, when this code is used in Gnulib it ports to platforms
12662 that lack uint64_t and uint32_t. The C standard doesn't guarantee
12663 them, and on some 32-bit compilers there is no uint64_t.
12664 Problem reported by Gianluigi Tiesi in:
12665 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
12666 * posix/regcomp.c (init_word_char): Don't assume that the types
12667 uint64_t and uint32_t exist. Adapted from Gnulib patch
12668 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
12669 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
12671 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
12673 * sysdeps/aarch64/memset-reg.h: New file.
12674 * sysdeps/aarch64/memset.S: Use it.
12675 (__memset): Rename to MEMSET macro.
12676 [ZVA_MACRO]: Use zva_macro.
12677 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
12678 Add memset_generic and memset_falkor.
12679 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
12680 (__libc_ifunc_impl_list): Add memset ifuncs.
12681 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
12682 local variable zva_size.
12683 * sysdeps/aarch64/multiarch/memset.c: New file.
12684 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
12685 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
12686 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
12687 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
12688 (DCZID_DZP_MASK): New macro.
12689 (DCZID_BS_MASK): Likewise.
12690 (init_cpu_features): Read and set zva_size.
12691 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
12692 (struct cpu_features): New member zva_size.
12694 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
12695 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
12696 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
12698 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
12699 backwards. Fix timing computation.
12700 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
12701 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
12702 on memset by N at a time. Fix timing computation.
12704 2017-11-20 Florian Weimer <fweimer@redhat.com>
12706 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
12707 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
12709 2017-11-19 Florian Weimer <fweimer@redhat.com>
12711 manual: Document mprotect
12712 * manual/memory.texi (Memory Protection): New section.
12713 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
12714 documentation of PROT_* flags and reference the Memory Protection
12717 2017-11-19 Florian Weimer <fweimer@redhat.com>
12719 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
12720 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
12721 (Scatter-Gather): ... to here. Remove misleading comment.
12723 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
12725 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
12728 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
12729 when /proc/<pid>/setgroups does not exist.
12731 2017-11-18 Florian Weimer <fweimer@redhat.com>
12733 * sysdeps/unix/sysv/linux/tst-ttyname.c
12734 (become_root_in_mount_ns): Remove.
12735 (do_in_chroot_1): Call support_enter_mount_namespace.
12736 (do_in_chroot_2): Likewise.
12737 (do_test): Call support_become_root early.
12739 2017-11-18 Florian Weimer <fweimer@redhat.com>
12741 * support/namespace.h (support_enter_mount_namespace): Declare.
12742 * support/support_enter_mount_namespace.c: New file.
12743 * support/Makefile (libsupport-routines): Add
12744 support_enter_mount_namespace.
12746 2017-11-18 Florian Weimer <fweimer@redhat.com>
12748 * support/temp_file.c (support_create_temp_directory): Use
12749 test_dir and do not rely on the presence of the XXXXXX suffix.
12750 * support/temp_file.h (support_create_temp_directory): Update
12752 * support/tst-xreadlink.c (do_test): Adjust.
12753 * support/support_chroot.c (support_chroot_create): Likewise.
12755 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12757 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
12759 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
12762 2017-11-17 Joseph Myers <joseph@codesourcery.com>
12764 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
12765 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
12766 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
12767 (ceill): Define using libm_alias_ldouble.
12768 * sysdeps/x86_64/fpu/s_copysignl.S: Include
12769 <libm-alias-ldouble.h>.
12770 (copysignl): Define using libm_alias_ldouble.
12771 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
12772 (fabsl): Define using libm_alias_ldouble.
12773 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
12774 (floorl): Define using libm_alias_ldouble.
12775 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
12776 (fmaxl): Define using libm_alias_ldouble.
12777 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
12778 (fminl): Define using libm_alias_ldouble.
12779 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
12780 (llrintl): Define using libm_alias_ldouble.
12781 (lrintl): Likewise.
12782 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
12783 <libm-alias-ldouble.h>.
12784 (nearbyintl): Define using libm_alias_ldouble.
12785 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
12786 (truncl): Define using libm_alias_ldouble.
12787 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
12788 <libm-alias-ldouble.h>.
12789 (lrintl): Define using libm_alias_ldouble.
12791 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
12792 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
12793 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
12794 (asinhl): Define using libm_alias_ldouble.
12795 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
12796 (atanl): Define using libm_alias_ldouble.
12797 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
12798 (cbrtl): Define using libm_alias_ldouble.
12799 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
12800 (ceill): Define using libm_alias_ldouble.
12801 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
12802 (copysignl): Define using libm_alias_ldouble.
12803 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
12804 (fabsl): Define using libm_alias_ldouble.
12805 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
12806 (floorl): Define using libm_alias_ldouble.
12807 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
12808 (fmaxl): Define using libm_alias_ldouble.
12809 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
12810 (fminl): Define using libm_alias_ldouble.
12811 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
12812 (frexpl): Define using libm_alias_ldouble.
12813 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
12814 (llrintl): Define using libm_alias_ldouble.
12815 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
12816 (logbl): Define using libm_alias_ldouble.
12817 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
12818 (lrintl): Define using libm_alias_ldouble.
12819 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
12820 (nearbyintl): Define using libm_alias_ldouble.
12821 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
12822 (nextafterl): Define using libm_alias_ldouble.
12823 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
12824 (remquol): Define using libm_alias_ldouble.
12825 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
12826 (rintl): Define using libm_alias_ldouble.
12827 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
12828 (truncl): Define using libm_alias_ldouble.
12829 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
12830 (fmaxl): Define using libm_alias_ldouble.
12831 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
12832 (fminl): Define using libm_alias_ldouble.
12834 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
12835 to C syntax instead of availability and properties of types.
12836 * bits/floatn.h [!__ASSEMBLER]: Likewise.
12837 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
12838 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
12839 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
12840 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
12841 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
12843 2017-11-17 Florian Weimer <fweimer@redhat.com>
12845 support_become_root: Enable file creation in namespaces.
12846 * support/support_become_root.c (setup_mapping): New function.
12847 (support_become_root): Call it.
12849 2017-11-17 Joseph Myers <joseph@codesourcery.com>
12851 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
12854 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12856 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
12857 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
12859 2017-11-16 Joseph Myers <joseph@codesourcery.com>
12861 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
12863 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12866 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
12868 * INSTALL: Fix botched up regeneration.
12870 * NEWS: Update sourceare link to https.
12871 * configure.ac: Likewise.
12872 * crypt/md5test-giant.c: Likewise.
12873 * dlfcn/bug-atexit1.c: Likewise.
12874 * dlfcn/bug-atexit2.c: Likewise.
12875 * localedata/README: Likewise.
12876 * malloc/tst-mallocfork.c: Likewise.
12877 * manual/install.texi: Likewise.
12878 * nptl/tst-pthread-getattr.c: Likewise.
12879 * stdio-common/tst-fgets.c: Likewise.
12880 * stdio-common/tst-fwrite.c: Likewise.
12881 * sunrpc/Makefile: Likewise.
12882 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
12883 * wcsmbs/tst-mbrtowc2.c: Likewise.
12884 * configure: Regenerate.
12885 * INSTALL: Regenerate.
12887 2017-11-15 Martin Sebor <msebor@redhat.com>
12889 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
12890 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
12891 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
12893 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
12896 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
12897 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
12900 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
12901 Defer is_pty check until end of the function.
12902 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12905 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
12906 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
12907 (ttyname): Likewise.
12908 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
12909 (__ttyname_r): Likewise.
12911 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
12914 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
12916 * manual/terminal.texi (Is It a Terminal):
12917 Mention ENODEV for ttyname and ttyname_r.
12919 2017-11-15 Joseph Myers <joseph@codesourcery.com>
12921 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
12922 constant and macro.
12924 * sysdeps/unix/sysv/linux/bits/mman-linux.h
12925 [__USE_MISC] (MADV_WIPEONFORK): New macro.
12926 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
12927 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
12928 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
12929 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
12931 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12933 * signal/sigrelse.c (sigrelse): Optimize implementation.
12935 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
12936 (__sigpause): Rely on __sigsuspend to implement single thread
12937 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
12939 2017-11-15 Joseph Myers <joseph@codesourcery.com>
12941 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12942 kernel version to 4.14.
12944 2017-11-15 Steve Ellcey <sellcey@cavium.com>
12947 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
12948 Check if ifname is too long.
12950 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
12952 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
12954 2017-11-15 Mike FABIAN <mfabian@redhat.com>
12956 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
12957 was accidentally lost.
12959 2017-11-15 Mike FABIAN <mfabian@redhat.com>
12961 * localedata/locales/az_IR: Add standard copyright header.
12963 2017-11-15 Florian Weimer <fweimer@redhat.com>
12966 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
12967 not just the top one. Output a new "subheaps" statistic.
12969 2017-11-15 Florian Weimer <fweimer@redhat.com>
12972 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
12973 under the per-arena lock.
12974 * malloc/Makefile (tests): Add tst-malloc_info.
12975 (tst-malloc_info): Link with libpthread.
12976 * malloc/tst-malloc_info.c: New file.
12978 2017-11-15 Joseph Myers <joseph@codesourcery.com>
12981 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
12982 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
12983 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
12984 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
12985 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
12986 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
12987 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
12988 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
12989 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
12990 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
12991 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
12992 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
12993 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
12994 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
12995 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
12996 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
12997 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
12998 (__floating_type): Likewise.
12999 (__real_integer_type): Likewise.
13000 (__complex_integer_type): Likewise.
13001 (__expr_is_real): Likewise.
13002 (__tgmath_real_type_sub): Likewise.
13003 (__tgmath_real_type): Likewise.
13004 (__tgmath_complex_type_sub): Likewise.
13005 (__tgmath_complex_type): Likewise.
13006 (__TGMATH_F128): Likewise.
13007 (__TGMATH_CF128): Likewise.
13008 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
13010 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
13011 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
13013 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
13015 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
13016 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
13017 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
13018 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
13020 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
13021 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
13023 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
13024 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
13025 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
13027 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
13028 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
13029 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
13033 2017-11-14 Joseph Myers <joseph@codesourcery.com>
13035 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
13036 for stpncpy calls for GCC 8.
13037 (test_strncat): Disable -Wstringop-truncation warning for strncat
13038 calls for GCC 8. Disable -Wstringop-overflow= warning for one
13039 strncat call for GCC 7.
13040 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
13042 (test_memcmp): Use memcpy instead of strncpy for calls not copying
13045 * string/bug-strncat1.c: Include <libc-diag.h>.
13046 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
13048 2017-11-13 Claude Paroz <claude@2xlibre.net>
13051 * localedata/locales/aa_DJ: Improved readibility by replacing
13052 <Uxxxx> sequences in the ASCII printable range by their ASCII
13053 character equivalents.
13054 * localedata/locales/aa_ER: Likewise.
13055 * localedata/locales/aa_ER@saaho: Likewise.
13056 * localedata/locales/aa_ET: Likewise.
13057 * localedata/locales/af_ZA: Likewise.
13058 * localedata/locales/agr_PE: Likewise.
13059 * localedata/locales/ak_GH: Likewise.
13060 * localedata/locales/am_ET: Likewise.
13061 * localedata/locales/anp_IN: Likewise.
13062 * localedata/locales/ar_AE: Likewise.
13063 * localedata/locales/ar_BH: Likewise.
13064 * localedata/locales/ar_DZ: Likewise.
13065 * localedata/locales/ar_EG: Likewise.
13066 * localedata/locales/ar_IN: Likewise.
13067 * localedata/locales/ar_IQ: Likewise.
13068 * localedata/locales/ar_JO: Likewise.
13069 * localedata/locales/ar_KW: Likewise.
13070 * localedata/locales/ar_LB: Likewise.
13071 * localedata/locales/ar_LY: Likewise.
13072 * localedata/locales/ar_MA: Likewise.
13073 * localedata/locales/ar_OM: Likewise.
13074 * localedata/locales/ar_QA: Likewise.
13075 * localedata/locales/ar_SA: Likewise.
13076 * localedata/locales/ar_SD: Likewise.
13077 * localedata/locales/ar_SS: Likewise.
13078 * localedata/locales/ar_SY: Likewise.
13079 * localedata/locales/ar_TN: Likewise.
13080 * localedata/locales/ar_YE: Likewise.
13081 * localedata/locales/as_IN: Likewise.
13082 * localedata/locales/ast_ES: Likewise.
13083 * localedata/locales/ayc_PE: Likewise.
13084 * localedata/locales/az_AZ: Likewise.
13085 * localedata/locales/az_IR: Likewise.
13086 * localedata/locales/be_BY: Likewise.
13087 * localedata/locales/be_BY@latin: Likewise.
13088 * localedata/locales/bem_ZM: Likewise.
13089 * localedata/locales/ber_DZ: Likewise.
13090 * localedata/locales/ber_MA: Likewise.
13091 * localedata/locales/bg_BG: Likewise.
13092 * localedata/locales/bhb_IN: Likewise.
13093 * localedata/locales/bho_IN: Likewise.
13094 * localedata/locales/bi_VU: Likewise.
13095 * localedata/locales/bn_BD: Likewise.
13096 * localedata/locales/bn_IN: Likewise.
13097 * localedata/locales/bo_CN: Likewise.
13098 * localedata/locales/bo_IN: Likewise.
13099 * localedata/locales/br_FR: Likewise.
13100 * localedata/locales/brx_IN: Likewise.
13101 * localedata/locales/bs_BA: Likewise.
13102 * localedata/locales/byn_ER: Likewise.
13103 * localedata/locales/ca_AD: Likewise.
13104 * localedata/locales/ca_ES: Likewise.
13105 * localedata/locales/ca_FR: Likewise.
13106 * localedata/locales/ca_IT: Likewise.
13107 * localedata/locales/ce_RU: Likewise.
13108 * localedata/locales/chr_US: Likewise.
13109 * localedata/locales/cmn_TW: Likewise.
13110 * localedata/locales/crh_UA: Likewise.
13111 * localedata/locales/cs_CZ: Likewise.
13112 * localedata/locales/csb_PL: Likewise.
13113 * localedata/locales/cv_RU: Likewise.
13114 * localedata/locales/cy_GB: Likewise.
13115 * localedata/locales/da_DK: Likewise.
13116 * localedata/locales/de_AT: Likewise.
13117 * localedata/locales/de_BE: Likewise.
13118 * localedata/locales/de_CH: Likewise.
13119 * localedata/locales/de_DE: Likewise.
13120 * localedata/locales/de_IT: Likewise.
13121 * localedata/locales/de_LI: Likewise.
13122 * localedata/locales/de_LU: Likewise.
13123 * localedata/locales/doi_IN: Likewise.
13124 * localedata/locales/dv_MV: Likewise.
13125 * localedata/locales/dz_BT: Likewise.
13126 * localedata/locales/el_CY: Likewise.
13127 * localedata/locales/el_GR: Likewise.
13128 * localedata/locales/en_AG: Likewise.
13129 * localedata/locales/en_AU: Likewise.
13130 * localedata/locales/en_BW: Likewise.
13131 * localedata/locales/en_CA: Likewise.
13132 * localedata/locales/en_DK: Likewise.
13133 * localedata/locales/en_GB: Likewise.
13134 * localedata/locales/en_HK: Likewise.
13135 * localedata/locales/en_IE: Likewise.
13136 * localedata/locales/en_IL: Likewise.
13137 * localedata/locales/en_IN: Likewise.
13138 * localedata/locales/en_NG: Likewise.
13139 * localedata/locales/en_NZ: Likewise.
13140 * localedata/locales/en_PH: Likewise.
13141 * localedata/locales/en_SG: Likewise.
13142 * localedata/locales/en_US: Likewise.
13143 * localedata/locales/en_ZA: Likewise.
13144 * localedata/locales/en_ZM: Likewise.
13145 * localedata/locales/en_ZW: Likewise.
13146 * localedata/locales/eo: Likewise.
13147 * localedata/locales/es_AR: Likewise.
13148 * localedata/locales/es_BO: Likewise.
13149 * localedata/locales/es_CL: Likewise.
13150 * localedata/locales/es_CO: Likewise.
13151 * localedata/locales/es_CR: Likewise.
13152 * localedata/locales/es_CU: Likewise.
13153 * localedata/locales/es_DO: Likewise.
13154 * localedata/locales/es_EC: Likewise.
13155 * localedata/locales/es_ES: Likewise.
13156 * localedata/locales/es_GT: Likewise.
13157 * localedata/locales/es_HN: Likewise.
13158 * localedata/locales/es_MX: Likewise.
13159 * localedata/locales/es_NI: Likewise.
13160 * localedata/locales/es_PA: Likewise.
13161 * localedata/locales/es_PE: Likewise.
13162 * localedata/locales/es_PR: Likewise.
13163 * localedata/locales/es_PY: Likewise.
13164 * localedata/locales/es_SV: Likewise.
13165 * localedata/locales/es_US: Likewise.
13166 * localedata/locales/es_UY: Likewise.
13167 * localedata/locales/es_VE: Likewise.
13168 * localedata/locales/et_EE: Likewise.
13169 * localedata/locales/eu_ES: Likewise.
13170 * localedata/locales/eu_ES@euro: Likewise.
13171 * localedata/locales/fa_IR: Likewise.
13172 * localedata/locales/ff_SN: Likewise.
13173 * localedata/locales/fi_FI: Likewise.
13174 * localedata/locales/fil_PH: Likewise.
13175 * localedata/locales/fo_FO: Likewise.
13176 * localedata/locales/fr_BE: Likewise.
13177 * localedata/locales/fr_CA: Likewise.
13178 * localedata/locales/fr_CH: Likewise.
13179 * localedata/locales/fr_FR: Likewise.
13180 * localedata/locales/fr_LU: Likewise.
13181 * localedata/locales/fur_IT: Likewise.
13182 * localedata/locales/fy_DE: Likewise.
13183 * localedata/locales/fy_NL: Likewise.
13184 * localedata/locales/ga_IE: Likewise.
13185 * localedata/locales/gd_GB: Likewise.
13186 * localedata/locales/gez_ER: Likewise.
13187 * localedata/locales/gez_ET: Likewise.
13188 * localedata/locales/gl_ES: Likewise.
13189 * localedata/locales/gu_IN: Likewise.
13190 * localedata/locales/gv_GB: Likewise.
13191 * localedata/locales/ha_NG: Likewise.
13192 * localedata/locales/hak_TW: Likewise.
13193 * localedata/locales/he_IL: Likewise.
13194 * localedata/locales/hi_IN: Likewise.
13195 * localedata/locales/hif_FJ: Likewise.
13196 * localedata/locales/hne_IN: Likewise.
13197 * localedata/locales/hr_HR: Likewise.
13198 * localedata/locales/hsb_DE: Likewise.
13199 * localedata/locales/ht_HT: Likewise.
13200 * localedata/locales/hu_HU: Likewise.
13201 * localedata/locales/hy_AM: Likewise.
13202 * localedata/locales/i18n: Likewise.
13203 * localedata/locales/ia_FR: Likewise.
13204 * localedata/locales/id_ID: Likewise.
13205 * localedata/locales/ig_NG: Likewise.
13206 * localedata/locales/ik_CA: Likewise.
13207 * localedata/locales/is_IS: Likewise.
13208 * localedata/locales/it_CH: Likewise.
13209 * localedata/locales/it_IT: Likewise.
13210 * localedata/locales/iu_CA: Likewise.
13211 * localedata/locales/ja_JP: Likewise.
13212 * localedata/locales/ka_GE: Likewise.
13213 * localedata/locales/kk_KZ: Likewise.
13214 * localedata/locales/kl_GL: Likewise.
13215 * localedata/locales/kn_IN: Likewise.
13216 * localedata/locales/ko_KR: Likewise.
13217 * localedata/locales/kok_IN: Likewise.
13218 * localedata/locales/ks_IN: Likewise.
13219 * localedata/locales/ks_IN@devanagari: Likewise.
13220 * localedata/locales/ku_TR: Likewise.
13221 * localedata/locales/kw_GB: Likewise.
13222 * localedata/locales/ky_KG: Likewise.
13223 * localedata/locales/lb_LU: Likewise.
13224 * localedata/locales/lg_UG: Likewise.
13225 * localedata/locales/li_BE: Likewise.
13226 * localedata/locales/li_NL: Likewise.
13227 * localedata/locales/lij_IT: Likewise.
13228 * localedata/locales/ln_CD: Likewise.
13229 * localedata/locales/lo_LA: Likewise.
13230 * localedata/locales/lt_LT: Likewise.
13231 * localedata/locales/lv_LV: Likewise.
13232 * localedata/locales/lzh_TW: Likewise.
13233 * localedata/locales/mag_IN: Likewise.
13234 * localedata/locales/mai_IN: Likewise.
13235 * localedata/locales/mg_MG: Likewise.
13236 * localedata/locales/mhr_RU: Likewise.
13237 * localedata/locales/mi_NZ: Likewise.
13238 * localedata/locales/mk_MK: Likewise.
13239 * localedata/locales/ml_IN: Likewise.
13240 * localedata/locales/mn_MN: Likewise.
13241 * localedata/locales/mni_IN: Likewise.
13242 * localedata/locales/mr_IN: Likewise.
13243 * localedata/locales/ms_MY: Likewise.
13244 * localedata/locales/mt_MT: Likewise.
13245 * localedata/locales/my_MM: Likewise.
13246 * localedata/locales/nan_TW: Likewise.
13247 * localedata/locales/nan_TW@latin: Likewise.
13248 * localedata/locales/nb_NO: Likewise.
13249 * localedata/locales/nds_DE: Likewise.
13250 * localedata/locales/nds_NL: Likewise.
13251 * localedata/locales/ne_NP: Likewise.
13252 * localedata/locales/nhn_MX: Likewise.
13253 * localedata/locales/niu_NU: Likewise.
13254 * localedata/locales/niu_NZ: Likewise.
13255 * localedata/locales/nl_AW: Likewise.
13256 * localedata/locales/nl_BE: Likewise.
13257 * localedata/locales/nl_NL: Likewise.
13258 * localedata/locales/nn_NO: Likewise.
13259 * localedata/locales/nr_ZA: Likewise.
13260 * localedata/locales/nso_ZA: Likewise.
13261 * localedata/locales/oc_FR: Likewise.
13262 * localedata/locales/om_ET: Likewise.
13263 * localedata/locales/om_KE: Likewise.
13264 * localedata/locales/or_IN: Likewise.
13265 * localedata/locales/os_RU: Likewise.
13266 * localedata/locales/pa_IN: Likewise.
13267 * localedata/locales/pa_PK: Likewise.
13268 * localedata/locales/pap_AW: Likewise.
13269 * localedata/locales/pap_CW: Likewise.
13270 * localedata/locales/pl_PL: Likewise.
13271 * localedata/locales/ps_AF: Likewise.
13272 * localedata/locales/pt_BR: Likewise.
13273 * localedata/locales/pt_PT: Likewise.
13274 * localedata/locales/quz_PE: Likewise.
13275 * localedata/locales/raj_IN: Likewise.
13276 * localedata/locales/ro_RO: Likewise.
13277 * localedata/locales/ru_RU: Likewise.
13278 * localedata/locales/ru_UA: Likewise.
13279 * localedata/locales/rw_RW: Likewise.
13280 * localedata/locales/sa_IN: Likewise.
13281 * localedata/locales/sat_IN: Likewise.
13282 * localedata/locales/sc_IT: Likewise.
13283 * localedata/locales/sd_IN: Likewise.
13284 * localedata/locales/sd_IN@devanagari: Likewise.
13285 * localedata/locales/se_NO: Likewise.
13286 * localedata/locales/sgs_LT: Likewise.
13287 * localedata/locales/shs_CA: Likewise.
13288 * localedata/locales/si_LK: Likewise.
13289 * localedata/locales/sid_ET: Likewise.
13290 * localedata/locales/sk_SK: Likewise.
13291 * localedata/locales/sl_SI: Likewise.
13292 * localedata/locales/sm_WS: Likewise.
13293 * localedata/locales/so_DJ: Likewise.
13294 * localedata/locales/so_ET: Likewise.
13295 * localedata/locales/so_KE: Likewise.
13296 * localedata/locales/so_SO: Likewise.
13297 * localedata/locales/sq_AL: Likewise.
13298 * localedata/locales/sq_MK: Likewise.
13299 * localedata/locales/sr_ME: Likewise.
13300 * localedata/locales/sr_RS: Likewise.
13301 * localedata/locales/sr_RS@latin: Likewise.
13302 * localedata/locales/ss_ZA: Likewise.
13303 * localedata/locales/st_ZA: Likewise.
13304 * localedata/locales/sv_FI: Likewise.
13305 * localedata/locales/sv_SE: Likewise.
13306 * localedata/locales/sw_KE: Likewise.
13307 * localedata/locales/sw_TZ: Likewise.
13308 * localedata/locales/szl_PL: Likewise.
13309 * localedata/locales/ta_IN: Likewise.
13310 * localedata/locales/ta_LK: Likewise.
13311 * localedata/locales/tcy_IN: Likewise.
13312 * localedata/locales/te_IN: Likewise.
13313 * localedata/locales/tg_TJ: Likewise.
13314 * localedata/locales/th_TH: Likewise.
13315 * localedata/locales/the_NP: Likewise.
13316 * localedata/locales/ti_ER: Likewise.
13317 * localedata/locales/ti_ET: Likewise.
13318 * localedata/locales/tig_ER: Likewise.
13319 * localedata/locales/tk_TM: Likewise.
13320 * localedata/locales/tl_PH: Likewise.
13321 * localedata/locales/tn_ZA: Likewise.
13322 * localedata/locales/to_TO: Likewise.
13323 * localedata/locales/tpi_PG: Likewise.
13324 * localedata/locales/tr_CY: Likewise.
13325 * localedata/locales/tr_TR: Likewise.
13326 * localedata/locales/ts_ZA: Likewise.
13327 * localedata/locales/tt_RU: Likewise.
13328 * localedata/locales/tt_RU@iqtelif: Likewise.
13329 * localedata/locales/ug_CN: Likewise.
13330 * localedata/locales/uk_UA: Likewise.
13331 * localedata/locales/unm_US: Likewise.
13332 * localedata/locales/ur_IN: Likewise.
13333 * localedata/locales/ur_PK: Likewise.
13334 * localedata/locales/uz_UZ: Likewise.
13335 * localedata/locales/uz_UZ@cyrillic: Likewise.
13336 * localedata/locales/ve_ZA: Likewise.
13337 * localedata/locales/vi_VN: Likewise.
13338 * localedata/locales/wa_BE: Likewise.
13339 * localedata/locales/wae_CH: Likewise.
13340 * localedata/locales/wal_ET: Likewise.
13341 * localedata/locales/wo_SN: Likewise.
13342 * localedata/locales/xh_ZA: Likewise.
13343 * localedata/locales/yi_US: Likewise.
13344 * localedata/locales/yo_NG: Likewise.
13345 * localedata/locales/yue_HK: Likewise.
13346 * localedata/locales/yuw_PG: Likewise.
13347 * localedata/locales/zh_CN: Likewise.
13348 * localedata/locales/zh_HK: Likewise.
13349 * localedata/locales/zh_SG: Likewise.
13350 * localedata/locales/zh_TW: Likewise.
13351 * localedata/locales/zu_ZA: Likewise.
13353 2017-11-13 Florian Weimer <fweimer@redhat.com>
13355 * support/next_to_fault.h, support/next_to_fault.c: New files.
13356 * support/Makefile (libsupport-routines): Add next_to_fault.
13357 * resolv/tst-inet_pton.c (struct next_to_fault)
13358 (next_to_fault_allocate, next_to_fault_free): Remove.
13359 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
13361 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
13363 * elf/dl-support.c: Include <dl-procruntime.c>.
13364 * include/link.h: Include <link_map.h>.
13365 * sysdeps/generic/dl-procruntime.c: New file.
13366 * sysdeps/generic/link_map.h: Likewise.
13367 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
13368 the writable ld.so namespace.
13370 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
13372 timezone: pacify GCC -Wstringop-truncation
13373 Problem reported by Martin Sebor in:
13374 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
13375 * timezone/zic.c (writezone): Use memcpy, not strncpy.
13377 2017-11-12 Florian Weimer <fweimer@redhat.com>
13379 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
13381 (tests): Add tst-xreadlink.
13382 * support/support.h (xstrndup): Declare.
13383 * support/xunistd.h (xunlink, xreadlink): Declare.
13384 * support/temp_file.h (support_create_temp_directory): Declare.
13385 * support/temp_file.c (support_create_temp_directory): New function.
13386 * support/support_chroot.c (support_chroot_create): Use it.
13387 * support/xreadlink.c: New file.
13388 * support/xstrndup.c: Likewise.
13389 * support/xunlink.c: Likewise.
13390 * support/tst-xreadlink.c: Likewise.
13392 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
13394 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
13396 2017-11-11 Florian Weimer <fweimer@redhat.com>
13400 * resolv/res_comp.c (printable_string, binary_hnok)
13401 (binary_leading_dash): New functions.
13402 (res_hnok): Reimplement using these functions and ns_name_pton.
13403 (res_ownok): Likewise.
13404 (res_mailok): Reimplement using printable_string, ns_name_pton and
13406 (res_dnok): Reimplement using printable_string and ns_name_pton.
13407 * resolv/tst-res_hnok.c (tests): Add additional tests.
13408 (LETTERDIGITS, PRINTABLE): Define.
13409 (do_test): Adjust one_char results.
13411 2017-11-11 Florian Weimer <fweimer@redhat.com>
13414 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
13415 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
13417 2017-11-11 Florian Weimer <fweimer@redhat.com>
13419 * resolv/tst-ns_name_pton.c: New file.
13420 * resolv/Makefile (tests): Add tst-ns_name_pton.
13421 (tst-ns_name_pton): Link against libresolv.
13423 2017-11-11 Florian Weimer <fweimer@redhat.com>
13425 * resolv/tst-res_hnok.c: New file.
13426 * resolv/Makefile (tests): Add tst-res_hnok.
13427 (tst-res_hnok): Link against libresolv.
13429 2017-11-11 Florian Weimer <fweimer@redhat.com>
13431 * resolv/tst-resolv-network.c: Use test framework instead explicit
13434 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
13436 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
13437 <jmp_buf-macros.h>.
13438 [!_ISOMAC] (STR_HELPER): New.
13439 [!_ISOMAC] (STR): Likewise.
13440 [!_ISOMAC] (TEST_SIZE): Likewise.
13441 [!_ISOMAC] (TEST_ALIGN): Likewise.
13442 [!_ISOMAC] (TEST_OFFSET): Likewise.
13443 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
13444 field offsets of jmp_buf as well as sigjmp_buf.
13445 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
13446 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
13447 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
13448 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
13449 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
13450 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
13451 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
13452 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
13453 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
13454 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
13456 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
13458 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
13459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
13461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
13463 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
13464 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
13465 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
13466 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
13467 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
13468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
13470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
13472 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
13473 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
13474 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
13476 2017-11-07 Joseph Myers <joseph@codesourcery.com>
13479 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13480 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
13481 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13482 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
13483 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13484 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
13485 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13486 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
13487 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13488 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
13489 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13490 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
13491 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13492 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
13493 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13494 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
13495 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13496 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
13497 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13498 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
13499 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13500 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
13501 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13502 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
13503 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13504 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
13505 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13506 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
13507 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13508 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
13509 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13510 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
13511 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13512 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
13513 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13514 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
13515 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13516 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
13517 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13518 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
13519 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13520 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
13521 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13522 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
13523 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13524 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
13525 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13526 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
13527 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13528 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
13529 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13530 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
13531 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13532 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
13533 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13534 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
13535 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13536 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
13537 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13538 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
13539 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13540 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
13541 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13542 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
13543 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13544 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
13545 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13546 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
13547 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13548 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
13549 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13550 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
13551 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13552 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
13553 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13554 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
13555 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13556 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
13557 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13558 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
13559 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13560 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
13561 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13562 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
13563 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13564 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
13565 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
13566 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
13568 * stdlib/tst-strtod.h (F16): New macro.
13574 (IF_FLOAT16): Likewise.
13575 (IF_FLOAT32): Likewise.
13576 (IF_FLOAT64): Likewise.
13577 (IF_FLOAT32X): Likewise.
13578 (IF_FLOAT64X): Likewise.
13579 (IF_FLOAT128X): Likewise.
13580 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
13581 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
13582 (STRTOD_TEST_FOREACH): Likewise.
13583 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
13584 (CHOOSE_f64): Likewise.
13585 (CHOOSE_f32x): Likewise.
13586 (CHOOSE_f64x): Likewise.
13588 2017-11-07 Andreas Schwab <schwab@suse.de>
13590 * nptl/Makefile (tests-internal): Remove tst-typesizes.
13592 2017-11-07 Mike FABIAN <mfabian@redhat.com>
13595 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
13597 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
13600 2017-11-07 Claude Paroz <claude@2xlibre.net>
13603 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
13605 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
13607 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
13610 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13613 * nptl/allocatestack.c (allocate_stack): Check if
13614 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
13615 __PTHREAD_MUTEX_HAVE_PREV is defined.
13616 * nptl/descr.h (pthread): Likewise.
13617 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13619 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
13620 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13621 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
13622 * sysdeps/nptl/bits/thread-shared-types.h
13623 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
13625 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
13626 of __WORDSIZE for internal layout.
13627 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
13628 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
13629 instead of __WORDSIZE whether to use an union for __spins and __list
13631 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
13633 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
13634 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
13636 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
13637 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
13639 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
13640 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
13642 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
13643 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
13645 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
13646 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
13648 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
13649 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
13651 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
13652 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
13654 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
13655 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
13657 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
13658 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
13660 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
13661 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
13663 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
13664 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
13666 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
13667 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
13669 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
13670 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
13672 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
13673 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
13675 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
13676 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
13679 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
13681 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
13682 checks for expected input type size.
13683 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
13684 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13686 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13687 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
13688 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
13689 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
13690 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
13691 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
13692 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
13693 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
13694 superflous runtime assert check.
13695 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
13697 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
13699 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
13701 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
13703 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
13705 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
13707 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
13708 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
13709 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
13711 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
13713 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
13715 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
13717 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
13719 * nptl/pthread_attr_setinheritsched.c
13720 (__pthread_attr_setinheritsched): Likewise.
13721 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
13723 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
13725 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
13726 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
13727 __old_pthread_attr_setstack): Likewise.
13728 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
13730 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
13732 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
13734 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
13735 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
13737 * nptl/tst-typesizes.c: Remove file.
13739 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
13740 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
13741 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
13742 checks for internal pthread_mutex_t offsets.
13743 * sysdeps/aarch64/nptl/pthread-offsets.h
13744 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
13745 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
13746 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
13747 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
13748 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
13749 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
13750 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
13751 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
13752 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
13753 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
13754 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
13755 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
13756 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
13757 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
13758 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
13759 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
13760 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
13761 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
13763 2017-11-07 Florian Weimer <fweimer@redhat.com>
13765 * bits/mman-linux.h: Move ...
13766 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
13768 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
13771 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13773 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
13774 Redefine STRNLEN as __strnlen_power8.
13776 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13778 * signal/sighold.c (sighold): Optimize implementation.
13780 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
13781 __NR_rt_sigqueueinfo.
13783 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
13785 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
13786 assume __NR_rt_sigtimedwait.
13787 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
13788 and add LIBC_CANCEL_HANDLED for cancellation marking.
13789 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13791 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
13792 (sysdeps_routines): Add memchr_noneon.
13793 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
13794 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
13795 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
13796 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
13797 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
13798 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
13799 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
13801 * sysdeps/arm/arm-ifunc.h: New file.
13802 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
13803 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
13804 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
13805 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
13806 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
13807 (__memcpy_neon): Avoid create hidden alias.
13808 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
13809 (__memcpy_vfp): Likewise.
13810 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
13811 (sysdep_routines): Add memcpy_arm.
13812 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
13814 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
13817 * Makerules (make-link-multidir): New.
13818 * config.make.in (multidir): New.
13819 * configure.ac (libc_cv_multidir): New. AC_SUBST.
13820 * configure: Regenerated.
13821 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
13822 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
13823 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
13826 2017-11-06 Joseph Myers <joseph@codesourcery.com>
13829 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
13830 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
13832 2017-11-04 Mike FABIAN <mfabian@redhat.com>
13834 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
13837 2017-11-04 Florian Weimer <fweimer@redhat.com>
13839 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
13841 2017-11-03 Joseph Myers <joseph@codesourcery.com>
13843 * math/math.h [__HAVE_DISTINCT_FLOAT16
13844 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
13845 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
13846 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
13847 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
13848 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
13849 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
13850 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
13851 (__MATH_TG_F32): New macro.
13852 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
13853 (__MATH_TG_F64X): Likewise.
13854 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
13855 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
13857 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
13859 * po/de.po: Update translations.
13860 * po/ru.po: Likewise.
13862 2017-11-03 Florian Weimer <fweimer@redhat.com>
13864 * manual/filesys.texi (Hard Links): Document linkat.
13866 2017-11-03 Joseph Myers <joseph@codesourcery.com>
13868 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
13869 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
13870 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
13871 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
13872 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
13873 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
13874 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
13875 the same as _Float128.
13876 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
13877 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
13878 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
13881 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
13883 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
13885 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
13887 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13888 (strtof32x): Likewise.
13889 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13890 (strtof64x): Likewise.
13891 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13892 (strtof128x): Likewise.
13893 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13894 (strfromf16): Likewise.
13895 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13896 (strfromf32): Likewise.
13897 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13898 (strfromf64): Likewise.
13899 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13900 (strfromf32x): Likewise.
13901 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13902 (strfromf64x): Likewise.
13903 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13904 (strfromf128x): Likewise.
13905 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
13906 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
13907 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
13908 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
13909 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
13910 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
13912 2017-11-03 Richard Henderson <rth@twiddle.net>
13914 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
13916 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
13918 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
13920 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
13922 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
13923 DT_TLSDESC_GOT initialization.
13924 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
13925 (_dl_tlsdesc_resolve_hold): Likewise.
13926 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
13927 (_dl_tlsdesc_resolve_hold): Likewise.
13928 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
13929 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
13931 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
13933 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
13935 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
13938 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
13939 non-lazily for R_ARM_TLS_DESC.
13941 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
13944 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
13945 R_ARM_TLS_DESC case.
13946 (elf_machine_lazy_rel): Remove the prelink check.
13948 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
13950 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
13951 DT_TLSDESC_GOT initialization.
13952 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
13953 (_dl_tlsdesc_resolve_rela): Likewise.
13954 (_dl_tlsdesc_resolve_hold): Likewise.
13955 (_dl_tlsdesc_undefweak): Remove ldar.
13956 (_dl_tlsdesc_dynamic): Likewise.
13957 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
13958 (_dl_tlsdesc_resolve_rela): Likewise.
13959 (_dl_tlsdesc_resolve_hold): Likewise.
13960 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
13961 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
13962 (_dl_tlsdesc_resolve_rela): Likewise.
13963 (_dl_tlsdesc_resolve_hold): Likewise.
13965 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
13967 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
13968 binding and initialization non-lazily for R_AARCH64_TLSDESC.
13970 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
13972 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
13973 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13975 2017-11-02 Joseph Myers <joseph@codesourcery.com>
13977 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
13979 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
13980 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
13981 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
13982 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
13983 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
13984 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
13985 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
13986 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
13987 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
13988 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
13989 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
13991 2017-11-02 Mike FABIAN <mfabian@redhat.com>
13994 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
13995 * localedata/locales/tpi_PG: Add standard header.
13997 2017-11-02 Florian Weimer <fweimer@redhat.com>
13999 test-errno-linux: quotactl can fail with EPERM in containers.
14000 * sysdeps/unix/sysv/linux/test-errno-linux.c
14001 (LIST, LIST_FORWARD): New macros.
14002 (check_error_in_list): New function.
14003 (test_wrp_rv): Accept list of permitted error codes.
14004 (test_wrp_rv2): Remove.
14005 (test_wrp): Call test_wrp_rv with list of error codes.
14006 (test_wrp2): Accept list of error codes.
14007 (do_test): Adjust. Allow EPERM for quotactl.
14009 2017-11-02 Florian Weimer <fweimer@redhat.com>
14011 * stdio-common/bug16.c (do_test): Use array_length.
14012 * stdio-common/errlist.c (_sys_nerr): Likewise.
14013 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
14014 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
14015 * stdio-common/psiginfo.c (psiginfo): Use array_length.
14016 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
14017 (do_test): Use array_length.
14018 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
14019 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
14020 * stdio-common/tst-printf-round.c (do_test): Likewise.
14021 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
14022 (CHECK): Use array_length.
14023 * stdio-common/tstdiomisc.c (t3, F): Likewise.
14024 * stdio-common/tstscanf.c (main): Likewise.
14025 * stdio-common/vfprintf.c (process_string_arg): Likewise.
14027 2017-11-02 Florian Weimer <fweimer@redhat.com>
14029 Add array_length and array_end macros.
14030 * include/array_length.h: New file.
14032 2017-11-02 Florian Weimer <fweimer@redhat.com>
14035 * posix/tst-glob-tilde.c (do_noescape): New variable.
14036 (one_test): Process it.
14037 (do_test): Set do_noescape. Add unescaping test case.
14039 2017-11-01 Joseph Myers <joseph@codesourcery.com>
14042 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
14043 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
14044 with appropriate macros defined and undefined.
14045 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
14046 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14047 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
14048 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14049 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
14050 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14051 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
14052 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14053 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
14054 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14057 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
14058 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
14059 that for long double. Do not condition define and undefine of
14060 _Mdouble_complex_ on [__CFLOAT128].
14062 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
14064 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
14065 of <sysdeps/generic/sysdep.h>.
14066 (ALIGNARG): Removed.
14067 (ASM_SIZE_DIRECTIVE): Likewise.
14070 (ENTRY_CHK): Likewise.
14071 (END_CHK): Likewise.
14072 (syscall_error): Likewise.
14073 (mcount): Likewise.
14074 (PSEUDO_END): Likewise.
14076 (atom_text_section): Likewise.
14077 * sysdeps/x86/sysdep.h: New file.
14078 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
14079 of <sysdeps/generic/sysdep.h>.
14080 (ALIGNARG): Removed.
14081 (ASM_SIZE_DIRECTIVE): Likewise.
14084 (ENTRY_CHK): Likewise.
14085 (END_CHK): Likewise.
14086 (syscall_error): Likewise.
14087 (mcount): Likewise.
14088 (PSEUDO_END): Likewise.
14090 (atom_text_section): Likewise.
14092 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
14094 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
14095 category of LC_CTYPE set to "i18n:2012".
14096 * localedata/locales/i18n_ctype: Regenerate.
14098 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
14100 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
14101 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
14102 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14103 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14105 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
14106 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
14107 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
14108 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
14110 2017-10-31 Joseph Myers <joseph@codesourcery.com>
14113 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
14115 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
14117 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
14119 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14120 (CMPLXF32X): Likewise.
14121 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14122 (CMPLXF64X): Likewise.
14123 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14124 (CMPLXF128X): Likewise.
14127 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
14128 (__MATH_EVAL_FMT2): Define to add 0.0f.
14130 2017-10-31 Alan Modra <amodra@gmail.com>
14132 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
14134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
14135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
14136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
14137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
14138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
14139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
14140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
14141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
14142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
14143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
14144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
14145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
14146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
14147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
14148 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
14149 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
14150 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
14151 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
14152 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
14153 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
14154 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
14155 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
14156 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
14157 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
14158 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
14159 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
14160 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
14161 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
14162 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
14163 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
14164 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14165 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14166 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
14167 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
14168 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
14169 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
14170 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
14171 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
14172 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
14173 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14174 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
14175 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
14176 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
14177 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
14178 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
14179 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
14180 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
14181 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
14182 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
14183 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
14184 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
14185 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
14186 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
14187 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
14188 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
14189 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
14190 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
14191 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
14192 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
14193 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
14194 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
14195 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
14196 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
14197 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14198 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
14199 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
14200 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
14201 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
14202 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
14204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
14205 include sysdep.h and math_ldbl_opt.h.
14207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
14208 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
14209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
14210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
14211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
14212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
14213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
14214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
14215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
14216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
14217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
14218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
14219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
14220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
14221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
14222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
14223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
14224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
14225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
14226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
14227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
14228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
14229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
14230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
14231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
14232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
14234 2017-10-31 Alan Modra <amodra@gmail.com>
14236 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
14237 string/strncase_l.c, not string/strncase.c.
14238 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
14239 (libc_hidden_def): Redefine.
14241 2017-10-31 Alan Modra <amodra@gmail.com>
14243 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
14244 (__STRCMP, STRCMP, __strcasecmp_l): Define.
14245 (__strcasecmp): Don't define.
14247 2017-10-31 Alan Modra <amodra@gmail.com>
14249 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
14251 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
14252 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
14253 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
14255 2017-10-31 Alan Modra <amodra@gmail.com>
14257 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
14260 2017-10-31 Alan Modra <amodra@gmail.com>
14262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
14263 Redefine only when SHARED.
14265 2017-10-30 Joseph Myers <joseph@codesourcery.com>
14267 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
14268 Include <bits/math-finite.h> with appropriate macros defined and
14270 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
14271 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
14272 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
14273 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
14274 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
14276 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
14277 [!_Mlong_double_] (_Mlong_double_): Likewise.
14278 [!_Mfloat16_] (_Mfloat16_): Likewise.
14279 [!_Mfloat32_] (_Mfloat32_): Likewise.
14280 [!_Mfloat64_] (_Mfloat64_): Likewise.
14281 [!_Mfloat128_] (_Mfloat128_): Likewise.
14282 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
14283 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
14284 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
14285 (_Mdouble_): Define without indirection through those macros.
14286 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
14287 [!_Mfloat128_] (_Mfloat128_): Likewise.
14288 [_Mlong_double_] (_Mlong_double_): Likewise.
14289 (_Mdouble_): Define without indirection through those macros.
14290 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
14291 not add -D_Mlong_double_=double.
14292 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
14293 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
14295 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
14297 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
14299 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
14301 * sysdeps/x86/libc-start.c: Reformat.
14303 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
14306 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
14307 (1): Renamed to ...
14310 (L(Src2)): Likewise.
14311 (L(1)): Renamed to ...
14314 2017-10-30 Joseph Myers <joseph@codesourcery.com>
14316 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
14317 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
14318 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
14319 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
14320 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
14321 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
14322 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
14323 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
14324 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
14325 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
14326 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
14327 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
14328 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
14329 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
14330 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
14331 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
14332 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
14333 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
14334 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
14335 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
14336 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
14337 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
14338 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
14339 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
14340 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
14341 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
14342 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
14343 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
14344 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
14345 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
14346 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
14347 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
14348 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
14349 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
14350 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
14351 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
14352 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
14353 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
14354 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
14355 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
14356 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
14357 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
14358 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
14359 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
14360 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
14361 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
14362 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
14363 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
14364 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
14365 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
14366 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
14367 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
14368 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
14369 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
14370 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
14371 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
14372 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
14373 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
14374 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
14375 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
14376 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
14377 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
14378 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
14379 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
14380 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
14381 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
14383 2017-10-30 Florian Weimer <fweimer@redhat.com>
14385 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
14387 * io/tst-mkdirat.c (do_test): Likewise.
14388 * io/tst-mkfifoat.c (do_test): Likewise.
14389 * io/tst-mknodat.c (do_test): Likewise.
14390 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
14391 * locale/programs/locale.c (select_dirs): Likewise.
14392 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
14393 * posix/bug-glob2.c (my_readdir): Likewise.
14394 * posix/tst-dir.c (main): Likewise.
14395 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
14396 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
14398 2017-10-30 Florian Weimer <fweimer@redhat.com>
14400 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
14403 2017-10-30 Florian Weimer <fweimer@redhat.com>
14405 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
14406 Convert to support/test-driver.c.
14407 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
14408 New macro parameters.
14409 (PRINTF): Remove macro. Use test_verbose conditionals instead.
14410 * posix/tst-gnuglob.c: New file.
14411 * posix/tst-gnuglob64.c: Likewise.
14412 * posix/Makefile (tests): Add tst-gnuglob64.
14414 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
14417 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
14418 and use a better translation for March in “mon”.
14419 * localedata/locales/csb_PL: Use more ASCII to improve the
14420 readability of the source.
14422 2017-10-30 Mike FABIAN <mfabian@redhat.com>
14425 * localedata/locales/km_KH: Use ASCII as much
14426 as possible for better readability of the source and
14427 remove useless comments.
14428 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
14429 was commented out and apparently wrong anyway because it was
14430 using Lao characters. If Buddhist era should be used
14431 for km_KH, a native speaker should write the correct formaat
14433 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
14434 (According to CLDR, the first weekday for Cambodia is Sunday).
14435 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
14436 (These were using Lao characters which must be wrong. If we get
14437 the correct data from a native speaker, we could add it back, until
14438 then it is better not to have name_mr and name_mrs at all than
14441 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
14443 * locale/loadlocale.c: Correct size of
14444 _nl_value_type_LC_<category> arrays.
14446 2017-10-27 Joseph Myers <joseph@codesourcery.com>
14448 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
14449 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
14450 with appropriate macros defined and undefined.
14451 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
14452 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
14453 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
14454 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
14455 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
14457 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
14459 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
14462 2017-10-27 Mike FABIAN <mfabian@redhat.com>
14464 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
14465 with lowercase letters to make it agree with CLDR.
14467 2017-10-27 Mike FABIAN <mfabian@redhat.com>
14470 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
14471 first letters of yesstr and nostr in yesexpr and noexpr,
14472 not for the full words.
14473 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
14474 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
14475 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
14476 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
14477 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
14478 first letters of yesstr and nostr in yesexpr and noexpr,
14479 until now only English was matched in yesexpr and noexpr.
14480 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
14481 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
14482 fil but not for tl. As tl and fil are very similar, using fil
14483 is probably better than using English.
14485 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
14488 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
14489 in yesstr and nostr.
14491 2017-10-26 Joseph Myers <joseph@codesourcery.com>
14493 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
14494 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
14495 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
14497 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
14499 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
14501 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
14503 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14504 (SNANF128X): Likewise.
14506 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
14507 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
14508 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14509 (HUGE_VAL_F32): Likewise.
14510 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14511 (HUGE_VAL_F64): Likewise.
14512 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14513 (HUGE_VAL_F32X): Likewise.
14514 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14515 (HUGE_VAL_F64X): Likewise.
14516 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
14517 (HUGE_VAL_F128X): Likewise.
14519 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
14521 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
14522 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
14523 for the br_FR locale.
14525 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
14528 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
14530 2017-10-25 Carlos O'Donell <carlos@redhat.com>
14532 * locale/programs/record-status.h: Define globals, and function
14533 prototypes. Move function bodies...
14534 * locale/programs/record-status.c: ... to here. New file.
14535 * iconv/Makefile (iconv_prog-modules): Add record-status.
14536 * locale/Makefile (lib-modules): Likewise.
14537 * iconv/iconv_prog.c: Remove verbose.
14538 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
14539 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
14540 record a warning about ASCII compatibility.
14541 * locale/programs/ld-monetary.c (monetary_finish): If
14542 warn_int_curr_symbol is true then record a warning about the symbol
14543 not being in our ISO 4217 list.
14544 * locale/programs/locale.c: Include record-status.h. Remove verbose.
14545 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
14546 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
14547 (OPT_NO_WARN): Define.
14548 (OPT_WARN): Define.
14549 (options): Add entry for --no-warnings, and --warnings.
14550 (set_warnings): New function to enable/disable warnings.
14551 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
14552 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
14553 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
14554 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
14555 Pass flags to generate_locale.
14556 (generate_locale): Accept new flag argument and pass it to localedef
14558 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
14559 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
14561 * localedata/Makefile (test-input-data): Use full file name.
14562 * localedata/da_DK.in: Rename to...
14563 * localedata/da_DK.ISO-8859-1.in: ...this.
14564 * localedata/de_DE.in: Rename to...
14565 * localedata/de_DE.ISO-8859-1.in: ...this.
14566 * localedata/en_US.in: Rename to...
14567 * localedata/en_US.ISO-8859-1.in: ...this.
14568 * localedata/fr_FR.in: Rename to...
14569 * localedata/fr_FR.UTF-8.in: ... this.
14570 * localedata/hr_HR.in: Rename to...
14571 * localedata/hr_HR.ISO-8859-2.in: ...this.
14572 * localedata/hu_HU.in: Rename to...
14573 * localedata/hu_HU.UTF-8.in: ...this.
14574 * localedata/si_LK.in: Rename to...
14575 * localedata/si_LK.UTF-8.in: ...this.
14576 * localedata/sv_SE.in: Rename to...
14577 * localedata/sv_SE.ISO-8859-1.in: ...this.
14578 * localedata/tr_TR.in: Rename to...
14579 * localedata/tr_TR.UTF-8.in: ...this.
14580 * localedata/uk_UA.in: Rename to...
14581 * localedata/uk_UA.UTF-8.in: ...this.
14582 * localedata/sort-test.sh: Test file is locale name with the
14585 * localedata/unicode-gen/Makefile (check_i18n): Rename to
14586 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
14588 * localedata/locales/i18n_ctype: Regenerate.
14589 * localedata/locales/tr_TR: Likewise.
14590 * localedata/locales/translit_circle: Likewise.
14591 * localedata/locales/translit_cjk_compat: Likewise.
14592 * localedata/locales/translit_combining: Likewise.
14593 * localedata/locales/translit_compat: Likewise.
14594 * localedata/locales/translit_font: Likewise.
14595 * localedata/locales/translit_fraction: Likewise.
14597 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14599 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
14600 lxvd2x/stxvd2x with lvx/stvx.
14601 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
14603 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
14605 * include/alloc_buffer.h: Replace "if if " with "if " in
14607 * sysdeps/mips/memcpy.S: Likkewise.
14608 * sysdeps/mips/memset.S: Likewise.
14609 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
14611 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
14613 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
14616 2017-10-25 Mike FABIAN <mfabian@redhat.com>
14619 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
14620 yesexpr and noexpr.
14621 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
14622 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
14623 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
14624 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
14625 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
14626 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
14627 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
14629 2017-10-25 Mike FABIAN <mfabian@redhat.com>
14631 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
14632 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
14633 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
14634 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
14635 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
14636 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
14637 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
14638 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
14639 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
14640 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
14641 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
14642 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
14644 2017-10-25 Mike FABIAN <mfabian@redhat.com>
14646 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
14647 as possible for better readability of the source.
14648 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
14649 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
14650 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
14651 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
14652 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
14653 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
14654 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
14655 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
14656 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
14657 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
14658 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
14659 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
14660 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
14661 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
14662 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
14663 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
14664 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
14665 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
14666 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
14667 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
14668 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
14669 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
14670 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
14671 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
14672 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
14673 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
14674 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
14675 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
14676 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
14677 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
14678 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
14679 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
14680 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
14681 * localedata/locales/en_US (LC_MESSAGES): Likewise.
14682 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
14683 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
14684 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
14685 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
14686 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
14687 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
14688 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
14689 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
14690 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
14691 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
14692 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
14693 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
14694 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
14695 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
14696 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
14697 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
14698 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
14699 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
14700 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
14701 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
14702 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
14703 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
14704 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
14705 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
14706 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
14707 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
14708 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
14709 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
14710 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
14711 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
14712 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
14713 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
14714 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
14715 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
14716 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
14717 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
14718 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
14719 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
14720 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
14721 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
14722 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
14723 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
14724 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
14725 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
14726 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
14727 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
14728 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
14729 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
14730 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
14731 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
14732 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
14733 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
14734 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
14735 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
14736 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
14737 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
14738 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
14739 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
14740 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
14741 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
14742 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
14743 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
14744 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
14745 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
14746 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
14747 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
14748 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
14749 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
14750 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
14751 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
14752 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
14753 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
14754 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
14755 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
14756 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
14757 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
14758 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
14759 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
14760 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
14761 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
14762 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
14763 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
14764 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
14765 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
14766 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
14767 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
14768 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
14769 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
14770 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
14771 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
14772 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
14773 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
14774 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
14775 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
14776 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
14777 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
14778 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
14779 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
14780 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
14781 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
14782 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
14783 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
14784 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
14785 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
14786 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
14787 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
14788 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
14789 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
14790 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
14791 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
14792 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
14793 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
14794 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
14795 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
14796 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
14797 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
14798 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
14799 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
14800 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
14801 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
14802 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
14803 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
14804 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
14805 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
14806 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
14807 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
14808 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
14809 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
14810 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
14811 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
14812 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
14813 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
14814 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
14815 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
14816 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
14817 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
14818 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
14819 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
14820 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
14821 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
14823 2017-10-25 Mike FABIAN <mfabian@redhat.com>
14825 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
14826 (Use first letters of yesstr and nostr correctly instead of using
14829 2017-10-25 Mike FABIAN <mfabian@redhat.com>
14831 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
14832 (Use first letters of yesstr and nostr correctly).
14834 2017-10-25 Mike FABIAN <mfabian@redhat.com>
14836 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
14837 also check for the first characters of yesstr and nostr.
14838 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
14839 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
14841 2017-10-25 Mike FABIAN <mfabian@redhat.com>
14843 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
14844 also check for Chinese characters.
14846 2017-10-25 Mike FABIAN <mfabian@redhat.com>
14848 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
14849 match also for the contents of yesstr and nostr. As the first letter
14850 of yesstr and nostr is equal, checking only for the first letter
14853 2017-10-25 Mike FABIAN <mfabian@redhat.com>
14855 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
14856 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
14858 2017-10-25 Mike FABIAN <mfabian@redhat.com>
14860 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
14861 of main contributor.
14863 2017-10-25 Mike FABIAN <mfabian@redhat.com>
14865 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
14866 instead of using English.
14868 2017-10-25 Mike FABIAN <mfabian@redhat.com>
14870 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
14871 by including the first letters of nostr and yesexpr in the regexp.
14872 Also make it more readable by using ASCII where possible.
14874 2017-10-25 Mike FABIAN <mfabian@redhat.com>
14876 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
14877 the first letter of nostr in the regexp. It agrees with CLDR now.
14878 Also make it more readable by using ASCII where possible.
14880 2017-10-24 Mike FABIAN <mfabian@redhat.com>
14882 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
14883 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
14884 these strings contain a U+17D6 (which somewhat looks like a colon)
14885 instead of a real colon to separate the full words for “yes”
14886 and “no” from the single letter responses.
14888 2017-10-24 Mike FABIAN <mfabian@redhat.com>
14890 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
14891 it agree with CLDR (include the first letter of yesstr).
14892 Also make it more readable by using ASCII where possible.
14894 2017-10-24 Mike FABIAN <mfabian@redhat.com>
14896 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
14897 and improve yesexpr and noexpr. The yesstr and nostr apparently
14898 came from CLDR. And CLDR has a bug there: these strings contain
14899 a U+0903 (which looks like a colon) instead of a real colon
14900 to separate the full words for “yes” and “no” from the single
14903 2017-10-24 Mike FABIAN <mfabian@redhat.com>
14905 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
14906 letters of the full yesstr and nostr in yesexpr and noexpr.
14908 2017-10-24 Mike FABIAN <mfabian@redhat.com>
14910 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
14911 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
14912 * localedata/locales/an_ES: Make source more readable by using ASCII
14915 2017-10-24 Mike FABIAN <mfabian@redhat.com>
14918 * localedata/locales/yuw_PG: New file.
14919 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
14920 * locale/iso-639.def: Add Yau (Uruwa).
14922 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14924 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
14926 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14928 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
14929 (__libc_realloc): Likewise.
14930 (_mid_memalign): Likewise.
14931 (__libc_calloc): Likewise.
14933 2017-10-23 Mike FABIAN <mfabian@redhat.com>
14935 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
14936 by adding the generic +1 and -0 as in all other locales.
14937 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
14938 day names and make it more readable by using ASCII where possible.
14940 2017-10-24 Joseph Myers <joseph@codesourcery.com>
14942 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
14943 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
14945 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14947 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
14948 WNOHANG in waitpid call.
14950 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
14952 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
14953 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
14955 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
14956 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
14957 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
14958 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
14959 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
14960 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
14961 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
14962 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
14965 2017-10-23 Michael Collison <michael.collison@arm.com>
14967 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
14968 with __builtin_sqrt.
14969 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
14970 with __builtin_sqrtf.
14971 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
14972 with __builtin_ceil.
14973 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
14974 with __builtin_ceilf.
14975 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
14976 with __builtin_floor.
14977 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
14978 with __builtin_floorf.
14979 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
14980 with __builtin_fma.
14981 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
14982 with __builtin_fmaf.
14983 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
14984 with __builtin_fmax.
14985 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
14986 with __builtin_fmaxf.
14987 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
14988 with __builtin_fmin.
14989 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
14990 with __builtin_fminf.
14991 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
14992 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
14993 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
14994 with builtin_rint and conversion to int.
14995 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
14996 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
14997 with builtin_llround.
14998 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
14999 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
15000 with builtin_rint and conversion to long int.
15001 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
15002 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
15003 with builtin_lround.
15004 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
15005 with builtin_lroundf.
15006 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
15007 statements with __builtin_nearbyint.
15008 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
15009 statements with __builtin_nearbyintf.
15010 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
15011 with __builtin_rint.
15012 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
15013 with __builtin_rintf.
15014 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
15015 with __builtin_round.
15016 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
15017 with __builtin_roundf.
15018 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
15019 with __builtin_trunc.
15020 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
15021 with __builtin_truncf.
15022 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
15023 and s_l[l]round[f].c too.
15025 2017-10-23 Alan Modra <amodra@gmail.com>
15027 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
15028 Adjust stack after restoring regs. Add missing LR cfi_restore.
15030 2017-10-23 Alan Modra <amodra@gmail.com>
15032 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
15033 Move LR save and frame setup/teardown and LR restore to
15034 immediately around memset call. Provide cfi.
15036 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
15038 * sysdeps/i386/fpu/e_powf.S: Removed.
15039 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
15040 * sysdeps/i386/fpu/w_powf.c: Likewise.
15041 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
15042 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15043 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
15045 (CFLAGS-e_powf-sse2.c): New.
15046 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
15047 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
15049 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
15051 * sysdeps/i386/fpu/e_log2f.S: Removed.
15052 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
15053 * sysdeps/i386/fpu/w_log2f.c: Likewise.
15054 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
15055 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15056 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
15058 (CFLAGS-e_log2f-sse2.c): New.
15059 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
15060 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
15062 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
15064 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15066 (CFLAGS-e_powf-fma.c): New.
15067 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
15068 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
15070 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
15072 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15074 (CFLAGS-e_log2f-fma.c): New.
15075 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
15076 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
15078 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
15080 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15082 (CFLAGS-e_logf-fma.c): New.
15083 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
15084 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
15086 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
15088 * sysdeps/i386/fpu/e_logf.S: Removed.
15089 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
15090 * sysdeps/i386/fpu/w_logf.c: Likewise.
15091 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
15092 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
15093 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15094 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
15096 (CFLAGS-e_logf-sse2.c): New.
15097 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
15098 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
15100 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
15102 * sysdeps/i386/fpu/e_exp2f.S: Removed.
15103 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
15104 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
15105 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15106 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
15108 (CFLAGS-e_exp2f-sse2.c): New.
15109 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
15110 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
15112 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
15114 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15116 (CFLAGS-e_exp2f-fma.c): New.
15117 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
15118 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
15120 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
15122 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
15123 * sysdeps/i386/fpu/e_expf.S: Likewise.
15124 * sysdeps/i386/fpu/math_errf.c: Likewise.
15125 * sysdeps/i386/fpu/w_expf.c: Likewise.
15126 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
15127 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15128 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
15129 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
15130 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15131 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
15132 Remove e_expf-ia32.
15133 (CFLAGS-e_expf-sse2.c): New.
15134 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
15135 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
15137 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
15139 * sysdeps/x86_64/fpu/e_expf.S: Removed.
15140 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
15141 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
15142 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
15144 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
15146 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
15147 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
15149 (__redirect_expf): This.
15150 (SYMBOL_NAME): Changed to expf.
15151 (__ieee754_expf): Renamed to ...
15153 (__GI___expf): This.
15154 (__ieee754_expf): Add strong_alias.
15155 (__expf_finite): Likewise.
15157 Include <sysdeps/ieee754/flt-32/e_expf.c>.
15159 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
15162 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
15165 2017-10-21 Florian Weimer <fweimer@redhat.com>
15167 * posix/Makefile (tests): Add tst-glob-tilde.
15168 (tests-special): Add tst-glob-tilde-mem.out
15169 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
15170 (tst-glob-tilde-mem.out): Add mtrace check.
15171 * posix/tst-glob-tilde.c: New file.
15173 2017-10-20 Joseph Myers <joseph@codesourcery.com>
15175 * bits/floatn-common.h: New file.
15176 * math/Makefile (headers): Add bits/floatn-common.h.
15177 * bits/floatn.h: Include <bits/floatn-common.h>.
15178 * sysdeps/ia64/bits/floatn.h: Likewise.
15179 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
15180 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
15181 * sysdeps/powerpc/bits/floatn.h: Likewise.
15182 * sysdeps/x86/bits/floatn.h: Likewise.
15184 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15186 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
15187 indicates whether compiler emits an warning for alias for
15188 functions with incompatible types.
15191 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
15192 the auxiliary process is terminated by a signal before calling _exit
15195 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
15198 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
15200 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
15201 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
15202 and bit_arch_XSAVEC_Usable if needed.
15203 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
15204 and bit_arch_Use_dl_runtime_resolve_opt.
15205 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
15207 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
15208 (bit_arch_Prefer_No_AVX512): Updated.
15209 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
15210 (bit_arch_XSAVEC_Usable): New.
15211 (STATE_SAVE_OFFSET): Likewise.
15212 (STATE_SAVE_MASK): Likewise.
15213 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
15214 (cpu_features): Add xsave_state_size and xsave_state_full_size.
15215 (index_arch_Use_dl_runtime_resolve_opt): Removed.
15216 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
15217 (index_arch_XSAVEC_Usable): New.
15218 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15219 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
15220 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
15222 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
15223 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
15224 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
15225 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
15226 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
15227 _dl_runtime_resolve_xsavec.
15228 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
15230 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
15231 instead of VEC_SIZE.
15232 (REGISTER_SAVE_BND0): Removed.
15233 (REGISTER_SAVE_BND1): Likewise.
15234 (REGISTER_SAVE_BND3): Likewise.
15235 (REGISTER_SAVE_RAX): Always defined to 0.
15237 (_dl_runtime_resolve_avx): Likewise.
15238 (_dl_runtime_resolve_avx_slow): Likewise.
15239 (_dl_runtime_resolve_avx_opt): Likewise.
15240 (_dl_runtime_resolve_avx512): Likewise.
15241 (_dl_runtime_resolve_avx512_opt): Likewise.
15242 (_dl_runtime_resolve_sse): Likewise.
15243 (_dl_runtime_resolve_sse_vex): Likewise.
15245 (_dl_runtime_resolve_fxsave): Likewise.
15246 (USE_XSAVE): Likewise.
15247 (_dl_runtime_resolve_xsave): Likewise.
15248 (USE_XSAVEC): Likewise.
15249 (_dl_runtime_resolve_xsavec): Likewise.
15250 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
15252 (_dl_runtime_resolve_avx512_opt): Likewise.
15253 (_dl_runtime_resolve_avx): Likewise.
15254 (_dl_runtime_resolve_avx_opt): Likewise.
15255 (_dl_runtime_resolve_sse): Likewise.
15256 (_dl_runtime_resolve_sse_vex): Likewise.
15257 (_dl_runtime_resolve_fxsave): New.
15258 (_dl_runtime_resolve_xsave): Likewise.
15259 (_dl_runtime_resolve_xsavec): Likewise.
15261 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
15265 * posix/glob.c (__glob): Fix one-byte overflow.
15267 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
15269 * malloc/malloc.c (sysdep-cancel.h): Add include.
15271 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
15273 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
15275 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
15277 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
15278 (tests): Remove $(objpfx)ga_test depdendency.
15279 * resolv/ga_test.c: Remove file.
15281 2017-10-20 Mike FABIAN <mfabian@redhat.com>
15284 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
15285 * localedata/locales/kab_DZ: New file.
15287 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
15289 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
15290 _dl_relocate_static_pie instead of _dl_start to compute load
15291 address in static PIE.
15293 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
15295 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
15297 2017-10-20 Mike FABIAN <mfabian@redhat.com>
15300 * localedata/SUPPORTED: Add shn_MM/UTF-8.
15301 * localedata/locales/shn_MM: New file.
15303 2017-10-20 Florian Weimer <fweimer@redhat.com>
15306 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
15307 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
15308 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
15309 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
15310 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
15311 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
15313 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
15315 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15317 2017-10-19 Joseph Myers <joseph@codesourcery.com>
15319 * sysdeps/mips/ieee754/bits/floatn.h: New file.
15322 * sysdeps/mips/bits/long-double.h: Move to ....
15323 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
15325 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
15327 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
15329 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
15330 H.J. Lu <hongjiu.lu@intel.com>
15333 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
15334 GLRO(dl_platform) to NULL.
15335 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
15336 (modules-names): Add tst-platformmod-1 and
15337 x86_64/tst-platformmod-2.
15338 (CFLAGS-tst-platform-1.c): New.
15339 (CFLAGS-tst-platformmod-1.c): Likewise.
15340 (CFLAGS-tst-platformmod-2.c): Likewise.
15341 (LDFLAGS-tst-platformmod-2.so): Likewise.
15342 ($(objpfx)tst-platform-1): Likewise.
15343 ($(objpfx)tst-platform-1.out): Likewise.
15344 (tst-platform-1-ENV): Likewise.
15345 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
15346 * sysdeps/x86_64/tst-platform-1.c: New file.
15347 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
15348 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
15350 2017-10-19 Mike FABIAN <mfabian@redhat.com>
15353 * locale/iso-639.def: Add Karbi.
15354 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
15355 * localedata/locales/mjw_IN: New file.
15357 2017-10-18 Joseph Myers <joseph@codesourcery.com>
15359 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
15360 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
15361 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
15362 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
15363 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
15364 (libm_alias_ldouble_other_r): Also create _Float128 alias.
15365 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
15367 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
15368 (libm_alias_ldouble_other_r): Also create _Float128 alias.
15369 * manual/math.texi (Mathematics): Document additional architecture
15370 support for _Float128.
15371 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
15372 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15373 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15374 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15375 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15376 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15377 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15378 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15379 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15380 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15381 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15382 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15383 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15384 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15385 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15387 2017-10-18 Renlin Li <renlin.li@arm.com>
15389 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
15390 _DYNAMIC symbol to calculate load address.
15392 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
15394 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
15395 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
15397 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
15398 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
15400 2017-10-18 Mike FABIAN <mfabian@redhat.com>
15403 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
15404 and improve readability by using more ASCII.
15405 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
15406 and improve readability by using more ASCII.
15408 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
15410 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
15411 not all targets support atomics on bool.
15413 2017-10-17 Joseph Myers <joseph@codesourcery.com>
15415 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
15416 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
15418 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
15419 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
15420 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
15421 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
15422 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
15423 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
15425 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15427 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
15430 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
15433 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
15434 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
15435 (do_check_remalloced_chunk): Fix build bug.
15436 (do_check_malloc_state): Add assert that checks arena->top.
15437 (malloc_consolidate): Remove initialization.
15438 (int_mallinfo): Remove call to malloc_consolidate.
15439 (__libc_mallopt): Clarify why malloc_consolidate is needed.
15441 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
15443 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
15444 (have_fastchunks): Remove.
15445 (clear_fastchunks): Remove.
15446 (set_fastchunks): Remove.
15447 (malloc_state): Add have_fastchunks.
15448 (malloc_init_state): Use have_fastchunks.
15449 (do_check_malloc_state): Remove incorrect invariant checks.
15450 (_int_malloc): Use have_fastchunks.
15451 (_int_free): Likewise.
15452 (malloc_consolidate): Likewise.
15454 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
15456 * malloc/malloc.c (tcache_put): Inline.
15457 (tcache_get): Inline.
15459 2017-10-17 Jordi Mallach <jordi@gnu.org>
15461 Aurelien Jarno <aurelien@aurel32.net>
15463 * localedata/locales/ca_ES@valencia: New file.
15464 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
15466 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
15469 * math/math.h: Let signbit use the builtin in C++ mode with gcc
15472 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15474 * scripts/build-many-glibcs.py (Context.add_all_configs):
15475 Add arm-linux-gnueabihf multiarch extra_glibcs.
15477 * sysdeps/generic/ifunc-init.h: New file.
15478 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
15480 2017-10-17 Mike FABIAN <mfabian@redhat.com>
15483 * localedata/locales/el_GR: Set n_cs_precedes to 0.
15484 * localedata/locales/el_CY: copy "el_GR" because it is identical.
15485 * stdlib/tst-strfmon_l.c: adapt test case.
15487 2017-10-16 Joseph Myers <joseph@codesourcery.com>
15489 * sysdeps/generic/float128-abi.h: New file.
15490 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
15491 non-__prefixed symbols to ....
15492 * math/Versions: ... here. Include <float128-abi.h>.
15493 * stdlib/Versions ... and here. Include <float128-abi.h>
15495 2017-10-16 Florian Weimer <fweimer@redhat.com>
15497 * version.h (VERSION): Switch to ".9000" as the development
15500 2017-10-16 Florian Weimer <fweimer@redhat.com>
15503 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
15504 compat_symbol_reference to access non-default version.
15506 2017-10-16 Florian Weimer <fweimer@redhat.com>
15508 * malloc/Makefile (others-extras): Set to mcheck-init.o.
15510 2017-10-16 Carlos O'Donell <carlos@redhat.com>
15512 * include/shlib-compat.h (compat_symbol_reference): Update
15515 2017-10-16 Joseph Myers <joseph@codesourcery.com>
15517 * math/Makefile (test-types): Add
15518 $(type-float128-$(float128-alias-fcts)).
15519 * math/test-float128.h (TYPE_STR): Define conditional on
15520 [FLT128_MANT_DIG == LDBL_MANT_DIG].
15521 (ULP_IDX): Likewise.
15522 (ULP_I_IDX): Likewise.
15524 * stdlib/strtold.c: Include <bits/floatn.h>
15525 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
15526 and later undefine as macro. Define as weak alias if
15528 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
15529 and later undefine as macro. Define as weak alias if
15531 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
15532 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
15533 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
15534 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
15535 Define and later undefine as macro. Define as weak alias if
15537 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
15539 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
15540 Define and later undefine as macro. Define as weak alias if
15542 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
15543 Define and later undefine as macro. Define as weak alias if
15546 2017-10-15 Carlos O'Donell <carlos@redhat.com>
15548 * localedata/collate-test.c (allocate_arrays): Don't use \n in
15549 record_verbose messages.
15551 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
15554 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
15555 to silence -O3 -Wall warning with GCC 7.
15557 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
15559 * Makeconfig (+link-static-before-libc): Use the first of
15560 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
15561 * gmon/Makefile (tests): Add tst-gmon-static.
15562 (tests-static): Likewise.
15563 (CFLAGS-tst-gmon-static.c): New.
15564 (CRT-tst-gmon-static): Likewise.
15565 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
15566 (tst-gmon-static-ENV): Likewise.
15567 (tests-special): Likewise.
15568 ($(objpfx)tst-gmon-static.out): Likewise.
15569 (clean-tst-gmon-static-data): Likewise.
15570 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
15571 * gmon/tst-gmon-static-gprof.sh: New file.
15572 * gmon/tst-gmon-static.c: Likewise.
15574 2017-10-13 Carlos O'Donell <carlos@redhat.com>
15577 * locale/programs/linereader.c (get_string): Don't warn on
15578 non-symbolic character.
15581 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
15585 * locale/programs/record-status.h: New file
15586 * locale/programs/locale.c: Add comment.
15587 * locale/programs/charmap-dir.c: Don't include error.h.
15588 (charmap_opendir): Use record_error.
15589 * locale/programs/charmap.c: Don't include error.h.
15590 (charmap_read): Use record_error, and record_warning.
15591 (parse_charmap): Likewise.
15592 * locale/programs/ld-address.c: Don't include error.h.
15593 (address_finish): Use record_error, and record_warning.
15594 * locale/programs/ld-collate.c: Don't include error.h.
15595 (collate_finish): Use record_error, and record_error_at_line.
15596 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
15597 (ctype_class_new): Likewise.
15598 (ctype_map_new): Likewise.
15599 (set_one_default): Likewise.
15600 (set_class_defaults): Likewise.
15601 (translit_flatten): Likewise.
15602 (allocate_arrays): Use record_error, and record_verbose.
15603 * locale/programs/ld-identification.c: Don't include error.h.
15604 (indentation_finish): Use record_error and record_warning.
15605 * locale/programs/ld-measurement.c: Don't include error.h.
15606 (measurement_finish): Use record_error.
15607 * locale/programs/ld-messages.c
15608 (message_finish): Likewise.
15609 * locale/programs/ld-monetary.c
15610 (monetary_finish): Likewise.
15611 * locale/programs/ld-name.c (name_finish): Use record_error
15612 and record_warning.
15613 * locale/programs/ld-numeric.c
15614 (numeric_finish): Use record_error.
15615 * locale/programs/ld-paper.c: Don't include error.h.
15616 (paper_finish): Use record_error.
15617 * locale/programs/ld-telephone.c: Don't include error.h.
15618 (telephone_finish): Use record_error.
15619 * locale/programs/ld-time.c (time_finish): Likewise.
15620 * locale/programs/linereader.h (lr_error): Make inline func.
15621 * locale/programs/localedef.c: Define recorded_warning_count,
15622 and recorded_error_count.
15623 (main): Use record_error. Use recorded_error_count and
15624 recorded_warning_count to issue correct error returns.
15625 (add_to_readlist): Use record_error.
15626 (find_locale): Likewise.
15627 (load_locale): Likewise.
15628 * locale/programs/localedef.h: Remove be_quiet
15629 and WITH_CUR_LOCALE.
15630 * locale/programs/locarchive.c (compare_from_file): Use
15632 * locale/programs/locfile.c (write_locale_data): Use
15634 * locale/programs/repertoire.c: Dont include error.h.
15635 (repertoire_complain): Use record_error.
15636 * localedata/tst-fmon.sh: Expect failures from localedef.
15637 * localedata/tst-locale.sh: Likewise.
15638 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
15640 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
15641 (REPORTS): Likewise.
15643 (i18n): Rename to...
15644 (i18n_ctype): ...this.
15645 (i18n-report): Rename to...
15646 (i18n_ctype-report): ...this.
15647 * localedata/locales/i18n_ctype: Regenerate.
15648 * localedata/locales/i18n: copy i18n_ctype.
15650 2017-10-13 Joseph Myers <joseph@codesourcery.com>
15652 * stdlib/strfroml.c: Include <bits/floatn.h>.
15653 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
15654 Define before include of <stdlib.h> and undefine afterwards, then
15655 define as weak alias.
15657 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
15658 Undefine and restore default definition. Use
15659 libm_alias_ldouble_other.
15661 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
15664 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
15667 2017-10-13 James Clarke <jrtc27@jrtc27.com>
15669 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15670 Assign sym_map to be map for local symbols, as TLS relocations
15671 use sym_map to determine whether the symbol is defined and to
15672 extract the TLS information.
15673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15676 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15679 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
15680 (math_force_eval): Add powerpc version.
15683 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
15685 (do_test): Likewise.
15686 * stdio-common/tst-printf.sh: Likewise.
15687 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
15688 ifdef clause in order to set the carry bit right. Replace r0 by
15689 0 without changing the behavior.
15691 2017-10-13 Joseph Myers <joseph@codesourcery.com>
15693 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
15694 <libm-alias-ldouble.h>.
15695 (fabsl): Define using libm_alias_ldouble.
15696 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
15697 <libm-alias-ldouble.h>.
15698 (fabsl): Define using libm_alias_ldouble.
15700 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
15701 Remove conditional code.
15703 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
15704 Rename to __clog10_internal_l.
15705 (__clog10_internal_l): Define aliases using
15706 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
15709 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15711 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
15712 * benchtests/sincosf-inputs: New file.
15713 * benchtests/cosf-inputs: New file.
15714 * benchtests/sinf-inputs: New file.
15716 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15718 * posix/tst-spawn.c (do_test): Wait for both children.
15720 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
15723 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
15724 tests-pie): Add tst-gmon-pie.
15725 (CFLAGS-tst-gmon-pie.c): New.
15726 (CRT-tst-gmon-pie): Likewise.
15727 (tst-gmon-pie-ENV): Likewise.
15728 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
15729 ($(objpfx)tst-gmon-pie.out): Likewise.
15730 (clean-tst-gmon-pie-data): Likewise.
15731 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
15732 * gmon/gmon.c [PIC]: Include <link.h>.
15733 [PIC] (callback): New function.
15734 (write_hist): Add an argument for load address. Subtract load
15736 (write_call_graph): Likewise.
15737 (write_gmon): Call __dl_iterate_phdr to get load address, pass
15738 it to write_hist and write_call_graph.
15739 * gmon/tst-gmon-pie.c: New file.
15741 2017-10-11 Joseph Myers <joseph@codesourcery.com>
15743 * math/Makefile (test-types-basic): New variable.
15744 (test-types): Likewise.
15745 (libm-test-support): Use $(test-types) instead of $(types).
15746 (libm-tests-base-normal): Likewise.
15747 (libm-tests-base-finite): Likewise.
15748 (libm-tests-base-inline): Likewise.
15749 (generated): Likewise.
15750 ($(objpfx)libm-test-support-$(t).c): Likewise.
15751 (libm-tests-for-type iterator): Likewise.
15752 (libm-test-support iterator): Likewise.
15753 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
15754 (ulp_idx): Use ULP_IDX.
15755 * math/test-ldouble.h: Include <float.h>.
15756 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
15757 (ULP_IDX): New macro.
15758 (ULP_I_IDX): Likewise.
15759 * math/test-double.h (ULP_IDX): Likewise.
15760 (ULP_I_IDX): Likewise.
15761 * math/test-float.h (ULP_IDX): Likewise.
15762 (ULP_I_IDX): Likewise.
15763 * math/test-float128.h (ULP_IDX): Likewise.
15764 (ULP_I_IDX): Likewise.
15766 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15768 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
15769 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15770 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15771 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
15772 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15773 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
15774 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
15775 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15776 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15777 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15778 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
15779 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15780 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15781 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15782 (SINGLE_THREAD_BY_GLOBAL): Define.
15783 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
15785 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
15787 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
15789 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
15791 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
15792 (SINGLE_THREAD_BY_GLOBAL): Likewise.
15793 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
15796 2017-10-11 Andreas Schwab <schwab@suse.de>
15798 * nis/Makefile (aux): Remove.
15799 * nscd/Makefile (aux): Add nscd_hash.
15800 (nscd-modules): Likewise.
15801 ($(objpfx)nscd): Don't depend on libnsl.
15802 * nscd/nscd_hash.c: New file.
15803 * nscd/nscd_hash.h: Likewise.
15804 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
15805 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
15806 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
15807 instead of <nis/rpcsvc/nis.h>.
15808 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
15810 2017-10-11 Florian Weimer <fweimer@redhat.com>
15813 Avoid large NSS buffers with many addresses, aliases.
15814 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
15815 using dynarrays and struct alloc_buffer.
15816 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
15817 (tst-nss-files-hosts-multi): Link with -ldl.
15818 * nss/tst-nss-files-hosts-multi.c: New file.
15820 2017-10-11 Florian Weimer <fweimer@redhat.com>
15823 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
15824 scratch_buffer. Eliminate gotos.
15826 2017-10-11 Joseph Myers <joseph@codesourcery.com>
15828 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
15829 libm_alias_ldouble_other.
15830 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
15831 undefine and redefine.
15832 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
15833 (exp10l): Do not define here.
15834 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
15835 (weak_alias): Undefine and redefine.
15836 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
15837 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
15838 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
15839 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
15841 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
15842 [!__fma] (fma): Define using libm_alias_double.
15843 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
15844 [!__fmaf] (fmaf): Define using libm_alias_float.
15845 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
15846 (fmal): Define using libm_alias_ldouble.
15848 2017-10-10 Joseph Myers <joseph@codesourcery.com>
15850 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
15852 (libm_alias_double_other): Likewise.
15853 (libm_alias_double_r): Use libm_alias_double_other_r.
15854 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
15856 (libm_alias_float_other): Likewise.
15857 (libm_alias_float_r): Use libm_alias_float_other_r.
15858 * sysdeps/generic/libm-alias-float128.h
15859 (libm_alias_float128_other_r): New macro.
15860 (libm_alias_float128_other): Likewise.
15861 (libm_alias_float128_r): Use libm_alias_float128_other_r.
15862 * sysdeps/generic/libm-alias-ldouble.h
15863 (libm_alias_ldouble_other_r): New macro.
15864 (libm_alias_ldouble_other): Likewise.
15865 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
15866 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
15867 (libm_alias_double_other_r): New macro.
15868 (libm_alias_double_other): Likewise.
15869 (libm_alias_double_r): Use libm_alias_double_other_r.
15870 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
15871 (libm_alias_ldouble_other_r): New macro.
15872 (libm_alias_ldouble_other): Likewise.
15873 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
15874 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
15875 [!USE_AS_COMPAT]: Use libm_alias_double_other.
15876 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
15877 [!USE_AS_COMPAT]: Use libm_alias_float_other.
15878 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
15879 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
15880 * math/w_exp2f.c: Use libm_alias_float_other.
15881 * math/w_expf.c: Likewise.
15882 * math/w_log2f.c: Likewise.
15883 * math/w_logf.c: Likewise.
15884 * math/w_powf.c: Likewise.
15885 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
15886 [!__exp2f]: Use libm_alias_float_other.
15887 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
15888 [!__expf]: Use libm_alias_float_other.
15889 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
15890 [!__log2f]: Use libm_alias_float_other.
15891 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
15892 [!__logf]: Use libm_alias_float_other.
15893 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
15894 [!__powf]: Use libm_alias_float_other.
15896 2017-10-10 Florian Weimer <fweimer@redhat.com>
15898 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
15900 (_nss_files_gethostbyname3_r): Call it.
15902 2017-10-09 Joseph Myers <joseph@codesourcery.com>
15904 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
15905 error. Remove default definition of declare_mgen_alias.
15906 [!declare_mgen_alias_r]: Likewise.
15907 * sysdeps/generic/math-type-macros-double.h
15908 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
15909 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
15910 (declare_mgen_alias_r): Likewise.
15911 * sysdeps/generic/math-type-macros-float128.h
15912 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
15913 * sysdeps/generic/math-type-macros-ldouble.h
15914 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
15915 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
15917 (declare_mgen_alias_r_s): Likewise.
15918 (declare_mgen_alias_r): Likewise.
15919 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
15920 (lgamma_r): Define using libm_alias_double_r.
15921 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
15922 (lgammaf_r): Define using libm_alias_float_r.
15923 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
15924 (lgammal_r): Define using libm_alias_ldouble_r.
15925 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
15926 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
15928 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15930 * lib/glob.c (__glob_pattern_type): Remove now-spurious
15931 extern declaration.
15933 2017-10-09 Joseph Myers <joseph@codesourcery.com>
15935 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
15937 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
15940 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
15941 [__cplusplus >= 201103] (__USE_ISOC99): Define.
15942 * math/Makefile (test-math-cxx11): New test.
15943 * math/test-math-cxx11.cc: New file.
15945 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
15947 * login/openpty.c (openpty): Close slave pty file descriptor on error.
15949 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
15950 call to allocate the slave pty file descriptor.
15952 2017-10-06 Joseph Myers <joseph@codesourcery.com>
15954 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
15955 [!__fma] (fma): Define using libm_alias_double.
15956 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
15957 [!__fma] (fma): Define using libm_alias_double.
15959 * sysdeps/ieee754/float128/float128_private.h: Include
15960 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
15961 (libm_alias_ldouble_r): Undefine and redefine.
15962 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
15963 <libm-alias-ldouble.h>.
15964 (asinhl): Define using libm_alias_ldouble.
15965 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
15966 <libm-alias-ldouble.h>.
15967 (atanl): Define using libm_alias_ldouble.
15968 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
15969 <libm-alias-ldouble.h>.
15970 (cbrtl): Define using libm_alias_ldouble.
15971 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
15972 <libm-alias-ldouble.h>.
15973 (ceill): Define using libm_alias_ldouble.
15974 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
15975 <libm-alias-ldouble.h>.
15976 (copysignl): Define using libm_alias_ldouble.
15977 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
15978 <libm-alias-ldouble.h>.
15979 (cosl): Define using libm_alias_ldouble.
15980 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
15981 <libm-alias-ldouble.h>.
15982 (erfl): Define using libm_alias_ldouble.
15984 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
15985 <libm-alias-ldouble.h>.
15986 (expm1l): Define using libm_alias_ldouble.
15987 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
15988 <libm-alias-ldouble.h>.
15989 (fabsl): Define using libm_alias_ldouble.
15990 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
15991 <libm-alias-ldouble.h>.
15992 (floorl): Define using libm_alias_ldouble.
15993 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
15994 <libm-alias-ldouble.h>.
15995 (fmal): Define using libm_alias_ldouble.
15996 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
15997 <libm-alias-ldouble.h>.
15998 (frexpl): Define using libm_alias_ldouble.
15999 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
16000 libm_alias_ldouble.
16001 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
16002 <libm-alias-ldouble.h>.
16003 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
16004 libm_alias_ldouble.
16005 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
16006 <libm-alias-ldouble.h>.
16007 (getpayloadl): Define using libm_alias_ldouble.
16008 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
16009 <libm-alias-ldouble.h>.
16010 (llrintl): Define using libm_alias_ldouble.
16011 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
16012 <libm-alias-ldouble.h>.
16013 (llroundl): Define using libm_alias_ldouble.
16014 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
16015 <libm-alias-ldouble.h>.
16016 (logbl): Define using libm_alias_ldouble.
16017 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
16018 <libm-alias-ldouble.h>.
16019 (lrintl): Define using libm_alias_ldouble.
16020 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
16021 <libm-alias-ldouble.h>.
16022 (lroundl): Define using libm_alias_ldouble.
16023 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
16024 <libm-alias-ldouble.h>.
16025 (modfl): Define using libm_alias_ldouble.
16026 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
16027 <libm-alias-ldouble.h>.
16028 (nearbyintl): Define using libm_alias_ldouble.
16029 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
16030 <libm-alias-ldouble.h>.
16031 (nextafterl): Define using libm_alias_ldouble.
16032 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
16033 <libm-alias-ldouble.h>.
16034 (nextupl): Define using libm_alias_ldouble.
16035 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
16036 <libm-alias-ldouble.h>.
16037 (remquol): Define using libm_alias_ldouble.
16038 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
16039 <libm-alias-ldouble.h>.
16040 (rintl): Define using libm_alias_ldouble.
16041 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
16042 <libm-alias-ldouble.h>.
16043 (roundevenl): Define using libm_alias_ldouble.
16044 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
16045 <libm-alias-ldouble.h>.
16046 (roundl): Define using libm_alias_ldouble.
16047 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
16048 using libm_alias_ldouble.
16049 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
16050 <libm-alias-ldouble.h>.
16051 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
16052 Define using libm_alias_ldouble.
16053 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
16054 <libm-alias-ldouble.h>.
16055 (sincosl): Define using libm_alias_ldouble.
16056 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
16057 <libm-alias-ldouble.h>.
16058 (sinl): Define using libm_alias_ldouble.
16059 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
16060 <libm-alias-ldouble.h>.
16061 (tanhl): Define using libm_alias_ldouble.
16062 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
16063 <libm-alias-ldouble.h>.
16064 (tanl): Define using libm_alias_ldouble.
16065 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
16066 <libm-alias-ldouble.h>.
16067 (totalorderl): Define using libm_alias_ldouble.
16068 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
16069 <libm-alias-ldouble.h>.
16070 (totalordermagl): Define using libm_alias_ldouble.
16071 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
16072 <libm-alias-ldouble.h>.
16073 (truncl): Define using libm_alias_ldouble.
16074 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
16075 libm_alias_ldouble.
16076 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
16077 libm_alias_ldouble.
16078 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
16079 <libm-alias-ldouble.h>.
16080 (weak_alias): Do not undefine and redefine.
16081 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
16082 (copysignl): Define with long_double_symbol only if [IS_IN
16084 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
16085 <libm-alias-ldouble.h>.
16086 (weak_alias): Do not undefine and redefine.
16087 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
16088 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
16089 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
16090 <libm-alias-ldouble.h>.
16091 (weak_alias): Do not undefine and redefine.
16092 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
16093 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
16094 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
16095 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
16096 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
16097 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
16098 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
16099 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
16100 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
16101 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
16102 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
16103 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
16104 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
16105 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
16106 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
16107 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
16108 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
16109 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
16110 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
16111 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
16112 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
16113 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
16114 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
16115 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
16116 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
16117 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
16119 2017-10-06 Carlos O'Donell <carlos@redhat.com>
16122 * malloc/malloc.c (tcache_shutting_down): Use bool type.
16123 (tcache_thread_freeres): Set tcache_shutting_down before
16124 freeing the tcache.
16125 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
16126 * malloc/tst-malloc-tcache-leak.c: New file.
16128 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16130 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
16131 back to powerpc32 file.
16132 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
16133 (memrchr): Add __memrchr_power8 to ifunc list.
16134 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
16135 extra bytes for unaligned inputs.
16137 2017-10-06 Joseph Myers <joseph@codesourcery.com>
16139 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
16140 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
16141 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
16142 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
16143 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
16145 2017-10-05 Joseph Myers <joseph@codesourcery.com>
16147 * sysdeps/arm/libm-test-ulps: Update.
16149 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
16150 <libm-alias-ldouble.h>.
16151 (asinhl): Define using libm_alias_ldouble.
16152 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
16153 <libm-alias-ldouble.h>.
16154 (cbrtl): Define using libm_alias_ldouble.
16155 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
16156 <libm-alias-ldouble.h>.
16157 (copysignl): Define using libm_alias_ldouble.
16158 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
16159 <libm-alias-ldouble.h>.
16160 (cosl): Define using libm_alias_ldouble.
16161 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
16162 <libm-alias-ldouble.h>.
16163 (erfl): Define using libm_alias_ldouble.
16165 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
16166 <libm-alias-ldouble.h>.
16167 (fmal): Define using libm_alias_ldouble.
16168 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
16169 <libm-alias-ldouble.h>.
16170 (frexpl): Define using libm_alias_ldouble.
16171 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
16172 libm_alias_ldouble.
16173 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
16174 <libm-alias-ldouble.h>.
16175 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
16176 libm_alias_ldouble.
16177 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
16178 <libm-alias-ldouble.h>.
16179 (getpayloadl): Define using libm_alias_ldouble.
16180 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
16181 <libm-alias-ldouble.h>.
16182 (llrintl): Define using libm_alias_ldouble.
16183 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
16184 <libm-alias-ldouble.h>.
16185 (llroundl): Define using libm_alias_ldouble.
16186 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
16187 <libm-alias-ldouble.h>.
16188 (lrintl): Define using libm_alias_ldouble.
16189 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
16190 <libm-alias-ldouble.h>.
16191 (lroundl): Define using libm_alias_ldouble.
16192 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
16193 <libm-alias-ldouble.h>.
16194 (modfl): Define using libm_alias_ldouble.
16195 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
16196 <libm-alias-ldouble.h>.
16197 (nextupl): Define using libm_alias_ldouble.
16198 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
16199 <libm-alias-ldouble.h>.
16200 (remquol): Define using libm_alias_ldouble.
16201 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
16202 <libm-alias-ldouble.h>.
16203 (roundevenl): Define using libm_alias_ldouble.
16204 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
16205 <libm-alias-ldouble.h>.
16206 (roundl): Define using libm_alias_ldouble.
16207 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
16208 using libm_alias_ldouble.
16209 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
16210 <libm-alias-ldouble.h>.
16211 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
16212 <libm-alias-ldouble.h>.
16213 (setpayloadsigl): Define using libm_alias_ldouble.
16214 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
16215 <libm-alias-ldouble.h>.
16216 (sincosl): Define using libm_alias_ldouble.
16217 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
16218 <libm-alias-ldouble.h>.
16219 (sinl): Define using libm_alias_ldouble.
16220 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
16221 <libm-alias-ldouble.h>.
16222 (tanhl): Define using libm_alias_ldouble.
16223 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
16224 <libm-alias-ldouble.h>.
16225 (tanl): Define using libm_alias_ldouble.
16226 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
16227 <libm-alias-ldouble.h>.
16228 (totalorderl): Define using libm_alias_ldouble.
16229 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
16230 <libm-alias-ldouble.h>.
16231 (totalordermagl): Define using libm_alias_ldouble.
16232 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
16233 libm_alias_ldouble.
16234 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
16235 libm_alias_ldouble.
16237 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
16239 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
16241 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
16242 (__libc_ifunc_impl_list): Likewise.
16243 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
16244 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
16246 * benchtests/bench-memmove-walk.c: New file.
16247 * benchtests/Makefile (string-benchset): Add it.
16249 * benchtests/bench-memset-walk.c: New file.
16250 * benchtests/Makefile (string-benchset): Add it.
16252 * benchtests/bench-memcpy-walk.c: New file.
16253 * benchtests/Makefile (string-benchset): Add it.
16255 2017-10-05 Florian Weimer <fweimer@redhat.com>
16257 nscd: Eliminate compilation time dependency in the build output.
16258 * nscd/nscd_stat.c (STATDATA_VERSION)
16259 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
16260 (STATDATA_VERSION_FULL): New macro definitions.
16261 (compilation): Remove.
16262 (struct statdata): Adjust version member.
16263 (send_stats): Set version from STATDATA_VERSION_FULL.
16264 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
16266 2017-10-05 Joseph Myers <joseph@codesourcery.com>
16268 * configure.ac (--enable-add-ons): Remove option.
16269 (machine): Do not mention add-ons in comment.
16270 (LIBC_PRECONFIGURE): Likewise.
16271 (add_ons): Remove variable and sanity checks and logic to locate
16273 (add_ons_automatic): Remove variable.
16274 (configured_add_ons): Likewise.
16275 (add_ons_sfx): Likewise.
16276 (add_ons_pfx): Likewise.
16277 (add_on_subdirs): Likewise.
16278 (sysnames_add_ons): Likewise. Remove loop over add-ons and
16279 consideration of add-ons in Implies handling.
16280 (sysdeps_add_ons): Likewise.
16281 * configure: Regenerated.
16282 * libidn/configure.ac: Remove.
16283 * libidn/configure: Likewise.
16284 * sysdeps/unix/inet/configure.ac: New file.
16285 * sysdeps/unix/inet/configure: New generated file.
16286 * sysdeps/unix/inet/Subdirs: Add libidn.
16287 * Makeconfig (sysdeps-srcdirs): Remove variable.
16288 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
16289 ($(common-objpfx)config.status): Do not depend on add-on files.
16290 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
16292 (all-subdirs): Do not include $(add-on-subdirs).
16293 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
16294 * config.make.in (add-ons): Remove variable.
16295 (add-on-subdirs): Likewise.
16296 (sysdeps-add-ons): Likewise.
16297 * manual/Makefile (add-chapters): Remove.
16298 ($(objpfx)texis): Do not depend on $(add-chapters).
16299 (nonexamples): Do not handle $(add-chapters).
16300 (examples): Do not handle $(add-ons).
16301 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
16303 * manual/install.texi (Installation): Do not mention add-ons.
16304 (--enable-add-ons): Do not document configure option.
16305 * INSTALL: Regenerated.
16306 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
16307 * manual/maint.texi (Hierarchy Conventions): Do not mention
16309 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
16311 * scripts/gen-sorted.awk: Do not handle Subdirs files from
16313 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
16314 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
16316 2017-10-05 Andreas Schwab <schwab@suse.de>
16319 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
16320 (_IO_flush_all_lockp): Always lock list_all_lock.
16321 (_IO_flush_all_linebuffered): Likewise.
16322 (_IO_unbuffer_all): Likewise.
16324 2017-10-05 Florian Weimer <fweimer@redhat.com>
16327 Do not flush stdio streams on abort.
16328 * stdlib/abort.c (fflush): Remove macro definition.
16329 (abort): Remove stages related to stdio flushing.
16331 2017-10-05 Florian Weimer <fweimer@redhat.com>
16333 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
16335 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16337 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16339 2017-10-05 Florian Weimer <fweimer@redhat.com>
16341 * support/support_format_hostent.c (support_format_hostent): Add
16342 more error information for NETDB_INTERNAL.
16344 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
16346 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
16347 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
16348 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
16349 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
16350 AC_DEFINE if multi-arch is enabled.
16351 * sysdeps/i386/configure: Regenerated.
16353 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
16355 * Makeconfig (+link-static-before-libc): Use
16356 $(DEFAULT-LDFLAGS-$(@F)).
16357 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
16358 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
16359 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
16361 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
16363 * elf/Makefile (tests): Add tst-main1.
16364 (modules-names): Add tst-main1mod.
16365 ($(objpfx)tst-main1): New.
16366 (CRT-tst-main1): Likewise.
16367 (LDFLAGS-tst-main1): Likewise.
16368 (LDLIBS-tst-main1): Likewise.
16369 (tst-main1mod.so-no-z-defs): Likewise.
16370 * elf/tst-main1.c: New file.
16371 * elf/tst-main1mod.c: Likewise.
16373 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
16375 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
16377 2017-10-04 Joseph Myers <joseph@codesourcery.com>
16379 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
16380 (fma): Define using libm_alias_double.
16381 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
16382 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
16384 (fmal): Do not define as compat symbol here.
16385 * sysdeps/alpha/fpu/s_fma.c: New file.
16387 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
16389 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
16391 2017-10-04 Joseph Myers <joseph@codesourcery.com>
16394 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
16396 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
16398 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
16399 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
16400 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
16401 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
16402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16403 Include <math_ldbl_opt.h>
16404 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
16406 (compat_symbol): Undefine and redefine.
16407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
16409 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
16410 (compat_symbol): Undefine and redefine.
16411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
16412 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
16413 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
16414 GLIBC_2_1 for libm.
16415 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
16416 GLIBC_2.0 copysignl symbol.
16417 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
16418 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
16420 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
16422 2017-10-04 Florian Weimer <fweimer@redhat.com>
16424 * scripts/check-local-headers.sh: Ignore nspr4 header file
16425 directory in addition to nspr.
16427 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
16430 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
16431 * configure: Regenerate.
16432 * crypt/Makefile (nss-cpp-flags): New variable.
16433 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
16434 (CPPFLAGS-md5-crypt.c): Use it.
16435 * scripts/check-local-headers.sh: Ignore nspr header file
16438 2017-10-04 Andreas Schwab <schwab@suse.de>
16440 * nis/Makefile (services): Remove compat.
16441 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
16442 ($(objpfx)libnss_compat.so): Remove rule.
16443 * nis/Versions (libnss_compat): Remove.
16444 * nss/Makefile (services): Add compat.
16445 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
16446 * nss/Versions (libnss_compat): Define.
16447 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
16448 Don't include <rpc/types.h>. Replace bool_t by bool.
16449 * nss/nss_compat/compat-initgroups.c: Likewise.
16450 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
16451 instead of <rpcsrv/ypclnt.h>.
16452 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
16453 yp_get_default_domain.
16454 * nss/nss_compat/compat-pwd.c: Likewise.
16455 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
16456 yp_get_default_domain.
16457 * nss/nss_compat/nisdomain.c: New file.
16458 * nss/nss_compat/nisdomain.h: Likewise.
16460 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
16463 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
16464 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16466 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
16469 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
16470 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
16472 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
16474 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
16475 "movl main@GOTOFF(%ebx), %eax".
16477 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
16479 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
16480 allow undefined _DYNAMIC in PIE libc.a.
16481 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
16484 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
16486 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
16489 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
16491 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
16494 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
16496 * math/test-math-iscanonical.cc (error): Replace bool with int.
16498 2017-10-03 Joseph Myers <joseph@codesourcery.com>
16500 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
16501 (modf): Define using libm_alias_double, only if [!__modf].
16502 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
16503 <libm-alias-double.h>.
16504 (modf): Define using libm_alias_double, only if [!__modf].
16505 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
16506 compat symbol here.
16507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
16508 (weak_alias): Do not undefine and redefine.
16509 (strong_alias): Likewise.
16510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
16511 (weak_alias): Likewise.
16512 (strong_alias): Likewise.
16514 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
16515 (logb): Define using libm_alias_double, only if [!__logb].
16516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
16517 <libm-alias-double.h>.
16518 (logb): Define using libm_alias_double, only if [!__logb].
16519 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
16520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
16521 (weak_alias): Do not undefine and redefine.
16522 (strong_alias): Likewise.
16523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
16524 (weak_alias): Likewise.
16525 (strong_alias): Likewise.
16527 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
16529 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
16530 Check SHARED instead PIC.
16532 2017-10-03 Joseph Myers <joseph@codesourcery.com>
16534 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
16535 [!__fmaf] (fmaf): Define using libm_alias_float.
16537 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
16538 (frexp): Define using libm_alias_double.
16539 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
16540 <libm-alias-double.h>.
16541 (frexp): Define using libm_alias_double.
16542 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
16543 compat symbol here.
16545 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16548 * math/math.h: Trivial fix for unbalanced parentheses in comment.
16549 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
16550 (CFLAGS-test-math-iscanonical.cc): New variable.
16551 * math/test-math-iscanonical.cc: New file.
16552 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
16553 Provide a C++ implementation based on function overloading,
16554 rather than using __MATH_TG, which uses C-only builtins.
16555 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
16557 * sysdeps/powerpc/powerpc64le/Makefile
16558 (CFLAGS-test-math-iscanonical.cc): New variable.
16560 2017-10-03 Joseph Myers <joseph@codesourcery.com>
16562 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
16563 (ceil): Define using libm_alias_double.
16564 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
16565 (floor): Define using libm_alias_double.
16566 * sysdeps/ieee754/dbl-64/s_llround.c: Include
16567 <libm-alias-double.h>.
16568 (llround): Define using libm_alias_double.
16569 * sysdeps/ieee754/dbl-64/s_lround.c: Include
16570 <libm-alias-double.h>.
16571 (lround): Define using libm_alias_double.
16572 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
16573 <libm-alias-double.h>.
16574 (nearbyint): Define using libm_alias_double.
16575 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
16576 <libm-alias-double.h>.
16577 (remquo): Define using libm_alias_double.
16578 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
16579 (rint): Define using libm_alias_double.
16580 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
16581 (round): Define using libm_alias_double.
16582 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
16583 (trunc): Define using libm_alias_double.
16584 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
16585 <libm-alias-double.h>.
16586 (ceil): Define using libm_alias_double.
16587 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
16588 <libm-alias-double.h>.
16589 (floor): Define using libm_alias_double.
16590 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
16591 <libm-alias-double.h>.
16592 (llround): Define using libm_alias_double.
16593 [_LP64] (lround): Likewise.
16594 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
16595 <libm-alias-double.h>.
16596 [!_LP64] (lround): Define using libm_alias_double.
16597 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
16598 <libm-alias-double.h>.
16599 (nearbyint): Define using libm_alias_double.
16600 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
16601 <libm-alias-double.h>.
16602 (remquo): Define using libm_alias_double.
16603 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
16604 <libm-alias-double.h>.
16605 (rint): Define using libm_alias_double.
16606 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
16607 <libm-alias-double.h>.
16608 (round): Define using libm_alias_double.
16609 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
16610 <libm-alias-double.h>.
16611 (trunc): Define using libm_alias_double.
16612 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
16613 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
16614 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
16615 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
16616 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
16617 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
16618 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
16619 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
16620 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
16622 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
16624 * math/w_remainder.c: New file.
16625 * math/w_remainderf.c: New file.
16626 * math/w_remainderl.c: New file.
16628 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
16630 * elf/rtld.c (BOOTSTRAP_MAP): New.
16631 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
16632 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16634 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16636 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16639 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16641 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
16642 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
16643 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
16644 rtld_hidden_data_ver): Define to empty.
16645 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
16646 __assert_perror_fail): Likewise.
16647 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
16648 (__rewinddir): Likewise.
16649 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
16650 (__profile_frequency): Likewise.
16651 * include/setjmp.h (__sigsetjmp): Likewise.
16652 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
16653 __libc_sigaction): Likewise.
16654 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
16655 not set hidden attribute.
16656 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
16657 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
16658 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
16659 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
16660 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
16661 __fxstatat64): Likewise.
16662 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
16663 (__uname): Likewise.
16664 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
16665 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
16666 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
16667 (NO_RTLD_HIDDEN): Set.
16668 * sysdeps/mach/hurd/configure: Refresh.
16669 * config.h.in: Refresh.
16671 2017-10-02 Joseph Myers <joseph@codesourcery.com>
16673 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
16674 (atan): Define using libm_alias_double.
16675 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
16676 (tan): Define using libm_alias_double.
16677 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
16678 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
16680 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
16681 define as weak alias of __atan. Do not define any aliases if
16683 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
16684 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
16685 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
16686 as weak alias of __tan. Do not define any aliases if [__tan].
16687 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
16688 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
16689 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
16691 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
16692 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
16693 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
16694 and define as weak alias of __atan.
16695 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
16697 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
16698 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
16699 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
16700 define as weak alias of __tan.
16702 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
16704 * math/w_lgamma.c: New file.
16705 * math/w_lgammaf.c: New file.
16706 * math/w_lgammal.c: New file.
16708 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
16710 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
16711 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
16712 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
16713 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
16714 * sysdeps/ieee754/flt-32/w_logf.c: New file.
16715 * sysdeps/ieee754/flt-32/w_powf.c: New file.
16716 * sysdeps/i386/fpu/w_log2f.c: New file.
16717 * sysdeps/i386/fpu/w_logf.c: New file.
16718 * sysdeps/i386/fpu/w_powf.c: New file.
16719 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
16720 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
16721 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
16723 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
16724 H.J. Lu <hongjiu.lu@intel.com>
16726 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
16727 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
16728 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
16729 * sysdeps/ieee754/flt-32/w_expf.c: New file.
16730 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
16732 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
16733 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
16734 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
16735 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
16736 * sysdeps/i386/fpu/w_exp2f.c: New file.
16737 * sysdeps/i386/fpu/w_expf.c: New file.
16738 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
16739 * sysdeps/x86_64/fpu/w_expf.c: New file.
16741 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
16743 * math/Versions (logf): New libm symbol at GLIBC_2.27.
16746 * math/w_log2f.c: New file.
16747 * math/w_logf.c: New file.
16748 * math/w_powf.c: New file.
16749 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
16750 * math/w_logf_compat.c (__logf_compat): Likewise.
16751 * math/w_powf_compat.c (__powf_compat): Likewise.
16752 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
16753 * sysdeps/ia64/fpu/e_logf.S: Likewise.
16754 * sysdeps/ia64/fpu/e_powf.S: Likewise.
16755 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
16756 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16757 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16758 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16759 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16760 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16761 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16762 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16763 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16764 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16765 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16766 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16775 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16776 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16777 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16778 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16779 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16784 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16785 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16786 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16788 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16790 * sysdeps/powerpc/powerpc64/multiarch/Makefile
16791 (sysdep_routines): Add memrchr_power8.
16792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16793 (memrchr): Add __memrchr_power8 to list of memrchr functions.
16794 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
16796 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
16797 (memrchr): Add __memrchr_power8 to ifunc list.
16798 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
16800 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16803 * sysdeps/unix/sysv/linux/posix_fadvise64.c
16804 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
16806 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16807 (__posix_fallocate64_l64): Likewise.
16809 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16812 * sysdeps/unix/sysv/linux/sched_setaffinity.c
16813 (__sched_setaffinity_new): Add libc_hidden_proto and
16816 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16819 * include/glob.h (__glob64): Add libc_hidden_proto.
16820 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
16823 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16826 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
16829 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16832 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
16834 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16837 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
16840 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16843 * csu/version.c (__libc_print_version): Add attribute_hidden.
16845 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16848 * include/libc-internal.h (__init_misc): Add attribute_hidden.
16850 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16853 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
16855 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16858 * nscd/nscd_helper.c (__nis_hash): New prototype.
16860 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16863 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
16864 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
16866 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16867 * termios/tcgetattr.c (__tcgetattr): Likewise.
16869 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16872 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
16873 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
16874 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
16875 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
16876 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
16878 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16881 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
16883 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16886 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
16887 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
16889 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16892 * intl/hash-string.h (__hash_string): Add attribute_hidden.
16894 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16897 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
16898 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
16900 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16903 * include/ifreq.h: New file.
16904 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
16905 (__ifreq): Likewise.
16906 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
16907 (__ifreq): Likewise.
16909 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16912 * include/idna.h: New file.
16913 * inet/getnameinfo.c: Include <idna.h> instead of
16915 (__idna_to_unicode_lzlz): Removed.
16916 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
16918 (__idna_to_ascii_lz): Removed.
16919 (__idna_to_unicode_lzlz): Likewise.
16921 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16924 * include/plural-exp.h: New file.
16925 * intl/plural-exp.c: Include <plural-exp.h> instead of
16928 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16931 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
16932 "getsourcefilter.h".
16933 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
16934 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
16935 "getsourcefilter.h".
16936 (__get_sol): Removed.
16938 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16941 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
16943 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
16945 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16948 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
16951 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16954 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
16956 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16959 * include/search.h (__tdestroy): Add libc_hidden_proto.
16960 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
16962 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16965 * include/assert.h (__assert_fail_base): Add attribute_hidden.
16967 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16970 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
16973 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
16976 * include/signal.h (__kill): Add libc_hidden_proto.
16977 (__sigblock): Likewise.
16978 (__sigprocmask): Likewise.
16979 (__sigaltstack): Likewise.
16980 * signal/kill.c (__kill): Add libc_hidden_def.
16981 * signal/sigblock.c (__sigblock): Likewise.
16982 * signal/sigprocmask.c (__sigprocmask): Likewise.
16983 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
16984 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
16985 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
16986 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
16987 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
16989 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
16991 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
16992 (__sigprocmask): Likewise.
16993 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
16995 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
16996 (__sigprocmask): Likewise.
16997 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17000 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17003 * include/string.h (__strsep): Add libc_hidden_proto.
17004 * string/strsep.c (__strsep): Add libc_hidden_def.
17006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17009 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
17011 (__spawni): Likewise.
17013 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17016 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
17017 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
17020 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17023 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
17025 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17028 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
17029 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
17030 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
17031 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
17032 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
17034 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
17035 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
17037 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17040 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
17041 (__dcigettext): Likewise.
17043 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17046 * include/sys/sysinfo.h (__get_nprocs_conf): Add
17048 (__get_nprocs): Likewise.
17049 (__get_phys_pages): Likewise.
17050 (__get_avphys_pages): Likewise.
17051 (__get_child_max): Add attribute_hidden.
17052 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
17053 (__get_nprocs): Likewise.
17054 (__get_phys_pages): Likewise.
17055 (__get_avphys_pages): Likewise.
17056 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
17058 (__get_nprocs): Likewise.
17059 (__get_phys_pages): Likewise.
17060 (__get_avphys_pages): Likewise.
17061 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
17063 (__get_nprocs_conf): Likewise.
17064 (__get_phys_pages): Likewise.
17065 (__get_avphys_pages): Likewise.
17067 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17070 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
17072 (__netlink_close): Likewise.
17073 (__netlink_free_handle): Likewise.
17074 (__netlink_request): Likewise.
17076 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17079 * include/rpc/rpc.h (__rpc_thread_variables): Add
17081 (__rpc_thread_svc_cleanup): Likewise.
17082 (__rpc_thread_clnt_cleanup): Likewise.
17083 (__rpc_thread_key_cleanup): Likewise.
17085 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17088 * include/sys/uio.h (__readv): Add libc_hidden_proto.
17089 (__writev): Likewise.
17090 * misc/readv.c (__readv): Add libc_hidden_def.
17091 * misc/writev.c (__writev): Likewise.
17092 * sysdeps/posix/readv.c (__readv): Likewise.
17093 * sysdeps/posix/writev.c (__writev): Likewise.
17094 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
17095 (__readv): Likewise.
17096 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
17097 (__writev): Likewise.
17099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17102 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
17103 (__regcomp): Add libc_hidden_proto.
17104 (__regexec): Likewise.
17105 (__regfree): Likewise.
17106 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
17107 (__regfree): Likewise.
17108 * posix/regexec.c (__regexec): Likewise.
17110 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17113 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
17114 (__getutent): Likewise.
17115 (__getutid): Likewise.
17116 (__getutline): Likewise.
17117 (__pututline): Likewise.
17118 (__getutent_r): Likewise.
17119 (__getutid_r): Likewise.
17120 (__getutline_r): Likewise.
17121 (__utmpname): Add attribute_hidden.
17122 (__setutent): Likewise.
17123 (__endutent): Likewise.
17124 * login/getutent.c (__getutent): Add libc_hidden_def.
17125 * login/getutent_r.c (__getutent_r): Likewise.
17126 (__pututline): Likewise.
17127 * login/getutid.c (__getutid): Likewise.
17128 * login/getutid_r.c (__getutid_r): Likewise.
17129 * login/getutline.c (__getutline): Likewise.
17130 * login/getutline_r.c (__getutline_r): Likewise.
17131 * login/updwtmp.c (__updwtmp): Likewise.
17133 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17136 * include/dirent.h (__opendir): Always add attribute_hidden.
17137 (__fdopendir): Likewise.
17138 (__closedir): Likewise.
17139 (__readdir): Likewise.
17140 (__readdir64): Add libc_hidden_proto.
17141 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
17142 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
17143 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
17144 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
17147 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17150 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
17151 * include/netdb.h (__gethostbyaddr_r): Likewise.
17152 (__gethostbyname_r): Likewise.
17153 (__gethostbyname2_r): Likewise.
17154 (__getnetbyaddr_r): Likewise.
17155 (__getnetbyname_r): Likewise.
17156 (__getservbyname_r): Likewise.
17157 (__getservbyport_r): Likewise.
17158 (__getprotobyname_r): Likewise.
17159 (__getprotobynumber_r): Likewise.
17160 (__getnetgrent_r): Likewise.
17161 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
17162 (__getrpcbynumber_r): Likewise.
17163 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
17165 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17168 * include/stdio.h (__fcloseall): Add attribute_hidden.
17169 (__getline): Likewise.
17170 (__path_search): Likewise.
17171 (__gen_tempname): Likewise.
17172 (__libc_message): Likewise.
17173 (__flockfile): Likewise.
17174 (__funlockfile): Likewise.
17175 (__fxprintf): Likewise.
17176 (__fxprintf_nocancel): Likewise.
17178 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17181 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
17182 (__sgetsgent_r): Likewise.
17184 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17187 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
17188 (__statfs64): Likewise.
17189 (__fstatfs64): Likewise.
17190 * include/sys/statvfs.h (__statvfs64): Likewise.
17191 (__fstatvfs64): Likewise.
17192 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
17193 (__statfs_filesize_max): Likewise.
17194 (__statfs_symlinks): Likewise.
17195 (__statfs_chown_restricted): Likewise.
17197 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17200 * include/time.h (__tzstring): Add attribute_hidden.
17201 (__tzfile_read): Likewise.
17202 (__tzfile_compute): Likewise.
17203 (__tzfile_default): Likewise.
17204 (__tzset_parse_tz): Likewise.
17205 (__offtime): Likewise.
17206 (__asctime_r): Likewise.
17207 (__tzset): Likewise.
17208 (__tz_convert): Likewise.
17209 (__getdate_r): Likewise.
17210 (__getclktck): Likewise.
17212 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17215 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
17216 (__nscd_unmap): Likewise.
17217 (__nscd_cache_search): Likewise.
17218 (__nscd_get_nl_timestamp): Likewise.
17219 (__nscd_getpwnam_r): Likewise.
17220 (__nscd_getpwuid_r): Likewise.
17221 (__nscd_getgrnam_r): Likewise.
17222 (__nscd_getgrgid_r): Likewise.
17223 (__nscd_gethostbyname_r): Likewise.
17224 (__nscd_gethostbyname2_r): Likewise.
17225 (__nscd_gethostbyaddr_r): Likewise.
17226 (__nscd_getai): Likewise.
17227 (__nscd_getgrouplist): Likewise.
17228 (__nscd_getservbyname_r): Likewise.
17229 (__nscd_getservbyport_r): Likewise.
17230 (__nscd_innetgr): Likewise.
17231 (__nscd_setnetgrent): Likewise.
17233 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17236 * include/gmp.h: Declare internal functions only if _ISOMAC is
17238 (__mpn_extract_double): Add attribute_hidden.
17239 (__mpn_extract_long_double): Likewise.
17240 (__mpn_extract_float128): Likewise.
17241 (__mpn_construct_float): Likewise.
17242 (__mpn_construct_double): Likewise.
17243 (__mpn_construct_long_double): Likewise.
17244 (__mpn_construct_float128): Likewise.
17245 (mpn_add_1): Likewise.
17246 (mpn_addmul_1): Likewise.
17247 (mpn_add_n): Likewise.
17248 (mpn_cmp): Likewise.
17249 (mpn_divrem): Likewise.
17250 (mpn_lshift): Likewise.
17251 (mpn_mul): Likewise.
17252 (mpn_mul_1): Likewise.
17253 (mpn_rshift): Likewise.
17254 (mpn_sub_1): Likewise.
17255 (mpn_submul_1): Likewise.
17256 (mpn_sub_n): Likewise.
17258 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17261 * include/wchar.h (__wcsnlen): Add attribute_hidden.
17262 (__wcscat): Likewise.
17263 (__btowc): Likewise.
17264 (__wcrtomb): Likewise.
17265 (__mbsrtowcs): Likewise.
17266 (__wcsrtombs): Likewise.
17267 (__mbsnrtowcs): Likewise.
17268 (__wcsnrtombs): Likewise.
17269 (__wcsncpy): Likewise.
17270 (__wcpncpy): Likewise.
17271 (__wmemcpy): Likewise.
17272 (__wmempcpy): Likewise.
17273 (__wmemmove): Likewise.
17274 (__wcschrnul): Likewise.
17275 (__vfwscanf): Likewise.
17276 (__vswprintf): Likewise.
17277 (__fwprintf): Likewise.
17278 (__vfwprintf): Likewise.
17280 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17283 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
17284 (__getgrgid_r): Likewise.
17285 (__getgrnam_r): Likewise.
17286 * include/pwd.h (__getpwuid_r): Likewise.
17287 (__getpwnam_r): Likewise.
17288 (__fgetpwent_r): Likewise.
17289 * include/shadow.h (__getspnam_r): Likewise.
17290 (__sgetspent_r): Likewise.
17291 (__fgetspent_r): Likewise.
17293 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17296 * include/unistd.h (__access): Add attribute_hidden.
17297 (__lseek64): Likewise.
17298 (__libc_pread64): Likewise.
17299 (__pipe2): Likewise.
17300 (__sleep): Likewise.
17301 (__chdir): Likewise.
17302 (__fchdir): Likewise.
17303 (__getcwd): Likewise.
17304 (__rmdir): Likewise.
17305 (__execvpe): Likewise.
17306 (__execve): Likewise.
17307 (__setsid): Likewise.
17308 (__getuid): Likewise.
17309 (__geteuid): Likewise.
17310 (__getgid): Likewise.
17311 (__getegid): Likewise.
17312 (__getgroups): Likewise.
17313 (__group_member): Likewise.
17314 (__ttyname_r): Likewise.
17315 (__isatty): Likewise.
17316 (__readlink): Likewise.
17317 (__unlink): Likewise.
17318 (__gethostname): Likewise.
17319 (__profil): Likewise.
17320 (__getdtablesize): Likewise.
17322 (__ftruncate): Likewise.
17323 (__ftruncate64): Likewise.
17325 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17328 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
17329 * argp/argp-fs-xinl.c: Likewise.
17330 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
17331 * argp/argp-parse.c: Include <argp.h>.
17332 * argp/argp-xinl.c: Likewise.
17333 * include/argp-fmtstream.h: New file.
17334 * include/argp.h (__argp_error): Add attribute_hidden.
17335 (__argp_failure): Likewise.
17336 (__argp_input): Likewise.
17337 (__argp_state_help): Likewise.
17339 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17342 * include/wchar.h (____wcstof_l_internal): New prototype.
17343 (____wcstod_l_internal): Likewise.
17344 (____wcstold_l_internal): Likewise.
17345 (____wcstol_l_internal): Likewise.
17346 (____wcstoul_l_internal): Likewise.
17347 (____wcstoll_l_internal): Likewise.
17348 (____wcstoull_l_internal): Likewise.
17349 (____wcstof128_l_internal): Likewise.
17350 * sysdeps/ieee754/float128/wcstof128.c
17351 (____wcstof128_l_internal): Removed.
17352 * sysdeps/ieee754/float128/wcstof128_l.c
17353 (____wcstof128_l_internal): Likewise.
17354 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
17355 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
17356 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
17357 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
17358 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
17359 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
17360 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
17361 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
17362 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
17363 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
17365 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17368 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
17369 instead of <sys/statvfs.h>.
17370 (__internal_statvfs): Removed.
17371 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
17372 instead of <sys/statvfs.h>.
17373 (__internal_statvfs64): Removed.
17374 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
17375 "internal_statvfs.h" instead of <sys/statvfs.h>.
17376 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
17377 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
17378 instead of <sys/statvfs.h>.
17379 (__internal_statvfs): Removed.
17380 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
17381 instead of <sys/statvfs.h>.
17382 (__internal_statvfs64): Removed.
17384 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17387 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
17388 (__gconv_close): Likewise.
17389 (__gconv): Likewise.
17390 (__gconv_find_transform): Likewise.
17391 (__gconv_lookup_cache): Likewise.
17392 (__gconv_compare_alias_cache): Likewise.
17393 (__gconv_load_cache): Likewise.
17394 (__gconv_get_path): Likewise.
17395 (__gconv_close_transform): Likewise.
17396 (__gconv_release_cache): Likewise.
17397 (__gconv_find_shlib): Likewise.
17398 (__gconv_release_shlib): Likewise.
17399 (__gconv_get_builtin_trans): Likewise.
17400 (__gconv_compare_alias): Likewise.
17401 * include/dlfcn.h (_dlerror_run): Likewise.
17402 * include/stdio.h (__fortify_fail_abort): Likewise.
17403 * include/time.h (__tz_compute): Likewise.
17404 (__strptime_internal): Likewise.
17405 * intl/gettextP.h (_nl_find_domain): Likewise.
17406 (_nl_load_domain): Likewise.
17407 (_nl_find_msg): Likewise.
17408 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
17409 (EXTRACT_PLURAL_EXPRESSION): Likewise.
17410 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
17411 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
17412 (__gai_find_request): Likewise.
17413 (__gai_remove_request): Likewise.
17414 (__gai_notify): Likewise.
17415 (__gai_notify_only): Likewise.
17416 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
17417 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
17418 (_dl_non_dynamic_init): Likewise.
17419 (_dl_aux_init): Likewise.
17420 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
17421 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
17423 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
17424 (__wcsmbs_clone_conv): Likewise.
17425 (__wcsmbs_named_conv): Likewise.
17427 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17430 * include/stdlib.h (__random): Add attribute_hidden.
17431 (__random_r): Likewise.
17432 (__srandom_r): Likewise.
17433 (__initstate_r): Likewise.
17434 (__setstate_r): Likewise.
17435 (__erand48_r): Likewise.
17436 (__nrand48_r): Likewise.
17437 (__jrand48_r): Likewise.
17438 (__srand48_r): Likewise.
17439 (__seed48_r): Likewise.
17440 (__lcong48_r): Likewise.
17441 (__drand48_iterate): Likewise.
17442 (__setenv): Likewise.
17443 (__unsetenv): Likewise.
17444 (__clearenv): Likewise.
17445 (__ptsname_r): Likewise.
17446 (__posix_openpt): Likewise.
17447 (__add_to_environ): Likewise.
17448 (__realpath): Add libc_hidden_proto.
17449 (__ecvt_r): Likewise.
17450 (__fcvt_r): Likewise.
17451 (__qecvt_r): Likewise.
17452 (__qfcvt_r): Likewise.
17453 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
17454 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
17456 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
17459 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
17460 * include/time.h (__mktime_internal): Likewise.
17461 * libio/iolibio.h (__fopen_internal): Likewise.
17463 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
17465 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
17467 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
17468 Correct offset used to restore PIC register.
17470 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
17473 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
17474 code to load address of __getcontext_ret when generating PIC code.
17476 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
17478 * elf/Makefile (tests-static-internal): Add
17479 tst-tls1-static-non-pie.
17480 (LDFLAGS-tst-tls1-static-non-pie): New.
17481 * elf/tst-tls1-static-non-pie.c: New file.
17483 2017-09-29 Joseph Myers <joseph@codesourcery.com>
17485 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
17486 (asinh): Define using libm_alias_double.
17487 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
17488 (cbrt): Define using libm_alias_double.
17489 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
17490 <libm-alias-double.h>.
17491 (copysign): Define using libm_alias_double.
17492 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
17493 (erf): Define using libm_alias_double.
17495 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
17496 (expm1): Define using libm_alias_double.
17497 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
17498 (fabs): Define using libm_alias_double.
17499 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
17501 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
17502 <libm-alias-double.h>.
17503 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
17505 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
17506 <libm-alias-double.h>.
17507 (getpayload): Define using libm_alias_double.
17508 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
17509 <libm-alias-double.h>.
17510 (llrint): Define using libm_alias_double.
17511 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
17512 (lrint): Define using libm_alias_double.
17513 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
17514 <libm-alias-double.h>.
17515 (nextup): Define using libm_alias_double.
17516 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
17517 <libm-alias-double.h>.
17518 (roundeven): Define using libm_alias_double.
17519 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
17521 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
17522 <libm-alias-double.h>.
17523 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
17524 using libm_alias_double.
17525 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
17526 (cos): Define using libm_alias_double.
17528 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
17529 <libm-alias-double.h>.
17530 (sincos): Define using libm_alias_double.
17531 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
17532 (tanh): Define using libm_alias_double.
17533 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
17534 <libm-alias-double.h>.
17535 (totalorder): Define using libm_alias_double.
17536 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
17537 <libm-alias-double.h>.
17538 (totalordermag): Define using libm_alias_double.
17539 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
17541 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
17543 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
17544 <libm-alias-double.h>.
17545 (getpayload): Define using libm_alias_double.
17546 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
17547 <libm-alias-double.h>.
17548 (roundeven): Define using libm_alias_double.
17549 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
17550 <libm-alias-double.h>.
17551 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
17552 <libm-alias-double.h>.
17553 (totalorder): Define using libm_alias_double.
17554 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
17555 <libm-alias-double.h>.
17556 (totalordermag): Define using libm_alias_double.
17557 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
17558 libc compat symbol here.
17559 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
17560 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
17561 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
17562 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
17563 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
17564 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
17565 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
17566 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
17567 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
17568 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
17570 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
17572 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
17573 _dl_relocate_static_pie instead of _dl_start to compute load
17574 address in static PIE. Return 0 if _DYNAMIC is undefined for
17577 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
17579 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
17580 _DYNAMIC is undefined for static executable.
17582 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
17584 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
17586 2017-09-29 Joseph Myers <joseph@codesourcery.com>
17588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17590 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
17592 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
17593 (__ieee754_lgamma_r): Use fabs rather than __fabs.
17594 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17595 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17596 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
17597 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
17598 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
17599 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
17600 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
17601 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
17602 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
17603 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17604 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
17605 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
17606 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17607 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17608 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
17610 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
17612 * math/bits/cmathcalls.h (cimag): Remove inline.
17613 (creal): Remove inline.
17614 (conj): Remove inline.
17616 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
17618 * math/Makefile (type-float-routines): Add e_powf_log2_data.
17619 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
17620 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
17621 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
17622 (issignalingf_inline): Likewise.
17623 (POWF_LOG2_TABLE_BITS): Likewise.
17624 (POWF_LOG2_POLY_ORDER): Likewise.
17625 (POWF_SCALE_BITS): Likewise.
17626 (POWF_SCALE): Likewise.
17627 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
17628 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
17629 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
17631 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
17633 * math/Makefile (type-float-routines): Add e_log2f_data.
17634 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
17635 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
17636 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
17637 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
17638 * sysdeps/i386/fpu/e_log2f_data.c: New file.
17639 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
17640 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
17642 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
17644 * math/Makefile (type-float-routines): Add e_logf_data.
17645 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
17646 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
17647 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
17648 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
17649 * sysdeps/i386/fpu/e_logf_data.c: New file.
17650 * sysdeps/ia64/fpu/e_logf_data.c: New file.
17651 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
17653 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
17655 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
17656 undefined _DYNAMIC in PIE libc.a.
17657 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
17660 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
17662 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
17663 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
17664 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
17665 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
17666 (__signbit): Remove.
17667 (__signbitl): Remove.
17668 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
17669 (__signbit): Remove.
17670 (__signbitl): Remove.
17671 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
17672 (__signbit): Remove.
17673 (__signbitl): Remove.
17674 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
17675 (__signbit): Remove.
17676 (__signbitl): Remove.
17677 * sysdeps/tile/bits/mathinline.h: Delete file.
17678 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
17679 (__signbit): Remove.
17680 (__signbitl): Remove.
17682 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
17684 * math/math.h: Improve handling of C99 isgreater macros.
17685 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
17686 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
17687 * sysdeps/powerpc/bits/mathinline.h: Likewise.
17688 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17689 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
17691 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
17693 * sysdeps/aarch64/libm-test-ulps: Update.
17695 2017-09-28 Joseph Myers <joseph@codesourcery.com>
17698 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17699 math_opt_barrier on argument when doing arithmetic on it.
17700 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17701 Likewise. Use math_force_eval not math_opt_barrier after
17703 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
17704 math_opt_barrier on argument when doing arithmetic on it.
17705 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17708 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
17710 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
17712 (__freeifaddrs): Likewise.
17714 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17716 * include/dirent.h (__dirfd): New declaration.
17717 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
17719 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
17720 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
17721 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
17722 * include/unistd.h (__revoke): New declaration.
17723 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
17725 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17726 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
17728 * include/dirent.h (__seekdir): New declaration.
17729 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
17730 redefine as weak alias.
17731 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
17733 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
17734 and use libc_hidden_def on them.
17735 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
17737 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
17738 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
17739 instead of getifaddrs and freeifaddrs.
17741 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
17744 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
17745 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
17746 (__dso_handle): Remove declaration.
17747 * dlfcn/tstatexit.c (__dso_handle): Removed.
17748 (main): Don't check __dso_handle.
17749 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
17750 (main): Don't check __dso_handle.
17751 * include/dso_handle.h: New file.
17752 * malloc/mtrace.c: Include <dso_handle.h>.
17753 (mtrace): Pass __dso_handle directly.
17754 * nptl/pthread_atfork.c: Include <dso_handle.h>.
17755 (__dso_handle): Remove declaration.
17756 (__pthread_atfork): Pass __dso_handle directly.
17757 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
17758 (__dso_handle): Removed.
17759 * posix/wordexp-test.c: Include <dso_handle.h>.
17760 (__dso_handle): Remove declaration.
17761 (__app_register_atfork): Pass __dso_handle directly.
17762 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
17763 (__dso_handle): Remove declaration.
17764 (at_quick_exit): Pass __dso_handle directly.
17765 * stdlib/atexit.c: Include <dso_handle.h>.
17766 (__dso_handle): Remove declaration.
17767 (atexit): Pass __dso_handle directly.
17768 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
17769 (__dso_handle): Removed.
17771 2017-09-26 Joseph Myers <joseph@codesourcery.com>
17773 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
17776 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
17778 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
17779 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
17780 values to correct default value for given type.
17782 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
17785 * elf/Makefile (tests): Add tst-debug1.
17786 ($(objpfx)tst-debug1): New.
17787 ($(objpfx)tst-debug1.out): Likewise.
17788 ($(objpfx)tst-debug1mod1.so): Likewise.
17789 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
17790 with p_filesz == 0.
17791 * elf/tst-debug1.c: New file.
17793 2017-09-26 Joseph Myers <joseph@codesourcery.com>
17795 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
17796 Define using __ifunc.
17798 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17800 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
17803 2017-09-26 Joseph Myers <joseph@codesourcery.com>
17806 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
17808 2017-09-26 Florian Weimer <fweimer@redhat.com>
17810 * resolv/Makefile (tests-internal): Fix typo in comment.
17812 2017-09-26 Florian Weimer <fweimer@redhat.com>
17814 * resolv/nss_dns/dns-host.c: Fix typo in comment.
17816 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17818 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
17819 Use an union instead of a max_align_t array for __space,
17820 so that __space is the same size on all platforms.
17821 * malloc/scratch_buffer_grow_preserve.c
17822 (__libc_scratch_buffer_grow_preserve): Likewise.
17825 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
17827 * posix/Makefile (routines): Add glob-lstat-compat and
17828 glob64-lstat-compat.
17829 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
17830 * posix/glob-lstat-compat.c: New file.
17831 * posix/glob64-lstat-compat.c: Likewise.
17832 * posix/tst-glob_lstat_compat.c: Likewise.
17833 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
17834 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
17835 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
17836 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
17838 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
17839 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
17840 * posix/glob.c (glob_lstat): New function.
17841 (glob): Rename to __glob and add versioned symbol to 2.27.
17842 (glob_in_dir): Use glob_lstat.
17843 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
17844 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17845 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
17847 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
17848 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
17849 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
17850 gl_lstat on glob call.
17851 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
17852 and glob64 symbols.
17853 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17854 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17855 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17856 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17857 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17858 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17859 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17860 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17862 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17863 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17867 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
17868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17869 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17870 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17871 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17872 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17878 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17880 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
17882 * configure.ac (AS): Require binutils 2.25 or later.
17883 * configure: Regenerated.
17885 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17888 * stdlib/test-atexit-race-common.c (do_test): Minimize required
17891 2017-09-25 DJ Delorie <dj@redhat.com>
17894 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
17897 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17899 * sysdeps/ieee754/dbl-64/sincos32.h
17900 [SINCCOS32_H]: Remove define.
17901 [SINCOS32_H]: Define.
17903 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
17905 * math/Versions (expf): New libm symbol at GLIBC_2.27.
17907 * math/w_exp2f.c: New file.
17908 * math/w_expf.c: New file.
17909 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
17910 * math/w_expf_compat.c (__expf_compat): Likewise.
17911 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
17912 * sysdeps/ia64/fpu/e_expf.S: Likewise.
17913 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
17914 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17915 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17916 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17917 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17918 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17919 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17920 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17921 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17922 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17923 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17924 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17933 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17934 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17935 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17936 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17937 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17942 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17943 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17944 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17946 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
17948 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
17949 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
17950 (roundtoint, converttoint): Likewise.
17951 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
17952 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
17953 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
17954 * sysdeps/ieee754/flt-32/math_config.h: New file.
17955 * sysdeps/ieee754/flt-32/math_errf.c: New file.
17956 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
17957 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
17958 * sysdeps/i386/fpu/math_errf.c: New file.
17959 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
17960 * sysdeps/ia64/fpu/math_errf.c: New file.
17961 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
17962 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
17964 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
17966 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
17967 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
17968 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
17969 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
17970 to make sure that these symbols are defined.
17971 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
17973 (__need_NULL): Do not define.
17974 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
17976 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
17977 CMGROUP_MAX, cmsgcred): Do not define.
17978 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
17980 * bits/socket.h: Likewise.
17981 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
17982 __gettimeofday instead of gettimeofday.
17983 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
17984 instead of settimeofday.
17986 2017-09-22 Joseph Myers <joseph@codesourcery.com>
17988 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
17989 (asinhf): Define using libm_alias_float.
17990 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
17991 (atanf): Define using libm_alias_float.
17992 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
17993 (cbrtf): Define using libm_alias_float.
17994 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
17995 (ceilf): Define using libm_alias_float.
17996 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
17997 <libm-alias-float.h>.
17998 (copysignf): Define using libm_alias_float.
17999 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
18000 (cosf): Define using libm_alias_float.
18001 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
18002 (erff): Define using libm_alias_float.
18004 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
18005 (expm1f): Define using libm_alias_float.
18006 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
18007 (fabsf): Define using libm_alias_float.
18008 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
18009 (floorf): Define using libm_alias_float.
18010 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
18011 (frexpf): Define using libm_alias_float.
18012 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
18014 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
18015 <libm-alias-float.h>.
18016 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
18018 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
18019 <libm-alias-float.h>.
18020 (getpayloadf): Define using libm_alias_float.
18021 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
18022 <libm-alias-float.h>.
18023 (llrintf): Define using libm_alias_float.
18024 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
18025 <libm-alias-float.h>.
18026 (llroundf): Define using libm_alias_float.
18027 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
18028 (logbf): Define using libm_alias_float.
18029 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
18030 (lrintf): Define using libm_alias_float.
18031 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
18032 (lroundf): Define using libm_alias_float.
18033 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
18034 (modff): Define using libm_alias_float.
18035 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
18036 <libm-alias-float.h>.
18037 (nearbyintf): Define using libm_alias_float.
18038 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
18039 <libm-alias-float.h>.
18040 (nextafterf): Define using libm_alias_float.
18041 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
18042 <libm-alias-float.h>.
18043 (nextupf): Define using libm_alias_float.
18044 * sysdeps/ieee754/flt-32/s_remquof.c: Include
18045 <libm-alias-float.h>.
18046 (remquof): Define using libm_alias_float.
18047 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
18048 (rintf): Define using libm_alias_float.
18049 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
18050 <libm-alias-float.h>.
18051 (roundevenf): Define using libm_alias_float.
18052 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
18053 (roundf): Define using libm_alias_float.
18054 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
18055 using libm_alias_float.
18056 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
18057 <libm-alias-float.h>.
18058 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
18059 Define using libm_alias_float.
18060 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
18061 <libm-alias-float.h>.
18062 (sincosf): Define using libm_alias_float.
18063 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
18064 (sinf): Define using libm_alias_float.
18065 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
18066 (tanf): Define using libm_alias_float.
18067 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
18068 (tanhf): Define using libm_alias_float.
18069 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
18070 <libm-alias-float.h>.
18071 (totalorderf): Define using libm_alias_float.
18072 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
18073 <libm-alias-float.h>.
18074 (totalordermagf): Define using libm_alias_float.
18075 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
18076 (truncf): Define using libm_alias_float.
18077 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
18079 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
18082 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18085 math/math.h: Let fpclassify use the builtin in C++ mode, even
18086 when optimazing for size.
18088 2017-09-22 Joseph Myers <joseph@codesourcery.com>
18090 * csu/Makefile (generated): Do not add version-info.h.
18091 (before-compile): Likewise.
18092 (all-Banner-files): Remove variable.
18093 ($(objpfx)version-info.h): Remove rule.
18094 * csu/version.c (banner): Do not include "version-info.h".
18095 * libidn/Banner: Remove.
18096 * manual/contrib.texi (Simon Josefsson): New entry.
18098 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18100 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18101 Remove conditionals on LDBL_MANT_DIG.
18102 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
18103 (__ieee754_lgammal_r): Likewise.
18105 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18107 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
18109 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
18110 _Float128 and L(). Replace _Float128 with long double and L(x)
18111 with xL, throughout the file.
18112 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
18113 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
18114 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
18115 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
18117 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18119 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
18120 sysdeps/ieee754/ldbl-128ibm.
18121 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
18122 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
18123 of including it. Keep _Float128 and L() intact. These will be
18124 reviewed by a separate patch.
18125 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
18126 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
18127 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
18130 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
18133 (__finitef128): Define to __redirect___finitef128.
18134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
18135 (__isinff128): Define to __redirect___isinff128.
18136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
18137 (__isnanf128): Define to __redirect___isnanf128.
18139 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18141 * sysdeps/powerpc/powerpc64le/Makefile
18142 (CFLAGS-tst-strtod-nan-locale.c): New variable.
18143 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
18145 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
18146 Carlos O'Donell <carlos@redhat.com>
18149 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
18150 * stdlib/test-dlclose-exit-race.c: New file.
18151 * stdlib/test-dlclose-exit-race-helper.c: New file.
18152 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
18154 2017-09-21 Joseph Myers <joseph@codesourcery.com>
18156 * crypt/Banner: Remove file.
18157 * nptl/Banner: Likewise.
18158 * resolv/Banner: Likewise.
18159 * soft-fp/Banner: Likewise.
18160 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
18161 ($(objpfx)version.d): Remove dependency on banner.h.
18162 ($(objpfx)version.os): Likewise.
18163 * nptl/version.c (banner): Do not include banner.h.
18164 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
18165 Jelinek and BIND code.
18167 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
18168 Carlos O'Donell <carlos@redhat.com>
18170 * support/xdlfcn.h: New file.
18171 * support/xdlfcn.c: New file.
18172 * support/Makefile (libsupport-routines): Add xdlfcn.
18173 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
18175 2017-09-20 Joseph Myers <joseph@codesourcery.com>
18178 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18179 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
18180 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
18181 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
18182 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
18183 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
18184 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
18185 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
18187 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
18188 Ricky Zhou <rickyz@google.com>
18189 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
18192 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
18194 (__new_exitfn): Fail registration when we finished at_exit processing.
18195 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18196 * stdlib/on_exit.c (__on_exit): Likewise.
18197 * stdlib/exit.c (__exit_funcs_done): New variable.
18198 (__run_exit_handlers): Use __exit_funcs_lock.
18199 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
18201 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
18202 (test-cxa_atexit-race, test-on_exit-race): New tests.
18203 * stdlib/test-atexit-race-common.c: New file.
18204 * stdlib/test-atexit-race.c: New file.
18205 * stdlib/test-at_quick_exit-race.c: New file.
18206 * stdlib/test-cxa_atexit-race.c: New file.
18207 * stdlib/test-on_exit-race.c: New file.
18209 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
18211 * benchtests/Makefile: Add exp2f and log2f benchmarks.
18212 * benchtests/exp2f-inputs: Copy of expf-inputs.
18213 * benchtests/log2f-inputs: Copy of logf-inputs.
18215 2017-09-19 Joseph Myers <joseph@codesourcery.com>
18217 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
18218 Explicitly take address of first element of array arguments in
18219 call to INLINE_SYSCALL.
18221 2017-09-19 Andreas Schwab <schwab@suse.de>
18224 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
18226 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
18228 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
18229 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
18230 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18231 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
18232 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18233 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
18234 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18235 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
18236 * posix/Makefile (tests): Add tst-fexecve.
18237 * posix/tst-fexecve.c: New file.
18239 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
18241 * benchtests/Makefile: Add logf benchmark.
18242 * benchtests/logf-inputs: Add reduced trace from wrf_r.
18244 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
18246 * benchtests/Makefile: Add expf benchmark.
18247 * benchtests/expf-inputs: Add reduced trace from wrf_r.
18249 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
18251 * csu/Makefile: Add -funwind-tables to libc-start.c.
18252 * debug/Makefile: Add -funwind-tables to backtrace.c.
18253 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
18254 * sysdeps/arm/Makefile: Likewise.
18255 * sysdeps/i386/Makefile: Likewise.
18256 * sysdeps/m68k/Makefile: Likewise.
18257 * sysdeps/mips/Makefile: Likewise.
18258 * sysdeps/nios2/Makefile: Likewise.
18259 * sysdeps/sh/Makefile: Likewise.
18260 * sysdeps/sparc/Makefile: Likewise.
18262 2017-09-19 Joseph Myers <joseph@codesourcery.com>
18264 * benchtests/Makefile (bench-math): Add trunc and truncf.
18265 (CFLAGS-bench-trunc.c): New variable.
18266 (CFLAGS-bench-truncf.c): Likewise.
18267 * benchtests/trunc-inputs: New file.
18268 * benchtests/truncf-inputs: Likewise.
18270 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18272 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
18274 2017-09-18 Joseph Myers <joseph@codesourcery.com>
18276 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
18277 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
18279 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
18280 (exp10l): Define as weak alias.
18281 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
18282 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
18284 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
18285 (remainderl): Define as weak alias.
18287 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
18288 (fmal): Define using libm_alias_ldouble.
18289 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
18290 (acoshl): Define using libm_alias_ldouble.
18291 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
18292 (acosl): Define using libm_alias_ldouble.
18293 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
18294 (asinl): Define using libm_alias_ldouble.
18295 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
18296 (atan2l): Define using libm_alias_ldouble.
18297 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
18298 (atanhl): Define using libm_alias_ldouble.
18299 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
18300 (coshl): Define using libm_alias_ldouble.
18301 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
18302 (exp10l): Define using libm_alias_ldouble.
18303 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
18304 (exp2l): Define using libm_alias_ldouble.
18305 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
18306 (expl): Define using libm_alias_ldouble.
18307 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
18308 (fmodl): Define using libm_alias_ldouble.
18309 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
18310 (hypotl): Define using libm_alias_ldouble.
18311 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
18312 (j0l): Define using libm_alias_ldouble.
18314 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
18315 (j1l): Define using libm_alias_ldouble.
18317 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
18318 (jnl): Define using libm_alias_ldouble.
18320 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
18321 (log10l): Define using libm_alias_ldouble.
18322 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
18323 (log2l): Define using libm_alias_ldouble.
18324 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
18325 (logl): Define using libm_alias_ldouble.
18326 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
18327 (powl): Define using libm_alias_ldouble.
18328 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
18329 (remainderl): Define using libm_alias_ldouble.
18330 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
18331 (sinhl): Define using libm_alias_ldouble.
18332 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
18333 (sqrtl): Define using libm_alias_ldouble.
18334 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
18335 (tgammal): Define using libm_alias_ldouble.
18336 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
18337 (exp10l): Do not use long_double_symbol here.
18338 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
18339 [LIBM_SVID_COMPAT] (remainderl): Likewise.
18340 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
18341 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
18342 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
18343 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
18344 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
18345 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
18346 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
18347 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
18348 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
18349 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
18350 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
18351 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
18352 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
18353 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
18354 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
18355 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
18356 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
18357 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
18358 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
18359 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
18361 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
18363 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
18364 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
18366 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18368 * io/read.c (read): Add libc_hidden_weak.
18369 * sysdeps/mach/hurd/read.c (read): Likewise.
18370 * io/write.c (write): Likewise.
18371 * sysdeps/mach/hurd/write.c (write): Likewise.
18372 * io/pread64.c (__pread64): Likewise.
18373 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
18374 * posix/pread64.c (__pread64): Add libc_hidden_def.
18376 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
18378 * benchtests/scripts/compare_strings.py: New option -g.
18379 (draw_graph): Print a message that a graph is being generated.
18380 (process_results): Generate graph only if -g is passed.
18381 (main): Process option -g.
18383 * benchtests/scripts/compare_strings.py (process_results):
18384 Better spacing for output.
18386 * benchtests/scripts/compare_strings.py: Use argparse.
18387 * benchtests/README: Document existence of compare_strings.py.
18389 2017-09-15 Joseph Myers <joseph@codesourcery.com>
18391 * math/s_fma.c: Include <libm-alias-double.h>.
18392 (fma): Define using libm_alias_double.
18393 * math/s_nextafter.c: Include <libm-alias-double.h>.
18394 (nextafter): Define using libm_alias_double.
18395 * math/w_acos_compat.c: Include <libm-alias-double.h>.
18396 (acos): Define using libm_alias_double.
18397 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
18398 (aocsh): Define using libm_alias_double.
18399 * math/w_asin_compat.c: Include <libm-alias-double.h>.
18400 (asin): Define using libm_alias_double.
18401 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
18402 (atan2): Define using libm_alias_double.
18403 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
18404 (atanh): Define using libm_alias_double.
18405 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
18406 (cosh): Define using libm_alias_double.
18407 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
18408 (exp10): Define using libm_alias_double.
18409 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
18410 (exp2): Define using libm_alias_double.
18411 * math/w_exp_compat.c: Include <libm-alias-double.h>.
18412 (exp): Define using libm_alias_double.
18413 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
18414 (fmod): Define using libm_alias_double.
18415 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
18416 (hypot): Define using libm_alias_double.
18417 * math/w_j0_compat.c: Include <libm-alias-double.h>.
18418 (j0): Define using libm_alias_double.
18420 * math/w_j1_compat.c: Include <libm-alias-double.h>.
18421 (j1): Define using libm_alias_double.
18423 * math/w_jn_compat.c: Include <libm-alias-double.h>.
18424 (jn): Define using libm_alias_double.
18426 * math/w_log10_compat.c: Include <libm-alias-double.h>.
18427 (log10): Define using libm_alias_double.
18428 * math/w_log2_compat.c: Include <libm-alias-double.h>.
18429 (log2): Define using libm_alias_double.
18430 * math/w_log_compat.c: Include <libm-alias-double.h>.
18431 (log): Define using libm_alias_double.
18432 * math/w_pow_compat.c: Include <libm-alias-double.h>.
18433 (pow): Define using libm_alias_double.
18434 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
18435 (remainder): Define using libm_alias_double.
18436 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
18437 (sinh): Define using libm_alias_double.
18438 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
18439 (sqrt): Define using libm_alias_double.
18440 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
18441 (tgamma): Define using libm_alias_double.
18442 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
18443 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
18444 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
18445 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
18446 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
18447 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
18448 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
18449 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
18450 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
18451 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
18452 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
18453 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
18454 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
18455 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
18456 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
18457 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
18458 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
18459 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
18460 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
18461 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
18462 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
18463 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
18464 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
18465 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
18466 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
18468 * math/e_acoshl.c: Remove.
18469 * math/e_acosl.c: Likewise.
18470 * math/e_asinl.c: Likewise.
18471 * math/e_atan2l.c: Likewise.
18472 * math/e_atanhl.c: Likewise.
18473 * math/e_coshl.c: Likewise.
18474 * math/e_expl.c: Likewise.
18475 * math/e_fmodl.c: Likewise.
18476 * math/e_gammal_r.c: Likewise.
18477 * math/e_hypotl.c: Likewise.
18478 * math/e_j0l.c: Likewise.
18479 * math/e_j1l.c: Likewise.
18480 * math/e_jnl.c: Likewise.
18481 * math/e_lgammal_r.c: Likewise.
18482 * math/e_log10l.c: Likewise.
18483 * math/e_log2l.c: Likewise.
18484 * math/e_logl.c: Likewise.
18485 * math/e_powl.c: Likewise.
18486 * math/e_rem_pio2l.c: Likewise.
18487 * math/e_sinhl.c: Likewise.
18488 * math/e_sqrtf128.c: Likewise.
18489 * math/e_sqrtl.c: Likewise.
18490 * math/k_cosl.c: Likewise.
18491 * math/k_sinl.c: Likewise.
18492 * math/k_tanl.c: Likewise.
18493 * math/s_asinhl.c: Likewise.
18494 * math/s_atanl.c: Likewise.
18495 * math/s_cbrtl.c: Likewise.
18496 * math/s_erfl.c: Likewise.
18497 * math/s_expm1l.c: Likewise.
18498 * math/s_log1pl.c: Likewise.
18499 * math/s_tanhl.c: Likewise.
18501 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
18505 [$(subdir) = math] (sysdep_calls): New variable. Has the
18506 previous contents of sysdep_routines, but re-sorted..
18507 [$(subdir) = math] (sysdep_routines): Re-use the contents from
18509 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
18510 defined in sysdep_calls and replace by the respective m_* names.
18511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
18512 (compat_symbol): Undefine to avoid duplicated compat symbols in
18515 2017-09-15 Joseph Myers <joseph@codesourcery.com>
18517 * math/s_fmaf.c: Include <libm-alias-float.h>.
18518 (fmaf): Define using libm_alias_float.
18519 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
18520 (acosf): Define using libm_alias_float.
18521 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
18522 (acoshf): Define using libm_alias_float.
18523 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
18524 (asinf): Define using libm_alias_float.
18525 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
18526 (atan2f): Define using libm_alias_float.
18527 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
18528 (atanhf): Define using libm_alias_float.
18529 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
18530 (coshf): Define using libm_alias_float.
18531 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
18532 (exp10f): Define using libm_alias_float.
18533 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
18534 (fmodf): Define using libm_alias_float.
18535 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
18536 (hypotf): Define using libm_alias_float.
18537 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
18538 (j0f): Define using libm_alias_float.
18540 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
18541 (j1f): Define using libm_alias_float.
18543 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
18544 (jnf): Define using libm_alias_float.
18546 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
18547 (log10f): Define using libm_alias_float.
18548 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
18549 (log2f): Define using libm_alias_float.
18550 * math/w_logf_compat.c: Include <libm-alias-float.h>.
18551 (logf): Define using libm_alias_float.
18552 * math/w_powf_compat.c: Include <libm-alias-float.h>.
18553 (powf): Define using libm_alias_float.
18554 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
18555 (remainderf): Define using libm_alias_float.
18556 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
18557 (sinhf): Define using libm_alias_float.
18558 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
18559 (sqrtf): Define using libm_alias_float.
18560 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
18561 (tgammaf): Define using libm_alias_float.
18563 2017-09-14 Joseph Myers <joseph@codesourcery.com>
18565 * include/math.h (roundeven): Change hidden_proto call to
18567 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
18569 [NO_LONG_DOUBLE] (__j0l): New strong alias.
18570 (y0): Rename to __y0 and define as weak alias.
18571 [NO_LONG_DOUBLE] (__y0l): New strong alias.
18572 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
18574 (y0f): Rename to __y0f and define as weak alias.
18575 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
18577 [NO_LONG_DOUBLE] (__j1l): New strong alias.
18578 (y1): Rename to __y1 and define as weak alias.
18579 [NO_LONG_DOUBLE] (__y1l): New strong alias.
18580 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
18582 (y1f): Rename to __y1f and define as weak alias.
18583 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
18585 [NO_LONG_DOUBLE] (__jnl): New strong alias.
18586 (yn): Rename to __yn and define as weak alias.
18587 [NO_LONG_DOUBLE] (__ynl): New strong alias.
18588 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
18590 (ynf): Rename to __ynf and define as weak alias.
18591 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
18592 (fromfp): Define as weak alias.
18593 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
18594 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
18595 (fromfpx): Define as weak alias.
18596 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
18597 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
18598 __getpayload and define as weak alias.
18599 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
18600 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
18601 __roundeven and define as weak alias.
18602 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
18603 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
18605 (setpayload): Define as weak alias.
18606 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
18607 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
18609 (setpayloadsig): Define as weak alias.
18610 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
18611 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
18612 __totalorder and define as weak alias.
18613 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
18614 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
18615 to __totalordermag and define as weak alias.
18616 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
18617 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
18618 (ufromfp): Define as weak alias.
18619 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
18620 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
18622 (ufromfpx): Define as weak alias.
18623 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
18624 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
18625 Rename to __getpayload and define as weak alias.
18626 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
18627 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
18628 Rename to __roundeven and define as weak alias.
18629 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
18630 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
18631 Rename to __totalorder and define as weak alias.
18632 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
18633 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
18634 (totalordermag): Rename to __totalordermag and define as weak
18636 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
18637 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
18639 (__roundevenl): Likewise.
18640 (__totalorderl): Likewise.
18641 (__totalordermagl): Likewise
18642 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
18644 (fromfpf128): Define as weak alias.
18645 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
18647 (fromfpxf128): Define as weak alias.
18648 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
18650 (setpayloadf128): Define as weak alias.
18651 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
18652 __setpayloadsigf128.
18653 (setpayloadsigf128): Define as weak alias.
18654 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
18656 (ufromfpf128): Define as weak alias.
18657 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
18659 (ufromfpxf128): Define as weak alias.
18660 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
18661 (fromfpf): Define as weak alias.
18662 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
18664 (fromfpxf): Define as weak alias.
18665 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
18666 __getpayloadf and define as weak alias.
18667 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
18668 __roundevenf and define as weak alias.
18669 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
18671 (setpayloadf): Define as weak alias.
18672 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
18674 (setpayloadsigf): Define as weak alias.
18675 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
18676 __totalorderf and define as weak alias.
18677 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
18678 Rename to __totalordermagf and define as weak alias.
18679 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
18681 (ufromfpf): Define as weak alias.
18682 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
18684 (ufromfpxf): Define as weak alias.
18685 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
18687 (fromfpl): Define as weak alias.
18688 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
18690 (fromfpxl): Define as weak alias.
18691 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
18692 to __getpayloadl and define as weak alias.
18693 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
18694 __roundevenl and define as weak alias.
18695 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
18697 (setpayloadl): Define as weak alias.
18698 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
18700 (setpayloadsigl): Define as weak alias.
18701 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
18702 to __totalorderl and define as weak alias.
18703 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
18704 Rename to __totalordermagl and define as weak alias.
18705 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
18707 (ufromfpl): Define as weak alias.
18708 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
18710 (ufromfpxl): Define as weak alias.
18711 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
18713 (fromfpl): Define as weak alias.
18714 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
18716 (fromfpxl): Define as weak alias.
18717 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
18718 Rename to __getpayloadl and define as weak alias.
18719 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
18720 to __roundevenl and define as weak alias. Call __roundeven
18721 instead of roundeven.
18722 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
18724 (setpayloadl): Define as weak alias.
18725 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
18727 (setpayloadsigl): Define as weak alias.
18728 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
18729 Rename to __totalorderl and define as weak alias.
18730 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
18731 Rename to __totalordermagl and define as weak alias.
18732 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
18734 (ufromfpl): Define as weak alias.
18735 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
18737 (ufromfpxl): Define as weak alias.
18738 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
18740 (fromfpl): Define as weak alias.
18741 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
18743 (fromfpxl): Define as weak alias.
18744 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
18745 __getpayloadl and define as weak alias.
18746 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
18747 __roundevenl and define as weak alias.
18748 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
18750 (setpayloadl): Define as weak alias.
18751 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
18753 (setpayloadsigl): Define as weak alias.
18754 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
18755 __totalorderl and define as weak alias.
18756 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
18757 Rename to __totalordermagl and define as weak alias.
18758 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
18760 (ufromfpl): Define as weak alias.
18761 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
18763 (ufromfpxl): Define as weak alias.
18765 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
18767 * benchtests/bench-string.h (realloc_bufs): New function.
18768 (test_init): Call it.
18769 * benchtests/bench-memset-large.c (do_test): Likewise.
18770 * benchtests/bench-memset.c (do_test): Likewise.
18772 * benchtests/bench-memset-large.c: Print output in JSON
18774 * benchtests/bench-memset.c: Likewise.
18776 2017-09-14 Mike FABIAN <mfabian@redhat.com>
18779 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
18780 * iconvdata/Makefile: Add IBM858.
18781 * iconvdata/gconv-modules: Likewise.
18782 * iconvdata/tst-tables.sh: Likewise.
18783 * iconvdata/ibm858.c: New file.
18784 * localedata/charmaps/IBM858: Likewise.
18786 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
18789 * locales/niu_NZ (LC_TIME): copy "niu_NU".
18790 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
18792 2017-09-14 Mike FABIAN <mfabian@redhat.com>
18795 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
18796 and add tel_int_fmt.
18798 2017-09-14 Joseph Myers <joseph@codesourcery.com>
18800 * sysdeps/generic/libm-alias-float128.h: New file.
18801 * sysdeps/generic/math-type-macros-float128.h: Include
18802 <libm-alias-float128.h>.
18803 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
18805 2017-09-13 Joseph Myers <joseph@codesourcery.com>
18807 * sysdeps/generic/libm-alias-ldouble.h: New file.
18808 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
18809 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
18810 * sysdeps/generic/math-type-macros-ldouble.h: Include
18811 <libm-alias-ldouble.h>.
18812 [!declare_mgen_alias] (declare_mgen_alias): Define to use
18813 libm_alias_ldouble.
18815 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
18817 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
18818 * math/w_exp_compat.c: ... here.
18819 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
18820 * math/w_expf_compat.c: ... here.
18821 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
18822 * math/w_expl_compat.c: ... here.
18823 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
18824 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
18825 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
18826 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
18828 2017-09-13 Joseph Myers <joseph@codesourcery.com>
18830 * math/w_scalbln_template.c (strong_alias): Do not undefine and
18832 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
18834 (ldexpl): Only define as compat symbol for libc, not libm.
18835 (scalbnl): Define as compat symbol for libc here.
18836 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
18837 define for [IS_IN (libc)].
18838 (__ldexpl_2): Remove alias.
18839 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
18840 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
18841 name in long_double_symbol call.
18842 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
18843 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
18844 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
18845 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
18846 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
18848 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
18849 Define as compat symbol.
18851 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18853 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
18854 * sysdeps/unix/sysv/linux/alpha/Makefile
18855 [$(subdir) = csu] (sysdep_routines): Remove rule.
18857 2017-09-13 Joseph Myers <joseph@codesourcery.com>
18859 * sysdeps/generic/libm-alias-double.h: New file.
18860 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
18861 * sysdeps/generic/math-type-macros-double.h: Include
18862 <libm-alias-double.h>.
18863 [declare_mgen_alias] (declare_mgen_alias): Define to use
18865 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
18866 (M_LIBM_NEED_COMPAT): Remove macro.
18867 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
18868 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
18869 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
18871 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18872 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18873 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18874 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18875 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18876 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18877 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18878 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18879 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18880 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18881 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18882 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18883 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18884 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18885 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18886 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18887 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18888 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18889 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18890 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18891 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18892 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18893 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18894 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18895 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18896 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18897 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
18898 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
18899 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
18901 (declare_mgen_alias): New macro.
18902 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
18903 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
18904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
18905 (M_LIBM_NEED_COMPAT): Remove macro.
18906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
18907 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
18908 <first-versions.h>.
18909 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
18910 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
18912 2017-09-12 Joseph Myers <joseph@codesourcery.com>
18914 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
18915 (declare_mgen_alias_2): Remove.
18916 * sysdeps/generic/math-type-macros-double.h
18917 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
18919 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
18921 (ldexp): Define with declare_mgen_alias.
18922 (scalbn): Likewise.
18924 2017-09-12 Steve Ellcey <sellcey@cavium.com>
18926 * grp/initgroups.c: Include config.h.
18927 (DEFAULT_CONFIG): New macro.
18928 (internal_getgrouplist): Use DEFAULT_CONFIG.
18929 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18930 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
18931 (DEFAULT_DEFCONFIG): New macro.
18932 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
18933 * nss/grp-lookup.c: Include config.h
18934 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
18935 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
18936 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
18937 * manual/nss.texi: Update default values section.
18939 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
18942 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
18944 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
18945 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
18946 Handle MathVec_Prefer_No_AVX512.
18947 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
18948 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
18951 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
18953 * posix/sched_primax.c (__sched_get_priority_max): Add
18955 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
18956 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
18957 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
18958 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
18959 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
18960 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
18961 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
18962 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
18965 2017-09-11 Joseph Myers <joseph@codesourcery.com>
18967 * sysdeps/generic/libm-alias-float.h: New file.
18968 * sysdeps/generic/math-type-macros-float.h: Include
18969 <libm-alias-float.h>.
18970 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
18972 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
18975 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
18976 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
18977 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
18978 (HWCAP_IMPORTANT): Likewise.
18979 (HWCAP_X86_64): New enum.
18980 (HWCAP_X86_AVX512_1): Updated.
18981 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
18982 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
18983 (modules-names): Add x86_64/tst-x86_64mod-1.
18984 (LDFLAGS-tst-x86_64mod-1.so): New.
18985 ($(objpfx)tst-x86_64-1): Likewise.
18986 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
18987 (tst-x86_64-1-clean): Likewise.
18988 * sysdeps/x86_64/tst-x86_64-1.c: New file.
18989 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
18991 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
18993 * po/sv.po: Update translations.
18994 * po/fr.po: Likewise.
18996 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18998 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
19000 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
19002 * elf/rtld-Rules: Fix $(error) use.
19004 2017-09-09 Mike FABIAN <mfabian@redhat.com>
19007 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
19008 * locale/iso-639.def: Change “Bengali” to “Bangla”.
19009 * localedata/locales/bn_BD: “Bengali” was still used in some
19010 comments. Change it to “Bangla”.
19012 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
19014 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
19016 2017-09-08 Steve Ellcey <sellcey@cavium.com>
19018 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
19019 thunderx2t99p1 to list of cpu names.
19020 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
19021 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
19023 2017-09-08 Steve Ellcey <sellcey@cavium.com>
19025 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
19026 Use strcmp instead of tunable_is_name.
19028 2017-09-08 Joseph Myers <joseph@codesourcery.com>
19030 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19031 (F_GET_RW_HINT): New macro.
19032 [__USE_GNU] (F_SET_RW_HINT): Likewise.
19033 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
19034 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
19035 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
19036 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
19037 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
19038 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
19039 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
19040 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
19042 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19043 (F_ADD_SEALS): New macro.
19044 [__USE_GNU] (F_GET_SEALS): Likewise.
19045 [__USE_GNU] (F_SEAL_SEAL): Likewise.
19046 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
19047 [__USE_GNU] (F_SEAL_GROW): Likewise.
19048 [__USE_GNU] (F_SEAL_WRITE): Likewise.
19050 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19052 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
19053 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
19054 * posix/glob_internal.h (__glob_pattern_type):
19055 * posix/glob.c (glob):
19056 * posix/glob_pattern_p.c (__glob_pattern_p):
19059 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
19060 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19061 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
19062 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
19063 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
19064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
19065 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
19066 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
19067 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
19068 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19069 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
19070 * sysdeps/wordsize-64/glob.c: Likewise.
19071 * sysdeps/wordsize-64/glob64.c: Likewise.
19072 * sysdeps/wordsize-64/globfree.c: Likewise.
19073 * sysdeps/wordsize-64/globfree64.c: Likewise.
19074 * sysdeps/unix/sysv/linux/glob.c: New file.
19075 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
19076 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
19077 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
19078 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
19079 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
19080 adds !GLOB_NO_OLD_VERSION as an extra condition.
19081 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
19082 using relative path instead of absolute one.
19083 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
19084 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19085 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19086 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
19087 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
19088 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
19091 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
19092 (glob): Use the same scratch buffer for both getlogin_r and
19093 getpwnam_r. Don’t require preallocation of the login name. This
19094 simplifies storage allocation, and corrects the handling of
19098 * posix/glob.c (glob): Port recent patches to platforms
19099 lacking getpwnam_r.
19100 (glob): Fix longstanding misuse of errno after getpwnam_r, which
19101 returns an error number rather than setting errno.
19103 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
19104 instead of GCC extension.
19105 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
19106 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
19107 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
19111 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
19112 * posix/bug-glob1.c: Remove file.
19113 * posix/tst-glob_symlinks.c: New file.
19114 * posix/glob.c (__lstat64): New macro.
19115 (is_dir): New function.
19116 (glob, glob_in_dir): Match symlinks even if they are dangling.
19117 (link_stat, link_exists_p): Remove. All uses removed.
19121 * posix/glob.c (struct readdir_result): Remove skip_entry member.
19122 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
19127 * posix/Makefile (routines): Add globfree, globfree64, and
19129 * posix/flexmember.h: New file.
19130 * posix/glob_internal.h: Likewise.
19131 * posix/glob_pattern_p.c: Likewise.
19132 * posix/globfree.c: Likewise.
19133 * posix/globfree64.c: Likewise.
19134 * sysdeps/gnu/globfree64.c: Likewise.
19135 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
19136 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
19137 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
19138 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
19139 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
19140 * sysdeps/wordsize-64/globfree.c: Likewise.
19141 * sysdeps/wordsize-64/globfree64.c: Likewise.
19142 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
19143 [NDEBUG): Remove comments.
19144 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
19145 (dirent_type): New type. Use uint_fast8_t not
19146 uint8_t, as C99 does not require uint8_t.
19147 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
19148 (struct readdir_result): Use dirent_type. Do not define skip_entry
19149 unless it is needed; this saves a byte on platforms lacking d_ino.
19150 (readdir_result_type, readdir_result_skip_entry):
19151 New functions, replacing ...
19152 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
19153 these functions, which were removed. This makes the callers
19154 easier to read. All callers changed.
19155 (D_INO_TO_RESULT): Now empty if there is no d_ino.
19156 (size_add_wrapv, glob_use_alloca): New static functions.
19157 (glob, glob_in_dir): Check for size_t overflow in several places,
19158 and fix some size_t checks that were not quite right.
19159 Remove old code using SHELL since Bash no longer
19161 (glob, prefix_array): Separate MS code better.
19162 (glob_in_dir): Remove old Amiga and VMS code.
19163 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
19165 (glob_in_dir): Do not rely on undefined behavior in accessing
19166 struct members beyond their bounds. Use a flexible array member
19168 (link_stat): Rename from link_exists2_p and return -1/0 instead of
19169 0/1. Caller changed.
19170 (glob): Fix memory leaks.
19171 * posix/glob64 (globfree64): Move to separate file.
19172 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
19173 (globfree64): Remove hidden alias.
19174 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
19176 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
19178 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
19180 Move compat code to separate file.
19181 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
19184 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
19186 * resolv/tst-resolv-qtypes.c (domain): Changed to
19187 "const char domain[] =".
19189 2017-09-07 Joseph Myers <joseph@codesourcery.com>
19191 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
19194 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
19195 (TCP_MD5SIG_EXT): Likewise.
19196 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
19197 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
19198 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
19200 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
19202 2017-09-07 Mike FABIAN <mfabian@redhat.com>
19204 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
19206 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
19209 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
19211 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
19213 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
19214 before assuming that the file is empty. Avoid testing buffer content
19217 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19220 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
19222 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
19224 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
19226 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
19228 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
19230 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
19232 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
19235 2017-09-06 Florian Weimer <fweimer@redhat.com>
19237 * malloc/dynarray_emplace_enlarge.c
19238 (__libc_dynarray_emplace_enlarge): Add missing else.
19240 2017-09-06 Florian Weimer <fweimer@redhat.com>
19243 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
19244 case of failure to obtain the global conf object.
19246 2017-09-06 Florian Weimer <fweimer@redhat.com>
19249 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
19250 dynarray allocation failure.
19252 2017-09-06 Florian Weimer <fweimer@redhat.com>
19254 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
19255 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
19256 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
19258 (response): Call them. Add 'p', '6' flag processing.
19259 (test_reverse): New function.
19260 (test_get2_any): Call it.
19261 (test_no_inet6): Add 'p' test.
19262 (test_inet6): Likewise.
19264 2017-09-06 Florian Weimer <fweimer@redhat.com>
19266 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
19267 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
19269 (test_gai): Adjust query names. Add additional tests.
19270 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
19271 test_get2. Adjust query names. Add additional tests.
19272 (test_no_inet6): New function, extracted from threadfunc.
19273 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
19274 Add additional tests.
19276 2017-09-06 Mike FABIAN <mfabian@redhat.com>
19279 * localedata/unicode-gen/utf8_gen.py: Set the width for
19280 characters with Prepended_Concatenation_Mark property to 1
19281 * localedata/charmaps/UTF-8: Updated using the improved script.
19283 2017-09-06 Mike FABIAN <mfabian@redhat.com>
19286 * localedata/unicode-gen/utf8_gen.py: Improve the script to
19287 use the range notation for all ranges of neighbouring characters
19288 with the same width.
19290 2017-09-05 Joseph Myers <joseph@codesourcery.com>
19292 * sysdeps/generic/math-type-macros-double.h: Include
19293 <math-svid-compat.h>.
19294 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
19295 * sysdeps/generic/math-type-macros-float.h: Include
19296 <math-svid-compat.h>.
19297 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
19298 * sysdeps/generic/math-type-macros-ldouble.h: Include
19299 <math-svid-compat.h>.
19300 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
19301 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
19303 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
19304 * math/w_acosf_compat.c: Likewise.
19305 * math/w_acosh_compat.c: Likewise.
19306 * math/w_acoshf_compat.c: Likewise.
19307 * math/w_acoshl_compat.c: Likewise.
19308 * math/w_acosl_compat.c: Likewise.
19309 * math/w_asin_compat.c: Likewise.
19310 * math/w_asinf_compat.c: Likewise.
19311 * math/w_asinl_compat.c: Likewise.
19312 * math/w_atan2_compat.c: Likewise.
19313 * math/w_atan2f_compat.c: Likewise.
19314 * math/w_atan2l_compat.c: Likewise.
19315 * math/w_atanh_compat.c: Likewise.
19316 * math/w_atanhf_compat.c: Likewise.
19317 * math/w_atanhl_compat.c: Likewise.
19318 * math/w_cosh_compat.c: Likewise.
19319 * math/w_coshf_compat.c: Likewise.
19320 * math/w_coshl_compat.c: Likewise.
19321 * math/w_exp10_compat.c: Likewise.
19322 * math/w_exp10f_compat.c: Likewise.
19323 * math/w_exp10l_compat.c: Likewise.
19324 * math/w_exp2_compat.c: Likewise.
19325 * math/w_exp2f_compat.c: Likewise.
19326 * math/w_exp2l_compat.c: Likewise.
19327 * math/w_fmod_compat.c: Likewise.
19328 * math/w_fmodf_compat.c: Likewise.
19329 * math/w_fmodl_compat.c: Likewise.
19330 * math/w_hypot_compat.c: Likewise.
19331 * math/w_hypotf_compat.c: Likewise.
19332 * math/w_hypotl_compat.c: Likewise.
19333 * math/w_j0_compat.c: Likewise.
19334 * math/w_j0f_compat.c: Likewise.
19335 * math/w_j0l_compat.c: Likewise.
19336 * math/w_j1_compat.c: Likewise.
19337 * math/w_j1f_compat.c: Likewise.
19338 * math/w_j1l_compat.c: Likewise.
19339 * math/w_jn_compat.c: Likewise.
19340 * math/w_jnf_compat.c: Likewise.
19341 * math/w_jnl_compat.c: Likewise.
19342 * math/w_lgamma_r_compat.c: Likewise.
19343 * math/w_lgammaf_r_compat.c: Likewise.
19344 * math/w_lgammal_r_compat.c: Likewise.
19345 * math/w_log10_compat.c: Likewise.
19346 * math/w_log10f_compat.c: Likewise.
19347 * math/w_log10l_compat.c: Likewise.
19348 * math/w_log2_compat.c: Likewise.
19349 * math/w_log2f_compat.c: Likewise.
19350 * math/w_log2l_compat.c: Likewise.
19351 * math/w_log_compat.c: Likewise.
19352 * math/w_logf_compat.c: Likewise.
19353 * math/w_logl_compat.c: Likewise.
19354 * math/w_pow_compat.c: Likewise.
19355 * math/w_powf_compat.c: Likewise.
19356 * math/w_powl_compat.c: Likewise.
19357 * math/w_remainder_compat.c: Likewise.
19358 * math/w_remainderf_compat.c: Likewise.
19359 * math/w_remainderl_compat.c: Likewise.
19360 * math/w_sinh_compat.c: Likewise.
19361 * math/w_sinhf_compat.c: Likewise.
19362 * math/w_sinhl_compat.c: Likewise.
19363 * math/w_sqrt_compat.c: Likewise.
19364 * math/w_sqrtf_compat.c: Likewise.
19365 * math/w_sqrtl_compat.c: Likewise.
19366 * math/w_tgamma_compat.c: Likewise.
19367 * math/w_tgammaf_compat.c: Likewise.
19368 * math/w_tgammal_compat.c: Likewise.
19369 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
19370 [LIBM_SVID_COMPAT].
19371 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
19372 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
19373 [LIBM_SVID_COMPAT].
19374 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
19375 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
19376 [LIBM_SVID_COMPAT].
19377 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
19378 * sysdeps/i386/fpu/w_sqrt.c: New file.
19379 * sysdeps/ia64/fpu/w_acos.c: Likewise.
19380 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
19381 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
19382 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
19383 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
19384 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
19385 * sysdeps/ia64/fpu/w_asin.c: Likewise.
19386 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
19387 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
19388 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
19389 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
19390 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
19391 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
19392 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
19393 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
19394 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
19395 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
19396 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
19397 * sysdeps/ia64/fpu/w_exp.c: Likewise.
19398 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
19399 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
19400 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
19401 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
19402 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
19403 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
19404 * sysdeps/ia64/fpu/w_expf.c: Likewise.
19405 * sysdeps/ia64/fpu/w_expl.c: Likewise.
19406 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
19407 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
19408 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
19409 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
19410 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
19411 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
19412 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
19413 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
19414 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
19415 * sysdeps/ia64/fpu/w_log.c: Likewise.
19416 * sysdeps/ia64/fpu/w_log10.c: Likewise.
19417 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
19418 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
19419 * sysdeps/ia64/fpu/w_log2.c: Likewise.
19420 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
19421 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
19422 * sysdeps/ia64/fpu/w_logf.c: Likewise.
19423 * sysdeps/ia64/fpu/w_logl.c: Likewise.
19424 * sysdeps/ia64/fpu/w_pow.c: Likewise.
19425 * sysdeps/ia64/fpu/w_powf.c: Likewise.
19426 * sysdeps/ia64/fpu/w_powl.c: Likewise.
19427 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
19428 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
19429 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
19430 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
19431 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
19432 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
19433 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
19434 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
19435 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
19436 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
19437 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
19438 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
19439 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
19440 [LIBM_SVID_COMPAT].
19441 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
19442 * sysdeps/ieee754/k_standard.c: Likewise.
19443 * sysdeps/ieee754/k_standardf.c: Likewise.
19444 * sysdeps/ieee754/k_standardl.c: Likewise.
19445 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
19446 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
19447 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
19448 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
19449 long_double_symbol call on [LIBM_SVID_COMPAT].
19450 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
19451 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
19452 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
19453 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
19454 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
19455 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
19456 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
19457 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
19458 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
19459 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
19460 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
19461 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
19462 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
19463 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
19464 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
19465 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
19466 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
19467 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
19468 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
19469 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
19470 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
19471 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
19473 2017-09-05 Steve Ellcey <sellcey@cavium.com>
19475 * include/shlib-compat.h (TEST_COMPAT): New Macro.
19476 * malloc/tst-mallocstate.c: Convert from test-skeleton
19477 to test-driver. Ifdef code using TEST_COMPAT macro.
19478 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
19479 * math/test-matherr.c: Likewise.
19481 2017-09-05 Joseph Myers <joseph@codesourcery.com>
19484 * debug/pcprofiledump.c (main): Use byte-swapped mask when
19485 comparing word with byte-swapped constant.
19487 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
19490 * locale/iso-639.def: add Miskito.
19491 * localedata/SUPPORTED: Add miq_NI/UTF-8.
19492 * localedata/locales/miq_NI: New file.
19494 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
19497 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
19498 (__mkdir): Likewise.
19499 * io/chmod.c (__chmod): Add libc_hidden_def.
19500 * io/mkdir.c (__mkdir): Likewise.
19501 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
19502 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
19503 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
19504 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
19506 2017-09-04 Joseph Myers <joseph@codesourcery.com>
19508 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19512 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
19513 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
19515 2017-09-04 Florian Weimer <fweimer@redhat.com>
19517 * math/math.h: Issue warning if log is defined.
19519 2017-09-04 Joseph Myers <joseph@codesourcery.com>
19521 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19522 kernel version to 4.13.
19524 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19526 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
19527 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
19529 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
19530 just <bits/types.h>.
19531 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
19532 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
19533 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
19534 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
19535 * misc/preadv2.c: Include <errno.h>.
19536 * misc/preadv64v2.c: Include <errno.h>.
19537 * misc/pwritev2.c: Include <errno.h>.
19538 * misc/pwritev64v2.c: Include <errno.h>.
19539 * sysdeps/posix/preadv2.c: Include <errno.h>.
19540 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
19541 Fix <unistd.h> inclusion.
19542 * sysdeps/posix/pwritev2.c: Include <errno.h>.
19543 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
19544 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
19545 __strtoul_internal): New functions.
19546 * sysdeps/posix/pause.c: Include <sigsetops.h>.
19547 * sysdeps/posix/system.c: Include <sigsetops.h>.
19548 * sysdeps/mach/hurd/i386/Makefile
19549 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
19550 [$(subdir) = csu] (sysdep-only-routines): Likewise.
19551 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
19552 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
19553 __feraiseexcept_renamed to feraiseexcept instead of
19554 __GI_feraiseexcept.
19555 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
19556 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
19557 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
19558 RWF_NOWAIT): Define to 0 if undefined already.
19559 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
19561 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
19562 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
19564 2017-09-01 Joseph Myers <joseph@codesourcery.com>
19566 * manual/math.texi (pow10): Do not document.
19567 (pow10f): Likewise.
19568 (pow10l): Likewise.
19569 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
19570 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
19571 * math/libm-test-exp10.inc (pow10_test): Remove.
19572 (do_test): Do not call pow10.
19573 * math/w_exp10_compat.c (pow10): Make into compat symbol.
19574 [NO_LONG_DOUBLE] (pow10l): Likewise.
19575 * math/w_exp10f_compat.c (pow10f): Likewise.
19576 * math/w_exp10l_compat.c (pow10l): Likewise.
19577 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
19578 (pow10): Make into compat symbol.
19579 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
19580 (pow10f): Make into compat symbol.
19581 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
19582 (pow10l): Make into compat symbol.
19583 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
19585 (CFLAGS-nldbl-pow10.c): Remove variable..
19586 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
19587 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
19588 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
19589 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
19590 Undefine and redefine.
19591 (pow10l): Make into compat symbol.
19592 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
19593 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19594 * sysdeps/arm/libm-test-ulps: Likewise.
19595 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
19596 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19597 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19598 * sysdeps/microblaze/libm-test-ulps: Likewise.
19599 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19600 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19601 * sysdeps/nios2/libm-test-ulps: Likewise.
19602 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19603 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19604 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19605 * sysdeps/sh/libm-test-ulps: Likewise.
19606 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19607 * sysdeps/tile/libm-test-ulps: Likewise.
19608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19610 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
19612 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
19614 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
19616 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
19617 "../ChangeLog.old/ChangeLog.8".
19618 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
19619 "../ChangeLog.old/ChangeLog.14".
19621 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
19623 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
19626 2017-09-01 Joseph Myers <joseph@codesourcery.com>
19628 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
19630 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
19632 * csu/version.c (banner): Remove "by Roland McGrath et al.".
19633 * nptl/Banner: Remove "by Ulrich Drepper et al.".
19635 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
19637 * stdlib/tst-atexit-common.c (do_test): Test support for at least
19638 32 atexit handlers.
19640 2017-09-01 Zack Weinberg <zackw@panix.com>
19642 * math/math.h (HUGE_VAL): Improve commentary.
19644 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19645 Andreas Schwab <schwab@suse.de>
19648 * include/stdio.h (__gen_tempfd): New function.
19649 * stdio-common/Makefile (routines): Add gentempfd.
19650 * stdio-common/gentempfd.c: New file.
19651 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
19652 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
19653 unnamed file first.
19655 2017-09-01 Florian Weimer <fweimer@redhat.com>
19659 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
19660 result to determine success or failure, not the errno value.
19661 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
19662 (tst-nss-files-hosts-erange): Link with -ldl.
19663 * nss/tst-nss-files-hosts-erange.c: New file.
19664 * nss/tst-resolv-basic.c (response): Handle nodata.example.
19665 (do_test): Add NO_DATA tests.
19666 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
19667 (do_test): Call it.
19669 2017-09-01 Florian Weimer <fweimer@redhat.com>
19672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
19673 coming from gethostbyname2_r.
19675 2017-09-01 Florian Weimer <fweimer@redhat.com>
19677 * support/namespace.h (struct support_chroot_configuration): Add
19679 (struct support_chroot): Add path_hosts, path_host_conf.
19680 * support/support_chroot.c (write_file): New function.
19681 (support_chroot_create): Call it to process /etc/resolv.conf,
19682 /etc/hosts, /etc/host.conf.
19683 (support_chroot_free): Update.
19685 2017-09-01 Florian Weimer <fweimer@redhat.com>
19687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
19688 status indicates it is set.
19690 2017-09-01 Florian Weimer <fweimer@redhat.com>
19693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
19694 function lookup failures more reliable.
19696 2017-09-01 Florian Weimer <fweimer@redhat.com>
19698 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
19699 (getcanonname): Likewise.
19700 (gaih_inet): Likewise.
19702 2017-09-01 Florian Weimer <fweimer@redhat.com>
19704 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
19705 (getcanonname): Likewise.
19706 (gaih_inet): Likewise.
19708 2017-08-31 Steve Ellcey <sellcey@cavium.com>
19709 Richard Henderson <rth@twiddle.net>
19711 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
19712 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
19713 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
19714 (IREG_SIZE, OREG_SIZE): New macros.
19715 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
19716 (IREG_SIZE, OREG_SIZE): New macros.
19717 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
19718 (IREG_SIZE): New macro.
19719 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
19720 (IREG_SIZE): New macro.
19721 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
19723 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
19724 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
19725 (__CONCATX): Handle exceptions correctly on large values that may
19727 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
19728 Initialize if not already set.
19729 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
19731 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19733 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
19734 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
19736 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
19738 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
19740 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
19742 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
19744 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
19746 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
19748 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
19749 (NO_CANCELLATION): Likewise.
19750 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
19752 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
19754 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
19756 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
19757 (NO_CANCELLATION): Likewise.
19758 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
19759 (NO_CANCELLATION): Likewise.
19760 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
19762 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
19764 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
19766 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
19768 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
19770 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
19771 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
19773 2017-08-31 Steve Ellcey <sellcey@cavium.com>
19775 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
19778 2017-08-31 Florian Weimer <fweimer@redhat.com>
19780 * include/libc-symbols.h (internal_function): Remove.
19782 2017-08-31 Florian Weimer <fweimer@redhat.com>
19784 * stdlib/fmtmsg.c (internal_addseverity): Remove
19787 2017-08-31 Florian Weimer <fweimer@redhat.com>
19789 * stdio-common/printf_fp.c (group_number): Remove
19791 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
19793 2017-08-31 Florian Weimer <fweimer@redhat.com>
19795 * posix/fnmatch.c (internal_function): Remove definition.
19796 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
19797 * posix/regcomp.c (peek_token, init_word_char)
19798 (duplicate_node_closure, fetch_token, peek_token)
19799 (peek_token_bracket, build_range_exp, build_collating_symbol):
19801 * posix/regex_internal.c (re_string_construct_common)
19802 (create_ci_newstate, create_cd_newstate, re_string_allocate)
19803 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
19804 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
19805 (re_string_translate_buffer, re_string_reconstruct)
19806 (re_string_peek_byte_case, re_string_fetch_byte_case)
19807 (re_string_destruct, re_string_context_at, re_node_set_alloc)
19808 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
19809 (re_node_set_add_intersect, re_node_set_init_union)
19810 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
19811 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
19812 (re_dfa_add_node, calc_state_hash, re_acquire_state)
19813 (re_acquire_state_context): Likewise.
19814 * posix/regex_internal.h (internal_function): Remove definition.
19815 (re_string_realloc_buffers, build_wcs_buffer)
19816 (build_wcs_upper_buffer, build_upper_buffer)
19817 (re_string_translate_buffer, re_string_context_at)
19818 (re_string_char_size_at, re_string_wchar_at)
19819 (re_string_elem_size_at): Likewise.
19820 * posix/regexec.c (match_ctx_init, match_ctx_clean)
19821 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
19822 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
19823 (re_search_internal, re_search_2_stub, re_search_stub)
19824 (re_copy_regs, prune_impossible_nodes, check_matching)
19825 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
19826 (free_fail_stack_return, sift_states_iter_mb)
19827 (sift_states_backward, build_sifted_states)
19828 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
19829 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
19830 (check_subexp_limits, sift_states_bkref, merge_state_array)
19831 (find_recover_state, transit_state, merge_state_with_log)
19832 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
19833 (transit_state_mb, transit_state_bkref, get_subexp)
19834 (get_subexp_sub, find_subexp_node, check_arrival)
19835 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
19836 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
19837 (check_node_accept_bytes, find_collation_sequence_value)
19838 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
19839 (acquire_init_state_context, check_halt_node_context)
19840 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
19841 (sub_epsilon_src_nodes): Likewise.
19842 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
19843 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
19844 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
19845 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
19846 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
19847 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
19848 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
19849 * sysdeps/posix/ttyname.c (getttyname): Likewise.
19850 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
19851 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
19852 (PREADV): Likewise.
19853 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
19854 (PREADV): Likewise.
19855 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
19856 (PWRITEV): Likewise.
19857 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
19858 (PWRITEV): Likewise.
19859 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
19860 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
19862 2017-08-31 Florian Weimer <fweimer@redhat.com>
19864 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
19865 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
19866 Remove internal_function.
19867 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
19868 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
19869 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
19870 (__deallocate_stack, __libc_pthread_init)
19871 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
19872 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
19873 (__libc_disable_asynccancel, __librt_disable_asynccancel):
19875 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
19876 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
19877 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
19879 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
19880 (__pthread_mutex_unlock_usercnt): Likewise.
19882 2017-08-31 Florian Weimer <fweimer@redhat.com>
19884 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
19885 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
19886 (fts_safe_changedir): Remove internal_function.
19887 * io/ftw.c (internal_function): Remove definition.
19888 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
19890 2017-08-31 Florian Weimer <fweimer@redhat.com>
19892 * inet/deadline.c (__deadline_current_time)
19893 (__deadline_from_timeval, __deadline_to_ms): Remove
19895 * inet/getnameinfo.c (nrl_domainname): Likewise.
19896 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
19897 * inet/inet6_option.c (add_pad): Likewise.
19898 * inet/net-internal.h (__deadline_current_time)
19899 (__deadline_from_timeval, __deadline_to_ms): Likewise.
19900 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
19901 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
19902 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
19904 2017-08-31 Joseph Myers <joseph@codesourcery.com>
19906 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
19907 include <bits/nan.h>.
19908 * math/Makefile (headers): Remove bits/nan.h.
19909 * bits/nan.h: Remove.
19910 * sysdeps/ieee754/bits/nan.h: Likewise.
19911 * sysdeps/mips/bits/nan.h: Likewise.
19913 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
19914 not include <bits/inf.h>.
19915 * math/Makefile (headers): Remove bits/inf.h.
19916 * bits/inf.h: Remove.
19917 * sysdeps/ieee754/bits/inf.h: Likewise.
19919 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
19920 bits/huge_vall.h or bits/huge_val_flt128.h.
19921 (HUGE_VAL): Define directly here.
19922 [__USE_ISOC99] (HUGE_VALF): Likewise.
19923 [__USE_ISOC99] (HUGE_VALL): Likewise.
19924 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19925 (HUGE_VAL_F128): Likewise.
19926 * math/Makefile (headers): Remove bits/huge_val.h,
19927 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
19928 * bits/huge_val.h: Remove.
19929 * bits/huge_val_flt128.h: Likewise.
19930 * bits/huge_valf.h: Likewise.
19931 * bits/huge_vall.h: Likewise.
19932 * sysdeps/ia64/bits/huge_vall.h: Likewise.
19933 * sysdeps/ieee754/bits/huge_val.h: Likewise.
19934 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
19935 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
19936 * sysdeps/sh/bits/huge_val.h: Likewise.
19937 * sysdeps/sparc/bits/huge_vall.h: Likewise.
19938 * sysdeps/x86/bits/huge_vall.h: Likewise.
19940 2017-08-31 Florian Weimer <fweimer@redhat.com>
19942 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
19944 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
19946 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
19947 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19948 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
19949 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
19950 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19951 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19952 * elf/dl-libc.c (dlerror_run): Likewise.
19953 * elf/dl-load.c (add_name_to_object, decompose_rpath)
19954 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
19955 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
19956 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
19958 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
19959 (_dl_higher_prime_number, _dl_strtoul): Likewise.
19960 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
19961 * elf/dl-profile.c (_dl_start_profile): Likewise.
19962 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
19963 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
19965 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
19966 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
19967 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
19968 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
19969 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
19970 (_dl_allocate_tls_storage): Likewise.
19971 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
19972 (_dl_check_all_versions): Likewise.
19973 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
19974 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
19975 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
19976 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
19977 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
19978 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
19979 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
19980 internal_function from __dl_start.
19981 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
19982 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
19983 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
19984 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
19985 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
19986 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
19987 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
19988 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
19989 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
19990 (_dl_next_ld_env_entry, _dl_important_hwcaps)
19991 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
19992 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
19993 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
19994 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
19995 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
19997 (struct rtld_global_ro): Remove internal_function from the
19998 _dl_lookup_symbol_x member.
19999 (_dl_symbol_value): Remove. No longer defined anywhere.
20000 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
20002 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
20003 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
20004 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
20005 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
20006 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
20007 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
20008 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
20009 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
20010 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
20011 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
20012 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
20013 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
20015 2017-08-31 Florian Weimer <fweimer@redhat.com>
20017 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
20018 Remove internal_function.
20019 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
20021 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
20024 2017-08-31 Florian Weimer <fweimer@redhat.com>
20026 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
20027 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
20028 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
20030 2017-08-31 Florian Weimer <fweimer@redhat.com>
20032 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
20033 (__gai_enqueue_request): Remove internal_function.
20034 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
20035 (__gai_remove_request, __gai_notify, __gai_notify_only)
20036 (__gai_sigqueue): Likewise.
20037 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
20038 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
20039 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
20040 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20043 2017-08-31 Florian Weimer <fweimer@redhat.com>
20045 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
20046 * include/dirent.h (__opendirat, __getdents, __getdents64)
20047 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
20048 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
20049 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
20050 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
20052 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
20054 2017-08-31 Florian Weimer <fweimer@redhat.com>
20056 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
20058 (GETCWD_RETURN_TYPE): Likewise.
20060 2017-08-31 Florian Weimer <fweimer@redhat.com>
20062 * include/time.h (__tz_compute, __strptime_internal): Remove
20064 * time/strptime_l.c (__strptime_internal): Likewise.
20065 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
20067 2017-08-31 Florian Weimer <fweimer@redhat.com>
20069 * iconv/gconv.c (__gconv): Remove internal_function.
20070 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
20071 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
20072 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
20073 (__gconv_release_cache): Likewise.
20074 * iconv/gconv_close.c (__gconv_close): Likewise.
20075 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
20076 (read_conf_file, __gconv_get_path): Likewise.
20077 * iconv/gconv_db.c (derivation_lookup, add_derivation)
20078 (__gconv_release_step, gen_steps, increment_counter)
20079 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
20080 (__gconv_close_transform, free_modules_db): Likewise.
20081 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
20083 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
20084 (__gconv_find_transform, __gconv_lookup_cache)
20085 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
20086 (__gconv_close_transform, __gconv_release_cache)
20087 (__gconv_loaded_object, __gconv_release_shlib)
20088 (__gconv_compare_alias): Likewise.
20089 * iconv/gconv_open.c (__gconv_open): Likewise.
20090 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
20091 * iconv/iconvconfig.c (add_module): Likewise.
20092 * intl/dcigettext.c (plural_lookup, guess_category_value)
20093 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
20094 * intl/eval-plural.h (plural_eval): Likewise.
20095 * intl/finddomain.c (_nl_find_domain): Likewise.
20096 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
20097 (_nl_load_domain, _nl_find_msg): Likewise.
20098 (internal_function): Remove definition.
20099 * intl/loadinfo.h (internal_function): Likewise.
20100 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
20102 * intl/localealias.c (internal_function): Remove definition.
20103 (read_alias_file): Remove internal_function.
20104 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
20105 * intl/plural-exp.h (internal_function): Remove definition.
20106 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
20108 * intl/plural.c: Regenerate.
20109 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
20110 * locale/coll-lookup.c (__collidx_table_lookup)
20111 (__collseq_table_lookup): Likewise.
20112 * locale/coll-lookup.h (__collidx_table_lookup)
20113 (__collseq_table_lookup): Likewise.
20114 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
20115 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
20116 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
20117 (_nl_unload_locale): Likewise.
20118 * locale/localeinfo.h (struct __locale_data): Remove
20119 internal_function from cleanup member.
20120 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
20121 (_nl_remove_locale, _nl_load_locale_from_archive)
20122 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
20123 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
20124 (_nl_cleanup_time): Remove internal_function.
20125 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
20126 (_nl_parse_alt_digit): Likewise.
20127 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
20128 (_nl_select_era_entry): Likewise.
20129 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
20130 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
20131 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
20132 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
20133 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
20135 2017-08-31 Florian Weimer <fweimer@redhat.com>
20137 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
20138 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
20139 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
20140 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
20142 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
20143 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
20144 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
20145 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
20147 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
20149 2017-08-31 Florian Weimer <fweimer@redhat.com>
20151 * misc/getttyent.c (skip, value): Remove internal_function.
20152 * misc/syslog.c (openlog_internal): Likewise.
20153 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
20155 2017-08-31 Florian Weimer <fweimer@redhat.com>
20157 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
20158 (__nss_rewrite_field): Remove internal_function.
20159 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20160 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
20161 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
20162 * nss/nsswitch.c (nss_parse_file, nss_getline)
20163 (nss_parse_service_list, nss_new_service): Likewise.
20164 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
20165 * nss/valid_field.c (__nss_valid_field): Likewise.
20166 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
20168 2017-08-31 Florian Weimer <fweimer@redhat.com>
20170 * malloc/arena.c (__malloc_fork_lock_parent)
20171 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
20172 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
20173 internal_function from defintions.
20174 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
20175 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
20176 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
20177 internal_function from declarations.
20178 * malloc/malloc.c (internal_function): Do not define.
20179 (mem2mem_check): Remove internal_function from declaration.
20180 (munmap_chunk, mremap_chunk): Remove internal_function.
20181 * malloc/mtrace.c (tr_where): Likewise.
20183 2017-08-31 Florian Weimer <fweimer@redhat.com>
20185 * include/rpc/pmap_clnt.h (__get_socket): Remove
20187 * sunrpc/auth_des.c (synchronize): Likewise.
20188 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
20189 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
20190 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
20191 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
20192 (key_call): Likewise.
20193 * sunrpc/pm_getport.c (__get_socket): Likewise.
20194 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
20195 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
20196 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
20197 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
20198 (invalidate): Likewise.
20199 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
20200 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
20201 (set_input_fragment, get_input_bytes): Likewise.
20203 2017-08-31 Florian Weimer <fweimer@redhat.com>
20205 * malloc/malloc.c (_int_free): Remove locked variable and related
20208 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
20211 * Makerules (build-module-helper-objlist): Filter out
20212 $(elf-objpfx)sofini.os.
20213 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
20216 2017-08-31 Florian Weimer <fweimer@redhat.com>
20218 * libio/fcloseall.c: Assume weak_alias is defined.
20219 * libio/feof.c: Likewise.
20220 * libio/fileno.c: Likewise.
20221 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
20222 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
20224 (_IO_file_open): Call __open directly.
20225 (_IO_new_file_sync): Assume ESPIPE is defined.
20226 (_IO_file_seekoff_maybe_mmap): Call __read directly.
20227 (_IO_new_file_write): Call __write directly.
20228 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
20229 * libio/ftello64.c (__ftello64): Assume EIO is defined.
20230 * libio/genops.c: Assume _LIBC is defined.
20231 (save_for_backup): Remove internal_function.
20232 * libio/getc.c: Assume weak_alias is defined.
20233 * libio/getwc.c: Likewise.
20234 * libio/iofclose.c: Assume _LIBC is defined.
20235 * libio/iofdopen.c: Likewise.
20236 (_IO_fcntl): Remove macro definition.
20237 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
20238 Call __fcntl directly.
20239 * libio/iofflush.c: Assume weak_alias is defined.
20240 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
20242 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
20243 * libio/iofgets.c: Likewise.
20244 * libio/iofopen.c: Assume _LIBC is defined.
20245 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
20246 * libio/iofputs.c: Assume weak_alias is defined.
20247 * libio/iofread.c: Likewise.
20248 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
20249 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
20250 * libio/ioftell.c: Assume weak_alias is defined.
20251 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
20252 * libio/iofwide.c: Assume _LIBC is defined.
20253 (_IO_fwide): Drop SHARED conditional because it is implied by
20255 * libio/iofwrite.c: Assume weak_alias is defined.
20256 * libio/iogetdelim.c: Likewise.
20257 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
20258 * libio/iogetwline.c (wmemcpy): Remove macro definition.
20259 (_IO_getwline): Call __wmemcpy directly.
20260 * libio/iopopen.c: Assume _LIBC is defined.
20261 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
20262 (_IO_close): Remove macro definitions.
20263 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
20265 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
20267 * libio/ioputs.c: Assume weak_alias is defined.
20268 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
20269 * libio/iosetbuffer.c: Assume weak_alias is defined.
20270 * libio/iosetvbuf.c: Likewise.
20271 * libio/ioungetc.c: Likewise.
20272 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
20273 libc_hidden_def, libc_hidden_weak, NULL are defined.
20274 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
20275 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
20277 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
20279 (_IO_old_file_init_internal): Drop SHARED conditional because it
20280 is implied by SHLIB_COMPAT.
20281 (_IO_old_file_fopen): Call __open directly.
20282 (_IO_old_file_sync): Assume ESPIPE is defined.
20283 (_IO_old_file_write): Call __write directly.
20284 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
20285 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
20286 Call __fcntl directly.
20287 * libio/oldiofgetpos.c: Assume weak_alias is defined.
20288 (_IO_old_fgetpos): Assume EIO is defined.
20289 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
20290 (_IO_old_fgetpos64): Assume EIO is defined.
20291 * libio/oldiofsetpos.c: Assume weak_alias is defined.
20292 (_IO_old_fsetpos): Assume EIO is defined.
20293 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
20294 (_IO_old_fsetpos64): Assume EIO is defined.
20295 * libio/oldiopopen.c: Assume _LIBC is defined.
20296 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
20297 (_IO_close): Remove macro definitions.
20298 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
20300 (_IO_old_proc_close): Call __close, __waitpid directly.
20301 * libio/put.c: Assume weak_alias is defined.
20302 * libio/stdfiles.c: Assume _LIBC is defined.
20303 * libio/stdio.c: Likewise.
20304 * libio/wfileops.c: Likewise.
20305 (_IO_wfile_sync): Assume ESPIPE is defined.
20306 * libio/wgenops.c: Assume _LIBC is defined.
20307 (save_for_wbackup): Remove internal_function.
20309 2017-08-31 Florian Weimer <fweimer@redhat.com>
20311 * malloc/malloc.c (top_check): Change return type to void. Remove
20313 * malloc/hooks.c (top_check): Likewise.
20314 (malloc_check, realloc_check, memalign_check): Adjust.
20316 2017-08-30 Joseph Myers <joseph@codesourcery.com>
20319 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
20320 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
20321 sigcontext and namespace requirements.
20322 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
20323 * sysdeps/m68k/sys/ucontext.h: Likewise.
20324 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
20325 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
20326 <bits/sigcontext.h>.
20327 (__ctx): Define earlier.
20328 (mcontext_t): Define structure contents rather than using struct
20330 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
20331 __glibc_reserved1 instead of __reserved.
20332 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
20333 <bits/sigcontext.h>.
20334 (__ctx): Define earlier.
20335 (mcontext_t): Define structure contents rather than using struct
20337 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
20338 mcontext_t instead of struct sigcontext.
20339 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
20340 <bits/sigcontext.h>.
20341 (__ctx): Define earlier.
20342 (mcontext_t): Define structure contents rather than using struct
20344 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
20345 <bits/sigcontext.h>.
20346 (__ctx): Define earlier.
20347 (mcontext_t): Define structure contents rather than using struct
20349 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
20350 mcontext_t instead of struct sigcontext.
20351 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
20352 mcontext_t instead of struct sigcontext.
20353 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
20354 <bits/sigcontext.h>.
20355 (__ctx): New macro.
20356 (struct __ia64_fpreg_mcontext): New type.
20357 (mcontext_t): Define structure contents rather than using struct
20359 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
20360 (uc_sigmask): Define using __ctx.
20361 (uc_stack): Likewise.
20362 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
20363 <bits/sigcontext.h>.
20364 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20365 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
20366 <bits/sigcontext.h>.
20367 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
20368 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
20369 <bits/sigcontext.h>.
20370 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
20371 <bits/sigcontext.h>.
20372 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
20373 <bits/sigcontext.h>.
20374 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
20375 <bits/sigcontext.h>.
20376 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
20377 <bits/sigcontext.h>.
20378 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
20379 <bits/sigcontext.h>.
20380 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
20381 <bits/sigcontext.h>.
20382 (__ctx): Define earlier.
20383 (mcontext_t): Define structure contents rather than using struct
20385 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
20386 <bits/sigcontext.h>. Include <bits/types.h>.
20387 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
20388 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
20389 (test-xfail-XPG42/ucontext.h/conform): Likewise.
20390 (test-xfail-UNIX98/signal.h/conform): Likewise.
20391 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20392 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20393 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20394 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20395 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20396 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20397 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20398 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20399 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20401 2017-08-30 Florian Weimer <fweimer@redhat.com>
20403 * malloc/dynarray_emplace_enlarge.c
20404 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
20405 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
20406 * malloc/tst-dynarray.c (test_long_overflow): New function.
20407 (do_test): Call it.
20409 2017-08-30 Florian Weimer <fweimer@redhat.com>
20411 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
20412 (set_arena_corrupt): Remove definitions.
20413 (mtrim): Do not check for corrupt arena.
20414 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
20417 2017-08-30 Florian Weimer <fweimer@redhat.com>
20420 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
20422 (ptmalloc_init): Do not set or use check_action.
20423 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
20424 call to malloc_printerr. Remove return statement.
20425 (free_check): Likewise. Remove arena unlock.
20426 (top_check): Update comment. Adjust call to malloc_printerr.
20427 Remove heap repair code.
20428 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
20429 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
20430 (sysmalloc): Adjust call to malloc_printerr.
20431 (munmap_chunk, __libc_realloc): Likewise. Remove return
20433 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
20434 Remove errout label and corresponding gotos.
20435 (_int_free): Likewise. Remove arena unlock.
20436 (do_set_mallopt_check): Do not set check_action.
20437 (malloc_printerr): Adjust parameter list. Do not mark arena as
20439 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
20441 * manual/probes.texi (Memory Allocation Probes): Remove
20442 memory_mallopt_check_action.
20444 2017-08-30 Steve Ellcey <sellcey@cavium.com>
20446 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
20447 Use pointer to uint64_t instead of long int for sp.
20449 2017-08-30 Florian Weimer <fweimer@redhat.com>
20452 * malloc/malloc.c (malloc_printerr): Always terminate the process,
20453 without printing a backtrace. Do not leak any information in the
20455 * manual/memory.texi (Heap Consistency Checking): Update.
20456 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
20458 2017-08-30 Florian Weimer <fweimer@redhat.com>
20460 Do not scale NPTL tests with available number of CPUs.
20461 * nptl/tst-cond16.c (count): Set to constant value of 8.
20462 * nptl/tst-cond18.c (count): Likewise.
20464 2017-08-29 Joseph Myers <joseph@codesourcery.com>
20467 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
20468 Define to take a second argument that is a macro that
20469 concatentates a suffix, not the suffix itself.
20470 (__CONCAT_d): New macro.
20471 (__CONCAT_f): Likewise.
20472 (__CONCAT_l): Likewise.
20474 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
20476 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
20479 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20480 Aurelien Jarno <aurelien@aurel32.net>
20481 Maciej W. Rozycki <macro@imgtec.com>
20484 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
20485 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
20486 `mips16-syscall6' and `mips16-syscall7'.
20487 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
20488 (CFLAGS-mips16-syscall7.c): Remove.
20489 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
20490 Remove `__mips16_syscall5', `__mips16_syscall6' and
20491 `__mips16_syscall7'.
20492 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
20493 (__mips16_syscall0): Rename `__mips16_syscall_return' to
20494 `__mips_syscall_return'.
20495 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
20496 (__mips16_syscall1): Likewise.
20497 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
20498 (__mips16_syscall2): Likewise.
20499 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
20500 (__mips16_syscall3): Likewise.
20501 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
20502 (__mips16_syscall4): Likewise.
20503 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
20505 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
20507 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
20509 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
20510 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
20511 `__mips16_syscall5'. Remove prototype.
20512 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
20513 `__mips16_syscall6'. Remove prototype.
20514 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
20515 `__mips16_syscall7'. Remove prototype.
20516 (__nomips16, __mips16_syscall_return): Move to...
20517 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
20518 (__nomips16, __mips_syscall_return): ... here.
20519 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
20520 `__mips16_syscall_return' to `__mips_syscall_return'.
20521 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
20522 `internal_syscall##nr'.
20523 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
20524 `internal_syscall##nr'.
20525 (FORCE_FRAME_POINTER): Remove.
20526 (__mips_syscall5): New prototype.
20527 (internal_syscall5): Rewrite to call `__mips_syscall5'.
20528 (__mips_syscall6): New prototype.
20529 (internal_syscall6): Rewrite to call `__mips_syscall6'.
20530 (__mips_syscall7): New prototype.
20531 (internal_syscall7): Rewrite to call `__mips_syscall7'.
20532 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
20533 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
20534 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
20535 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
20536 (sysdep_routines): Add libc-do-syscall.
20537 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
20538 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
20540 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20543 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
20544 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
20545 (advise_stack_range): New function.
20546 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
20547 stack non required to advise_stack_range at allocatestack.c
20549 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
20551 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
20553 2017-08-29 Florian Weimer <fweimer@redhat.com>
20556 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
20557 __end_fct. Mangle __end_fct after setting it to NULL.
20558 * iconv/Makefile (tests): Add tst-gconv-init-failure.
20559 (modules-names, modules-names-tests): Add
20560 tst-gconv-init-failure-mod.
20561 (gconv-modules): New target.
20562 (tst-gconv-init-failure-mod.so): Link against libsupport.
20563 (tst-gconv-init-failure): Depend on gconv-modules,
20564 tst-gconv-init-failure-mod.so.
20565 * iconv/tst-gconv-init-failure-mod.c: New file.
20566 * iconv/tst-gconv-init-failure.c: Likewise.
20567 * iconv/test-gconv-modules: Likewise.
20569 2017-08-29 Florian Weimer <fweimer@redhat.com>
20572 * iconv/gconv_db.c (free_derivation): Remove redundant
20574 (gen_steps): Unconditionally mangle __btowc_fct after
20576 (increment_counter): Likewise. Do not call init_fct for internal
20579 2017-08-29 Joseph Myers <joseph@codesourcery.com>
20582 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
20583 (_MSUF_): Remove macro.
20584 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
20586 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
20587 (__REDIRFROM_X): New macro.
20588 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
20590 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
20591 (__REDIRTO_X): Likewise.
20592 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
20594 (__MATH_REDIRCALL_2): Likewise.
20595 (__MATH_REDIRCALL_INTERNAL): Likewise.
20596 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
20597 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
20598 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
20599 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
20600 * math/test-finite-macros.c: New file.
20601 * math/Makefile (tests): Add test-finite-macros.
20602 (CFLAGS-test-finite-macros.c): New variable.
20604 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
20605 Jeff Law <law@redhat.com>
20608 Mangle NULL pointers in iconv/gconv.
20609 * iconv/gconv_cache.c (find_module): Demangle init_fct before
20610 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
20611 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
20612 is non-NULL before demangling the end_fct. Check for NULL
20613 end_fct after demangling.
20614 (__gconv_release_step): Demangle the end_fct before checking
20615 it for NULL. Remove assert on __shlibc_handle != NULL.
20616 (gen_steps): Don't check btowc_fct for NULL before mangling.
20617 Demangle init_fct before checking for NULL.
20618 (increment_counter): Likewise.
20619 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
20620 end_fct for NULL before mangling.
20621 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
20624 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
20627 * locale/iso-639.def: add Morisyen.
20629 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
20632 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
20633 (iszero): New C++ implementation that does not use
20634 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
20635 signaling nans are enabled, since __builtin_types_compatible_p
20636 is a C-only feature.
20637 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
20638 defined, include ieee754_float128.h for access to the union and
20639 member ieee854_float128.ieee.
20640 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
20641 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
20642 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
20643 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
20644 options of test-math-zero on powerpc64le.
20646 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
20648 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
20649 Change double to float.
20651 2017-08-28 Joseph Myers <joseph@codesourcery.com>
20653 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
20655 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
20656 conditional code; define contents only for [LIBM_SVID_COMPAT].
20658 2017-08-28 Florian Weimer <fweimer@redhat.com>
20660 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
20661 (abi-lp64_be-options): Remove.
20662 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
20663 (abi-hard-options): Likewise.
20664 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
20665 (abi-o32_hard-options, abi-o32_soft_2008-options)
20666 (abi-o32_hard_2008-options, abi-n32_soft-options)
20667 (abi-n32_hard-options, abi-n32_soft_2008-options)
20668 (abi-n32_hard_2008-options, abi-n64_soft-options)
20669 (abi-n64_hard-options, abi-n64_soft_2008-options)
20670 (abi-n64_hard_2008-options): Likewise.
20671 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
20672 (abi-64-v1-options, abi-64-v2-options): Likewise.
20673 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
20674 (abi-64-options): Likewise.
20675 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
20676 (abi-64-options): Likewise.
20677 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
20678 (abi-64-options): Likewise.
20679 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
20680 (abi-64-options, abi-x32-options): Likewise.
20682 2017-08-28 Florian Weimer <fweimer@redhat.com>
20684 Store supported list of SYS_* system calls in the source tree.
20685 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
20686 (bits/syscall.h): Generate from list file.
20687 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
20688 [$(subdir) = misc] (tests): Add tst-syscall-list.
20689 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
20690 [$(subdir) = misc] (tst-syscall-list-macros.list)
20691 [$(subdir) = misc] (tst-syscall-list-nr.list)
20692 (tst-syscall-list-sys.list): Helper targets for new
20693 tst-syscall-list test.
20694 [$(subdir) = misc] (tst-syscall-list.out): Run test script
20695 tst-syscall-list.sh.
20696 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
20697 target. Do not include bits/syscall.d.
20698 [$(subdir) = misc] (generated): Do not update.
20699 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
20700 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
20701 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
20702 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
20704 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
20706 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
20707 (tst-cxa_atexit, tst-on_exit): Likewise.
20708 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
20709 tst-cxa_atexit, and tst-on_exit.
20710 * stdlib/tst-atexit-common.c: New file.
20711 * stdlib/tst-atexit.c: New file.
20712 * stdlib/tst-at_quick_exit.c: New file.
20713 * stdlib/tst-cxa_atexit.c: New file.
20714 * stdlib/tst-on_exit.c: New file.
20716 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20718 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
20719 * mach/stack_chk_fail_local.c: New file.
20720 * hurd/stack_chk_fail_local.c: New file.
20721 * mach/Machrules ($(interface-library)-routines): Add
20722 stack_chk_fail_local.
20723 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
20724 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
20725 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
20726 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
20727 * hurd/Makefile (CFLAGS-hurdstartup.o,
20728 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
20730 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
20732 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
20733 (index_cpu_*, index_arch_*): Removed.
20735 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
20737 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
20738 Use uint64_t instead of unsigned long.
20740 2017-08-25 Joseph Myers <joseph@codesourcery.com>
20742 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
20743 [__HAVE_DISTINCT_FLOAT128].
20745 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
20746 of <bits/math-finite.h>.
20747 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
20748 inclusion of <bits/math-finite.h>.
20749 * math/bits/math-finite.h (__REDIRTO_X): Do not define
20750 conditionally on [__MATH_DECLARING_LDOUBLE && defined
20751 __NO_LONG_DOUBLE_MATH].
20752 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
20753 (__MATH_REDIRCALL_2): Likewise.
20754 (__MATH_REDIRCALL_INTERNAL): Likewise.
20755 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
20756 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
20757 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
20759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
20761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
20763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
20765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
20767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
20769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
20771 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
20772 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
20773 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
20774 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
20775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
20776 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
20777 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
20778 w_sqrtf_compat-ppc32.
20780 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
20782 * math/math.h [defined __cplusplus] (issignaling): In the long
20783 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
20784 is not defined. Call __issignaling, otherwise.
20786 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20788 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
20789 syscall definitions and replace __builtin_expect with __glibc_likely.
20790 * sysdeps/unix/syscall-template.S: Update comment about cancellable
20792 (SYSCALL_CANCELLABLE): Removedefinition
20793 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
20795 (PSEUDO_END): Likewise.
20796 [IS_IN (libpthread)] (CENABLE): Likewise.
20797 [IS_IN (libpthread)] (CDISABLE): Likewise.
20798 [IS_IN (libc)] (CENABLE): Likewise.
20799 [IS_IN (libc)] (CENABLE): Likewise.
20800 [IS_IN (librt)] (CDISABLE): Likewise.
20801 [IS_IN (librt)] (CDISABLE): Likewise.
20802 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
20803 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
20805 (PSEUDO_END): Likewise.
20806 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
20807 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
20808 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
20809 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
20810 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
20811 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
20812 (CENABLE): Likewise.
20813 (CDISABLE): Likewise.
20814 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
20815 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
20817 (PSEUDO_END): Likewise.
20818 [IS_IN (libpthread)] (CENABLE): Likewise.
20819 [IS_IN (libpthread)] (CDISABLE): Likewise.
20820 [IS_IN (libc)] (CENABLE): Likewise.
20821 [IS_IN (libc)] (CENABLE): Likewise.
20822 [IS_IN (librt)] (CDISABLE): Likewise.
20823 [IS_IN (librt)] (CDISABLE): Likewise.
20824 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
20825 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
20827 (PSEUDO_END): Likewise.
20828 [IS_IN (libpthread)] (CENABLE): Likewise.
20829 [IS_IN (libpthread)] (CDISABLE): Likewise.
20830 [IS_IN (libc)] (CENABLE): Likewise.
20831 [IS_IN (libc)] (CENABLE): Likewise.
20832 [IS_IN (librt)] (CDISABLE): Likewise.
20833 [IS_IN (librt)] (CDISABLE): Likewise.
20834 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
20835 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
20837 (PSEUDO_END): Likewise.
20838 [IS_IN (libpthread)] (CENABLE): Likewise.
20839 [IS_IN (libpthread)] (CDISABLE): Likewise.
20840 [IS_IN (libc)] (CENABLE): Likewise.
20841 [IS_IN (libc)] (CENABLE): Likewise.
20842 [IS_IN (librt)] (CDISABLE): Likewise.
20843 [IS_IN (librt)] (CDISABLE): Likewise.
20844 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
20845 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
20847 (PSEUDO_END): Likewise.
20848 [IS_IN (libpthread)] (CENABLE): Likewise.
20849 [IS_IN (libpthread)] (CDISABLE): Likewise.
20850 [IS_IN (libc)] (CENABLE): Likewise.
20851 [IS_IN (libc)] (CENABLE): Likewise.
20852 [IS_IN (librt)] (CDISABLE): Likewise.
20853 [IS_IN (librt)] (CDISABLE): Likewise.
20854 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
20855 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
20857 (PSEUDO_END): Likewise.
20858 [IS_IN (libpthread)] (CENABLE): Likewise.
20859 [IS_IN (libpthread)] (CDISABLE): Likewise.
20860 [IS_IN (libc)] (CENABLE): Likewise.
20861 [IS_IN (libc)] (CENABLE): Likewise.
20862 [IS_IN (librt)] (CDISABLE): Likewise.
20863 [IS_IN (librt)] (CDISABLE): Likewise.
20864 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
20865 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
20867 (PSEUDO_END): Likewise.
20868 [IS_IN (libpthread)] (CENABLE): Likewise.
20869 [IS_IN (libpthread)] (CDISABLE): Likewise.
20870 [IS_IN (libc)] (CENABLE): Likewise.
20871 [IS_IN (libc)] (CENABLE): Likewise.
20872 [IS_IN (librt)] (CDISABLE): Likewise.
20873 [IS_IN (librt)] (CDISABLE): Likewise.
20874 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
20875 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
20877 (PSEUDO_END): Likewise.
20878 [IS_IN (libpthread)] (CENABLE): Likewise.
20879 [IS_IN (libpthread)] (CDISABLE): Likewise.
20880 [IS_IN (libc)] (CENABLE): Likewise.
20881 [IS_IN (libc)] (CENABLE): Likewise.
20882 [IS_IN (librt)] (CDISABLE): Likewise.
20883 [IS_IN (librt)] (CDISABLE): Likewise.
20884 (SINGLE_THREAD_P): Likewise.
20885 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
20887 (PSEUDO_END): Likewise.
20888 [IS_IN (libpthread)] (CENABLE): Likewise.
20889 [IS_IN (libpthread)] (CDISABLE): Likewise.
20890 [IS_IN (libc)] (CENABLE): Likewise.
20891 [IS_IN (libc)] (CENABLE): Likewise.
20892 [IS_IN (librt)] (CDISABLE): Likewise.
20893 [IS_IN (librt)] (CDISABLE): Likewise.
20894 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
20895 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
20897 (PSEUDO_END): Likewise.
20898 [IS_IN (libpthread)] (CENABLE): Likewise.
20899 [IS_IN (libpthread)] (CDISABLE): Likewise.
20900 [IS_IN (libc)] (CENABLE): Likewise.
20901 [IS_IN (libc)] (CENABLE): Likewise.
20902 [IS_IN (librt)] (CDISABLE): Likewise.
20903 [IS_IN (librt)] (CDISABLE): Likewise.
20904 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
20905 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
20906 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20907 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
20908 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
20910 (PSEUDO_END): Likewise.
20911 [IS_IN (libpthread)] (CENABLE): Likewise.
20912 [IS_IN (libpthread)] (CDISABLE): Likewise.
20913 [IS_IN (libc)] (CENABLE): Likewise.
20914 [IS_IN (libc)] (CENABLE): Likewise.
20915 [IS_IN (librt)] (CDISABLE): Likewise.
20916 [IS_IN (librt)] (CDISABLE): Likewise.
20917 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
20918 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
20920 (PSEUDO_END): Likewise.
20921 [IS_IN (libpthread)] (CENABLE): Likewise.
20922 [IS_IN (libpthread)] (CDISABLE): Likewise.
20923 [IS_IN (libc)] (CENABLE): Likewise.
20924 [IS_IN (libc)] (CENABLE): Likewise.
20925 [IS_IN (librt)] (CDISABLE): Likewise.
20926 [IS_IN (librt)] (CDISABLE): Likewise.
20927 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
20928 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
20930 (PSEUDO_END): Likewise.
20931 [IS_IN (libpthread)] (CENABLE): Likewise.
20932 [IS_IN (libpthread)] (CDISABLE): Likewise.
20933 [IS_IN (libc)] (CENABLE): Likewise.
20934 [IS_IN (libc)] (CENABLE): Likewise.
20935 [IS_IN (librt)] (CDISABLE): Likewise.
20936 [IS_IN (librt)] (CDISABLE): Likewise.
20937 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
20938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
20939 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20940 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
20941 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
20943 (PSEUDO_END): Likewise.
20944 [IS_IN (libpthread)] (CENABLE): Likewise.
20945 [IS_IN (libpthread)] (CDISABLE): Likewise.
20946 [IS_IN (libc)] (CENABLE): Likewise.
20947 [IS_IN (libc)] (CENABLE): Likewise.
20948 [IS_IN (librt)] (CDISABLE): Likewise.
20949 [IS_IN (librt)] (CDISABLE): Likewise.
20950 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
20951 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
20953 (PSEUDO_END): Likewise.
20954 [IS_IN (libpthread)] (CENABLE): Likewise.
20955 [IS_IN (libpthread)] (CDISABLE): Likewise.
20956 [IS_IN (libc)] (CENABLE): Likewise.
20957 [IS_IN (libc)] (CENABLE): Likewise.
20958 [IS_IN (librt)] (CDISABLE): Likewise.
20959 [IS_IN (librt)] (CDISABLE): Likewise.
20960 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
20962 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20964 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
20966 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
20968 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20970 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
20973 * string/stratcliff.c (do_test): Declare size, nchars, inner,
20974 middle and outer with size_t instead of int. Repleace %d and
20975 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
20976 "MAX (outer, nchars - 64)" to support unsigned outer and
20977 nchars. Also exit loop when outer == 0.
20979 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20981 * include/fcntl.h (__fcntl_nocancel): Remove definition.
20982 * include/signal.h (__sigsuspend_nocancel): Likewise.
20983 * include/time.h (__nanosleep_nocancel): Likewise.
20984 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
20985 * login/utmp_file.c: Include non cancellable syscall header.
20986 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
20989 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
20991 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
20992 .byte sequences with AVX512F instructions.
20993 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
20994 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
20995 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20996 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
20998 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
21001 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
21002 Steve Ellcey <sellcey@cavium.com>
21004 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
21005 Use PTR_REG macro in cmp instruction.
21007 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21009 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
21010 Change the return type of the ifunc resolver to match the return
21011 type of the target function.
21013 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21015 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
21016 (preadv64): Likewise.
21017 (pwrite64(: Likewise.
21018 (pwritev64): Likewise.
21020 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21021 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
21022 (LOAD_ARGS_0): Likewise.
21023 (LOAD_ARGS_1): Likewise.
21024 (LOAD_ARGS_2): Likewise.
21025 (LOAD_ARGS_3): Likewise.
21026 (LOAD_ARGS_4): Likewise.
21027 (LOAD_ARGS_5): Likewise.
21028 (LOAD_ARGS_6): Likewise.
21029 (LOAD_REGS_0): Likewise.
21030 (LOAD_REGS_1): Likewise.
21031 (LOAD_REGS_2): Likewise.
21032 (LOAD_REGS_3): Likewise.
21033 (LOAD_REGS_4): Likewise.
21034 (LOAD_REGS_5): Likewise.
21035 (LOAD_REGS_6): Likewise.
21036 (ASM_ARGS_0): Likewise.
21037 (ASM_ARGS_1): Likewise.
21038 (ASM_ARGS_2): Likewise.
21039 (ASM_ARGS_3): Likewise.
21040 (ASM_ARGS_4): Likewise.
21041 (ASM_ARGS_5): Likewise.
21042 (ASM_ARGS_6): Likewise.
21043 (LOAD_ARGS_TYPES_1): Likewise.
21044 (LOAD_ARGS_TYPES_2): Likewise.
21045 (LOAD_ARGS_TYPES_3): Likewise.
21046 (LOAD_ARGS_TYPES_4): Likewise.
21047 (LOAD_ARGS_TYPES_5): Likewise.
21048 (LOAD_ARGS_TYPES_6): Likewise.
21049 (LOAD_REGS_TYPES_1): Likewise.
21050 (LOAD_REGS_TYPES_2): Likewise.
21051 (LOAD_REGS_TYPES_3): Likewise.
21052 (LOAD_REGS_TYPES_4): Likewise.
21053 (LOAD_REGS_TYPES_5): Likewise.
21054 (LOAD_REGS_TYPES_6): Likewise.
21055 (TYPEFY): New define.
21056 (ARGIFY): Likewise.
21057 (internal_syscall0): Likewise.
21058 (internal_syscall1): Likewise.
21059 (internal_syscall2): Likewise.
21060 (internal_syscall3): Likewise.
21061 (internal_syscall4): Likewise.
21062 (internal_syscall5): Likewise.
21063 (internal_syscall6): Likewise.
21064 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
21065 (INTERNAL_SYSCALL_NCS): Remove define.
21066 (internal_syscall1): Add define.
21068 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21070 * math/w_remainder_compat.c: Remove duplicate inclusion of
21071 math-svid-compat.h.
21072 * math/w_remainderf_compat.c: Likewise.
21073 * math/w_remainderl_compat.c: Likewise.
21075 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21079 2017-08-22 Joseph Myers <joseph@codesourcery.com>
21082 * math/tgmath.h (__floating_type): Simplify definitions.
21083 (__real_integer_type): New macro.
21084 (__complex_integer_type): Likewise.
21085 (__expr_is_real): Likewise.
21086 (__tgmath_real_type_sub): Update comment to describe handling of
21088 (__tgmath_complex_type_sub): New macro.
21089 (__tgmath_complex_type): Likewise.
21090 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21091 (__TGMATH_CF128): Use __expr_is_real.
21092 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
21094 (__TGMATH_BINARY_REAL_IMAG): Likewise.
21095 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
21096 * math/gen-tgmath-tests.py (Type.create_type): Create complex
21099 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21101 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
21103 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
21105 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
21108 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
21109 nanosleep_not_cancel with __nanosleep_nocancel.
21110 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
21111 (__nanosleep_nocancel): New macro.
21112 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
21114 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
21116 (__nanosleep_nocancel): New prototype.
21118 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
21119 pause_not_cancel with __pause_nocancel.
21120 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
21121 (__pause_nocancel): New macro.
21122 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
21124 (__pause_nocancel): New prototype.
21125 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
21127 2017-08-22 Martin Sebor <msebor@redhat.com>
21129 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
21130 to return a pointer to the same type as the target function.
21132 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
21136 * include/printf.h (__printf_fphex): Add attribute_hidden.
21137 (__guess_grouping): New prototype.
21138 * stdio-common/printf_fp.c (__guess_grouping): Removed.
21139 * stdio-common/reg-printf.c (__register_printf_specifier): Add
21140 libc_hidden_proto and libc_hidden_def.
21141 * stdlib/strfmon_l.c (__guess_grouping): Removed.
21142 (__vstrfmon_l): Remove the third argument passed to
21145 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21147 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
21148 definition for issignaling that does not rely on __MATH_TG,
21149 since __MATH_TG uses __builtin_types_compatible_p, which is only
21150 available in C mode.
21151 (CFLAGS-test-math-issignaling.cc): New variable.
21152 * math/Makefile [CXX] (tests): Add test-math-issignaling.
21153 * math/test-math-issignaling.cc: New test for C++ implementation
21154 of type-generic issignaling.
21155 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
21156 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
21157 options of test-math-issignaling on powerpc64le.
21159 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
21161 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
21163 (hidden_proto): Likewise.
21164 (hidden_tls_proto): Likewise.
21165 (__hidden_proto): Likewise.
21167 2017-08-22 Florian Weimer <fweimer@redhat.com>
21169 math: Statically link tests of internal functionality.
21170 * math/Makefile (tests): Remove atest-exp, atest-sincos,
21172 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
21173 (gmp-objs): Remove assignment.
21174 (atest-exp, atest-sincos, atest-exp2): Remove targets.
21176 2017-08-22 Joseph Myers <joseph@codesourcery.com>
21179 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
21181 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
21183 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
21186 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
21187 variable definitions above inclusion of ../Rules.
21189 2017-08-21 Joseph Myers <joseph@codesourcery.com>
21191 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
21192 case calling __builtin_unreachable.
21194 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21196 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
21197 __waitpid_nocancel.
21198 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
21199 (__waitpid_nocancel): New macro.
21200 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
21202 (__waitpid_nocancel): Replace macro with a function.
21203 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
21206 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
21208 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
21209 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
21211 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
21212 __writev_nocancel_nostatus.
21213 (write_call_graph): Likewise.
21214 (write_bb_counts): Likewise.
21215 * resolv/herror.c (herror): Likewise.
21216 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
21218 (__writev_nocancel_nostatus): New macro.
21219 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
21221 (__writev_nocancel_nostatus): New function.
21223 2017-08-21 Joseph Myers <joseph@codesourcery.com>
21226 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
21228 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
21230 (hidden_proto): Likewise.
21231 (hidden_tls_proto): Likewise.
21232 (__hidden_proto): Likewise.
21235 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
21236 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
21237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
21239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
21241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
21243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
21245 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
21246 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
21247 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
21248 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
21249 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
21250 GLIBC_2.0 sqrtl symbol.
21252 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
21253 [__USE_MISC] (_LIB_VERSION): Likewise.
21254 [__USE_MISC] (struct exception): Likewise.
21255 [__USE_MISC] (matherr): Likewise.
21256 [__USE_MISC] (DOMAIN): Likewise.
21257 [__USE_MISC] (SING): Likewise.
21258 [__USE_MISC] (OVERFLOW): Likewise.
21259 [__USE_MISC] (UNDERFLOW): Likewise.
21260 [__USE_MISC] (TLOSS): Likewise.
21261 [__USE_MISC] (PLOSS): Likewise.
21262 [__USE_MISC] (HUGE): Likewise.
21263 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
21264 * math/math-svid-compat.h: New file.
21265 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
21267 * include/math.h [!_ISOMAC] (__matherr): Remove.
21268 * manual/arith.texi (FP Exceptions): Do not document matherr.
21269 * math/Makefile (tests): Change test-matherr to test-matherr-3.
21270 (tests-internal): New variable.
21271 (install-lib): Do not add libieee.a.
21272 (non-lib.a): Likewise.
21273 (extra-objs): Do not add libieee.a and ieee-math.o.
21274 (CPPFLAGS-s_lib_version.c): Remove variable.
21275 ($(objpfx)libieee.a): Remove rule.
21276 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
21277 * math/ieee-math.c: Remove.
21278 * math/libm-test-support.c (matherr): Remove.
21279 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
21280 and license notices. Include <math-svid-compat.h> and
21282 (matherr): Undefine as macro. Use compat_symbol_reference.
21283 (_LIB_VERSION): Likewise.
21284 * math/test-matherr-2.c: New file.
21285 * math/test-matherr-3.c: Likewise.
21286 * sysdeps/generic/math_private.h (__kernel_standard): Remove
21288 (__kernel_standard_f): Likewise.
21289 (__kernel_standard_l): Likewise.
21290 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
21291 <math_private.h>. Include <math-svid-compat.h>.
21292 (_LIB_VERSION): Undefine as macro.
21293 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
21294 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
21295 [LIBM_SVID_COMPAT], use compat_symbol.
21296 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
21297 <math_private.h>. Include <math-svid-compat.h>.
21298 (matherr): Undefine as macro.
21299 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
21301 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
21302 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
21303 compat_symbol_reference.
21304 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
21305 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
21306 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
21307 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
21308 (MATHERR_D): Remove declaration.
21309 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
21310 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
21311 [LIBM_BUILD] (pmatherrf): Likewise.
21312 [LIBM_BUILD] (pmatherr): Likewise.
21313 [LIBM_BUILD] (pmatherrl): Likewise.
21314 (DOMAIN): Likewise.
21316 (OVERFLOW): Likewise.
21317 (UNDERFLOW): Likewise.
21320 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
21321 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
21323 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
21324 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
21326 * math/lgamma-compat.h: Include <math-svid-compat.h>.
21327 * math/w_acos_compat.c: Likewise.
21328 * math/w_acosf_compat.c: Likewise.
21329 * math/w_acosh_compat.c: Likewise.
21330 * math/w_acoshf_compat.c: Likewise.
21331 * math/w_acoshl_compat.c: Likewise.
21332 * math/w_acosl_compat.c: Likewise.
21333 * math/w_asin_compat.c: Likewise.
21334 * math/w_asinf_compat.c: Likewise.
21335 * math/w_asinl_compat.c: Likewise.
21336 * math/w_atan2_compat.c: Likewise.
21337 * math/w_atan2f_compat.c: Likewise.
21338 * math/w_atan2l_compat.c: Likewise.
21339 * math/w_atanh_compat.c: Likewise.
21340 * math/w_atanhf_compat.c: Likewise.
21341 * math/w_atanhl_compat.c: Likewise.
21342 * math/w_cosh_compat.c: Likewise.
21343 * math/w_coshf_compat.c: Likewise.
21344 * math/w_coshl_compat.c: Likewise.
21345 * math/w_exp10_compat.c: Likewise.
21346 * math/w_exp10f_compat.c: Likewise.
21347 * math/w_exp10l_compat.c: Likewise.
21348 * math/w_exp2_compat.c: Likewise.
21349 * math/w_exp2f_compat.c: Likewise.
21350 * math/w_exp2l_compat.c: Likewise.
21351 * math/w_fmod_compat.c: Likewise.
21352 * math/w_fmodf_compat.c: Likewise.
21353 * math/w_fmodl_compat.c: Likewise.
21354 * math/w_hypot_compat.c: Likewise.
21355 * math/w_hypotf_compat.c: Likewise.
21356 * math/w_hypotl_compat.c: Likewise.
21357 * math/w_j0_compat.c: Likewise.
21358 * math/w_j0f_compat.c: Likewise.
21359 * math/w_j0l_compat.c: Likewise.
21360 * math/w_j1_compat.c: Likewise.
21361 * math/w_j1f_compat.c: Likewise.
21362 * math/w_j1l_compat.c: Likewise.
21363 * math/w_jn_compat.c: Likewise.
21364 * math/w_jnf_compat.c: Likewise.
21365 * math/w_jnl_compat.c: Likewise.
21366 * math/w_lgamma_main.c: Likewise.
21367 * math/w_lgamma_r_compat.c: Likewise.
21368 * math/w_lgammaf_main.c: Likewise.
21369 * math/w_lgammaf_r_compat.c: Likewise.
21370 * math/w_lgammal_main.c: Likewise.
21371 * math/w_lgammal_r_compat.c: Likewise.
21372 * math/w_log10_compat.c: Likewise.
21373 * math/w_log10f_compat.c: Likewise.
21374 * math/w_log10l_compat.c: Likewise.
21375 * math/w_log2_compat.c: Likewise.
21376 * math/w_log2f_compat.c: Likewise.
21377 * math/w_log2l_compat.c: Likewise.
21378 * math/w_log_compat.c: Likewise.
21379 * math/w_logf_compat.c: Likewise.
21380 * math/w_logl_compat.c: Likewise.
21381 * math/w_pow_compat.c: Likewise.
21382 * math/w_powf_compat.c: Likewise.
21383 * math/w_powl_compat.c: Likewise.
21384 * math/w_remainder_compat.c: Likewise.
21385 * math/w_remainderf_compat.c: Likewise.
21386 * math/w_remainderl_compat.c: Likewise.
21387 * math/w_scalb_compat.c: Likewise.
21388 * math/w_scalbf_compat.c: Likewise.
21389 * math/w_scalbl_compat.c: Likewise.
21390 * math/w_sinh_compat.c: Likewise.
21391 * math/w_sinhf_compat.c: Likewise.
21392 * math/w_sinhl_compat.c: Likewise.
21393 * math/w_sqrt_compat.c: Likewise.
21394 * math/w_sqrtf_compat.c: Likewise.
21395 * math/w_sqrtl_compat.c: Likewise.
21396 * math/w_tgamma_compat.c: Likewise.
21397 * math/w_tgammaf_compat.c: Likewise.
21398 * math/w_tgammal_compat.c: Likewise.
21399 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
21400 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
21401 * sysdeps/ieee754/k_standard.c: Likewise.
21402 * sysdeps/ieee754/k_standardf.c: Likewise.
21403 * sysdeps/ieee754/k_standardl.c: Likewise.
21404 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
21405 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
21406 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
21407 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
21408 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
21409 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
21410 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
21411 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
21412 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
21413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
21415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
21417 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
21418 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
21419 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
21420 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
21422 2017-08-21 Florian Weimer <fweimer@redhat.com>
21425 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
21426 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
21427 Move before inclusion of ../Rules.
21429 2017-08-21 Florian Weimer <fweimer@redhat.com>
21432 * assert/assert.h (assert): Use static_cast (bool) for C++.
21433 Use the ternary operator in the warning branch for GNU C.
21434 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
21435 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
21436 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
21437 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
21438 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
21440 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
21443 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21444 (__syscall_clock_gettime): Add attribute_hidden.
21445 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
21446 (__start_context): Likewise.
21448 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
21450 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
21452 (hidden_proto): Likewise.
21453 (hidden_tls_proto): Likewise.
21454 (__hidden_proto): Likewise.
21456 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
21458 * include/libc-symbols.h (attribute_hidden): Enable hidden
21459 visibility in libc.a compiled with PIE.
21461 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
21464 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
21465 Add attribute_hidden.
21467 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
21470 * Makerules (all-nonlib): Add $(others-extras).
21471 * catgets/Makefile (others-extras): New.
21472 * elf/Makefile (others-extras): Likewise.
21473 * nss/Makefile (others-extras): Likewise.
21475 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
21478 * csu/libc-start.c (__libc_multiple_libcs): Removed.
21479 * elf/dl-open.c: Include <libc-internal.h>.
21480 (__libc_multiple_libcs): Removed.
21481 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
21483 * include/libc-internal.h (__libc_multiple_libcs): New.
21484 * misc/sbrk.c: Include <libc-internal.h>.
21485 (__libc_multiple_libcs): Removed.
21487 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
21490 * grp/initgroups.c (__nss_group_database): Removed.
21491 (__nss_initgroups_database): Likewise.
21492 * nscd/gai.c (__nss_hosts_database): Likewise.
21493 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
21494 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
21495 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
21496 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
21497 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
21498 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
21500 * nss/nsswitch.c (__nss_database_custom): Define only if
21501 USE_NSCD is defined.
21502 (__nss_configure_lookup): Use __nss_database_custom only if
21503 USE_NSCD is defined.
21504 * nss/nsswitch.h (__nss_database_custom): Declare only if
21505 USE_NSCD is defined. Add attribute_hidden.
21506 (__nss_setent): Add attribute_hidden.
21507 (__nss_endent): Likewise.
21508 (__nss_getent_r): Likewise.
21509 (__nss_getent): Likewise.
21510 (DEFINE_DATABASE): Declare __nss_##arg##_database.
21512 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
21515 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
21516 libc_hidden_proto and libc_hidden_def.
21518 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
21521 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
21522 Add libc_hidden_proto.
21523 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
21524 Add libc_hidden_def.
21526 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
21529 * gmon/Makefile (routines): Remove bb_init_func and
21531 (elide-routines.os): Removed.
21532 * gmon/bb_exit_func.c: Likewise.
21533 * gmon/bb_init_func.c: Likewise.
21534 * include/sys/gmon.h (__bb): Likewise.
21535 (__bb_init_func): Likewise.
21536 (__bb_exit_func): Likewise.
21537 * sysdeps/alpha/bb_init_func.S: Likewise.
21539 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
21541 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
21542 * include/setjmp.h (____longjmp_chk): Here. Add
21545 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
21548 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
21550 (__strspn_sse2): Likewise.
21552 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21554 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
21555 (close_not_cancel_no_status): Likewise.
21556 (__close_nocancel): New macro.
21557 (__close_nocancel_nostatus): Likewise.
21558 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
21560 (close_not_cancel): Likewise.
21561 (close_not_cancel_no_status): Likewise.
21562 (__close_nocancel): New prototype.
21563 (__close_nocancel_nostatus): New function.
21564 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
21565 * catgets/open_catalog.c (__open_catalog): Replace
21566 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
21567 * gmon/gmon.c (write_gmon): Likewise.
21568 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21569 * intl/loadmsgcat.c (close): Likewise.
21570 * io/ftw.c (open_dir_stream): Likewise.
21571 (ftw_startup): Likewise.
21572 * libio/fileops.c (_IO_file_open): Likewise.
21573 (_IO_file_close_mmap): Likewise.
21574 (_IO_file_close): Likewise.
21575 * libio/iopopen.c (_IO_dup2): Likewise.
21576 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21577 * locale/loadlocale.c (_nl_load_locale): Likewise.
21578 * login/utmp_file.c (pututline_file): Likewise.
21579 (endutent_file): Likewise.
21580 * misc/daemon.c (daemon): Likewise.
21581 * nscd/nscd_getai.c (__nscd_getai): Likewise.
21582 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21583 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
21584 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21585 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21586 * nscd/nscd_helper.c (open_socket): Likewise.
21587 (__nscd_open_socket): Likewise.
21588 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21589 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
21590 (__nscd_innetgr): Likewise.
21591 * nss/nss_db/db-open.c (internal_setent): Likewise.
21592 * resolv/res-close.c (__res_iclose): Likewise.
21593 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
21594 * sysdeps/posix/closedir.c (__closedir): Likewise.
21595 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
21596 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
21597 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
21598 (opendir_tail): Likewise.
21599 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
21600 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
21601 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21602 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21603 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
21604 (gethostid): Likewise.
21605 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
21606 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21608 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21609 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
21610 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
21611 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
21613 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
21614 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
21615 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
21617 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
21618 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
21620 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
21622 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
21623 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
21624 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
21627 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
21628 (openat_not_cancel_3): Likewise.
21629 (openat64_not_cancel_3): Likewise).
21630 (openat_not_cancel_3): Likewise).
21631 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
21633 (openat_not_cancel_3): Likewise.
21634 (openat64_not_cancel): Likewise.
21635 (openat64_not_cancel_3): Likewise.
21636 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
21637 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
21638 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
21639 __open{64}_nocancel.
21640 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
21641 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
21642 * sysdeps/posix/opendir.c (__opendirat): Likewise.
21644 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
21647 * include/argz.h (__argz_create_sep): New function prototype.
21648 (__argz_append): Likewise.
21649 (__argz_add): Likewise.
21650 (__argz_add_sep): Likewise.
21651 (__argz_delete): Likewise.
21652 (__argz_insert): Likewise.
21653 (__argz_replace): Likewise.
21654 * string/argz.h (__argz_create_sep): Removed.
21655 (__argz_append): Likewise.
21656 (__argz_add): Likewise.
21657 (__argz_add_sep): Likewise.
21658 (__argz_delete): Likewise.
21659 (__argz_insert): Likewise.
21660 (__argz_replace): Likewise.
21662 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
21664 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
21665 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
21666 (GNU_PROPERTY_STACK_SIZE): Likewie.
21667 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
21668 (GNU_PROPERTY_LOPROC): Likewise.
21669 (GNU_PROPERTY_HIPROC): Likewise.
21670 (GNU_PROPERTY_LOUSER): Likewise.
21671 (GNU_PROPERTY_HIUSER): Likewise.
21672 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
21673 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
21674 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
21675 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
21676 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
21677 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
21678 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
21679 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
21680 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
21681 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
21682 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
21683 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
21684 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
21685 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
21686 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
21687 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
21688 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
21689 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
21690 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
21691 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
21692 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
21693 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
21694 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
21696 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21698 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
21701 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21704 * math/math.h (isinf): Check if in C or C++ mode before using
21705 __builtin_types_compatible_p, since this is a C mode feature.
21707 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21709 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
21710 (__write_nocancel): New macro.
21711 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
21712 Rewrite as a function prototype.
21713 (write_not_cancel): Remove macro.
21714 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
21715 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
21716 (write_gmon): Likewise.
21717 * libio/fileops.c (_IO_new_file_write): Likewise.
21718 * login/utmp_file.c (pututline_file): Likewise.
21719 (updwtmp_file): Likewise.
21720 * stdio-common/psiginfo.c (psiginfo): Likewise.
21721 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
21722 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
21723 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
21725 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
21728 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
21729 (__read_nocancel): New macro.
21730 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
21732 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
21734 (__read_nocancel): New prototype.
21735 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
21736 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
21737 with __read_nocancel.
21738 * intl/loadmsgcat.c (read): Likewise.
21739 * libio/fileops.c (_IO_file_read): Likewise.
21740 * locale/loadlocale.c (_nl_load_locale): Likewise.
21741 * login/utmp_file.c (getutent_r_file): Likewise.
21742 (internal_getut_r): Likewise.
21743 (getutline_r_file): Likewise.
21744 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
21745 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21746 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
21747 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21749 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
21750 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
21751 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
21753 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
21755 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
21757 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
21759 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
21761 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
21764 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
21765 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
21768 2017-08-17 DJ Delorie <dj@redhat.com>
21770 * bug17079.c: Update to new test harness.
21771 * test-digits-dots.c: Likewise.
21772 * test-netdb.c: Likewise.
21773 * tst-field.c: Likewise.
21774 * tst-nss-getpwent.c: Likewise.
21775 * tst-nss-static.c: Likewise.
21776 * tst-nss-test1.c: Likewise.
21777 * tst-nss-test2.c: Likewise.
21778 * tst-nss-test3.c: Likewise.
21779 * tst-nss-test4.c: Likewise.
21780 * tst-nss-test5.c: Likewise.
21782 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21784 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
21785 (open_not_cancel_2): Likewise.
21786 (open_nocancel): New macro.
21787 (open64_nocancel): Likewise.
21788 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
21789 (open_not_cancel_2): Likewise.
21790 (__open_nocancel): New prototype.
21791 (__open64_nocancel): Likewise.
21792 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
21794 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
21795 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
21796 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
21797 with __open_nocancel.
21798 * csu/check_fds.c (check_one_fd): Likewise.
21799 * gmon/gmon.c (write_gmon): Likewise.
21800 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
21801 * intl/loadmsgcat.c (open): Likewise.
21802 * libio/fileops.c (_IO_file_open): Likewise.
21803 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21804 * locale/loadlocale.c (_nl_load_locale): Likewise.
21805 * login/utmp_file.c (setutent_file): Likewise.
21806 * misc/daemon.c (daemon): Likewise.
21807 * nss/nss_db/db-open.c (internal_setent): Likewise.
21808 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
21809 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
21810 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
21811 (__opendir): Likewise.
21812 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
21813 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
21814 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
21815 (gethostid): Likewise.
21816 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
21817 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21819 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21820 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
21821 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
21822 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
21824 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
21826 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
21828 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21830 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
21832 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
21834 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
21835 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
21837 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
21839 * benchtests/bench-skeleton.c (main): Add support for
21840 latency benchmarking.
21841 * benchtests/scripts/bench.py: Add support for latency benchmarking.
21843 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
21845 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
21846 the startup object.
21848 2017-08-17 Florian Weimer <fweimer@redhat.com>
21850 * include/sys/socket.h (__opensock): Remove internal_function.
21851 * socket/opensock.c (__opensock): Likewise.
21852 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
21854 2017-08-16 Joseph Myers <joseph@codesourcery.com>
21857 * signal/bits/types/__sigval_t.h: New file.
21858 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
21859 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
21860 and define sigval_t using __sigval_t.
21861 * include/bits/types/__sigval_t.h: New file.
21862 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
21863 instead of <bits/types/__sigval_t.h>.
21864 (struct sigevent): Use __sigval_t instead of sigval_t.
21865 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
21866 instead of <bits/types/__sigval_t.h>.
21867 (siginfo_t): Use __sigval_t instead of sigval_t.
21868 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
21869 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
21870 (struct sigevent): Use __sigval_t instead of sigval_t.
21871 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
21872 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
21873 (siginfo_t): Use __sigval_t instead of sigval_t.
21874 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
21876 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
21878 * NEWS: Remove "[Add new features here]" for 2.27.
21880 2017-08-16 Joseph Myers <joseph@codesourcery.com>
21882 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
21885 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
21887 * NEWS: Mention x86-64 FMA optimization.
21889 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
21892 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21894 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
21895 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
21896 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
21898 2017-08-16 Andreas Schwab <schwab@suse.de>
21902 * elf/ldd.bash.in: Never run file directly.
21904 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
21907 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
21908 (L(SP_INF_0)): Likewise.
21910 2017-08-15 Florian Weimer <fweimer@redhat.com>
21912 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
21915 2017-08-15 Florian Weimer <fweimer@redhat.com>
21917 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
21918 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
21919 BROKEN_THREAD_SIGNALS code.
21920 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
21921 request_list): Remove caller_pid member used for
21922 BROKEN_THREAD_SIGNALS.
21923 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
21924 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
21925 Remove BROKEN_THREAD_SIGNALS support.
21926 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
21927 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
21929 2017-08-15 Florian Weimer <fweimer@redhat.com>
21931 * gmon/Makefile (tests): Add tst-gmon.
21932 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
21934 (tests-special): Add tst-gmon-prof.out.
21935 (tst-gmon.out): Depend on clean-tst-gmon-data.
21936 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
21937 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
21938 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
21940 * aclocal.m4 (GPROF): Set and substitute.
21941 * config.amke.in (GPROF): Set.
21942 * configure: Regenerate.
21944 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
21946 * elf/elf.h A (NT_PPC_TAR): New macro.
21947 (NT_PPC_PPR): Likewise.
21948 (NT_PPC_DSCR): Likewise.
21949 (NT_PPC_EBB): Likewise.
21950 (NT_PPC_PMU): Likewise.
21951 (NT_PPC_TM_CGPR): Likewise.
21952 (NT_PPC_TM_CFPR): Likewise.
21953 (NT_PPC_TM_CVMX): Likewise.
21954 (NT_PPC_TM_CVSX): Likewise.
21955 (NT_PPC_TM_SPR): Likewise.
21956 (NT_PPC_TM_CTAR): Likewise.
21957 (NT_PPC_TM_CPPR): Likewise.
21958 (NT_PPC_TM_CDSCR): Likewise.
21960 2017-08-15 Florian Weimer <fweimer@redhat.com>
21962 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
21963 regparm (2) instead of internal_function.
21964 (_MCOUNT_DECL): Adjust.
21966 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21968 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
21969 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21971 2017-08-14 Joseph Myers <joseph@codesourcery.com>
21973 * conform/data/sys/wait.h-data (si_value): Do not expect for
21976 2017-08-14 Florian Weimer <fweimer@redhat.com>
21979 NSS: Create stubs for accidentally exported lookup functions.
21980 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
21981 Remove declaration.
21982 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
21983 (ether_hostton): Call __nss_ethers_lookup2 instead.
21984 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
21985 (ether_ntohost): Call __nss_ethers_lookup2 instead.
21986 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
21987 (setup): Call __nss_netgroup_lookup2 instead.
21988 * nss/Makefile (routines): Add compat-lookup.
21989 * nss/Versions (GLIBC_2.27): Add symbol version.
21990 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
21991 (DB_COMPAT_FCT): Remove.
21992 * nss/compat-lookup.c: New file.
21993 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
21994 from databases.def.
21995 * nss/service-lookup.c (NO_COMPAT): Remove definition.
21996 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
21997 (netname2user): Call __nss_publickey_lookup2 instead.
21998 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
21999 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
22002 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22003 Sergei Trofimovich <slyfox@inbox.ru>
22006 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
22007 Rename to MMAP2_PAGE_UNIT.
22008 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
22009 __OFF_T_MATCHES_OFF64_T is not defined.
22010 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
22012 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
22013 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
22015 2017-08-14 Florian Weimer <fweimer@redhat.com>
22017 i386: Do not set internal_function.
22018 * config.h.in (USE_REGPARMS, internal_function): Remove.
22019 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
22020 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
22022 2017-08-14 Florian Weimer <fweimer@redhat.com>
22024 * elf/dl-init.c (_dl_init): Remove internal_function.
22025 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
22026 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
22028 2017-08-14 Florian Weimer <fweimer@redhat.com>
22030 * elf/rtld.c (_dl_start): Remove internal_function.
22031 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
22034 2017-08-14 Florian Weimer <fweimer@redhat.com>
22036 * elf/dl-fini.c (_dl_fini): Remove internal_function
22037 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
22039 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
22041 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
22042 (bit_cpu_SHSTK): Likewise.
22043 (index_cpu_IBT): Likewise.
22044 (index_cpu_SHSTK): Likewise.
22045 (reg_IBT): Likewise.
22046 (reg_SHSTK): Likewise.
22047 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
22048 Handle index_cpu_IBT and index_cpu_SHSTK.
22050 2017-08-14 Mike FABIAN <mfabian@redhat.com>
22053 * po/fr.po: Fix spelling mistake.
22055 2017-08-13 Florian Weimer <fweimer@redhat.com>
22057 * elf/dl-addr.c (_dl_addr): Remove internal_function.
22058 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
22059 (_dl_catch_error, _dl_receive_error): Likewise.
22060 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
22061 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
22062 (_dl_deallocate_tls): Likewise.
22063 * include/dlfcn.h (_dl_addr): Likewise.
22064 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
22065 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
22066 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
22069 2017-08-13 Florian Weimer <fweimer@redhat.com>
22071 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
22072 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
22074 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
22076 2017-08-13 Florian Weimer <fweimer@redhat.com>
22078 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
22080 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
22081 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
22082 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
22083 internal_function from _dl_make_stack_executable_hook member.
22084 (_dl_make_stack_executable): Remove internal_function.
22085 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
22087 * sysdeps/unix/sysv/linux/dl-execstack.c
22088 (_dl_make_stack_executable): Likewise.
22090 2017-08-13 Florian Weimer <fweimer@redhat.com>
22092 * sysdeps/unix/sysv/linux/netlinkaccess.h
22093 (__netlink_assert_response): Remove internal_function.
22094 * sysdeps/unix/sysv/linux/netlink_assert_response.c
22095 (__netlink_assert_response): Likewise.
22097 2017-08-13 Florian Weimer <fweimer@redhat.com>
22099 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
22101 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
22103 2017-08-13 Florian Weimer <fweimer@redhat.com>
22105 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
22107 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
22108 * inet/netgroup.h (__internal_setnetgrent)
22109 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
22110 * inet/getnetgrent_r.c (__internal_setnetgrent)
22111 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
22112 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
22113 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
22114 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
22115 * nss/nsswitch.h (db_lookup_function): Likewise.
22117 2017-08-13 Florian Weimer <fweimer@redhat.com>
22119 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
22120 Remove internal_function.
22121 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
22122 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
22123 message argument on the stack.
22124 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
22127 2017-08-12 Mike FABIAN <mfabian@redhat.com>
22129 Adapt test case data to the changes in the thousands
22133 * localedata/tst-langinfo.sh: Adapt test case data.
22134 * stdlib/tst-strfmon_l.c: Likewise.
22135 * stdlib/tst-strtod4.c: Likewise.
22136 * stdlib/tst-strtod5i.c: Likewise.
22138 2017-08-11 Florian Weimer <fweimer@redhat.com>
22141 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
22142 Suppress pedantic warning resulting from statement expression.
22143 (__ASSERT_FUNCTION): Add missing __extension__.
22145 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
22147 * benchtests/bench-memmove-large.c: Print output in JSON
22149 * benchtests/bench-memmove.c: Likewise.
22151 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
22152 * benchtests/bench-memchr.c (do_one_test): Likewise.
22153 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
22154 * benchtests/bench-memcpy.c (do_one_test): Likewise.
22155 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
22156 * benchtests/bench-memmove.c (do_one_test): Likewise.
22157 * benchtests/bench-memset-large.c (do_one_test): Likewise.
22158 * benchtests/bench-memset.c (do_one_test): Likewise.
22159 * benchtests/bench-string.h (test_init): Remove memsets.
22161 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
22164 (Computing the Width of an Integer Data Type): Rename section to
22165 "Width of an Integer Type". Remove inaccurate statement regarding
22166 lack of C language facilities for determining width of integer
22167 types, and reorder content to improve flow and context of
22170 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
22172 * lang.texi (va_copy): Change standard from ISO to C99.
22173 (__va_copy): Add standard and header annotation.
22174 Update description for clarity of origins and current use.
22176 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22179 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
22180 xssqrtqp requires operands to be in Vector Registers
22181 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
22182 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
22183 (__ieee754_sqrtf128): Likewise.
22185 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
22187 * sysdeps/aarch64/memcmp.S (memcmp):
22188 Rewrite of optimized memcmp.
22190 2017-08-10 Florian Weimer <fweimer@redhat.com>
22192 Introduce ld.so exceptions.
22193 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
22194 (_dl_exception_create, _dl_exception_create_format)
22195 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
22196 (_dl_catch_exception): Declare.
22197 (_dl_catch_error): Update comment.
22198 * elf/dl-error-skeleton.c (struct catch): Replace objname,
22199 errstring, malloced members with exception member.
22200 (_dl_out_of_memory): Remove.
22201 (fatal_error): New function, extracted from _dl_signal_error.
22202 (_dl_signal_exception, _dl_signal_cexception): New functions.
22203 (_dl_signal_error): Call _dl_exception_create to allocate an
22205 (_dl_catch_exception): New function, based on _dl_catch_error.
22206 (_dl_catch_error): Implement using _dl_catch_exception.
22207 * elf/dl-exception.c: New file.
22208 * elf/Makefile (dl-routines): Add dl-exception.
22209 (elide-routines.os): Likewise.
22210 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
22211 _dl_exception_create_format, _dl_exception_free.
22212 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
22213 _dl_signal_exception.
22214 * elf/dl-lookup.c (make_string): Remove.
22215 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
22216 _dl_signal_cexception, _dl_exception_free.
22217 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
22218 _dl_signal_exception.
22219 * elf/dl-sym.c (do_sym): Likewise.
22220 * elf/dl-version.c (make_string): Remove.
22221 (match_symbol): Use _dl_exception_create_format,
22222 _dl_signal_cexception, _dl_exception_free.
22223 (_dl_check_map_versions): Likewise.
22224 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
22225 _dl_catch_exception.
22226 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
22227 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
22228 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
22229 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
22230 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
22231 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
22232 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
22233 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
22235 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
22236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
22238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
22240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
22242 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
22243 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
22244 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
22246 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
22248 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
22250 2017-08-10 Florian Weimer <fweimer@redhat.com>
22252 * inet/net-internal.h (__inet6_scopeid_pton): Remove
22253 attribute_hidden, internal_function.
22254 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
22257 2017-08-10 Florian Weimer <fweimer@redhat.com>
22259 * malloc/malloc.c (get_max_fast): Reimplement as an inline
22260 function which calls __builtin_unreachable.
22262 2017-08-10 Mike FABIAN <mfabian@redhat.com>
22264 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
22265 Indian monetary formatting
22266 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
22269 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
22271 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
22272 Fix typo in comment.
22275 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
22276 PTRACE_SEIZE_DEVEL): Remove.
22277 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
22278 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22279 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22280 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22281 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22283 2017-08-09 Joseph Myers <joseph@codesourcery.com>
22285 * posix/bits/types.h (__qaddr_t): Remove.
22288 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
22289 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
22291 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
22292 (ucontext_t): Use __ctx with uc_flags.
22293 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
22294 (__ctxt): Likewise.
22295 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
22297 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
22298 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
22300 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
22301 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
22303 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
22305 (ucontext_t): Use __ctx with uc_flags.
22306 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
22307 (ucontext_t): Use __ctx with uc_flags.
22308 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
22309 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
22310 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
22311 (ucontext_t): Use __ctx with uc_flags.
22312 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
22313 undefine further down.
22314 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
22316 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
22317 undefine further down.
22318 (ucontext_t): Use __ctx with uc_flags.
22319 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
22320 undefine further down.
22321 (ucontext_t): Use __ctx with uc_flags.
22322 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
22323 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
22324 Rename uc_pad to __glibc_reserved1.
22325 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
22326 undefine further down.
22327 (ucontext_t): Use __ctx with uc_flags.
22328 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
22330 (ucontext_t): Use __ctx with uc_flags.
22331 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
22332 __ctx with uc_flags.
22333 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
22334 (ucontext_t): Use __ctx with uc_flags.
22335 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
22336 __ctx with uc_flags.
22338 2017-08-09 Florian Weimer <fweimer@redhat.com>
22341 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
22342 before early return.
22344 2017-08-09 Andreas Schwab <schwab@suse.de>
22347 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
22351 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
22352 tst-compat-forwarder.
22353 (modules-names): Add tst-compat-forwarder-mod.
22354 ($(objpfx)tst-compat-forwarder): Depend on
22355 $(objpfx)tst-compat-forwarder-mod.so.
22356 * nptl/tst-compat-forwarder.c: New file.
22357 * nptl/tst-compat-forwarder-mod.c: New file.
22359 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
22361 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
22364 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
22365 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
22367 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
22369 (__libc_ifunc_impl_list): Add __memcpy_falkor.
22370 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
22371 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
22372 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
22374 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
22377 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22380 * manual/setjmp.texi (getcontex): Document uc_stack value
22381 compatibility differences.
22383 2017-08-08 Joseph Myers <joseph@codesourcery.com>
22385 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
22386 (old_malloc_hook): Likewise.
22387 (old_memalign_hook): Likewise.
22388 (old_realloc_hook): Likewise.
22389 (struct hdr): Likewise.
22391 (freehook): Likewise.
22392 (mallochook): Likewise.
22393 (memalignhook): Likewise.
22394 (reallochook): Likewise.
22395 (mprobe): Likewise.
22396 * malloc/mtrace.c (mallwatch): Likewise.
22397 (tr_old_free_hook): Likewise.
22398 (tr_old_malloc_hook): Likewise.
22399 (tr_old_realloc_hook): Likewise.
22400 (tr_old_memalign_hook): Likewise.
22401 (tr_where): Likewise.
22402 (lock_and_info): Likewise.
22403 (tr_freehook): Likewise.
22404 (tr_mallochook): Likewise.
22405 (tr_reallochook): Likewise.
22406 (tr_memalignhook): Likewise.
22407 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
22408 * misc/mmap.c (__mmap): Likewise.
22409 * misc/mmap64.c (__mmap64): Likewise.
22410 * misc/mprotect.c (__mprotect): Likewise.
22411 * misc/msync.c (msync): Likewise.
22412 * misc/munmap.c (__munmap): Likewise.
22413 * posix/posix_madvise.c (posix_madvise): Likewise.
22414 * socket/send.c (__send): Likewise.
22415 * socket/sendto.c (__sendto): Likewise.
22416 * socket/setsockopt.c (__setsockopt): Likewise.
22417 * string/memcmp.c (__ptr_t): Remove macro.
22418 (MEMCMP): Use void * instead of ptr_t.
22419 * string/memrchr.c (__ptr_t): Remove macro.
22420 (__memrchr): Use void * instead of ptr_t.
22421 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
22422 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
22423 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
22424 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
22425 * sysdeps/mach/msync.c (msync): Likewise.
22426 * sysdeps/mach/munmap.c (__munmap): Likewise.
22427 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
22429 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
22430 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
22431 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
22432 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
22433 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
22434 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
22435 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
22436 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
22438 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
22439 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
22440 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
22441 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
22442 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
22443 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
22444 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
22445 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
22446 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
22448 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
22449 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
22450 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
22451 (MEMCMP): Use void * instead of ptr_t.
22452 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
22453 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
22455 2017-08-08 Florian Weimer <fweimer@redhat.com>
22457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
22460 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
22463 * csu/libc-tls.c: Include <startup.h> first.
22464 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
22465 * elf/dl-tunables.c: Include <startup.h> first.
22466 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
22467 * sysdeps/generic/startup.h: New file.
22468 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
22469 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
22470 (I386_USE_SYSENTER): New. Defined to 0.
22472 2017-08-08 Andreas Schwab <schwab@suse.de>
22475 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
22476 * nptl/pt-system.c (system): Likewise.
22478 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22481 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
22483 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
22484 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
22485 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
22486 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
22487 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
22488 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
22489 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
22491 2017-08-07 Joseph Myers <joseph@codesourcery.com>
22494 * bits/sigaction.h (struct sigaction): Define sa_handler and
22495 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
22496 (SA_ONSTACK): Change [__USE_UNIX98] condition to
22497 [__USE_XOPEN_EXTENDED].
22498 (SA_RESTART): Likewise.
22499 (SA_NODEFER): Likewise.
22500 (SA_RESETHAND): Likewise.
22501 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
22502 (struct sigaction): Define sa_handler and sa_sigaction using union
22503 also for [__USE_XOPEN_EXTENDED].
22504 (SA_ONSTACK): Change [__USE_UNIX98] condition to
22505 [__USE_XOPEN_EXTENDED].
22506 (SA_RESTART): Likewise.
22507 (SA_NODEFER): Likewise.
22508 (SA_RESETHAND): Likewise.
22509 * sysdeps/unix/sysv/linux/bits/sigaction.h
22510 (struct sigaction): Define sa_handler and sa_sigaction using union
22511 also for [__USE_XOPEN_EXTENDED].
22512 (SA_ONSTACK): Change [__USE_UNIX98] condition to
22513 [__USE_XOPEN_EXTENDED].
22514 (SA_RESTART): Likewise.
22515 (SA_NODEFER): Likewise.
22516 (SA_RESETHAND): Likewise.
22517 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
22518 (struct sigaction): Define sa_handler and sa_sigaction using union
22519 also for [__USE_XOPEN_EXTENDED].
22520 (SA_ONSTACK): Change [__USE_UNIX98] condition to
22521 [__USE_XOPEN_EXTENDED].
22522 (SA_RESTART): Likewise.
22523 (SA_NODEFER): Likewise.
22524 (SA_RESETHAND): Likewise.
22525 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
22526 (struct sigaction): Define sa_handler and sa_sigaction using union
22527 also for [__USE_XOPEN_EXTENDED].
22528 (SA_ONSTACK): Change [__USE_UNIX98] condition to
22529 [__USE_XOPEN_EXTENDED].
22530 (SA_RESTART): Likewise.
22531 (SA_NODEFER): Likewise.
22532 (SA_RESETHAND): Likewise.
22533 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22534 (struct sigaction): Define sa_handler and sa_sigaction using union
22535 also for [__USE_XOPEN_EXTENDED].
22536 (SA_ONSTACK): Change [__USE_UNIX98] condition to
22537 [__USE_XOPEN_EXTENDED].
22538 (SA_RESTART): Likewise.
22539 (SA_NODEFER): Likewise.
22540 (SA_RESETHAND): Likewise.
22541 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22542 (struct sigaction): Define sa_handler and sa_sigaction using union
22543 also for [__USE_XOPEN_EXTENDED].
22544 (SA_ONSTACK): Change [__USE_UNIX98] condition to
22545 [__USE_XOPEN_EXTENDED].
22546 (SA_RESTART): Likewise.
22547 (SA_NODEFER): Likewise.
22548 (SA_RESETHAND): Likewise.
22549 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22550 (struct sigaction): Define sa_handler and sa_sigaction using union
22551 also for [__USE_XOPEN_EXTENDED].
22552 (SA_ONSTACK): Change [__USE_UNIX98] condition to
22553 [__USE_XOPEN_EXTENDED].
22554 (SA_RESTART): Likewise.
22555 (SA_NODEFER): Likewise. Define directly rather than as alias.
22556 (SA_RESETHAND): Likewise.
22557 (SA_INTERRUPT): Define only for [__USE_MISC].
22558 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
22559 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
22561 (SA_STACK): Define only for [__USE_MISC].
22562 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
22563 (struct sigaction): Define sa_handler and sa_sigaction using union
22564 also for [__USE_XOPEN_EXTENDED].
22565 (SA_ONSTACK): Change [__USE_UNIX98] condition to
22566 [__USE_XOPEN_EXTENDED].
22567 (SA_RESTART): Likewise.
22568 (SA_NODEFER): Likewise.
22569 (SA_RESETHAND): Likewise.
22570 (SA_NOPTRACE): Define only for [__USE_MISC].
22572 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
22573 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
22574 (struct catalog_info): Likewise.
22575 * inet/htontest.c (lo): Likewise.
22577 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22578 * inet/inet_net.c (inet_network): Likewise.
22579 * inet/inet_netof.c (inet_netof): Likewise.
22580 * inet/rcmd.c (__ivaliduser): Likewise.
22581 (iruserok): Likewise.
22582 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
22583 * locale/programs/locale-spec.c (locale_special): Likewise.
22584 * nis/nis_findserv.c (struct findserv_req): Likewise.
22585 (__nis_findfastest_with_timeout): Likewise.
22586 * nss/test-netdb.c (test_network): Likewise.
22587 * resolv/inet_neta.c (inet_neta): Likewise.
22588 * resolv/ns_date.c (ns_datetosecs): Likewise.
22589 (SECS_PER_DAY): Likewise.
22590 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
22592 * resolv/res_comp.c (__putlong): Likewise.
22593 (__putshort): Likewise.
22594 (_getlong): Likewise.
22595 (_getshort): Likewise.
22596 * resolv/res_debug.c (p_time): Likewise.
22597 (precsize_ntoa): Likewise.
22598 (precsize_aton): Likewise.
22599 (latlon2ul): Likewise.
22600 (loc_aton): Likewise.
22601 (loc_ntoa): Likewise.
22602 * resolv/res_hconf.c (struct netaddr): Likewise.
22603 (_res_hconf_reorder_addrs): Likewise.
22604 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
22605 (clnttcp_control): Likewise.
22606 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22607 (clntudp_control): Likewise.
22608 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
22609 (clntunix_control): Likewise.
22610 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
22611 * sunrpc/rpc/auth.h (union des_block): Likewise.
22612 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
22613 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
22614 (xdrrec_create): Likewise.
22615 (xdrrec_endofrecord): Likewise.
22616 (flush_out): Likewise.
22617 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
22618 (xdrstdio_putlong): Likewise.
22619 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
22622 * misc/sys/cdefs.h (__long_double_t): Remove.
22623 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
22624 instead of __long_double_t,
22625 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
22627 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
22629 * benchtests/scripts/compare_strings.py: Avoid display error when
22630 running on a text terminal.
22632 * benchtests/scripts/compare_strings.py (main): Add an
22633 optional -base option.
22634 (process_results): New argument base_func.
22636 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
22638 * benchtests/bench-memcpy-large.c (test_name): Likewise.
22639 * benchtests/bench-memcpy-random.c (test_name): Likewise.
22641 2017-08-07 Andreas Schwab <schwab@suse.de>
22643 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
22644 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22645 * intl/Makefile ($(objpfx)tst-gettext.out)
22646 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
22647 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
22648 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22649 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22650 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
22651 * posix/Makefile ($(objpfx)globtest.out)
22652 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
22653 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
22654 ($(objpfx)tst-printf.out): Likewise.
22655 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
22656 ($(objpfx)tst-setcontext3.out): Likewise.
22658 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
22660 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22661 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
22662 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
22663 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
22664 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
22666 (CFLAGS-doasin-fma.c): New.
22667 (CFLAGS-dosincos-fma.c): Likewise.
22668 (CFLAGS-e_asin-fma.c): Likewise.
22669 (CFLAGS-e_atan2-fma.c): Likewise.
22670 (CFLAGS-e_exp-fma.c): Likewise.
22671 (CFLAGS-e_log-fma.c): Likewise.
22672 (CFLAGS-e_pow-fma.c): Likewise.
22673 (CFLAGS-halfulp-fma.c): Likewise.
22674 (CFLAGS-mpa-fma.c): Likewise.
22675 (CFLAGS-mpatan-fma.c): Likewise.
22676 (CFLAGS-mpatan2-fma.c): Likewise.
22677 (CFLAGS-mpexp-fma.c): Likewise.
22678 (CFLAGS-mplog-fma.c): Likewise.
22679 (CFLAGS-mpsqrt-fma.c): Likewise.
22680 (CFLAGS-mptan-fma.c): Likewise.
22681 (CFLAGS-s_atan-fma.c): Likewise.
22682 (CFLAGS-sincos32-fma.c): Likewise.
22683 (CFLAGS-slowexp-fma.c): Likewise.
22684 (CFLAGS-slowpow-fma.c): Likewise.
22685 (CFLAGS-s_sin-fma.c): Likewise.
22686 (CFLAGS-s_tan-fma.c): Likewise.
22687 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
22688 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
22689 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
22690 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
22691 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
22692 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
22693 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
22694 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
22695 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
22696 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
22697 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
22698 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
22699 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
22700 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
22701 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
22702 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
22703 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
22704 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
22705 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
22706 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
22707 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
22708 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22709 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
22710 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
22711 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22712 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22713 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22714 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
22715 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22716 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22717 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22719 2017-08-04 Joseph Myers <joseph@codesourcery.com>
22721 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
22722 (min_of_type_f): New macro.
22723 (min_of_type_): Likewise.
22724 (min_of_type_l): Likewise.
22725 (min_of_type_f128): Likewise.
22726 (min_of_type): Define using __MATH_TG and taking an expression
22728 (math_check_force_underflow): Pass expression instead of type to
22730 (math_check_force_underflow_nonneg): Likewise.
22732 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
22734 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
22735 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
22736 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
22738 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
22740 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22741 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
22742 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
22743 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
22744 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
22745 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
22746 memcpy_chk-nonshared, mempcpy_chk-nonshared,
22747 memmove_chk-nonshared and memset_chk-nonshared
22748 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
22749 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
22750 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
22751 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
22752 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
22753 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
22754 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
22755 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
22756 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
22757 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
22758 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
22759 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
22760 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
22761 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
22762 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
22763 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
22764 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
22765 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
22766 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
22767 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
22768 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
22769 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
22770 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
22771 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
22772 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
22773 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
22774 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
22775 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
22776 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
22777 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
22778 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
22779 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
22780 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
22781 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
22782 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
22783 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
22784 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
22785 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
22786 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
22787 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
22788 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
22789 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
22790 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
22791 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
22792 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
22793 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
22794 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
22795 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
22796 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
22797 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
22798 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
22799 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
22800 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
22801 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
22802 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
22803 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
22804 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
22805 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
22806 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
22807 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
22808 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
22809 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
22810 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
22811 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
22812 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
22813 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
22814 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
22815 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
22816 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
22817 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
22818 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
22819 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22820 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22821 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22822 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22823 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22824 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22825 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22826 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22827 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22828 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22829 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22830 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22831 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22832 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22833 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22834 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22835 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22836 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22837 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22838 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22839 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22840 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22841 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22842 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22843 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22844 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22845 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22846 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22847 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22848 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22849 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22850 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22851 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22852 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22853 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22854 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22855 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22857 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
22859 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
22860 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
22861 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
22862 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
22863 svml_d_log2_core-sse2, svml_d_log4_core-sse,
22864 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
22865 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
22866 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
22867 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
22868 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
22869 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
22870 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
22871 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
22872 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
22873 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
22874 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
22875 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
22876 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
22877 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
22878 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
22879 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
22880 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
22881 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
22882 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
22883 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
22884 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
22885 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
22886 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
22887 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
22888 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
22889 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
22890 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
22891 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
22892 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
22893 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
22894 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
22895 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
22896 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
22897 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
22898 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
22899 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
22900 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
22901 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
22902 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
22903 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
22904 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
22905 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
22906 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
22907 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
22908 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
22909 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
22910 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
22911 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
22912 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
22913 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
22914 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
22915 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
22916 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
22917 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
22919 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
22920 Don't include <sysdep.h> nor <init-arch.h>.
22921 (_ZGVbN2v_cos): Removed.
22922 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
22924 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
22925 Don't include <sysdep.h> nor <init-arch.h>.
22926 (_ZGVdN4v_cos): Removed.
22927 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
22929 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
22930 Don't include <sysdep.h> nor <init-arch.h>.
22931 (_ZGVeN8v_cos): Removed.
22932 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
22934 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
22935 Don't include <sysdep.h> nor <init-arch.h>.
22936 (_ZGVbN2v_exp): Removed.
22937 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
22939 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
22940 Don't include <sysdep.h> nor <init-arch.h>.
22941 (_ZGVdN4v_exp): Removed.
22942 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
22944 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
22945 Don't include <sysdep.h> nor <init-arch.h>.
22946 (_ZGVeN8v_exp): Removed.
22947 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
22949 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
22950 Don't include <sysdep.h> nor <init-arch.h>.
22951 (_ZGVbN2v_log): Removed.
22952 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
22954 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
22955 Don't include <sysdep.h> nor <init-arch.h>.
22956 (_ZGVdN4v_log): Removed.
22957 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
22959 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
22960 Don't include <sysdep.h> nor <init-arch.h>.
22961 (_ZGVeN8v_log): Removed.
22962 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
22964 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
22965 Don't include <sysdep.h> nor <init-arch.h>.
22966 (_ZGVbN2vv_pow): Removed.
22967 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
22969 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
22970 Don't include <sysdep.h> nor <init-arch.h>.
22971 (_ZGVdN4vv_pow): Removed.
22972 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
22974 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
22975 Don't include <sysdep.h> nor <init-arch.h>.
22976 (_ZGVeN8vv_pow): Removed.
22977 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
22979 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
22980 Don't include <sysdep.h> nor <init-arch.h>.
22981 (_ZGVbN2v_sin): Removed.
22982 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
22984 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
22985 Don't include <sysdep.h> nor <init-arch.h>.
22986 (_ZGVbN4v_sin): Removed.
22987 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
22989 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
22990 Don't include <sysdep.h> nor <init-arch.h>.
22991 (_ZGVbN8v_sin): Removed.
22992 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
22994 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
22995 Don't include <sysdep.h> nor <init-arch.h>.
22996 (_ZGVbN2vvv_sincos): Removed.
22997 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
22999 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
23000 Don't include <sysdep.h> nor <init-arch.h>.
23001 (_ZGVdN4vvv_sincos): Removed.
23002 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
23004 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
23005 Don't include <sysdep.h> nor <init-arch.h>.
23006 (_ZGVeN8vvv_sincos): Removed.
23007 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
23009 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
23010 Don't include <sysdep.h> nor <init-arch.h>.
23011 (_ZGVeN16v_cosf): Removed.
23012 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
23014 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
23015 Don't include <sysdep.h> nor <init-arch.h>.
23016 (_ZGVbN4v_cosf): Removed.
23017 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
23019 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
23020 Don't include <sysdep.h> nor <init-arch.h>.
23021 (_ZGVdN8v_cosf): Removed.
23022 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
23024 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
23025 Don't include <sysdep.h> nor <init-arch.h>.
23026 (_ZGVeN16v_expf): Removed.
23027 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
23029 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
23030 Don't include <sysdep.h> nor <init-arch.h>.
23031 (_ZGVbN4v_expf): Removed.
23032 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
23034 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
23035 Don't include <sysdep.h> nor <init-arch.h>.
23036 (_ZGVdN8v_expf): Removed.
23037 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
23039 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
23040 Don't include <sysdep.h> nor <init-arch.h>.
23041 (_ZGVeN16v_logf): Removed.
23042 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
23044 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
23045 Don't include <sysdep.h> nor <init-arch.h>.
23046 (_ZGVbN4v_logf): Removed.
23047 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
23049 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
23050 Don't include <sysdep.h> nor <init-arch.h>.
23051 (_ZGVdN8v_logf): Removed.
23052 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
23054 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
23055 Don't include <sysdep.h> nor <init-arch.h>.
23056 (_ZGVeN16vv_powf): Removed.
23057 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
23059 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
23060 Don't include <sysdep.h> nor <init-arch.h>.
23061 (_ZGVbN4vv_powf): Removed.
23062 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
23064 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
23065 Don't include <sysdep.h> nor <init-arch.h>.
23066 (_ZGVdN8vv_powf): Removed.
23067 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
23069 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
23070 Don't include <sysdep.h> nor <init-arch.h>.
23071 (_ZGVeN16vvv_sincosf): Removed.
23072 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
23074 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
23075 Don't include <sysdep.h> nor <init-arch.h>.
23076 (_ZGVbN4vvv_sincosf): Removed.
23077 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
23079 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
23080 Don't include <sysdep.h> nor <init-arch.h>.
23081 (_ZGVdN8vvv_sincosf): Removed.
23082 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
23084 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
23085 Don't include <sysdep.h> nor <init-arch.h>.
23086 (_ZGVeN16v_sinf): Removed.
23087 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
23089 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
23090 Don't include <sysdep.h> nor <init-arch.h>.
23091 (_ZGVbN4v_sinf): Removed.
23092 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
23094 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
23095 Don't include <sysdep.h> nor <init-arch.h>.
23096 (_ZGVdN8v_sinf): Removed.
23098 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
23100 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23101 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
23102 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
23103 s_rint-sse4_1 and s_rintf-sse4_1.
23104 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
23105 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
23106 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
23107 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
23108 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
23109 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
23110 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
23111 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
23112 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
23113 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
23114 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
23115 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
23117 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
23118 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
23119 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
23120 (__ceilf): Removed.
23121 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
23122 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
23123 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
23124 (__floor): Removed.
23125 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
23126 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
23127 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
23128 (__floorf): Removed.
23129 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
23130 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
23131 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
23132 (__nearbyint): Removed.
23133 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
23134 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
23135 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
23136 (__nearbyintf): Removed.
23137 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
23138 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
23139 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
23141 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
23142 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
23143 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
23144 (__rintf): Removed.
23146 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
23148 * sysdeps/i386/start.S (_start): Check Check PIC instead of
23149 SHARED. Avoid dynamic relocation against main in static PIE.
23151 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
23154 * elf/Makefile (CFLAGS-tst-prelink.c): New.
23155 (LDFLAGS-tst-prelink): Likewise.
23157 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
23159 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
23160 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
23161 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
23162 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
23163 (INTERNAL_SYSCALL_NCS): Likewise.
23164 (LOADARGS_1): Likewise.
23165 (LOADARGS_5): Likewise.
23166 (RESTOREARGS_1): Likewise.
23167 (RESTOREARGS_5): Likewise.
23169 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
23171 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
23172 (MEMPCPY_SYMBOL): Likewise.
23173 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23174 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
23175 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
23177 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23178 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
23180 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
23181 (__hidden_ver1): Don't use in libc.a.
23182 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
23183 (__mempcpy): Don't create a weak alias in libc.a.
23184 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
23186 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
23187 (__hidden_ver1): Don't use in libc.a.
23189 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
23191 * config.make.in (have-insert): New.
23192 * configure.ac (libc_cv_insert): New. Set to yes if linker
23193 supports INSERT in linker script.
23194 (AC_SUBST(libc_cv_insert): New.
23195 * configure: Regenerated.
23196 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
23197 if $(have-insert) == yes.
23199 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
23201 * elf/Makefile (tests): Add vismain only if
23202 $(have-protected-data) == yes.
23203 (tests-pie): Likewise.
23205 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
23208 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23209 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
23211 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
23214 * sysdeps/i386/i586/memset.S
23215 (__memset_zero_constant_len_parameter): Removed.
23216 * sysdeps/i386/i686/memset.S
23217 (__memset_zero_constant_len_parameter): Likewise.
23218 * sysdeps/i386/i686/multiarch/memset_chk.S
23219 (__memset_zero_constant_len_parameter): Likewise.
23220 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
23223 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
23225 * stdlib/getentropy.c (getentropy): Change return type to int.
23227 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
23229 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
23231 2017-08-03 Joseph Myers <joseph@codesourcery.com>
23233 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
23235 * math/s_nexttowardf.c (__nexttowardf): Likewise.
23236 * sysdeps/generic/math_private.h (ieee_double_shape_type):
23238 (ieee_float_shape_type): Likewise.
23239 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
23240 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
23241 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23242 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23243 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23244 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
23245 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
23246 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23247 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
23249 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23250 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23251 (__ieee754_yn): Likewise.
23252 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23253 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23254 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
23256 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23257 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
23258 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
23259 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
23260 (__erfc): Likewise.
23261 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
23262 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
23263 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
23264 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
23265 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
23266 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
23268 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
23269 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
23270 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
23271 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
23272 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23273 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
23274 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
23275 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
23276 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
23277 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
23278 (__issignaling): Likewise.
23279 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
23280 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
23281 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23283 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23284 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
23285 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
23286 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
23288 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
23290 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
23291 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
23292 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
23293 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
23294 (__erfcf): Likewise.
23295 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
23296 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
23297 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
23298 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
23300 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
23301 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
23303 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
23304 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
23305 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
23306 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
23307 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
23308 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23309 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
23310 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
23312 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
23314 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
23316 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
23317 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23319 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23321 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23322 (__ieee754_ynl): Likewise.
23323 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
23324 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
23326 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
23328 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
23329 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
23330 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23332 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
23333 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
23334 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
23335 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
23336 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
23337 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
23338 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
23339 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
23341 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
23342 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
23343 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
23345 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
23346 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
23347 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
23348 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
23349 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
23350 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23352 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23354 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23356 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23358 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
23359 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23360 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23361 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
23362 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
23363 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
23364 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
23366 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23368 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23369 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23371 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23372 (__ieee754_remainderl): Likewise.
23373 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23374 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23375 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23376 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23378 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23379 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23381 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23382 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
23383 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
23384 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
23385 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
23386 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23388 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
23389 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
23390 (__ieee754_y0l): Likewise.
23393 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23394 (__ieee754_y1l): Likewise.
23397 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23398 (__ieee754_ynl): Likewise.
23399 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
23400 (__ieee754_lgammal_r): Likewise.
23401 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
23403 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
23404 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
23405 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
23406 (__erfcl): Likewise.
23407 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
23408 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
23410 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
23411 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
23412 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
23413 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
23414 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
23415 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23416 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23418 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
23419 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23420 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
23421 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
23422 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23424 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
23425 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
23427 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
23428 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
23429 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
23430 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23431 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
23433 2017-08-03 Florian Weimer <fweimer@redhat.com>
23436 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
23437 on memory allocation failure.
23439 2017-08-03 Alan Modra <amodra@gmail.com>
23441 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
23442 tst-tlsopt-powerpc.c with function name change and no test harness.
23443 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
23444 Call tls_get_addr_opt_test.
23445 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
23446 (modules-names): Add mod-tlsopt-powerpc.
23447 (mod-tlsopt-powerpc.so-no-z-defs): Define.
23448 (tst-tlsopt-powerpc): Depend on .so.
23449 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
23450 define. Expand use in TLS_GD and TLS_LD.
23452 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
23454 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
23456 * sysdeps/posix/shm_open.c: Include <pthread.h>.
23458 2017-08-02 Joseph Myers <joseph@codesourcery.com>
23461 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
23462 comparing size with that of double.
23463 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23464 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23465 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
23466 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23467 (__TGMATH_BINARY_REAL_IMAG): Likewise.
23468 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
23469 unsigned __int128 types.
23471 2017-08-02 Steve Ellcey <sellcey@cavium.com>
23473 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
23474 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
23475 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
23476 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
23477 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
23479 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
23481 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
23483 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
23485 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
23487 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23488 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23490 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23491 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23492 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23493 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23495 2017-08-02 Joseph Myers <joseph@codesourcery.com>
23498 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
23499 bit-field expressions passed to sizeof or typeof.
23500 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23501 (__TGMATH_F128): Likewise.
23502 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
23503 (__TGMATH_CF128): Likewise.
23504 (__TGMATH_UNARY_REAL_ONLY): Likewise.
23505 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23506 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
23507 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
23508 (__TGMATH_BINARY_REAL_ONLY): Likewise.
23509 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23510 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23511 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
23512 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23513 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
23514 (__TGMATH_UNARY_REAL_IMAG): Likewise.
23515 (__TGMATH_UNARY_IMAG): Likewise.
23516 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
23517 (__TGMATH_BINARY_REAL_IMAG): Likewise.
23518 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
23520 (define_vars_for_type): Handle bit_field type specially.
23521 (Tests.__init__): Declare structure with bit-field element.
23523 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
23526 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
23527 (MEMCPY_CHK): Define only if SHARED is defined.
23528 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
23530 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
23533 See ChangeLog.18 for earlier changes.