1 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
4 * localedata/locales/uk_UA (mon): Renamed to...
6 (alt_digits): "0" removed and then renamed to...
8 (date_fmt): Definition changed not to use the alternative
11 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
13 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
14 FLAG_RISCV_FLOAT_ABI_DOUBLE.
15 * elf/elf.h (EF_RISCV_RVC): New define.
16 (EF_RISCV_FLOAT_ABI): Likewise.
17 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
21 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
23 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
25 2018-01-25 Andreas Schwab <schwab@suse.de>
27 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
29 * sysdeps/gnu/configure: Regenerate.
30 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
31 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
32 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
33 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
34 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
35 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
36 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
37 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
39 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
41 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
42 URL, and run autoconf.
44 2018-01-24 Joseph Myers <joseph@codesourcery.com>
46 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
47 soft-float ColdFire configuration.
49 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
50 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
51 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
53 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
56 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
58 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
60 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
63 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
64 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
65 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
68 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
71 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
72 Rename to __reserved and add comment.
73 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
76 2018-01-24 Joseph Myers <joseph@codesourcery.com>
78 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
79 i686-gnu configurations.
80 (Context.run_builds): Include mig, gnumach and hurd in components
82 (Context.checkout): Add mig, gnumach and hurd to components.
83 (Context.checkout_tar): Add URL mappings for mig, gnumach and
85 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
86 (Config.build): Install gnumach headers, build mig and install
87 hurd headers for 'gnu' OS.
88 (Config.install_gnumach_headers): New function.
89 (Config.install_hurd_headers): Likewise.
90 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
91 when building for 'gnu' OS.
93 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
95 * manual/tunables.texi (Hardware Capability Tunables): Fix
98 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
100 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
101 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
102 (ALTMON_11, ALTMON_12): Improve documentation.
103 * manual/time.texi (strftime): Likewise.
105 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
108 * manual/locale.texi: Document ALTMON_1..12 constants for
109 nl_langinfo. Specify when to use ALTMON instead of MON.
110 * manual/time.texi (strftime, strptime): Document GNU extension
111 permitting O modifier with %B and %b. Specify when to use
114 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
117 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
118 names, define them as the same as abbreviated month names explicitly.
119 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
120 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
121 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
122 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
123 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
124 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
125 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
126 _NL_WABALTMON_12): New enum constants.
127 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
128 wab_alt_mon, and ab_alt_mon_defined members.
129 (time_output): Output ab_alt_mon and wab_alt_mon members.
130 (time_read): Read them, initialize them as copies of abmon and wabmon
131 respectively if they are missing, initialize ab_alt_mon_defined.
132 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
133 * locale/programs/locfile-kw.h: Regenerate.
134 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
135 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
137 * time/strftime_l.c (a_altmonth, aam_len): New macros.
138 [!COMPILE_WIDE] (ABALTMON_1): New macro.
139 (__strftime_internal): Handle %Ob and %Oh formats.
140 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
141 (__strptime_internal): Handle %Ob and %Oh formats.
142 * time/tst-strptime.c (day_tests): Add more tests to parse different
143 forms of month names including the new %Ob format specifier.
145 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
148 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
149 define them as the same as primary full month names explicitly.
150 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
151 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
152 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
153 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
154 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
155 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
156 _NL_WALTMON_12): New enum constants.
157 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
158 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
160 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
161 walt_mon, and alt_mon_defined members.
162 (time_output): Output alt_mon and walt_mon members.
163 (time_read): Read them, initialize them as copies of mon and wmon
164 respectively if they are missing, initialize alt_mon_defined.
165 * locale/programs/locfile-kw.gperf (alt_mon): Define.
166 * locale/programs/locfile-kw.h: Regenerate.
167 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
168 * localedata/tst-langinfo.c (map): Add tests for the new constants
169 ALTMON_1 .. ALTMON_12.
170 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
172 * time/strftime_l.c (f_altmonth): New macro.
173 (__strftime_internal): Handle %OB format.
174 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
175 (__strptime_internal): Handle %OB format.
176 * time/tst-strptime.c (day_tests): Add tests to parse different forms
177 of month names including the new %OB format specifier.
179 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
182 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
183 from ABORT_TRANSACTION.
184 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
185 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
186 ABORT_TRANSACTION_IMPL): Likewise.
187 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
188 Linux code, but remove the code that aborts transactions.
190 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
192 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
194 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
196 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
197 in date: "2004-14-09" should be "2004-09-14".
198 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
199 "2003-15-09" should be "2003-09-15".
201 2018-01-18 Arjun Shankar <arjun@redhat.com>
204 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
206 (_int_memalign): check for integer overflow before calling
208 * malloc/tst-malloc-too-large.c: New test.
209 * malloc/Makefile: Add tst-malloc-too-large.
211 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
213 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
214 in date: "2017-24-07" should be "2017-07-24".
215 * localedata/locales/mai_IN: Likewise.
216 * localedata/locales/mai_NP: Likewise.
218 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
220 * po/ru.po: Update translations.
222 2018-01-17 Joseph Myers <joseph@codesourcery.com>
225 * sysdeps/hppa/backtrace.c: New file.
227 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
230 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
231 align La_x86_64_retval to VEC_SIZE.
233 2018-01-16 Joseph Myers <joseph@codesourcery.com>
235 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
236 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
238 2018-01-16 Florian Weimer <fweimer@redhat.com>
240 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
241 Move tst-thread-exit-clobber ...
242 [$(CXX)] (tests-unsupported): ... to here.
244 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
246 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
247 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
248 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
249 (_dl_aarch64_cap_flags): Update.
250 (_DL_HWCAP_COUNT): Update.
252 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
254 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
255 (_DL_HWCAP_LAST): Remove.
256 (_DL_HWCAP_COUNT): Move to ...
257 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
258 (_DL_HWCAP_COUNT): ... here.
260 2018-01-16 Florian Weimer <fweimer@redhat.com>
262 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
263 mode with GNU extensions.
265 2018-01-15 Alan Hayward <alan.hayward@arm.com>
267 * elf/elf.h (NT_ARM_SVE): Define.
269 2018-01-15 Florian Weimer <fweimer@redhat.com>
272 * nptl/tst-minstack-throw.cc: New file.
273 * nptl/Makefile (tests): Add tst-minstack-throw.
274 (LDLIBS-tst-minstack-throw): Link with libstdc++.
275 [!CXX] (tests-unsupported): Add tst-minstack-throw.
277 2018-01-15 Joseph Myers <joseph@codesourcery.com>
279 * scripts/build-many-glibcs.py (Context.checkout): Default
280 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
283 2018-01-13 Carlos O'Donell <carlos@redhat.com>
286 * elf/elf.h (DF_1_STUB): Define.
289 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
292 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
293 Do not add 0.5 to integer or out-of-range arguments.
295 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
297 * po/bg.po: Update translations.
298 * po/cs.po: Likewise.
299 * po/de.po: Likewise.
300 * po/ko.po: Likewise.
301 * po/pl.po: Likewise.
302 * po/sv.po: Likewise.
303 * po/uk.po: Likewise.
304 * po/vi.po: Likewise.
306 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
308 * aarch64/start.S (_start): Use __wrap_main.
309 (__wrap_main): New local symbol.
311 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
315 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
316 generic_getcwd if the path returned by getcwd syscall is not absolute.
317 * io/tst-getcwd-abspath.c: New test.
318 * io/Makefile (tests): Add tst-getcwd-abspath.
320 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
322 * malloc/malloc.c (malloc_consolidate): Add size check.
324 2018-01-12 Florian Weimer <fweimer@redhat.com>
326 * support/write_message.c (write_message): Preserve errno.
327 * support/check.c (print_failure): Likewise.
328 * support/support_test_verify_impl.c (support_test_verify_impl):
330 * support/support_test_compare_failure.c
331 (support_test_compare_failure): Likewise.
333 2018-01-12 Florian Weimer <fweimer@redhat.com>
336 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
337 Prevent installation of libnsl.so.
338 (libnsl-inhibit-o): Do not build (or install) static libraries.
340 2018-01-12 Egmont Koblinger <egmont@gmail.com>
343 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
344 before the day number which may produce a double space.
345 (date_fmt): Likewise.
347 2018-01-12 Joseph Myers <joseph@codesourcery.com>
349 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
352 2018-01-11 Joseph Myers <joseph@codesourcery.com>
355 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
356 comment to say exceptions are discarded.
357 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
359 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
362 2018-01-11 Florian Weimer <fweimer@redhat.com>
364 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
367 2018-01-11 Florian Weimer <fweimer@redhat.com>
370 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
371 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
373 2018-01-10 Joseph Myers <joseph@codesourcery.com>
376 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
377 negative arguments in test for NaN or infinity argument.
379 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
381 * po/libc.pot: Regenerate.
383 2018-01-10 Florian Weimer <fweimer@redhat.com>
386 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
387 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
389 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
391 * hurd/hurd/fd.h: Include <fcntl.h>
392 (__hurd_at_flags): New function.
393 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
394 with call to __hurd_at_flags.
395 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
396 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
398 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
399 (__access_noerrno): Use __faccessat_common instead of access_common.
400 (__access): Likewise.
401 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
402 with a call to __faccessat.
403 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
404 (__faccessat_common): ... this. Move implementation of __access into it when
405 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
406 reauthenticate_cwdir_at helper to implement AT mechanism.
407 (__faccessat_noerrno): New function, just calls __faccessat_common.
408 (__faccessat): New function, just calls __faccessat_common.
409 (faccessat): Define weak alias.
411 2018-01-10 Joseph Myers <joseph@codesourcery.com>
414 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
415 (CFLAGS-s_fmaxmagl.c): New variable.
416 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
419 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
420 long int for arguments of possibly overflowing addition or
422 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
424 2018-01-09 Joseph Myers <joseph@codesourcery.com>
427 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
428 (CFLAGS-e_remainderl.c): New variable.
431 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
433 (CFLAGS-s_cacoshl.c): Likewise.
434 (CFLAGS-s_casinhl.c): Likewise.
435 (CFLAGS-s_catanl.c): Likewise.
436 (CFLAGS-s_catanhl.c): Likewise.
437 (CFLAGS-s_cexpl.c): Likewise.
438 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
439 (CFLAGS-s_csinhl.c): Likewise.
440 (CFLAGS-s_clogl.c): Likewise.
441 (CFLAGS-s_clog10l.c): Likewise.
442 (CFLAGS-s_csinl.c): Likewise.
443 (CFLAGS-s_csqrtl.c): Likewise.
445 2010-08-04 Emilio Pozuelo Monfort <pochu27@gmail.com>
446 2017-09-26 Svante Signell <svante.signell@gmail.com>
448 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
449 (_hurd_exec_paths): New function.
450 * hurd/hurd.h (_hurd_exec): Deprecate function.
451 (_hurd_exec_paths): Declare function.
452 * hurd/Versions: Export _hurd_exec_paths.
453 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
454 (__execve): Use __getcwd to build absolute path, and use
455 _hurd_exec_paths instead of _hurd_exec.
456 * sysdeps/mach/hurd/spawni.c: Likewise.
457 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
460 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
462 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
463 test instead of failing in case of ENOENT returned by posix_openpt.
465 2018-01-08 Florian Weimer <fweimer@redhat.com>
467 resolv: Support binary labels in test framework.
468 * support/resolv_test.c (struct to_be_freed): Remove.
469 (struct compressed_name): New.
470 (allocate_compressed_name, ascii_tolower)
471 (compare_compressed_name): New functions.
472 (struct resolv_response_builder): Update type of
473 compression_offsets for use with tsearch. Rempve to_be_freed.
474 (response_push_pointer_to_free): Remove function.
475 (resolv_response_add_name): Rewrite using struct compressed_name
476 and tsearch instead of hsearch_r.
477 (response_builder_allocate): Remove initialization of
479 (response_builder_free): Update for removal of to_be_freed. Use
480 tdestroy instead of hdestroy_r.
481 * resolv/Makefile (tests): Add tst-resolv-binary.
482 (tst-resolv-binary): Link with -lresolv -lpthread.
484 2018-01-08 Florian Weimer <fweimer@redhat.com>
486 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
487 time. Pass positive flag instead of negative flag to
488 support_test_compare_failure.
489 (support_test_compare_failure): Change negative parameter to
491 * support/support_test_compare_failure.c (report)
492 (support_test_compare_failure): Likewise.
493 * support/tst-test_compare.c (return_ssize_t, return_int): New.
494 (do_test): Check int/size_t, ssize_t/size_t comparisons.
496 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
499 * nptl/descr.h (stackblock, stackblock_size): Update comments.
500 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
501 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
503 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
505 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
507 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
508 Add s_sincosf-sse2 and s_sincosf-fma.
509 (CFLAGS-s_sincosf-fma.c): New.
510 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
511 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
512 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
513 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
514 __sincosf is defined.
516 2018-01-08 Florian Weimer <fweimer@redhat.com>
518 * nptl/tst-thread-exit-clobber.cc: New file.
519 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
521 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
522 (tests): Add tst-thread-exit-clobber.
523 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
525 2018-01-08 Florian Weimer <fweimer@redhat.com>
527 * support/check.h (support_static_assert): Define.
528 (TEST_COMPARE): Use it.
530 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
532 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
533 [!__RLIM_T_MATCHES_RLIM64_T]
534 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
535 __getrlimit64. Add libc_hidden_weak.
537 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
539 * elf/elf.h (R_RISCV_NONE): New define.
540 (R_RISCV_32): Likewise.
541 (R_RISCV_64): Likewise.
542 (R_RISCV_RELATIVE): Likewise.
543 (R_RISCV_COPY): Likewise.
544 (R_RISCV_JUMP_SLOT): Likewise.
545 (R_RISCV_TLS_DTPMOD32): Likewise.
546 (R_RISCV_TLS_DTPMOD64): Likewise.
547 (R_RISCV_TLS_DTPREL32): Likewise.
548 (R_RISCV_TLS_DTPREL64): Likewise.
549 (R_RISCV_TLS_TPREL32): Likewise.
550 (R_RISCV_TLS_TPREL64): Likewise.
551 * Makerules (make-link-multidir): Make directories before linking into
553 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
555 (VDSO_HASH_LINUX_4_15): Likewise.
556 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
557 in subdirectories of lib.
558 * nptl/Makefile (/librt.so): Always depend on
559 "$(shared-thread-library)".
561 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
563 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
564 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
565 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
567 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
568 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
570 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
571 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
572 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
573 * sysdeps/gnu/glob-lstat-compat.c: New file.
574 * sysdeps/gnu/glob64-lstat-compat.c: New file.
575 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
577 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
579 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
580 Reserve 16 chars to reloc_addr before calling _itoa_word.
582 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
585 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
586 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
588 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
589 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
591 * resource/tst-getrlimit.c: Add copyright header.
593 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
594 Adhemerval Zanella <adhemerval.zanella@linaro.org>
596 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
597 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
598 Define __GI_getrlimit64 as weak alias of __getrlimit64.
599 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
601 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
602 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
603 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
604 RLIM64_INFINITY): Fix values to match the kernel ones.
605 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
606 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
607 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
608 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
609 getrlimit64@@GLIBC_2_27.
610 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
612 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
613 getrlimit, setrlimit, getrlimit64 and setrlimit64.
614 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
615 setrlimit, getrlimit64 and setrlimit64.
617 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
620 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
621 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
623 2018-01-04 Joseph Myers <joseph@codesourcery.com>
625 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
626 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
627 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
629 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
633 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
634 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
638 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
639 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
640 * sysdeps/alpha/fpu/s_floor.c: Likewise.
641 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
643 2018-01-04 Florian Weimer <fweimer@redhat.com>
646 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
647 Align the stack before calling exit.
648 * stdlib/tst-makecontext-align.c: New file.
649 * stdlib/Makefile (tests): Add tst-makecontext-align.
651 2018-01-04 Florian Weimer <fweimer@redhat.com>
653 Add support for calling dlvsym from libc.so.
654 * include/dlfcn.h (__libc_dlvsym): Declare.
655 * elf/Makefile (tests-static-internal): Add
656 tst-libc_dlvsym-static.
657 (tests-internal): Add tst-libc_dlvsym.
658 (modules-names): Add tst-libc_dlvsym-dso.
659 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
660 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
661 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
662 object tst-libc_dlvsym-dso.so needs to be built before running
664 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
665 * elf/Versions: Export __libc_dlvsym.
666 * elf/dl-libc.c (struct do_dlvsym_args): New.
667 (do_dlvsym, __libc_dlvsym): New functions.
668 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
669 (_dl_open_hook2): New variable.
670 (__libc_register_dl_open_hook): Set it.
671 * elf/tst-libc_dlvsym-dso.c: New file.
672 * elf/tst-libc_dlvsym-static.c: Likewise.
673 * elf/tst-libc_dlvsym.c: Likewise.
674 * elf/tst-libc_dlvsym.h: Likewise.
676 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
678 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
679 include <sys/mount.h>.
681 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
683 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
684 Add __NO_MATH_ERRNO__ check.
686 2018-01-02 Joseph Myers <joseph@codesourcery.com>
688 * sysdeps/mips/mips32/libm-test-ulps: Update.
689 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
691 2018-01-02 Florian Weimer <fweimer@redhat.com>
693 * misc/tst-pselect.c: Add copyright header.
695 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
697 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
699 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
701 (settrlimit): Rename into setrlimit.
702 (__sttrlimit): Rename into __setrlimit.
704 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
705 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
706 never defined in that case.
708 2018-01-02 Joseph Myers <joseph@codesourcery.com>
710 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
712 * sysdeps/arm/libm-test-ulps: Update.
714 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
715 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
717 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
719 * NEWS: Add cosf and sincosf to list of optimized functions.
721 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
724 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
725 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
726 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
727 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
729 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
732 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
734 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
737 2018-01-01 Joseph Myers <joseph@codesourcery.com>
739 * manual/texinfo.tex: Update to version 2017-12-26.21 with
740 trailing whitespace removed.
741 * scripts/config.guess: Update to version 2018-01-01.
742 * scripts/config.sub: Update to version 2018-01-01.
743 * scripts/move-if-change: Update from gnulib.
745 * NEWS: Update copyright dates.
746 * catgets/gencat.c (print_version): Likewise.
747 * csu/version.c (banner): Likewise.
748 * debug/catchsegv.sh: Likewise.
749 * debug/pcprofiledump.c (print_version): Likewise.
750 * debug/xtrace.sh (do_version): Likewise.
751 * elf/ldconfig.c (print_version): Likewise.
752 * elf/ldd.bash.in: Likewise.
753 * elf/pldd.c (print_version): Likewise.
754 * elf/sotruss.sh: Likewise.
755 * elf/sprof.c (print_version): Likewise.
756 * iconv/iconv_prog.c (print_version): Likewise.
757 * iconv/iconvconfig.c (print_version): Likewise.
758 * locale/programs/locale.c (print_version): Likewise.
759 * locale/programs/localedef.c (print_version): Likewise.
760 * login/programs/pt_chown.c (print_version): Likewise.
761 * malloc/memusage.sh (do_version): Likewise.
762 * malloc/memusagestat.c (print_version): Likewise.
763 * malloc/mtrace.pl: Likewise.
764 * manual/libc.texinfo: Likewise.
765 * nptl/version.c (banner): Likewise.
766 * nscd/nscd.c (print_version): Likewise.
767 * nss/getent.c (print_version): Likewise.
768 * nss/makedb.c (print_version): Likewise.
769 * posix/getconf.c (main): Likewise.
770 * scripts/test-installation.pl: Likewise.
771 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
773 * All files with FSF copyright notices: Update copyright dates
774 using scripts/update-copyrights.
775 * locale/programs/charmap-kw.h: Regenerated.
776 * locale/programs/locfile-kw.h: Likewise.
778 2017-12-31 Zack Weinberg <zackw@panix.com>
780 * libio/bits/libio-ldbl.h: Correct check for improper
781 inclusion. Add own multiple include guard.
783 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
784 Dmitry V. Levin <ldv@altlinux.org>
788 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
789 string token expansion. Check for NULL pointer or empty string possibly
790 returned by expand_dynamic_string_token.
791 (decompose_rpath): Check for empty path after dynamic string
794 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
797 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
799 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
800 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
801 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
803 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
804 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
805 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
806 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
807 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
808 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
810 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
811 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
812 __ptrace_peeksiginfo_flags, ptrace): Move to ...
813 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
815 bits/ptrace-shared.h.
816 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
817 <bits/ptrace-shared.h>.
818 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
819 __ptrace_peeksiginfo_flags, ptrace): Remove.
820 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
821 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
822 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
823 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
824 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
826 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
829 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
830 end of the loop. Improve comments.
832 2017-12-29 Zack Weinberg <zackw@panix.com>
835 * manual/errno.texi (Checking for Errors): Explicitly say that errno
836 might be set on success.
838 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
841 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
842 is unchanged on success.
844 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
846 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
848 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
849 expand_dynamic_string_token): Likewise.
850 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
853 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
856 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
857 is set and name contains ':', and all code depending on these checks.
859 2017-12-24 Zack Weinberg <zackw@panix.com>
861 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
862 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
864 * libio/libio.h: Rename the original version of this file to
865 libio/bits/libio.h. Error out if not included by stdio.h or the
867 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
868 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
869 if not included by bits/libio.h or the stub _G_config.h.
870 * sysdeps/unix/sysv/linux/_G_config.h: Move to
871 sysdeps/unix/sysv/linux/bits. Error out if not included by
872 bits/libio.h or the stub _G_config.h.
873 * libio/stdio.h: Include bits/libio.h, not libio.h.
874 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
875 well as libio.h and _G_config.h.
877 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
878 * libio/strfile.h, stdio-common/vfscanf.c
879 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
880 Include stdio.h, not _G_config.h nor libio.h.
881 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
882 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
884 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
886 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
889 * stdlib/getrandom.c (getrandom): Fix comment.
890 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
892 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
895 * manual/arith.texi (strtoul): Fix a typo.
898 * manual/arith.texi (finite): Fix the description of the return
901 2017-12-22 Eric Blake <ebb9@byu.net>
903 Avoid gcc warnings on cygwin
904 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
905 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
906 Avoid unused variable.
908 2017-12-22 Florian Weimer <fweimer@redhat.com>
910 * io/Makefile (routines): Add copy_file_range.
911 (tests): Add tst-copy_file_range.
912 (tests-static, tests-internal): Add tst-copy_file_range-compat.
913 * io/Versions (GLIBC_2.27): Export copy_file_range.
914 * io/copy_file_range-compat.c: New file.
915 * io/copy_file_range.c: Likewise.
916 * io/tst-copy_file_range-compat.c: Likewise.
917 * io/tst-copy_file_range.c: Likewise.
918 * manual/llio.texi (Copying File Data): New section.
919 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
920 * support/Makefile (libsupport-routines): Add support-xfstat,
922 * support/support-xfstat.c: New file.
923 * support/xftruncate.c: Likewise.
924 * support/xlseek.c: Likewise.
925 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
926 * sysdeps/unix/sysv/linux/**.abilist: Update.
927 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
929 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
931 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
932 disable-multi-arch variant to aarch64-linux-gnu.
934 2017-12-20 Joseph Myers <joseph@codesourcery.com>
936 * manual/texinfo.tex: Update to version 2017-12-18.20 with
937 trailing whitespace removed.
938 * scripts/config.guess: Update to version 2017-12-17.
939 * scripts/config.sub: Update to version 2017-11-23.
940 * scripts/install-sh: Update to version 2017-09-23.17.
941 * scripts/move-if-change: Update to version 2017-09-13 06:45.
943 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
945 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
946 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
947 * sysdeps/tile/_mcount.S (__mcount): Likewise.
948 * sysdeps/tile/crti.S (_init, _fini): Likewise.
949 * sysdeps/tile/crtn.S: Likewise.
950 * sysdeps/tile/dl-start.S (_start): Likewise.
951 * sysdeps/tile/dl-trampoline.S: Likewise.
952 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
953 * sysdeps/tile/start.S (_start): Likewise.
954 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
955 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
956 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
957 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
958 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
959 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
960 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
962 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
964 * sysdeps/tile/preconfigure: Remove tilegx folder.
965 * sysdeps/tile/tilegx/Implies: Move definitions to ...
966 * sysdeps/tile/Implies: ... here.
967 * sysdeps/tile/tilegx/Makefile: Move rules to ...
968 * sysdeps/tile/Makefile: ... here.
969 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
970 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
971 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
972 * sysdeps/tile/bits/wordsize.h: ... here.
973 * sysdeps/tile/tilegx/*: Move to ...
974 * sysdeps/tile/*: ... here.
975 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
976 * sysdeps/tile/tilegx32/Implies: ... here.
977 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
978 * sysdeps/tile/tilegx64/Implies: ... here.
979 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
981 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
982 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
983 * sysdeps/unix/sysv/linux/tile/*: ... here.
984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
985 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
987 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
989 * README: Remove tilepro-*-linux-gnu from supported architecture.
990 * scripts/build-many-glibcs.py: Likewise.
991 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
992 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
993 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
994 elf_machine_matches_host, elf_machine_dynamic,
995 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
996 howto, elf_machine_rela): Likewise.
997 * sysdeps/tile/dl-start.S (_start): Likewise.
998 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
999 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
1000 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
1001 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
1002 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
1003 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1005 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
1006 * sysdeps/tile/preconfigure: Likewise.
1007 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
1008 POINTER_CHK_GUARD): Likewise.
1009 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
1010 * sysdeps/tile/start.S (_start): Likewise.
1011 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
1013 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
1014 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
1016 * sysdeps/unix/sysv/linux/tile/bits/environments.h
1017 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
1018 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
1020 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
1021 * sysdeps/tile/tilepro/Implies: Remove file.
1022 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
1023 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1024 * sysdeps/tile/tilepro/memchr.c: Likewise.
1025 * sysdeps/tile/tilepro/memcpy.S: Likewise.
1026 * sysdeps/tile/tilepro/memset.c: Likewise.
1027 * sysdeps/tile/tilepro/memusage.h: Likewise.
1028 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
1029 * sysdeps/tile/tilepro/strchr.c: Likewise.
1030 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
1031 * sysdeps/tile/tilepro/strlen.c: Likewise.
1032 * sysdeps/tile/tilepro/strrchr.c: Likewise.
1033 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
1034 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
1035 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
1036 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
1037 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
1038 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1040 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
1041 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1042 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
1043 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
1044 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1045 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
1046 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
1047 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
1048 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
1049 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
1050 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
1051 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
1052 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
1053 tilepro mention in comment.
1055 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
1056 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
1057 * nptl/pthread_join_common.c: New file: common function used on
1058 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
1059 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
1060 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
1061 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1062 (cleanup): Move definition to pthread_join_common.c.
1063 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
1064 Remove superflous checks.
1065 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
1068 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
1070 * sysdeps/aarch64/libm-test-ulps: Update.
1072 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1074 * sysdeps/aarch64/memset.S (MEMSET): Define.
1076 2017-12-20 Florian Weimer <fweimer@redhat.com>
1079 nptl: Provide full implementation of pthread_self in libc.so.
1080 * nptl/Makefile (routines): Add pthread_self.
1081 (libpthread-routines): Replace pthread_self with
1082 compat-pthread_self.
1083 * nptl/forward.c (pthread_self): Remove.
1084 * nptl/nptl-init.c (pthread_functions): Do not initialize
1086 * nptl/pthread_self.c (pthread_self): Remove weak alias.
1087 * nptl/compat-pthread_self.c: New file.
1088 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1089 Remove ptr_pthread_self.
1091 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
1093 * posix/regcomp.c: Fix spelling in comments.
1094 * posix/regex.h: Likewise.
1095 * posix/regex_internal.c: Likewise.
1096 * posix/regexec.c: Likewise.
1098 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1101 * math/Makefile [C++] (tests): Add test for iseqsig.
1102 * math/math.h [C++] (iseqsig): New implementation, which does
1103 not rely on __MATH_TG/__builtin_types_compatible_p.
1104 * math/test-math-iseqsig.cc: New file.
1105 * sysdeps/powerpc/powerpc64le/Makefile
1106 (CFLAGS-test-math-iseqsig.cc): New variable.
1108 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
1110 * elf/dl-load.c (is_trusted_path): Remove.
1111 (fillin_rpath): Remove check_trusted argument and its use,
1112 all callers changed.
1114 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1117 * Makeconfig (link-pie-before-libc): Replace -pie with
1118 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
1119 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
1120 (tst-dlopen-aout-no-pie): New.
1121 (LDFLAGS-tst-prelink): Removed.
1122 (tst-prelink-no-pie): New.
1123 (LDFLAGS-tst-main1): Removed.
1124 (tst-main1-no-pie): New.
1125 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
1126 (tst-gmon-no-pie): New.
1128 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1130 * manual/install.texi: Document that --enable-static-pie
1132 * INSTALL: Regenerated.
1134 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
1137 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
1140 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1144 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1148 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1150 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
1151 <errno.h>. Include "eexp.tbl".
1152 (half): New constant.
1154 (__ieee754_exp): Rewrite.
1155 (__slowexp): Remove prototype.
1156 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
1157 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
1158 * sysdeps/i386/fpu/slowexp.c: Likewise.
1159 * sysdeps/ia64/fpu/slowexp.c: Likewise.
1160 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
1161 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
1162 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
1163 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1164 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
1165 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
1167 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
1168 (CPPFLAGS-slowexp.c): Remove variable.
1169 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1170 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
1171 (CFLAGS-slowexp-fma.c): Remove variable.
1172 (CFLAGS-slowexp-fma4.c): Likewise.
1173 (CFLAGS-slowexp-avx.c): Likewise.
1174 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
1176 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
1177 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
1178 * math/Makefile (type-double-routines): Remove slowexp.
1179 * manual/probes.texi (slowexp_p6): Remove.
1180 (slowexp_p32): Likewise.
1182 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1184 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
1187 * lib/glob.c (glob): Do not pass NULL to mempcpy.
1189 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1193 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1195 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
1196 <errno.h>. Include "eexp.tbl".
1197 (half): New constant.
1199 (__ieee754_exp): Rewrite.
1200 (__slowexp): Remove prototype.
1201 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
1202 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
1203 * sysdeps/i386/fpu/slowexp.c: Likewise.
1204 * sysdeps/ia64/fpu/slowexp.c: Likewise.
1205 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
1206 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
1207 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
1208 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1209 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
1210 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
1212 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
1213 (CPPFLAGS-slowexp.c): Remove variable.
1214 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1215 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
1216 (CFLAGS-slowexp-fma.c): Remove variable.
1217 (CFLAGS-slowexp-fma4.c): Likewise.
1218 (CFLAGS-slowexp-avx.c): Likewise.
1219 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
1221 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
1222 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
1223 * math/Makefile (type-double-routines): Remove slowexp.
1224 * manual/probes.texi (slowexp_p6): Remove.
1225 (slowexp_p32): Likewise.
1227 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1228 James Clarke <jrtc27@jrtc27.com>
1231 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
1234 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1237 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
1240 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1243 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
1244 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
1245 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
1246 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
1249 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1252 * bits/types/__cancel_jmp_buf_tag.h: New file.
1253 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
1254 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
1255 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
1256 * nptl/Makefile (headers): Add
1257 bits/types/__cancel_jmp_buf_tag.h.
1258 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
1259 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
1260 * sysdeps/nptl/pthread.h: Include
1261 <bits/types/__cancel_jmp_buf_tag.h>.
1262 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
1264 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
1266 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
1268 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1269 --enable-static-pie variants to x86_64, x32 and i686.
1271 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1274 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
1275 argument for attrubutes. All callers changed.
1276 (__inline_mathop1): Likewise. All callers changed.
1277 (__inline_mathop): Likewise. All callers changed.
1278 [__USE_MISC] (scalbn): Use __inline_forward instead of
1280 [__USE_ISOC99] (scalbln): Likewise.
1281 [__USE_ISOC99] (nearbyint): Likewise.
1282 [__USE_ISOC99] (lrint): Likewise.
1283 [__USE_MISC] (scalbnf): Likewise.
1284 [__USE_ISOC99] (scalblnf): Likewise.
1285 [__USE_ISOC99] (nearbyintf): Likewise.
1286 [__USE_ISOC99] (lrintf): Likewise.
1287 [__USE_MISC] (scalbnl): Likewise.
1288 [__USE_ISOC99] (scalblnl): Likewise.
1289 [__USE_ISOC99] (nearbyintl): Likewise.
1290 [__USE_ISOC99] (lrintl): Likewise.
1291 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
1292 __inline_mathop and __m81_defun changed.
1294 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
1295 CPU or FPU for ARM hard-float configurations.
1297 2017-12-18 Joseph Myers <joseph@codesourcery.com>
1299 * nptl/tst-attr3.c: Include <libc-diag.h>.
1300 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
1302 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
1304 * string/tester.c (test_strncat): Also disable -Warray-bounds
1305 warnings for two tests.
1307 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
1310 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
1311 $(cc-pie-default) == yes.
1312 * config.make.in (cc-pie-default): New.
1313 * configure.ac (libc_cv_pie_default): Renamed to ...
1314 (libc_cv_cc_pie_default): This.
1315 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
1316 * configure: Regenerated.
1318 2017-12-18 Florian Weimer <fweimer@redhat.com>
1321 ld.so: Harden dl-libc/libdl hooks.
1322 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
1323 (rtld_active): New function.
1324 * dlfcn/dladdr.c (__dladdr): Call it.
1325 * dlfcn/dladdr1.c (__dladdr1): Likewise.
1326 * dlfcn/dlclose.c (__dlcose): Likewise.
1327 * dlfcn/dlerror.c (__dlerror): Likewise.
1328 * dlfcn/dlinfo.c (__dlinfo): Likewise.
1329 * dlfcn/dlmopen.c (__dlmopen): Likewise.
1330 * dlfcn/dlopen.c (__dlopen): Likewise.
1331 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1332 * dlfcn/dlsym.c (__dlsym): Likewise.
1333 * dlfcn/dlvsym.c (__dlvsym): Likewise.
1334 * libio/vtables.c (_IO_vtable_check): Likewise.
1335 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
1336 (__libc_dlclose): Likewise.
1337 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
1340 2017-12-18 Joseph Myers <joseph@codesourcery.com>
1343 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
1344 buffers for readlink input and output.
1346 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
1349 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
1350 inhibit_stack_protector.
1353 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
1354 inhibit_stack_protector.
1356 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
1359 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
1360 code and invocation.
1362 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1364 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
1366 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
1369 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
1371 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1373 * sysdeps/s390/fpu/libm-test-ulps: Update.
1375 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1379 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1381 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
1382 constants to s_sincosf.h file.
1383 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1384 * sysdeps/ieee754/flt-32/s_sincosf.c: New
1386 * sysdeps/ieee754/flt-32/s_sincosf.h:
1389 2017-12-12 Carlos O'Donell <carlos@redhat.com>
1392 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
1395 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
1398 * INSTALL: Regenerated.
1399 * Makeconfig (real-static-start-installed-name): New.
1400 (pic-default): Updated for --enable-static-pie.
1401 (pie-default): New for --enable-static-pie.
1402 (default-pie-ldflag): Likewise.
1403 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
1404 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
1405 Replace $(static-start-installed-name) with
1406 $(real-static-start-installed-name).
1407 (+prectorT): Updated for --enable-static-pie.
1408 (+postctorT): Likewise.
1409 (CFLAGS-.o): Add $(pie-default).
1410 (CFLAGS-.op): Likewise.
1411 * NEWS: Mention --enable-static-pie.
1412 * config.h.in (ENABLE_STATIC_PIE): New.
1413 * configure.ac (--enable-static-pie): New configure option.
1414 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
1415 (have-static-pie): Likewise.
1416 Enable static PIE if linker supports --no-dynamic-linker.
1417 (ENABLE_STATIC_PIE): New AC_DEFINE.
1418 (enable-static-pie): New LIBC_CONFIG_VAR.
1419 * configure: Regenerated.
1420 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
1421 gr$(start-installed-name) for --enable-static-pie.
1422 (extra-objs): Likewise.
1423 (install-lib): Likewise.
1424 (extra-objs): Add static-reloc.o and static-reloc.os
1425 ($(objpfx)$(start-installed-name)): Also depend on
1426 $(objpfx)static-reloc.o.
1427 ($(objpfx)r$(start-installed-name)): New.
1428 ($(objpfx)g$(start-installed-name)): Also depend on
1429 $(objpfx)static-reloc.os.
1430 ($(objpfx)gr$(start-installed-name)): New.
1431 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
1433 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
1435 * csu/static-reloc.c: New file.
1436 * elf/Makefile (routines): Add dl-reloc-static-pie.
1437 (elide-routines.os): Likewise.
1438 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
1439 (tst-tls1-static-non-pie-no-pie): New.
1440 * elf/dl-reloc-static-pie.c: New file.
1441 * elf/dl-support.c (_dl_get_dl_main_map): New function.
1442 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
1443 STATIC_PIE_BOOTSTRAP.
1444 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1445 * gmon/Makefile (tests): Add tst-gmon-static-pie.
1446 (tests-static): Likewise.
1447 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
1448 (tst-gmon-static-no-pie): New.
1449 (CFLAGS-tst-gmon-static-pie.c): Likewise.
1450 (CRT-tst-gmon-static-pie): Likewise.
1451 (tst-gmon-static-pie-ENV): Likewise.
1452 (tests-special): Likewise.
1453 ($(objpfx)tst-gmon-static-pie.out): Likewise.
1454 (clean-tst-gmon-static-pie-data): Likewise.
1455 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
1456 * gmon/tst-gmon-static-pie.c: New file.
1457 * manual/install.texi: Document --enable-static-pie.
1458 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
1459 (_dl_get_dl_main_map): Likewise.
1460 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
1461 * sysdeps/x86_64/configure.ac: Likewise.
1462 * sysdeps/i386/configure: Regenerated.
1463 * sysdeps/x86_64/configure: Likewise.
1464 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
1465 (ASFLAGS-.op): Likewise.
1467 2017-12-15 Joseph Myers <joseph@codesourcery.com>
1469 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
1470 * posix/tst-mmap-offset.c (fname): Use /tmp.
1471 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
1473 2017-12-15 Steve Ellcey <sellcey@cavium.com>
1475 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
1477 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
1479 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
1482 2017-12-15 Joseph Myers <joseph@codesourcery.com>
1484 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
1485 --with-float=hard for arm-linux-gnueabihf configurations.
1488 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
1489 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
1490 ($(mo-installed)): Use $(objpfx)%.mo.
1491 (realclean): Remove rule.
1493 * po/Makefile (linguas): Remove rule and dependencies.
1494 (linguas.mo): Likewise.
1495 (.PHONY): Do not depend on linguas and linguas.mo.
1496 (podir): Remove variable.
1497 (pofiles): Likewise.
1498 [$(pofiles)] (%.po): Remove rule.
1500 * sysdeps/sparc/sparc32/Makefile
1501 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
1502 start-of-line whitespace in argument of echo.
1503 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
1504 with whitespace. Generate __wrap_.udiv alias.
1505 * sysdeps/sparc/sparc32/rem.S: Regenerated.
1506 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1507 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1508 * sysdeps/sparc/sparc32/urem.S: Likewise.
1510 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1512 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
1515 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1517 * benchtests/bench-strcmp.c: Print output in JSON format.
1519 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
1521 2017-12-14 Florian Weimer <fweimer@redhat.com>
1525 * elf/dl-load.c (_dl_init_paths): Compute number of components in
1526 the expanded path string.
1528 2017-12-14 Florian Weimer <fweimer@redhat.com>
1532 * elf/dl-load.c (system_dirs): Update comment.
1533 (nsystem_dirs_len): Use array_length.
1534 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
1536 2017-12-14 Florian Weimer <fweimer@redhat.com>
1538 Simplify compiling most of support/ outside of glibc.
1539 * support/check_addrinfo.c: Include <string.h>.
1540 * support/check_dns_packet.c: Likewise.
1541 * support/check_hostent.c: Likewise.
1542 * support/support_can_chroot.c: Include <support/xunistd.h>.
1543 * support/support_format_addrinfo.c: Include <stdlib.h>
1544 * support/support_format_dns_packet.c: Include <stdbool.h>.
1545 * support/support_format_hostent.c: Include <stdlib.h>.
1546 * support/support_format_netent.c: Likewise.
1547 * support/support_write_string.c: Include <support/xunistd.h>.
1548 * support/xdlfcn.c: Include <stddef.h>.
1550 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
1552 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
1554 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1555 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1557 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
1558 (sysdeps_routines): Add memset-niagara7.
1559 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
1561 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
1563 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
1564 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
1565 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
1566 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
1567 Add niagara7 option.
1568 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
1571 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
1572 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
1573 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
1575 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
1577 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
1578 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
1579 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
1580 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
1581 and __memmove_niagara7.
1582 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
1583 Add niagara7 option.
1584 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
1585 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
1586 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
1587 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
1588 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
1590 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1592 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
1593 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
1594 * sysdeps/sparc/sparc64/memmove.S: Likewise.
1595 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
1597 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
1598 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
1599 _dl_sparc_cap_flags array.
1600 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
1602 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
1604 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
1605 time whenever possible.
1607 2017-12-12 Carlos O'Donell <carlos@redhat.com>
1609 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
1610 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
1612 2017-12-12 Joseph Myers <joseph@codesourcery.com>
1614 * soft-fp/fmadf4.c: Move to ....
1615 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
1616 * soft-fp/fmasf4.c: Move to ....
1617 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
1618 * soft-fp/fmatf4.c: Move to ....
1619 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
1620 * sysdeps/ieee754/soft-fp/Makefile: New file.
1621 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
1622 * sysdeps/arm/preconfigure: Regenerated.
1623 * sysdeps/arm/nofpu/Implies: New file.
1624 * sysdeps/arm/s_fma.c: Remove file.
1625 * sysdeps/arm/s_fmaf.c: Likewise.
1626 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
1627 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
1628 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
1629 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
1630 * sysdeps/microblaze/s_fma.c: Remove file.
1631 * sysdeps/microblaze/s_fmaf.c: Likewise.
1632 * sysdeps/mips/mips32/nofpu/Implies: New file.
1633 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
1634 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
1635 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
1636 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
1637 * sysdeps/mips/ieee754/s_fma.c: Remove file.
1638 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
1639 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
1641 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
1642 * sysdeps/nios2/s_fma.c: Remove file.
1643 * sysdeps/nios2/s_fmaf.c: Likewise.
1644 * sysdeps/sh/nofpu/Implies: New file.
1645 * sysdeps/sh/s_fma.c: Remove file.
1646 * sysdeps/sh/s_fmaf.c: Likewise.
1647 * sysdeps/tile/Implies: Add ieee754/soft-fp.
1648 * sysdeps/tile/s_fma.c: Remove file.
1649 * sysdeps/tile/s_fmaf.c: Likewise.
1651 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
1653 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1654 Add s_cosf-sse2 and s_cosf-fma.
1655 (CFLAGS-s_cosf-fma.c): New.
1656 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
1657 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
1658 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
1660 2017-12-12 Steve Ellcey <sellcey@cavium.com>
1662 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
1664 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1666 * libio/Makefile (tests): Add tst-bz22415.
1667 (tst-bz22415-ENV): New rule.
1668 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
1669 (tests-special): Add tst-bz22415-mem.out.
1670 ($(objpfx)tst-bz22415-mem.out): New rule.
1671 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
1672 in case of a successful seek operation.
1673 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1674 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
1676 * libio/tst-bz22415.c: New test.
1678 * sysdeps/ia64/fpu/libm-test-ulps: Update.
1680 2017-12-12 James Clarke <jrtc27@jrtc27.com>
1682 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
1683 __IPC_64 to 0 to avoid IPC_64 being set.
1685 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
1688 * math/bits/mathcalls.h (nextafter): Remove const.
1689 (nexttoward): Likewise.
1691 2017-12-12 Joseph Myers <joseph@codesourcery.com>
1693 * configure.ac (--with-fp): Remove configure option.
1694 (with_fp_cond): New variable.
1695 (libc_cv_with_fp): New configure test. Use this variable instead
1697 * configure: Regenerated.
1698 * config.make.in (with-fp): Use @libc_cv_with_fp@.
1699 * manual/install.texi (Configuring and compiling): Remove
1701 * INSTALL: Regenerated.
1702 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
1703 * sysdeps/mips/preconfigure (with_fp_cond): Define.
1704 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
1705 * sysdeps/sh/preconfigure (with_fp_cond): Define.
1706 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
1707 use --without-fp to configure glibc.
1709 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
1711 * manual/locale.texi (nl_langinfo): Fix a typo.
1713 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
1716 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
1718 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
1720 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
1721 (CFLAGS-argp-parse.c): Likewise.
1722 (CFLAGS-argp-fmtstream.c): Likewise.
1723 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
1724 (CPPFLAGS-sha512-crypt.c): Likewise.
1725 (CPPFLAGS-md5-crypt.c): Likewise.
1726 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
1727 (CFLAGS-stack_chk_fail_local.c): Likewise.
1728 (CFLAGS-backtrace.c): Likewise.
1729 (CFLAGS-sprintf_chk.c): Likewise.
1730 (CFLAGS-snprintf_chk.c): Likewise.
1731 (CFLAGS-vsprintf_chk.c): Likewise.
1732 (CFLAGS-vsnprintf_chk.c): Likewise.
1733 (CFLAGS-asprintf_chk.c): Likewise.
1734 (CFLAGS-vasprintf_chk.c): Likewise.
1735 (CFLAGS-obprintf_chk.c): Likewise.
1736 (CFLAGS-dprintf_chk.c): Likewise.
1737 (CFLAGS-vdprintf_chk.c): Likewise.
1738 (CFLAGS-printf_chk.c): Likewise.
1739 (CFLAGS-fprintf_chk.c): Likewise.
1740 (CFLAGS-vprintf_chk.c): Likewise.
1741 (CFLAGS-vfprintf_chk.c): Likewise.
1742 (CFLAGS-gets_chk.c): Likewise.
1743 (CFLAGS-fgets_chk.c): Likewise.
1744 (CFLAGS-fgets_u_chk.c): Likewise.
1745 (CFLAGS-fread_chk.c): Likewise.
1746 (CFLAGS-fread_u_chk.c): Likewise.
1747 (CFLAGS-swprintf_chk.c): Likewise.
1748 (CFLAGS-vswprintf_chk.c): Likewise.
1749 (CFLAGS-wprintf_chk.c): Likewise.
1750 (CFLAGS-fwprintf_chk.c): Likewise.
1751 (CFLAGS-vwprintf_chk.c): Likewise.
1752 (CFLAGS-vfwprintf_chk.c): Likewise.
1753 (CFLAGS-fgetws_chk.c): Likewise.
1754 (CFLAGS-fgetws_u_chk.c): Likewise.
1755 (CFLAGS-read_chk.c): Likewise.
1756 (CFLAGS-pread_chk.c): Likewise.
1757 (CFLAGS-pread64_chk.c): Likewise.
1758 (CFLAGS-recv_chk.c): Likewise.
1759 (CFLAGS-recvfrom_chk.c): Likewise.
1760 (CFLAGS-tst-longjmp_chk.c): Likewise.
1761 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
1762 (CFLAGS-tst-longjmp_chk2.c): Likewise.
1763 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
1764 (CFLAGS-tst-longjmp_chk3.c): Likewise.
1765 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1766 (CFLAGS-tst-chk1.c): Likewise.
1767 (CFLAGS-tst-chk2.c): Likewise.
1768 (CFLAGS-tst-chk3.c): Likewise.
1769 (CFLAGS-tst-chk4.cc): Likewise.
1770 (CFLAGS-tst-chk5.cc): Likewise.
1771 (CFLAGS-tst-chk6.cc): Likewise.
1772 (CFLAGS-tst-lfschk1.c): Likewise.
1773 (CFLAGS-tst-lfschk2.c): Likewise.
1774 (CFLAGS-tst-lfschk3.c): Likewise.
1775 (CFLAGS-tst-lfschk4.cc): Likewise.
1776 (CFLAGS-tst-lfschk5.cc): Likewise.
1777 (CFLAGS-tst-lfschk6.cc): Likewise.
1778 (CFLAGS-tst-ssp-1.c): Likewise.
1779 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
1780 (CFLAGS-scandir64.c): Likewise.
1781 (CFLAGS-scandir-tail.c): Likewise.
1782 (CFLAGS-scandir64-tail.c): Likewise.
1783 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
1784 (CFLAGS-dl-tunables.c): Likewise.
1785 (CFLAGS-dl-runtime.c): Likewise.
1786 (CFLAGS-dl-lookup.c): Likewise.
1787 (CFLAGS-dl-iterate-phdr.c): Likewise.
1788 (CFLAGS-vismain.c): Likewise.
1789 (CFLAGS-tst-linkall-static.c): Likewise.
1790 (CFLAGS-tst-linkall-static.c): Likewise.
1791 (CPPFLAGS-dl-load.c): Likewise.
1792 (CFLAGS-ldconfig.c): Likewise.
1793 (CFLAGS-dl-cache.c): Likewise.
1794 (CFLAGS-cache.c): Likewise.
1795 (CFLAGS-rtld.c): Likewise.
1796 (CFLAGS-multiload.c): Likewise.
1797 (CFLAGS-filtmod1.c): Likewise.
1798 (CFLAGS-tst-align.c): Likewise.
1799 (CFLAGS-tst-align2.c): Likewise.
1800 (CFLAGS-tst-alignmod.c): Likewise.
1801 (CFLAGS-tst-alignmod2.c): Likewise.
1802 (CPPFLAGS-tst-execstack.c): Likewise.
1803 (CFLAGS-tst-ptrguard1-static.c): Likewise.
1804 (CFLAGS-tst-latepthreadmod.c): Likewise.
1805 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
1806 (CFLAGS-getgrnam_r.c): Likewise.
1807 (CFLAGS-getgrent_r.c): Likewise.
1808 (CFLAGS-getgrent.c): Likewise.
1809 (CFLAGS-fgetgrent.c): Likewise.
1810 (CFLAGS-fgetgrent_r.c): Likewise.
1811 (CFLAGS-putgrent.c): Likewise.
1812 (CFLAGS-initgroups.c): Likewise.
1813 (CFLAGS-getgrgid.c): Likewise.
1814 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
1815 (CFLAGS-getsgent.c): Likewise.
1816 (CFLAGS-fgetsgent.c): Likewise.
1817 (CFLAGS-fgetsgent_r.c): Likewise.
1818 (CFLAGS-putsgent.c): Likewise.
1819 (CFLAGS-getsgnam.c): Likewise.
1820 (CFLAGS-getsgnam_r.c): Likewise.
1821 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
1822 (CFLAGS-iconv_charmap.c): Likewise.
1823 (CFLAGS-dummy-repertoire.c): Likewise.
1824 (CFLAGS-charmap.c): Likewise.
1825 (CFLAGS-linereader.c): Likewise.
1826 (CFLAGS-simple-hash.c): Likewise.
1827 (CFLAGS-gconv_conf.c): Likewise.
1828 (CFLAGS-iconvconfig.c): Likewise.
1829 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1830 (CFLAGS-gethstbyad.c): Likewise.
1831 (CFLAGS-gethstbynm_r.c): Likewise.
1832 (CFLAGS-gethstbynm.c): Likewise.
1833 (CFLAGS-gethstbynm2_r.c): Likewise.
1834 (CFLAGS-gethstbynm2.c): Likewise.
1835 (CFLAGS-gethstent_r.c): Likewise.
1836 (CFLAGS-gethstent.c): Likewise.
1837 (CFLAGS-rcmd.c): Likewise.
1838 (CFLAGS-getnetbynm_r.c): Likewise.
1839 (CFLAGS-getnetbynm.c): Likewise.
1840 (CFLAGS-getnetbyad_r.c): Likewise.
1841 (CFLAGS-getnetbyad.c): Likewise.
1842 (CFLAGS-getnetent_r.c): Likewise.
1843 (CFLAGS-getnetent.c): Likewise.
1844 (CFLAGS-getaliasent_r.c): Likewise.
1845 (CFLAGS-getaliasent.c): Likewise.
1846 (CFLAGS-getrpcent_r.c): Likewise.
1847 (CFLAGS-getrpcent.c): Likewise.
1848 (CFLAGS-getservent_r.c): Likewise.
1849 (CFLAGS-getservent.c): Likewise.
1850 (CFLAGS-getprtent_r.c): Likewise.
1851 (CFLAGS-getprtent.c): Likewise.
1852 (CFLAGS-either_ntoh.c): Likewise.
1853 (CFLAGS-either_hton.c): Likewise.
1854 (CFLAGS-getnetgrent.c): Likewise.
1855 (CFLAGS-getnetgrent_r.c): Likewise.
1856 (CFLAGS-tst-checks-posix.c): Likewise.
1857 (CFLAGS-tst-sockaddr.c): Likewise.
1858 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
1859 (CFLAGS-tst-translit.c): Likewise.
1860 (CFLAGS-tst-gettext2.c): Likewise.
1861 (CFLAGS-tst-codeset.c): Likewise.
1862 (CFLAGS-tst-gettext3.c): Likewise.
1863 (CFLAGS-tst-gettext4.c): Likewise.
1864 (CFLAGS-tst-gettext5.c): Likewise.
1865 (CFLAGS-tst-gettext6.c): Likewise.
1866 * io/Makefile (CFLAGS-open.c): Likewise.
1867 (CFLAGS-open64.c): Likewise.
1868 (CFLAGS-creat.c): Likewise.
1869 (CFLAGS-creat64.c): Likewise.
1870 (CFLAGS-fcntl.c): Likewise.
1871 (CFLAGS-poll.c): Likewise.
1872 (CFLAGS-ppoll.c): Likewise.
1873 (CFLAGS-lockf.c): Likewise.
1874 (CFLAGS-statfs.c): Likewise.
1875 (CFLAGS-fstatfs.c): Likewise.
1876 (CFLAGS-statvfs.c): Likewise.
1877 (CFLAGS-fstatvfs.c): Likewise.
1878 (CFLAGS-fts.c): Likewise.
1879 (CFLAGS-fts64.c): Likewise.
1880 (CFLAGS-ftw.c): Likewise.
1881 (CFLAGS-ftw64.c): Likewise.
1882 (CFLAGS-lockf.c): Likewise.
1883 (CFLAGS-posix_fallocate.c): Likewise.
1884 (CFLAGS-posix_fallocate64.c): Likewise.
1885 (CFLAGS-fallocate.c): Likewise.
1886 (CFLAGS-fallocate64.c): Likewise.
1887 (CFLAGS-read.c): Likewise.
1888 (CFLAGS-write.c): Likewise.
1889 (CFLAGS-test-stat.c): Likewise.
1890 (CFLAGS-test-lfs.c): Likewise.
1891 * libio/Makefile (CFLAGS-fileops.c): Likewise.
1892 (CFLAGS-fputc.c): Likewise.
1893 (CFLAGS-fputwc.c): Likewise.
1894 (CFLAGS-freopen64.c): Likewise.
1895 (CFLAGS-freopen.c): Likewise.
1896 (CFLAGS-fseek.c): Likewise.
1897 (CFLAGS-fseeko64.c): Likewise.
1898 (CFLAGS-fseeko.c): Likewise.
1899 (CFLAGS-ftello64.c): Likewise.
1900 (CFLAGS-ftello.c): Likewise.
1901 (CFLAGS-fwide.c): Likewise.
1902 (CFLAGS-genops.c): Likewise.
1903 (CFLAGS-getc.c): Likewise.
1904 (CFLAGS-getchar.c): Likewise.
1905 (CFLAGS-getwc.c): Likewise.
1906 (CFLAGS-getwchar.c): Likewise.
1907 (CFLAGS-iofclose.c): Likewise.
1908 (CFLAGS-iofflush.c): Likewise.
1909 (CFLAGS-iofgetpos64.c): Likewise.
1910 (CFLAGS-iofgetpos.c): Likewise.
1911 (CFLAGS-iofgets.c): Likewise.
1912 (CFLAGS-iofgetws.c): Likewise.
1913 (CFLAGS-iofputs.c): Likewise.
1914 (CFLAGS-iofputws.c): Likewise.
1915 (CFLAGS-iofread.c): Likewise.
1916 (CFLAGS-iofsetpos64.c): Likewise.
1917 (CFLAGS-iofsetpos.c): Likewise.
1918 (CFLAGS-ioftell.c): Likewise.
1919 (CFLAGS-iofwrite.c): Likewise.
1920 (CFLAGS-iogetdelim.c): Likewise.
1921 (CFLAGS-iogetline.c): Likewise.
1922 (CFLAGS-iogets.c): Likewise.
1923 (CFLAGS-iogetwline.c): Likewise.
1924 (CFLAGS-ioputs.c): Likewise.
1925 (CFLAGS-ioseekoff.c): Likewise.
1926 (CFLAGS-ioseekpos.c): Likewise.
1927 (CFLAGS-iosetbuffer.c): Likewise.
1928 (CFLAGS-iosetvbuf.c): Likewise.
1929 (CFLAGS-ioungetc.c): Likewise.
1930 (CFLAGS-ioungetwc.c): Likewise.
1931 (CFLAGS-oldfileops.c): Likewise.
1932 (CFLAGS-oldiofclose.c): Likewise.
1933 (CFLAGS-oldiofgetpos64.c): Likewise.
1934 (CFLAGS-oldiofgetpos.c): Likewise.
1935 (CFLAGS-oldiofsetpos64.c): Likewise.
1936 (CFLAGS-oldiofsetpos.c): Likewise.
1937 (CFLAGS-peekc.c): Likewise.
1938 (CFLAGS-putc.c): Likewise.
1939 (CFLAGS-putchar.c): Likewise.
1940 (CFLAGS-putwc.c): Likewise.
1941 (CFLAGS-putwchar.c): Likewise.
1942 (CFLAGS-rewind.c): Likewise.
1943 (CFLAGS-wfileops.c): Likewise.
1944 (CFLAGS-wgenops.c): Likewise.
1945 (CFLAGS-oldiofopen.c): Likewise.
1946 (CFLAGS-iofopen.c): Likewise.
1947 (CFLAGS-iofopen64.c): Likewise.
1948 (CFLAGS-oldtmpfile.c): Likewise.
1949 (CFLAGS-tst_putwc.c): Likewise.
1950 * locale/Makefile (CFLAGS-md5.c): Likewise.
1951 (CFLAGS-charmap.c): Likewise.
1952 (CFLAGS-locfile.c): Likewise.
1953 (CFLAGS-charmap-dir.c): Likewise.
1954 * login/Makefile (CFLAGS-grantpt.c): Likewise.
1955 (CFLAGS-getpt.c): Likewise.
1956 (CFLAGS-pt_chown.c): Likewise.
1957 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
1958 (CFLAGS-obstack.c): Likewise.
1959 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
1960 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
1961 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
1962 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
1963 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
1964 (CFLAGS-test-tgmath.c): Likewise.
1965 (CFLAGS-test-tgmath2.c): Likewise.
1966 (CFLAGS-test-tgmath-ret.c): Likewise.
1967 (CFLAGS-test-powl.c): Likewise.
1968 (CFLAGS-test-snan.c): Likewise.
1969 (CFLAGS-test-signgam-finite.c): Likewise.
1970 (CFLAGS-test-signgam-finite-c99.c): Likewise.
1971 (CFLAGS-test-signgam-finite-c11.c): Likewise.
1972 (CFLAGS-test-signgam-uchar.c): Likewise.
1973 (CFLAGS-test-signgam-uchar-init.c): Likewise.
1974 (CFLAGS-test-signgam-uchar-static.c): Likewise.
1975 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1976 (CFLAGS-test-signgam-uint.c): Likewise.
1977 (CFLAGS-test-signgam-uint-init.c): Likewise.
1978 (CFLAGS-test-signgam-uint-static.c): Likewise.
1979 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1980 (CFLAGS-test-signgam-ullong.c): Likewise.
1981 (CFLAGS-test-signgam-ullong-init.c): Likewise.
1982 (CFLAGS-test-signgam-ullong-static.c): Likewise.
1983 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1984 (CFLAGS-test-math-cxx11.cc): Likewise.
1985 (CFLAGS-test-math-isinff.cc): Likewise.
1986 (CFLAGS-test-math-iszero.cc): Likewise.
1987 (CFLAGS-test-math-issignaling.cc): Likewise.
1988 (CFLAGS-test-math-iscanonical.cc): Likewise.
1989 (CFLAGS-test-iszero-excess-precision.c): Likewise.
1990 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
1991 (CFLAGS-test-flt-eval-method.c): Likewise.
1992 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
1993 (CFLAGS-test-finite-macros.c): Likewise.
1994 * misc/Makefile (CFLAGS-select.c): Likewise.
1995 (CFLAGS-tsearch.c): Likewise.
1996 (CFLAGS-lsearch.c): Likewise.
1997 (CFLAGS-pselect.c): Likewise.
1998 (CFLAGS-readv.c): Likewise.
1999 (CFLAGS-writev.c): Likewise.
2000 (CFLAGS-preadv.c): Likewise.
2001 (CFLAGS-preadv64.c): Likewise.
2002 (CFLAGS-pwritev.c): Likewise.
2003 (CFLAGS-pwritev64.c): Likewise.
2004 (CFLAGS-preadv2.c): Likewise.
2005 (CFLAGS-preadv64v2.c): Likewise.
2006 (CFLAGS-pwritev2.c): Likewise.
2007 (CFLAGS-pwritev64v2.c): Likewise.
2008 (CFLAGS-usleep.c): Likewise.
2009 (CFLAGS-syslog.c): Likewise.
2010 (CFLAGS-error.c): Likewise.
2011 (CFLAGS-getpass.c): Likewise.
2012 (CFLAGS-mkstemp.c): Likewise.
2013 (CFLAGS-mkstemp64.c): Likewise.
2014 (CFLAGS-getsysstats.c): Likewise.
2015 (CFLAGS-getusershell.c): Likewise.
2016 (CFLAGS-err.c): Likewise.
2017 (CFLAGS-tst-tsearch.c): Likewise.
2018 (CFLAGS-msync.c): Likewise.
2019 (CFLAGS-fdatasync.c): Likewise.
2020 (CFLAGS-fsync.c): Likewise.
2021 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
2022 (CFLAGS-unwind.c): Likewise.
2023 (CFLAGS-unwind-forcedunwind.c): Likewise.
2024 (CFLAGS-pthread_cancel.c): Likewise.
2025 (CFLAGS-pthread_setcancelstate.c): Likewise.
2026 (CFLAGS-pthread_setcanceltype.c): Likewise.
2027 (CFLAGS-cancellation.c): Likewise.
2028 (CFLAGS-libc-cancellation.c): Likewise.
2029 (CFLAGS-pthread_exit.c): Likewise.
2030 (CFLAGS-forward.c): Likewise.
2031 (CFLAGS-pthread_testcancel.c): Likewise.
2032 (CFLAGS-pthread_join.c): Likewise.
2033 (CFLAGS-pthread_timedjoin.c): Likewise.
2034 (CFLAGS-pthread_once.c): Likewise.
2035 (CFLAGS-pthread_cond_wait.c): Likewise.
2036 (CFLAGS-sem_wait.c): Likewise.
2037 (CFLAGS-sem_timedwait.c): Likewise.
2038 (CFLAGS-fcntl.c): Likewise.
2039 (CFLAGS-lockf.c): Likewise.
2040 (CFLAGS-pread.c): Likewise.
2041 (CFLAGS-pread64.c): Likewise.
2042 (CFLAGS-pwrite.c): Likewise.
2043 (CFLAGS-pwrite64.c): Likewise.
2044 (CFLAGS-wait.c): Likewise.
2045 (CFLAGS-waitpid.c): Likewise.
2046 (CFLAGS-sigwait.c): Likewise.
2047 (CFLAGS-msgrcv.c): Likewise.
2048 (CFLAGS-msgsnd.c): Likewise.
2049 (CFLAGS-tcdrain.c): Likewise.
2050 (CFLAGS-open.c): Likewise.
2051 (CFLAGS-open64.c): Likewise.
2052 (CFLAGS-pause.c): Likewise.
2053 (CFLAGS-recv.c): Likewise.
2054 (CFLAGS-send.c): Likewise.
2055 (CFLAGS-accept.c): Likewise.
2056 (CFLAGS-sendto.c): Likewise.
2057 (CFLAGS-connect.c): Likewise.
2058 (CFLAGS-recvfrom.c): Likewise.
2059 (CFLAGS-recvmsg.c): Likewise.
2060 (CFLAGS-sendmsg.c): Likewise.
2061 (CFLAGS-close.c): Likewise.
2062 (CFLAGS-read.c): Likewise.
2063 (CFLAGS-write.c): Likewise.
2064 (CFLAGS-nanosleep.c): Likewise.
2065 (CFLAGS-sigsuspend.c): Likewise.
2066 (CFLAGS-msync.c): Likewise.
2067 (CFLAGS-fdatasync.c): Likewise.
2068 (CFLAGS-fsync.c): Likewise.
2069 (CFLAGS-pt-system.c): Likewise.
2070 (CFLAGS-tst-cleanup2.c): Likewise.
2071 (CFLAGS-tst-cleanupx2.c): Likewise.
2072 (CFLAGS-flockfile.c): Likewise.
2073 (CFLAGS-ftrylockfile.c): Likewise.
2074 (CFLAGS-funlockfile.c): Likewise.
2075 (CFLAGS-tst-initializers1.c): Likewise.
2076 (CFLAGS-tst-initializers1-c89.c): Likewise.
2077 (CFLAGS-tst-initializers1-c99.c): Likewise.
2078 (CFLAGS-tst-initializers1-c11.c): Likewise.
2079 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
2080 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
2081 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2082 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
2083 (CFLAGS-nscd_getgr_r.c): Likewise.
2084 (CFLAGS-nscd_gethst_r.c): Likewise.
2085 (CFLAGS-nscd_getai.c): Likewise.
2086 (CFLAGS-nscd_initgroups.c): Likewise.
2087 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
2088 (CFLAGS-pause.c): Likewise.
2089 (CFLAGS-pread.c): Likewise.
2090 (CFLAGS-pread64.c): Likewise.
2091 (CFLAGS-pwrite.c): Likewise.
2092 (CFLAGS-pwrite64.c): Likewise.
2093 (CFLAGS-sleep.c): Likewise.
2094 (CFLAGS-wait.c): Likewise.
2095 (CFLAGS-waitid.c): Likewise.
2096 (CFLAGS-waitpid.c): Likewise.
2097 (CFLAGS-getopt.c): Likewise.
2098 (CFLAGS-wordexp.c): Likewise.
2099 (CFLAGS-sysconf.c): Likewise.
2100 (CFLAGS-pathconf.c): Likewise.
2101 (CFLAGS-fpathconf.c): Likewise.
2102 (CFLAGS-spawn.c): Likewise.
2103 (CFLAGS-spawnp.c): Likewise.
2104 (CFLAGS-spawni.c): Likewise.
2105 (CFLAGS-glob.c): Likewise.
2106 (CFLAGS-glob64.c): Likewise.
2107 (CFLAGS-getconf.c): Likewise.
2108 (CFLAGS-nanosleep.c): Likewise.
2109 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
2110 (CFLAGS-getpwent.c): Likewise.
2111 (CFLAGS-getpw.c): Likewise.
2112 (CFLAGS-fgetpwent_r.c): Likewise.
2113 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
2114 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
2115 (CFLAGS-mq_timedreceive.c): Likewise.
2116 (CFLAGS-mq_timedsend.c): Likewise.
2117 (CFLAGS-clock_nanosleep.c): Likewise.
2118 (CFLAGS-librt-cancellation.c): Likewise.
2119 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
2120 (CFLAGS-getspent.c): Likewise.
2121 (CFLAGS-fgetspent.c): Likewise.
2122 (CFLAGS-fgetspent_r.c): Likewise.
2123 (CFLAGS-putspent.c): Likewise.
2124 (CFLAGS-getspnam.c): Likewise.
2125 (CFLAGS-getspnam_r.c): Likewise.
2126 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
2127 (CFLAGS-sigsuspend.c): Likewise.
2128 (CFLAGS-sigtimedwait.c): Likewise.
2129 (CFLAGS-sigwait.c): Likewise.
2130 (CFLAGS-sigwaitinfo.c): Likewise.
2131 (CFLAGS-sigreturn.c): Likewise.
2132 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
2133 (CFLAGS-vfwprintf.c): Likewise.
2134 (CFLAGS-tmpfile.c): Likewise.
2135 (CFLAGS-tmpfile64.c): Likewise.
2136 (CFLAGS-tempname.c): Likewise.
2137 (CFLAGS-psignal.c): Likewise.
2138 (CFLAGS-vprintf.c): Likewise.
2139 (CFLAGS-cuserid.c): Likewise.
2140 (CFLAGS-errlist.c): Likewise.
2141 (CFLAGS-siglist.c): Likewise.
2142 (CFLAGS-scanf15.c): Likewise.
2143 (CFLAGS-scanf17.c): Likewise.
2144 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
2145 (CFLAGS-msort.c): Likewise.
2146 (CFLAGS-qsort.c): Likewise.
2147 (CFLAGS-system.c): Likewise.
2148 (CFLAGS-fmtmsg.c): Likewise.
2149 (CFLAGS-strfmon.c): Likewise.
2150 (CFLAGS-strfmon_l.c): Likewise.
2151 (CFLAGS-strfromd.c): Likewise.
2152 (CFLAGS-strfromf.c): Likewise.
2153 (CFLAGS-strfroml.c): Likewise.
2154 (CFLAGS-tst-bsearch.c): Likewise.
2155 (CFLAGS-tst-qsort.c): Likewise.
2156 (CFLAGS-tst-makecontext2.c): Likewise.
2157 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
2158 (CFLAGS-xnlm_prot.c): Likewise.
2159 (CFLAGS-xrstat.c): Likewise.
2160 (CFLAGS-xyppasswd.c): Likewise.
2161 (CFLAGS-xklm_prot.c): Likewise.
2162 (CFLAGS-xrex.c): Likewise.
2163 (CFLAGS-xsm_inter.c): Likewise.
2164 (CFLAGS-xmount.c): Likewise.
2165 (CFLAGS-xrusers.c): Likewise.
2166 (CFLAGS-xspray.c): Likewise.
2167 (CFLAGS-xnfs_prot.c): Likewise.
2168 (CFLAGS-xrquota.c): Likewise.
2169 (CFLAGS-xkey_prot.c): Likewise.
2170 (CFLAGS-auth_unix.c): Likewise.
2171 (CFLAGS-key_call.c): Likewise.
2172 (CFLAGS-pmap_rmt.c): Likewise.
2173 (CFLAGS-clnt_perr.c): Likewise.
2174 (CFLAGS-openchild.c): Likewise.
2175 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
2176 (CFLAGS-msgsnd.c): Likewise.
2177 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
2178 * time/Makefile (CFLAGS-tzfile.c): Likewise.
2179 (CFLAGS-tzset.c): Likewise.
2180 (CFLAGS-getdate.c): Likewise.
2181 (CFLAGS-test_time.c): Likewise.
2182 (CPPFLAGS-tst-tzname.c): Likewise.
2183 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
2184 (CFLAGS-zic.c): Likewise.
2185 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
2186 (CFLAGS-wcswidth.c): Likewise.
2187 (CFLAGS-wcstol.c): Likewise.
2188 (CFLAGS-wcstoul.c): Likewise.
2189 (CFLAGS-wcstoll.c): Likewise.
2190 (CFLAGS-wcstoull.c): Likewise.
2191 (CFLAGS-wcstod.c): Likewise.
2192 (CFLAGS-wcstold.c): Likewise.
2193 (CFLAGS-wcstof128.c): Likewise.
2194 (CFLAGS-wcstof.c): Likewise.
2195 (CFLAGS-wcstol_l.c): Likewise.
2196 (CFLAGS-wcstoul_l.c): Likewise.
2197 (CFLAGS-wcstoll_l.c): Likewise.
2198 (CFLAGS-wcstoull_l.c): Likewise.
2199 (CFLAGS-wcstod_l.c): Likewise.
2200 (CFLAGS-wcstold_l.c): Likewise.
2201 (CFLAGS-wcstof128_l.c): Likewise.
2202 (CFLAGS-wcstof_l.c): Likewise.
2203 (CPPFLAGS-tst-wchar-h.c): Likewise.
2204 (CPPFLAGS-wcstold_l.c): Likewise.
2206 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
2208 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
2210 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2211 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2213 * manual/tunables.texi (Hardware Capability Tunables): Document
2214 glibc.tune.cached_memopt.
2215 * sysdeps/powerpc/cpu-features.c: New file.
2216 * sysdeps/powerpc/cpu-features.h: New file.
2217 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
2218 _dl_powerpc_cpu_features.
2219 * sysdeps/powerpc/dl-tunables.list: New file.
2220 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
2221 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
2222 (INIT_ARCH): Initialize use_aligned_memopt.
2223 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
2224 IS_IN(rtld))]: Restrict dl_platform_init availability and
2225 initialize CPU features used by tunables.
2226 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
2227 Add memcpy-power8-cached.
2228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
2229 __memcpy_power8_cached.
2230 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2231 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
2234 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
2236 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
2237 (CFLAGS-noinl-tester.c): Likewise.
2238 (CFLAGS-tst-strlen.c): Likewise.
2239 (CFLAGS-stratcliff.c): Likewise.
2240 (CFLAGS-test-ffs.c): Likewise.
2241 (CFLAGS-tst-inlcall.c): Likewise.
2242 (CFLAGS-tst-xbzero-opt.c): Likewise.
2243 (CFLAGS-memcpy.c): Likewise.
2244 (CFLAGS-wordcopy.c): Likewise.
2246 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2248 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
2249 Store r15 on stack and add cfi rule.
2250 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2253 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
2256 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
2259 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
2261 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2262 Add s_sinf-sse2 and s_sinf-fma.
2263 (CFLAGS-s_sinf-fma.c): New.
2264 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
2265 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
2266 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
2268 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
2270 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
2272 2017-12-07 Joseph Myers <joseph@codesourcery.com>
2275 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
2276 part of result to imaginary part of argument if it is zero and the
2277 real part of the argument is not finite.
2278 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
2279 of result to real part of argument if it is zero and the imaginary
2280 part of the argument is not finite.
2282 2017-12-07 Mike FABIAN <mfabian@redhat.com>
2285 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
2286 and to the list of locales to be built for testing.
2287 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
2288 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
2289 and build the collation rules upon that.
2291 2017-12-07 Joseph Myers <joseph@codesourcery.com>
2293 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
2294 * manual/math.texi (Mathematics): Document support for _Float32.
2295 * math/Makefile (test-types): Add float32.
2296 * math/Versions (GLIBC_2.27): Add _Float32 functions.
2297 * stdlib/Versions (GLIBC_2.27): Likewise.
2298 * wcsmbs/Versions (GLIBC_2.27): Likewise.
2299 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2300 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2301 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2302 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2303 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2304 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2305 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2306 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2307 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2308 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2309 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2310 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2311 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2312 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2313 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2314 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2315 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2316 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2317 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2318 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2319 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2321 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2322 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2323 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2324 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2325 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2343 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2344 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2345 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2346 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2347 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2348 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2349 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2350 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2351 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2352 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2361 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2362 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2363 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2364 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2365 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2366 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2367 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2368 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2370 2017-12-06 Joseph Myers <joseph@codesourcery.com>
2372 * stdlib/strtof.c: Include <bits/floatn.h>
2373 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
2374 and later undefine as macro. Define as weak alias if
2376 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
2377 and later undefine as macro. Define as weak alias if
2379 * stdlib/strtof_l.c: Include <bits/floatn.h>
2380 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
2381 and later undefine as macro. Define as weak alias if
2383 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
2384 and later undefine as macro. Define as weak alias if
2387 * stdlib/strfromf.c: Include <bits/floatn.h>.
2388 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
2389 and later undefine as macro and define as weak alias.
2391 * math/test-float32.h: New file.
2393 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
2394 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
2395 (libm_alias_float_other_r): Create f32 alias.
2396 (libm_alias_float_r): Use semicolon before call to
2397 libm_alias_float_other_r.
2399 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
2400 second argument to libm_alias_float_other.
2401 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
2402 second argument to libm_alias_float_other.
2403 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
2404 argument to libm_alias_float_other.
2407 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
2408 real part of result for argument 0 + i * NaN.
2409 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
2410 results for tests of 0 + i * NaN.
2412 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2414 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2416 2017-12-06 David S. Miller <davem@davemloft.net>
2418 * sysdeps/sparc/fpu/libm-test-ulps: Update
2419 exp_{downward,towardzero,upward} ulps.
2421 2017-12-06 Joseph Myers <joseph@codesourcery.com>
2423 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
2426 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
2428 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
2430 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
2432 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
2435 2017-12-06 Mike FABIAN <mfabian@redhat.com>
2438 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
2439 and to the list of locales to be built for testing.
2440 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
2441 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
2442 and build the collation rules upon that.
2444 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2446 * NEWS: Add sinf to list of optimized functions.
2448 2017-12-06 Joseph Myers <joseph@codesourcery.com>
2450 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
2451 (__HAVE_FLOAT32X): Likewise.
2452 * manual/math.texi (Mathematics): Document support for _Float64
2454 * math/Makefile (test-types): Add float64 and float32x.
2455 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
2457 * stdlib/Versions (GLIBC_2.27): Likewise.
2458 * wcsmbs/Versions (GLIBC_2.27): Likewise.
2459 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2460 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2461 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2462 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2463 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2464 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2465 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2466 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2467 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2468 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2469 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2470 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2471 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2472 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2473 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2474 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2475 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2476 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2477 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2478 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2479 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2481 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2482 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2483 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2484 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2485 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2502 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2503 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2504 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2505 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2506 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2507 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2508 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2509 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2510 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2511 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2520 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2521 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2522 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2523 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2524 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2525 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2526 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2527 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2529 2017-12-05 Joseph Myers <joseph@codesourcery.com>
2531 * bits/floatn-common.h: Include <bits/long-double.h>.
2532 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
2533 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
2534 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
2535 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
2536 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
2537 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
2538 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
2539 (__builtin_huge_valf64): Use __builtin_huge_vall.
2540 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
2541 (__builtin_inff64): Use __builtin_infl.
2542 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
2543 (__builtin_nanf64): Use __builtin_nanl.
2544 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
2545 (__builtin_nansf64): Use __builtin_nansl.
2547 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>,
2548 Paul E. Murphy <murphyp@linux.vnet.ibm.com>,
2549 Carlos O'Donnell <carlos@redhat.com>
2551 * elf/dl-tunables.list: Add elision parameters.
2552 * manual/tunables.texi: Add entries about elision tunable.
2553 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
2554 Add callback functions to dynamically enable/disable elision.
2555 Add multiple callbacks functions to set elision parameters.
2556 Deleted __libc_enable_secure check.
2557 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
2558 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
2559 * configure: Regenerated.
2560 * configure.ac: Option enable_lock_elision was deleted.
2561 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
2562 * config.make.in: Remove references to enable_lock_elision.
2563 * manual/install.texi: Elision configure option was removed.
2564 * INSTALL: Regenerated to remove enable_lock_elision.
2566 Disable elision so it can verify error case for destroying a mutex.
2567 * sysdeps/powerpc/nptl/elide.h:
2568 Cleanup ENABLE_LOCK_ELISION check.
2569 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
2570 * sysdeps/s390/configure: Regenerated.
2571 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
2572 * nptl/tst-mutex8.c:
2573 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
2574 * sysdeps/powerpc/powerpc32/sysdep.h:
2575 Deleted all ENABLE_LOCK_ELISION checks.
2576 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2577 * sysdeps/powerpc/sysdep.h: Likewise.
2578 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
2579 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
2580 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2581 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2582 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2583 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
2584 enable-lock-elision.
2586 2017-12-05 Joseph Myers <joseph@codesourcery.com>
2588 * stdlib/strtod.c: Include <bits/floatn.h>.
2589 (BUILD_DOUBLE): New macro.
2590 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
2591 (strtof64): Define and later undefine as macro. Define as weak
2592 alias if [!USE_WIDE_CHAR].
2593 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
2594 (wcstof64): Define and later undefine as macro. Define as weak
2595 alias if [USE_WIDE_CHAR].
2596 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
2597 (strtof32x): Define and later undefine as macro. Define as weak
2598 alias if [!USE_WIDE_CHAR].
2599 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
2600 (wcstof32x): Define and later undefine as macro. Define as weak
2601 alias if [USE_WIDE_CHAR].
2602 * stdlib/strtod_l.c: Include <bits/floatn.h>.
2603 (BUILD_DOUBLE): New macro.
2604 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
2605 (strtof64_l): Define and later undefine as macro. Define as weak
2606 alias if [!USE_WIDE_CHAR].
2607 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
2608 (wcstof64_l): Define and later undefine as macro. Define as weak
2609 alias if [USE_WIDE_CHAR].
2610 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
2611 (strtof32x_l): Define and later undefine as macro. Define as weak
2612 alias if [!USE_WIDE_CHAR].
2613 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
2614 (wcstof32x_l): Define and later undefine as macro. Define as weak
2615 alias if [USE_WIDE_CHAR].
2617 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2619 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
2620 (reduced): Use ones as double instead of integer.
2622 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
2624 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
2626 2017-12-05 Joseph Myers <joseph@codesourcery.com>
2628 * stdlib/strfromd.c: Include <bits/floatn.h>.
2629 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
2630 and later undefine as macro and define as weak alias.
2631 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
2634 * math/test-float32x.h: New file.
2635 * math/test-float64.h: Likewise.
2637 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
2638 (libm_alias_double_other_r_f64): New macro.
2639 (libm_alias_double_other_r_f32x): Likewise.
2640 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
2641 libm_alias_double_other_r_f32x.
2642 (libm_alias_double_r): Use semicolon before call to
2643 libm_alias_double_other_r.
2644 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
2646 (libm_alias_double_other_r_f64): New macro.
2647 (libm_alias_double_other_r_f32x): Likewise.
2648 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
2649 libm_alias_double_other_r_f32x.
2651 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
2653 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
2655 (SINF_FUNC): Likewise. Replace floor with simple casts.
2657 2017-12-05 Mike FABIAN <mfabian@redhat.com>
2660 * localedata/Makefile: Add et_EE.UTF-8 to test-input
2661 and to the list of locales to be built for testing.
2662 * localedata/et_EE.UTF-8.in: New file for testing the collation.
2663 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
2664 and build the collation rules upon that.
2666 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
2668 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
2669 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
2670 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
2671 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
2672 instead of __insn__xxx.
2673 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
2674 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
2675 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
2676 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
2677 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
2678 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
2680 2017-12-05 Florian Weimer <fweimer@redhat.com>
2682 Linux: Implement interfaces for memory protection keys
2683 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
2685 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
2686 * support/xunistd.h (xsysconf): Declare.
2687 * support/xraise.c: New file.
2688 * support/xsigaction.c: Likewise.
2689 * support/xsignal.c: Likewise.
2690 * support/xsysconf.c: Likewise.
2691 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
2692 pkey_set, pkey_get, pkey_mprotect.
2693 [misc] (tests): Add tst-pkey.
2694 (tst-pkey): Link with -lpthread.
2695 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
2696 pkey_free, pkey_set, pkey_get, pkey_mprotect.
2697 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
2698 (PKEY_DISABLE_WRITE): Define.
2699 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
2701 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
2703 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
2704 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
2705 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
2706 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
2708 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
2709 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
2710 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
2711 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
2712 * sysdeps/unix/sysv/linux/**.abilist: Update.
2714 2017-12-05 Florian Weimer <fweimer@redhat.com>
2716 * support/tst-test_compare.c (subprocess): Use long long instead
2717 of long argument for consistent type width across 32-bit and
2718 64-bit architectures.
2719 (do_test): Adjust expected output.
2721 2017-12-05 Joseph Myers <joseph@codesourcery.com>
2723 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
2724 (cosf): Define using libm_alias_float.
2725 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
2726 (fabsf): Define using libm_alias_float.
2727 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
2728 (fmaf): Define using libm_alias_float.
2729 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
2730 (rintf): Define using libm_alias_float.
2731 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
2732 (sinf): Define using libm_alias_float.
2733 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
2734 <libm-alias-float.h>.
2735 (modff): Define using libm_alias_float.
2736 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
2737 <libm-alias-float.h>.
2738 (logbf): Define using libm_alias_float.
2739 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
2740 <libm-alias-float.h>.
2741 (ceilf): Define using libm_alias_float.
2742 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
2743 <libm-alias-float.h>.
2744 (copysignf): Define using libm_alias_float.
2745 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
2746 <libm-alias-float.h>.
2747 (floorf): Define using libm_alias_float.
2748 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
2749 <libm-alias-float.h>.
2750 (llrintf): Define using libm_alias_float.
2751 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
2752 <libm-alias-float.h>.
2753 (llroundf): Define using libm_alias_float.
2754 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
2755 <libm-alias-float.h>.
2756 (lrintf): Define using libm_alias_float.
2757 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
2758 <libm-alias-float.h>.
2759 (lroundf): Define using libm_alias_float.
2760 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
2761 <libm-alias-float.h>.
2762 (nearbyintf): Define using libm_alias_float.
2763 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
2764 <libm-alias-float.h>.
2765 (rintf): Define using libm_alias_float.
2766 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
2767 <libm-alias-float.h>.
2768 (roundf): Define using libm_alias_float.
2769 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
2770 <libm-alias-float.h>.
2771 (truncf): Define using libm_alias_float.
2772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
2773 Include <libm-alias-float.h>.
2774 (ceilf): Define using libm_alias_float.
2775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2776 Include <libm-alias-float.h>.
2777 (copysignf): Define using libm_alias_float.
2778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
2779 Include <libm-alias-float.h>.
2780 (floorf): Define using libm_alias_float.
2781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
2782 Include <libm-alias-float.h>.
2783 (llrintf): Define using libm_alias_float.
2784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
2785 Include <libm-alias-float.h>.
2786 (llroundf): Define using libm_alias_float.
2787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
2788 Include <libm-alias-float.h>.
2789 (logbf): Define using libm_alias_float.
2790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
2791 Include <libm-alias-float.h>.
2792 (lrintf): Define using libm_alias_float.
2793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
2794 Include <libm-alias-float.h>.
2795 (lroundf): Define using libm_alias_float.
2796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
2797 Include <libm-alias-float.h>.
2798 (modff): Define using libm_alias_float.
2799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
2800 Include <libm-alias-float.h>.
2801 (roundf): Define using libm_alias_float.
2802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
2803 Include <libm-alias-float.h>.
2804 (truncf): Define using libm_alias_float.
2805 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
2806 <libm-alias-float.h>.
2807 (llrintf): Define using libm_alias_float.
2808 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
2809 <libm-alias-float.h>.
2810 (llroundf): Define using libm_alias_float.
2811 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
2812 <libm-alias-float.h>.
2813 (ceilf): Define using libm_alias_float.
2814 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
2815 <libm-alias-float.h>.
2816 (floorf): Define using libm_alias_float.
2817 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
2818 <libm-alias-float.h>.
2819 (llroundf): Define using libm_alias_float.
2820 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
2821 <libm-alias-float.h>.
2822 (lroundf): Define using libm_alias_float.
2823 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
2824 <libm-alias-float.h>.
2825 (roundf): Define using libm_alias_float.
2826 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
2827 <libm-alias-float.h>.
2828 (truncf): Define using libm_alias_float.
2829 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
2830 <libm-alias-float.h>.
2831 (copysignf): Define using libm_alias_float.
2832 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
2833 <libm-alias-float.h>.
2834 (llrintf): Define using libm_alias_float.
2835 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
2836 <libm-alias-float.h>.
2837 (llroundf): Define using libm_alias_float.
2838 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
2839 <libm-alias-float.h>.
2840 (lrintf): Define using libm_alias_float.
2841 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
2842 <libm-alias-float.h>.
2843 (lroundf): Define using libm_alias_float.
2844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
2845 <libm-alias-float.h>.
2846 (ceilf): Define using libm_alias_float.
2847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
2848 <libm-alias-float.h>.
2849 (copysignf): Define using libm_alias_float.
2850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
2851 <libm-alias-float.h>.
2852 (cosf): Define using libm_alias_float.
2853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
2854 <libm-alias-float.h>.
2855 (floorf): Define using libm_alias_float.
2856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
2857 <libm-alias-float.h>.
2858 (llrintf): Define using libm_alias_float.
2859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
2860 <libm-alias-float.h>.
2861 (llroundf): Define using libm_alias_float.
2862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
2863 <libm-alias-float.h>.
2864 (logbf): Define using libm_alias_float.
2865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
2866 <libm-alias-float.h>.
2867 (modff): Define using libm_alias_float.
2868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
2869 <libm-alias-float.h>.
2870 (roundf): Define using libm_alias_float.
2871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
2872 <libm-alias-float.h>.
2873 (sinf): Define using libm_alias_float.
2874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
2875 <libm-alias-float.h>.
2876 (truncf): Define using libm_alias_float.
2877 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
2878 <libm-alias-float.h>.
2879 (ceilf): Define using libm_alias_float.
2880 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
2881 <libm-alias-float.h>.
2882 (copysignf): Define using libm_alias_float.
2883 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
2884 <libm-alias-float.h>.
2885 (floorf): Define using libm_alias_float.
2886 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
2887 <libm-alias-float.h>.
2888 (llrintf): Define using libm_alias_float.
2889 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
2890 <libm-alias-float.h>.
2891 (llroundf): Define using libm_alias_float.
2892 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
2893 <libm-alias-float.h>.
2894 (nearbyintf): Define using libm_alias_float.
2895 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
2896 <libm-alias-float.h>.
2897 (rintf): Define using libm_alias_float.
2898 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
2899 <libm-alias-float.h>.
2900 (roundf): Define using libm_alias_float.
2901 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
2902 <libm-alias-float.h>.
2903 (truncf): Define using libm_alias_float.
2904 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
2905 <libm-alias-float.h>.
2906 (ceilf): Define using libm_alias_float.
2907 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
2908 <libm-alias-float.h>.
2909 (floorf): Define using libm_alias_float.
2910 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
2911 <libm-alias-float.h>.
2912 (llroundf): Define using libm_alias_float.
2913 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
2914 <libm-alias-float.h>.
2915 (roundf): Define using libm_alias_float.
2916 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
2917 <libm-alias-float.h>.
2918 (truncf): Define using libm_alias_float.
2919 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
2920 <libm-alias-float.h>.
2921 (copysignf): Define using libm_alias_float.
2922 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
2923 <libm-alias-float.h>.
2924 (llrintf): Define using libm_alias_float.
2925 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
2926 <libm-alias-float.h>.
2927 (llroundf): Define using libm_alias_float.
2928 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
2929 <libm-alias-float.h>.
2930 (cosf): Define using libm_alias_float.
2931 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
2932 <libm-alias-float.h>.
2933 (llrintf): Define using libm_alias_float.
2934 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
2935 <libm-alias-float.h>.
2936 (llroundf): Define using libm_alias_float.
2937 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
2938 <libm-alias-float.h>.
2939 (sinf): Define using libm_alias_float.
2941 2017-12-04 Florian Weimer <fweimer@redhat.com>
2943 * support/check.h (TEST_COMPARE): Define.
2944 (support_test_compare_failure): Declare.
2945 * support/Makefile (libsupport-routines): Add
2946 support_test_compare_failure.
2947 (tests): Add tst-test_compare.
2948 * support /support_test_compare_failure.c: New file.
2949 * support/tst-test_compare.c: Likewise.
2951 2017-12-04 Mike FABIAN <mfabian@redhat.com>
2954 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
2955 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
2956 available, this rewrite of the collation rules does reproduce
2957 the test file in the same order.
2959 2017-12-04 Mike FABIAN <mfabian@redhat.com>
2962 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
2963 digraphs in the month and day names. Using single code points for
2964 digraphs is deprecated. While there are dedicated Unicode
2965 codepoints, for the digraphs, these are included for backwards
2966 compatibility and modern texts use a sequence of Basic Latin
2967 characters. See: https://www.unicode.org/faq/ligature_digraph.html
2968 This makes the month and day names agree exactly with CLDR now,
2969 CLDR does not use the single code points for the digraphs either.
2971 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
2973 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
2975 2017-12-04 Joseph Myers <joseph@codesourcery.com>
2977 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
2980 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
2982 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
2983 Define only for libc.so.
2985 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
2987 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2988 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
2989 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
2990 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
2991 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2993 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2996 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
2998 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
3001 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
3002 PREINIT_FUNCTION_WEAK is nonzero.
3003 (gmon_initializer): New function. Put procedure label for it in
3004 .init_array section.
3005 (_init): Don't call PREINIT_FUNCTION.
3006 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
3007 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
3008 value when map argument is null.
3010 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
3011 depi instruction from PIC pc-relative sequence.
3012 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
3013 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
3014 (elf_machine_load_address): Likewise.
3015 (elf_machine_runtime_setup): Likewise.
3017 2017-12-02 Joseph Myers <joseph@codesourcery.com>
3019 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
3020 <libm-alias-double.h>.
3021 (logb): Define using libm_alias_double.
3022 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
3023 <libm-alias-double.h>.
3024 (copysign): Define using libm_alias_double.
3025 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
3026 <libm-alias-double.h>.
3027 (llrint): Define using libm_alias_double.
3028 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
3029 <libm-alias-double.h>.
3030 (llround): Define using libm_alias_double.
3031 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
3032 <libm-alias-double.h>.
3033 (lrint): Define using libm_alias_double.
3034 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
3035 <libm-alias-double.h>.
3036 (lround): Define using libm_alias_double.
3037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3038 Include <libm-alias-double.h>.
3039 (copysign): Define using libm_alias_double.
3040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
3041 Include <libm-alias-double.h>.
3042 (llrint): Define using libm_alias_double.
3043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
3044 Include <libm-alias-double.h>.
3045 (llround): Define using libm_alias_double.
3046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
3047 <libm-alias-double.h>.
3048 (logb): Define using libm_alias_double.
3049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
3050 Include <libm-alias-double.h>.
3051 (lrint): Define using libm_alias_double.
3052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
3053 Include <libm-alias-double.h>.
3054 (lround): Define using libm_alias_double.
3055 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
3056 <libm-alias-double.h>.
3057 (llrint): Define using libm_alias_double.
3058 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
3059 <libm-alias-double.h>.
3060 (llround): Define using libm_alias_double.
3061 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
3062 <libm-alias-double.h>.
3063 (llround): Define using libm_alias_double.
3064 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
3065 <libm-alias-double.h>.
3066 (lround): Define using libm_alias_double.
3067 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
3068 <libm-alias-double.h>.
3069 (copysign): Define using libm_alias_double.
3070 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
3071 <libm-alias-double.h>.
3072 (llrint): Define using libm_alias_double.
3073 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
3074 <libm-alias-double.h>.
3075 (llround): Define using libm_alias_double.
3076 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
3077 <libm-alias-double.h>.
3078 (lrint): Define using libm_alias_double.
3079 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
3080 <libm-alias-double.h>.
3081 (lround): Define using libm_alias_double.
3082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
3083 <libm-alias-double.h>.
3084 (copysign): Define using libm_alias_double.
3085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
3086 <libm-alias-double.h>.
3087 (llrint): Define using libm_alias_double.
3089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
3090 <libm-alias-double.h>.
3091 (llround): Define using libm_alias_double.
3093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
3094 <libm-alias-double.h>.
3095 (logb): Define using libm_alias_double.
3096 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
3097 <libm-alias-double.h>.
3098 (copysign): Define using libm_alias_double.
3099 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
3100 <libm-alias-double.h>.
3101 (llrint): Define using libm_alias_double.
3103 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
3104 <libm-alias-double.h>.
3105 (llround): Define using libm_alias_double.
3107 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
3108 <libm-alias-double.h>.
3109 (llround): Define using libm_alias_double.
3111 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
3112 <libm-alias-double.h>.
3113 (copysign): Define using libm_alias_double.
3114 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
3115 <libm-alias-double.h>.
3116 (llrint): Define using libm_alias_double.
3118 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
3119 <libm-alias-double.h>.
3120 (llround): Define using libm_alias_double.
3122 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
3123 <libm-alias-double.h>.
3124 (llrint): Define using libm_alias_double.
3126 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
3127 <libm-alias-double.h>.
3128 (llround): Define using libm_alias_double.
3131 2017-12-01 Joseph Myers <joseph@codesourcery.com>
3133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3134 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
3135 compat symbol based on llround.
3137 * sysdeps/powerpc/power7/fpu/s_logb.c
3138 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
3139 symbol based on __logb, not on logb.
3140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
3141 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
3142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
3143 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
3145 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
3146 (rint): Define using libm_alias_double.
3147 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
3148 <libm-alias-double.h>.
3149 (modf): Define using libm_alias_double.
3150 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
3151 <libm-alias-double.h>.
3152 (ceil): Define using libm_alias_double.
3153 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
3154 <libm-alias-double.h>.
3155 (floor): Define using libm_alias_double.
3156 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
3157 <libm-alias-double.h>.
3158 (nearbyint): Define using libm_alias_double.
3159 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
3160 <libm-alias-double.h>.
3161 (rint): Define using libm_alias_double.
3162 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
3163 <libm-alias-double.h>.
3164 (round): Define using libm_alias_double.
3165 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
3166 <libm-alias-double.h>.
3167 (trunc): Define using libm_alias_double.
3168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
3169 <libm-alias-double.h>.
3170 (ceil): Define using libm_alias_double.
3171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
3172 Include <libm-alias-double.h>.
3173 (floor): Define using libm_alias_double.
3174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
3175 <libm-alias-double.h>.
3176 (modf): Define using libm_alias_double.
3177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
3178 Include <libm-alias-double.h>.
3179 (round): Define using libm_alias_double.
3180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
3181 Include <libm-alias-double.h>.
3182 (trunc): Define using libm_alias_double.
3183 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
3184 <libm-alias-double.h>.
3185 (ceil): Define using libm_alias_double.
3186 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
3187 <libm-alias-double.h>.
3188 (floor): Define using libm_alias_double.
3189 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
3190 <libm-alias-double.h>.
3191 (round): Define using libm_alias_double.
3192 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
3193 <libm-alias-double.h>.
3194 (trunc): Define using libm_alias_double.
3195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
3196 <libm-alias-double.h>.
3197 (ceil): Define using libm_alias_double.
3198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
3199 <libm-alias-double.h>.
3200 (floor): Define using libm_alias_double.
3201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
3202 <libm-alias-double.h>.
3203 (modf): Define using libm_alias_double.
3204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
3205 <libm-alias-double.h>.
3206 (round): Define using libm_alias_double.
3207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
3208 <libm-alias-double.h>.
3209 (trunc): Define using libm_alias_double.
3210 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
3211 <libm-alias-double.h>.
3212 (ceil): Define using libm_alias_double.
3213 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
3214 <libm-alias-double.h>.
3215 (floor): Define using libm_alias_double.
3216 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
3217 <libm-alias-double.h>.
3218 (nearbyint): Define using libm_alias_double.
3219 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
3220 <libm-alias-double.h>.
3221 (rint): Define using libm_alias_double.
3222 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
3223 <libm-alias-double.h>.
3224 (round): Define using libm_alias_double.
3225 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
3226 <libm-alias-double.h>.
3227 (trunc): Define using libm_alias_double.
3228 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
3229 <libm-alias-double.h>.
3230 (ceil): Define using libm_alias_double.
3231 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
3232 <libm-alias-double.h>.
3233 (floor): Define using libm_alias_double.
3234 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
3235 <libm-alias-double.h>.
3236 (round): Define using libm_alias_double.
3237 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
3238 <libm-alias-double.h>.
3239 (trunc): Define using libm_alias_double.
3241 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
3242 (fabs): Define using libm_alias_double.
3243 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
3244 (fma): Define using libm_alias_double.
3245 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
3246 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
3247 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
3248 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
3250 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3252 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
3254 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
3255 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
3256 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
3258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
3261 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
3263 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
3265 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3267 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
3268 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
3269 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
3270 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
3272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3273 (libm-sysdep_routines): Add s_nearbyintf-generic and
3274 s_nearbyint-generic.
3275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
3277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
3278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
3280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
3282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
3284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
3287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3288 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
3289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
3291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
3292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
3294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
3295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
3296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3299 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
3300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
3302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
3303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
3305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
3306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
3307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
3309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3310 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
3311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
3313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
3314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
3316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
3317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
3318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3321 (sysdep_calls): New rule.
3322 (sysdep_routines): Use sysdep_calls as base.
3323 (libm-sysdep_routines): Add generic rule for symbols shared with
3324 libc. Add s_copysign-generic and s_copysign-generic objects.
3325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
3327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
3328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
3330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
3331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
3332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
3334 2017-12-01 Mike FABIAN <mfabian@redhat.com>
3337 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
3338 the list of locales to be built for testing.
3339 * localedata/is_IS.UTF-8.in: New file.
3340 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
3343 2017-12-01 Joseph Myers <joseph@codesourcery.com>
3345 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
3346 <libm-alias-float.h>.
3347 (fabsf): Define using libm_alias_float.
3349 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
3351 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
3353 2017-11-30 Joseph Myers <joseph@codesourcery.com>
3355 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
3356 <libm-alias-float.h>.
3357 (fabsf): Define using libm_alias_float.
3358 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
3359 <libm-alias-float.h>.
3360 (lrintf): Define using libm_alias_float.
3361 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
3362 <libm-alias-float.h>.
3363 (rintf): Define using libm_alias_float.
3365 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
3366 <libm-alias-double.h>.
3367 (fabs): Define using libm_alias_double.
3368 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
3369 <libm-alias-double.h>.
3370 (lrint): Define using libm_alias_double.
3371 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
3372 <libm-alias-double.h>.
3373 (rint): Define using libm_alias_double.
3375 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
3376 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
3377 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
3378 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
3379 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
3380 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
3381 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
3382 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
3383 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
3384 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
3385 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
3386 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
3387 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
3388 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
3389 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
3390 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
3391 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
3392 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
3394 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
3395 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
3396 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
3398 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
3399 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
3400 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
3402 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
3403 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
3404 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
3406 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
3407 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
3408 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
3410 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
3411 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
3412 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
3414 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
3415 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
3416 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
3418 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
3419 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
3421 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
3422 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
3423 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
3425 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
3426 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
3427 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
3428 s_nearbyint_template.c.
3429 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
3430 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
3431 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
3432 s_remquo_template.c.
3433 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
3434 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
3435 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
3437 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
3438 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
3439 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
3441 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
3442 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
3443 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
3444 s_sincos_template.c.
3445 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
3446 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
3447 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
3449 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
3450 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
3451 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
3453 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
3454 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
3455 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
3457 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
3458 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
3459 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
3460 s_atan.c instead of including s_atan.c.
3461 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
3462 s_atanf.c instead of including s_atanf.c.
3463 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
3464 s_atanl.c instead of including s_atanl.c.
3465 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
3466 instead of s_atan.c.
3467 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
3468 instead of s_atanf.c.
3469 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
3470 instead of s_atanl.c.
3472 * scripts/update-copyrights: Do not handle intl/plural.c
3475 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
3478 * configure.ac (BISON): Require to be present.
3479 * configure: Regenerated.
3480 * intl/Makefile (generated): Add plural.c.
3481 [$(BISON) != no]: Make code unconditional.
3482 (plural.c): Change rule to $(objpfx)plural.c.
3483 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
3484 * intl/plural.c: Remove.
3485 * manual/install.texi (Tools for Compilation): Document bison as
3487 * INSTALL: Regenerated.
3489 2017-11-30 Joseph Myers <joseph@codesourcery.com>
3491 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
3492 <libm-alias-double.h>.
3493 (llrint): Define using libm_alias_double.
3494 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
3495 <libm-alias-float.h>.
3496 (llrintf): Define using libm_alias_float.
3497 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
3498 <libm-alias-ldouble.h>.
3499 (llrintl): Define using libm_alias_ldouble.
3501 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
3502 declare_mgen_alias instead of weak_alias.
3503 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
3504 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
3505 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
3507 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3509 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3511 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
3512 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
3513 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
3515 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3516 Add submul_1-generic.
3517 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
3518 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
3519 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
3521 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3522 Add addmul_1-generic.
3523 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
3524 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
3525 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
3527 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3529 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
3530 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
3531 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
3533 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3535 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
3536 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
3537 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
3539 2017-11-30 Mike FABIAN <mfabian@redhat.com>
3541 According to CLDR, collation rules for Serbian and Bosnian
3542 should be the same as for Croatian.
3545 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
3546 and to the list of locales to be built for testing.
3547 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
3548 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
3549 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
3550 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
3552 2017-11-30 Mike FABIAN <mfabian@redhat.com>
3554 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
3555 to make test case pass.
3556 * localedata/hr_HR.UTF-8.in: Add more test strings.
3558 2017-11-30 Mike FABIAN <mfabian@redhat.com>
3560 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
3562 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
3564 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
3565 the list of locales to built for testing.
3566 * localedata/hr_HR.UTF-8.in: New file.
3568 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
3571 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
3573 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
3574 CLDR (except use ligatures for the digraphs, CLDR does not use
3575 the ligatures), add first_workday, some fixes in the date and time
3577 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
3579 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
3580 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
3581 Add int_p_cs_precedes and int_n_cs_precedes.
3582 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
3583 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
3585 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
3586 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
3588 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
3589 and lang_lib. Change postal_fmt.
3591 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
3593 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
3595 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
3596 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
3597 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
3598 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
3599 * sysdeps/generic/setjmpP.h: New file.
3600 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
3601 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
3602 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
3603 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
3604 Add jmp_buf-ssp.sym.
3605 (tests): Add tst-saved_mask-1.
3607 2017-11-30 Arjun Shankar <arjun@redhat.com>
3611 * malloc/malloc.c (__libc_malloc): Use checked_request2size
3612 instead of request2size.
3614 2017-11-30 Joseph Myers <joseph@codesourcery.com>
3616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
3617 (__lllrint): Remove alias.
3618 (lllrint): Likewise.
3619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
3620 (__lllrintf): Likewise.
3621 (lllrintf): Likewise.
3623 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
3624 <libm-alias-float.h>.
3625 (copysignf): Define using libm_alias_float.
3626 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
3627 <libm-alias-float.h>.
3628 (fabsf): Define using libm_alias_float.
3629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3630 Include <libm-alias-float.h>.
3631 (copysignf): Define using libm_alias_float.
3632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
3633 <libm-alias-float.h>.
3634 (fabsf): Define using libm_alias_float.
3635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
3636 <libm-alias-float.h>.
3637 (fdimf): Define using libm_alias_float.
3638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
3639 <libm-alias-float.h>.
3640 (fmaf): Define using libm_alias_float.
3641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
3642 <libm-alias-float.h>.
3643 (llrintf): Define using libm_alias_float.
3644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
3645 Include <libm-alias-float.h>.
3646 (nearbyintf): Define using libm_alias_float.
3647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
3648 <libm-alias-float.h>.
3649 (rintf): Define using libm_alias_float.
3650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
3651 <libm-alias-float.h>.
3652 (llrintf): Define using libm_alias_float.
3653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
3654 <libm-alias-float.h>.
3655 (lrintf): Define using libm_alias_float.
3656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
3657 <libm-alias-float.h>.
3658 (nearbyintf): Define using libm_alias_float.
3659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
3660 <libm-alias-float.h>.
3661 (rintf): Define using libm_alias_float.
3662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
3663 <libm-alias-float.h>.
3664 (ceilf): Define using libm_alias_float.
3665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
3666 <libm-alias-float.h>.
3667 (floorf): Define using libm_alias_float.
3668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
3669 <libm-alias-float.h>.
3670 (fmaf): Define using libm_alias_float.
3671 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
3672 <libm-alias-float.h>.
3673 (lrintf): Define using libm_alias_float.
3674 (llrintf): Likewise.
3675 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
3676 <libm-alias-float.h>.
3677 (nearbyintf): Define using libm_alias_float.
3678 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
3679 <libm-alias-float.h>.
3680 (rintf): Define using libm_alias_float.
3681 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
3682 <libm-alias-float.h>.
3683 (truncf): Define using libm_alias_float.
3684 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
3685 <libm-alias-float.h>.
3686 (copysignf): Define using libm_alias_float.
3687 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
3688 <libm-alias-float.h>.
3689 (fabsf): Define using libm_alias_float.
3690 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
3691 <libm-alias-float.h>.
3692 (lrintf): Define using libm_alias_float.
3693 (llrintf): Likewise.
3694 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
3695 <libm-alias-float.h>.
3696 (nearbyintf): Define using libm_alias_float.
3697 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
3698 <libm-alias-float.h>.
3699 (rintf): Define using libm_alias_float.
3701 2017-11-29 Joseph Myers <joseph@codesourcery.com>
3703 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
3704 <libm-alias-double.h>.
3705 (copysign): Define using libm_alias_double.
3706 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
3707 <libm-alias-double.h>.
3708 (fabs): Define using libm_alias_double.
3709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3710 Include <libm-alias-double.h>.
3711 (copysign): Define using libm_alias_double.
3712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
3713 <libm-alias-double.h>.
3714 (fabs): Define using libm_alias_double.
3715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
3716 <libm-alias-double.h>.
3717 (fdim): Define using libm_alias_double.
3718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
3719 <libm-alias-double.h>.
3720 (fma): Define using libm_alias_double.
3721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
3722 <libm-alias-double.h>.
3723 (llrint): Define using libm_alias_double.
3724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
3725 Include <libm-alias-double.h>.
3726 (nearbyint): Define using libm_alias_double.
3727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
3728 <libm-alias-double.h>.
3729 (rint): Define using libm_alias_double.
3730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
3731 <libm-alias-double.h>.
3732 (fabs): Define using libm_alias_double.
3733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
3734 <libm-alias-double.h>.
3735 (llrint): Define using libm_alias_double.
3736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
3737 <libm-alias-double.h>.
3738 (nearbyint): Define using libm_alias_double.
3739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
3740 <libm-alias-double.h>.
3741 (rint): Define using libm_alias_double.
3742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
3743 <libm-alias-double.h>.
3744 (ceil): Define using libm_alias_double.
3745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
3746 <libm-alias-double.h>.
3747 (floor): Define using libm_alias_double.
3748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
3749 <libm-alias-double.h>.
3750 (fma): Define using libm_alias_double.
3751 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
3752 <libm-alias-double.h>.
3753 (lrint): Define using libm_alias_double.
3755 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
3756 <libm-alias-double.h>.
3757 (nearbyint): Define using libm_alias_double.
3758 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
3759 <libm-alias-double.h>.
3760 (rint): Define using libm_alias_double.
3761 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
3762 <libm-alias-double.h>.
3763 (trunc): Define using libm_alias_double.
3764 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
3765 <libm-alias-double.h>.
3766 (copysign): Define using libm_alias_double.
3767 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
3768 <libm-alias-double.h>.
3769 (fabs): Define using libm_alias_double.
3770 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
3771 <libm-alias-double.h>.
3772 (lrint): Define using libm_alias_double.
3774 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
3775 <libm-alias-double.h>.
3776 (nearbyint): Define using libm_alias_double.
3777 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
3778 <libm-alias-double.h>.
3779 (rint): Define using libm_alias_double.
3782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
3784 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
3786 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3787 SPARC --disable-multi-arch glibc variants.
3789 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
3790 <libm-alias-float.h>.
3791 (exp2f): Define using libm_alias_float, or libm_alias_float_other
3793 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
3794 <libm-alias-float.h>.
3795 (exp2f): Define using libm_alias_float, or libm_alias_float_other
3797 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
3798 <libm-alias-float.h>.
3799 (exp2f): Define using libm_alias_float, or libm_alias_float_other
3801 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
3802 <libm-alias-float.h>.
3803 (exp2f): Define using libm_alias_float, or libm_alias_float_other
3805 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
3806 <libm-alias-float.h>.
3807 (exp2f): Define using libm_alias_float, or libm_alias_float_other
3809 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
3810 <libm-alias-float.h>.
3811 (ceilf): Define using libm_alias_float.
3812 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
3813 <libm-alias-float.h>.
3814 (floorf): Define using libm_alias_float.
3815 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
3816 <libm-alias-float.h>.
3817 (fmaf): Define using libm_alias_float.
3818 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
3819 <libm-alias-float.h>.
3820 (nearbyintf): Define using libm_alias_float.
3821 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
3822 <libm-alias-float.h>.
3823 (rintf): Define using libm_alias_float.
3824 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
3825 <libm-alias-float.h>.
3826 (truncf): Define using libm_alias_float.
3827 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
3828 (copysignf): Define using libm_alias_float.
3829 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
3830 (cosf): Define using libm_alias_float.
3831 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
3832 (fabsf): Define using libm_alias_float.
3833 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
3834 (fmaxf): Define using libm_alias_float.
3835 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
3836 (fminf): Define using libm_alias_float.
3837 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
3838 (llrintf): Define using libm_alias_float.
3839 [!__ILP32__] (lrintf): Likewise.
3840 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
3841 (sincosf): Define using libm_alias_float.
3842 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
3843 (sinf): Define using libm_alias_float.
3844 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
3845 (lrintf): Define using libm_alias_float.
3847 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
3848 <libm-alias-double.h>.
3849 (atan): Define using libm_alias_double.
3850 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
3851 <libm-alias-double.h>.
3852 (ceil): Define using libm_alias_double.
3853 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
3854 <libm-alias-double.h>.
3855 (floor): Define using libm_alias_double.
3856 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
3857 <libm-alias-double.h>.
3858 (fma): Define using libm_alias_double.
3859 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
3860 <libm-alias-double.h>.
3861 (nearbyint): Define using libm_alias_double.
3862 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
3863 <libm-alias-double.h>.
3864 (rint): Define using libm_alias_double.
3865 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
3866 <libm-alias-double.h>.
3867 (sin): Define using libm_alias_double.
3869 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
3870 <libm-alias-double.h>.
3871 (tan): Define using libm_alias_double.
3872 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
3873 <libm-alias-double.h>.
3874 (trunc): Define using libm_alias_double.
3875 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
3876 (copysign): Define using libm_alias_double.
3877 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
3878 (fabs): Define using libm_alias_double.
3879 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
3880 (fmax): Define using libm_alias_double.
3881 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
3882 (fmin): Define using libm_alias_double.
3883 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
3884 (llrint): Define using libm_alias_double.
3885 [!__ILP32__] (lrint): Likewise.
3886 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
3887 (lrint): Define using libm_alias_double.
3889 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3892 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
3894 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
3895 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
3896 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
3897 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
3898 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
3899 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3901 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3902 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
3904 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
3905 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
3906 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
3907 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
3908 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
3909 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3911 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3912 (libm-sysdep_routines): Add s_nearbyint-generic and
3913 s_nearbyintf-generic objects.
3914 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
3915 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
3916 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
3917 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
3918 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
3919 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
3921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
3922 Add s_finitef-generic and s_finite-generic objects.
3923 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
3924 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
3925 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
3926 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
3927 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
3928 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
3930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
3931 Add s_isinff-generic and s_isinf-generic objects.
3932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
3933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
3934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
3935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
3936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
3937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
3940 Add s_isnanf-generic and s_isnan-generic objects.
3941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
3942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
3943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
3944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
3945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
3946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3948 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
3950 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
3952 (sysdep_routines): Use sysdep_calls as base.
3953 (libm-sysdep_routines): Add generic rule for symbols shared with
3954 libc. Add s_signbit-generic and s_signbitf-generic objects.
3955 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
3956 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
3957 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
3958 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
3959 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
3960 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3962 2017-11-29 Joseph Myers <joseph@codesourcery.com>
3964 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
3965 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
3966 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
3967 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
3968 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
3969 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
3970 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
3971 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
3972 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
3973 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
3974 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
3975 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
3976 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
3978 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
3979 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
3981 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
3982 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
3983 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
3984 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
3985 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
3986 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
3987 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
3988 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
3989 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
3990 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
3992 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
3994 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
3995 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
3996 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
3997 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
3998 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
3999 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
4000 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
4001 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
4002 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
4003 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
4004 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
4005 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
4006 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
4007 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
4008 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
4009 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
4010 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
4011 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
4012 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
4014 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
4015 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
4016 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
4017 * sysdeps/ia64/fpu/w_lgammaf_main.c
4018 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
4019 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
4021 2017-11-28 Mike FABIAN <mfabian@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
4024 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
4025 * localedata/fr_CA.UTF-8.in: New file with test data for backward
4027 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
4029 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
4030 * localedata/locales/de_DE (LC_COLLATE): Likewise.
4031 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
4032 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
4033 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
4034 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
4035 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
4036 instead of “ifdef DIACRIT_BACKWARD”.
4038 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4040 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
4041 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
4042 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
4043 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
4044 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
4045 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
4046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
4051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
4052 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4053 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4054 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
4055 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
4056 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
4057 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
4058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4059 ($(have-as-vis3) == yes): Remove conditional.
4060 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
4062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
4064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
4066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
4068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
4070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
4071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
4072 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
4073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
4074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
4075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
4076 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
4077 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
4079 2017-11-29 Joseph Myers <joseph@codesourcery.com>
4081 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
4082 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
4083 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
4084 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
4085 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
4086 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
4087 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
4088 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
4089 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
4090 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
4091 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
4092 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
4093 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
4094 libm_alias_double_r.
4095 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
4097 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
4098 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
4099 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
4100 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
4101 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
4102 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
4103 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
4104 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
4105 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
4106 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
4107 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
4109 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
4111 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
4112 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
4113 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
4114 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
4115 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
4116 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
4117 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
4118 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
4119 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
4120 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
4121 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
4122 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
4123 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
4124 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
4125 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
4126 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
4127 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
4128 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
4130 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
4131 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
4132 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
4133 * sysdeps/ia64/fpu/w_lgamma_main.c
4134 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
4135 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
4137 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
4139 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
4140 address of $global$ into %dp register earlier. Use pc-relative
4141 instruction sequence for PIC case.
4143 2017-11-28 Joseph Myers <joseph@codesourcery.com>
4145 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
4146 (asinhf): Define using libm_alias_float.
4147 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
4148 (atanf): Define using libm_alias_float.
4149 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
4150 (cbrtf): Define using libm_alias_float.
4151 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
4152 (ceilf): Define using libm_alias_float.
4153 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
4154 (copysignf): Define using libm_alias_float.
4155 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
4156 (expm1f): Define using libm_alias_float.
4157 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
4158 (fabsf): Define using libm_alias_float.
4159 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
4160 (floorf): Define using libm_alias_float.
4161 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
4162 (fmaxf): Define using libm_alias_float.
4163 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
4164 (fminf): Define using libm_alias_float.
4165 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
4166 (frexpf): Define using libm_alias_float.
4167 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
4168 (llrintf): Define using libm_alias_float.
4169 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
4170 (logbf): Define using libm_alias_float.
4171 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
4172 (lrintf): Define using libm_alias_float.
4173 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
4174 (nearbyintf): Define using libm_alias_float.
4175 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
4176 (remquof): Define using libm_alias_float.
4177 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
4178 (rintf): Define using libm_alias_float.
4179 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
4180 (truncf): Define using libm_alias_float.
4181 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
4182 <libm-alias-float.h>.
4183 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4185 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
4186 <libm-alias-float.h>.
4187 (expf): Define using libm_alias_float, or libm_alias_float_other
4189 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
4190 <libm-alias-float.h>.
4191 (log2f): Define using libm_alias_float, or libm_alias_float_other
4193 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
4194 <libm-alias-float.h>.
4195 (logf): Define using libm_alias_float, or libm_alias_float_other
4197 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
4198 <libm-alias-float.h>.
4199 (powf): Define using libm_alias_float, or libm_alias_float_other
4201 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
4202 <libm-alias-float.h>.
4203 (cosf): Define using libm_alias_float.
4204 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
4205 <libm-alias-float.h>.
4206 (sincosf): Define using libm_alias_float.
4207 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
4208 <libm-alias-float.h>.
4209 (sinf): Define using libm_alias_float.
4210 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
4211 (fmaxf): Define using libm_alias_float.
4212 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
4213 (fminf): Define using libm_alias_float.
4214 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
4215 <libm-alias-float.h>.
4216 (fmaf): Define using libm_alias_float.
4218 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
4219 (asinh): Define using libm_alias_double.
4220 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
4221 (atan): Define using libm_alias_double.
4222 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
4223 (cbrt): Define using libm_alias_double.
4224 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
4225 (ceil): Define using libm_alias_double.
4226 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
4227 (copysign): Define using libm_alias_double.
4228 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
4229 (expm1): Define using libm_alias_double.
4230 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
4231 (fabs): Define using libm_alias_double.
4232 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
4233 (fdim): Define using libm_alias_double.
4234 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
4235 (floor): Define using libm_alias_double.
4236 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
4237 (fmax): Define using libm_alias_double.
4238 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
4239 (fmin): Define using libm_alias_double.
4240 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
4241 (frexp): Define using libm_alias_double.
4242 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
4243 (llrint): Define using libm_alias_double.
4244 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
4245 (logb): Define using libm_alias_double.
4246 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
4247 (lrint): Define using libm_alias_double.
4248 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
4249 (nearbyint): Define using libm_alias_double.
4250 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
4251 (remquo): Define using libm_alias_double.
4252 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
4253 (rint): Define using libm_alias_double.
4254 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
4255 (trunc): Define using libm_alias_double.
4256 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
4257 (fmax): Define using libm_alias_double.
4258 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
4259 (fmin): Define using libm_alias_double.
4260 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
4261 (fma): Define using libm_alias_double.
4263 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
4266 * elf/dl-hwcaps.c (ROUND): Removed.
4267 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
4268 and ELF_NOTE_NEXT_OFFSET.
4269 * elf/dl-load.c (ROUND): Removed.
4270 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
4271 * elf/readelflib.c (ROUND): Removed.
4272 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
4273 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
4274 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
4275 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
4277 2017-11-28 Joseph Myers <joseph@codesourcery.com>
4279 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
4280 [!__fmaf] (fmaf): Define using libm_alias_float.
4282 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
4283 [!__fma] (fma): Define using libm_alias_double.
4284 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
4286 2017-11-28 Mike FABIAN <mfabian@redhat.com>
4289 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
4290 and implement the collation rules for cs from CLDR on top of that.
4291 * Makefile: Add cs_CZ.UTF-8 to test-input.
4292 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
4294 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
4296 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
4298 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
4299 Icarus Sparry <icarus.w.sparry@intel.com>
4301 * benchtests/Makefile:Add BENCHSET to allow subsets of
4302 benchmarks to be run.
4303 * benchtests/README: Add documentation for: Running subsets of
4306 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
4308 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
4309 range of tests names.
4311 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
4312 result from property and remove "max", min" and "mean" from
4313 required properties based on benchtests/bench-skeleton.c.
4315 2017-11-28 Florian Weimer <fweimer@redhat.com>
4318 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
4319 due to Internet requirement.
4320 * posix/Makefile (tests): Remove tst-getaddrinfo4,
4322 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
4324 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4326 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4327 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
4328 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
4329 (sysdep_routines): Add memset-ultra1.
4330 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
4332 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
4333 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
4334 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
4335 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
4336 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
4337 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
4338 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
4339 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4341 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
4343 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
4344 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
4345 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
4346 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
4347 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
4348 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
4349 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
4351 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4352 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
4353 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
4354 (sysdep_routines): Add memcpy-ultra1.
4355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
4356 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
4358 2017-11-28 Joseph Myers <joseph@codesourcery.com>
4360 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
4361 (cfloat_versions): Take function argument without trailing 'f'.
4362 Call libm_alias_float_other.
4363 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
4364 * sysdeps/alpha/fpu/cargf.c: Likewise.
4365 * sysdeps/alpha/fpu/cimagf.c: Likewise.
4366 * sysdeps/alpha/fpu/conjf.c: Likewise.
4367 * sysdeps/alpha/fpu/crealf.c: Likewise.
4368 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
4369 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
4370 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
4371 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4372 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
4373 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4374 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
4375 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
4376 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
4377 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
4378 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
4379 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
4380 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4381 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4382 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
4383 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4384 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4385 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
4386 (clog10f): Use libm_alias_float_other.
4387 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
4388 (ceilf): Define using libm_alias_float.
4389 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
4390 (copysignf): Define using libm_alias_float.
4391 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
4392 (fabsf): Define using libm_alias_float.
4393 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
4394 (floorf): Define using libm_alias_float.
4395 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
4396 (fmaxf): Define using libm_alias_float.
4397 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
4398 (fminf): Define using libm_alias_float.
4399 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
4400 (lrintf): Define using libm_alias_float.
4401 (llrintf): Likewise.
4402 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
4403 (lroundf): Define using libm_alias_float.
4404 (llroundf): Likewise.
4405 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
4406 (rintf): Define using libm_alias_float.
4407 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
4408 (truncf): Define using libm_alias_float.
4410 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
4411 (ceilf): Define using libm_alias_float.
4412 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
4413 (floorf): Define using libm_alias_float.
4414 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
4415 (fmaf): Define using libm_alias_float.
4416 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
4417 (fmaxf): Define using libm_alias_float.
4418 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
4419 (fminf): Define using libm_alias_float.
4420 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
4421 (llrintf): Define using libm_alias_float.
4422 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
4423 (llroundf): Define using libm_alias_float.
4424 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
4425 (lrintf): Define using libm_alias_float.
4426 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
4427 (lroundf): Define using libm_alias_float.
4428 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
4429 <libm-alias-float.h>.
4430 (nearbyintf): Define using libm_alias_float.
4431 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
4432 (rintf): Define using libm_alias_float.
4433 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
4434 (roundf): Define using libm_alias_float.
4435 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
4436 (truncf): Define using libm_alias_float.
4438 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
4439 (ceil): Define using libm_alias_double.
4440 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
4441 (copysign): Define using libm_alias_double.
4442 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
4443 (fabs): Define using libm_alias_double.
4444 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
4445 (floor): Define using libm_alias_double.
4446 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
4447 (fmax): Define using libm_alias_double.
4448 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
4449 (fmin): Define using libm_alias_double.
4450 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
4451 (lrint): Define using libm_alias_double.
4453 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
4454 (lround): Define using libm_alias_double.
4455 (llround): Likewise.
4456 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
4457 (rint): Define using libm_alias_double.
4458 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
4459 (trunc): Define using libm_alias_double.
4461 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
4462 (libm_alias_double_r): Add semicolon after weak_alias call.
4464 2017-11-27 Joseph Myers <joseph@codesourcery.com>
4466 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
4467 (ceil): Define using libm_alias_double.
4468 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
4469 (floor): Define using libm_alias_double.
4470 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
4471 (fma): Define using libm_alias_double.
4472 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
4473 (fmax): Define using libm_alias_double.
4474 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
4475 (fmin): Define using libm_alias_double.
4476 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
4477 (llrint): Define using libm_alias_double.
4478 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
4479 (llround): Define using libm_alias_double.
4480 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
4481 (lrint): Define using libm_alias_double.
4482 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
4483 (lround): Define using libm_alias_double.
4484 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
4485 (nearbyint): Define using libm_alias_double.
4486 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
4487 (rint): Define using libm_alias_double.
4488 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
4489 (round): Define using libm_alias_double.
4490 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
4491 (trunc): Define using libm_alias_double.
4493 2017-11-27 Florian Weimer <fweimer@redhat.com>
4495 * sysdeps/unix/sysv/linux/mlock2.c: New file.
4496 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
4497 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
4498 (tests): Add tst-mlock2.
4499 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
4500 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
4501 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
4502 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
4503 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
4504 for mlock. Document mlock2.
4506 2017-11-27 Joseph Myers <joseph@codesourcery.com>
4508 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
4509 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
4511 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
4513 * sysdeps/x86/Makeconfig: New file.
4514 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
4515 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4516 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
4517 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4518 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
4519 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4520 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
4522 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4523 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
4524 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4525 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
4526 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4527 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
4528 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4529 * manual/math.texi (Mathematics): Document support for _Float64x.
4530 * math/Versions (GLIBC_2.27): Add _Float64x functions.
4531 * stdlib/Versions (GLIBC_2.27): Likewise.
4532 * wcsmbs/Versions (GLIBC_2.27): Likewise.
4533 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
4534 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4535 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4536 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4537 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4538 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4539 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4540 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4541 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4542 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4543 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4548 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4549 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4550 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4551 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4552 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4553 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4554 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4555 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4556 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4557 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4558 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4559 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4560 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4561 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4563 2017-11-27 Andreas Schwab <schwab@suse.de>
4565 * elf/Makefile (dl-routines): Add dl-sort-maps.
4566 * elf/dl-sort-maps.c: New file.
4567 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
4568 (_dl_sort_maps): Declare.
4569 * elf/dl-fini.c (_dl_sort_fini): Remove.
4570 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
4571 * elf/dl-close.c (_dl_close_worker): Likewise.
4572 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
4574 * elf/dl-open.c (dl_open_worker): Likewise.
4576 2017-11-24 Joseph Myers <joseph@codesourcery.com>
4578 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
4579 using libm_alias_float128.
4580 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
4582 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
4584 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
4585 (setpayloadsigf128): Likewise.
4586 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
4588 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
4591 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
4592 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
4593 -mfloat128 to CFLAGS.
4595 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
4597 (CFLAGS-libm-test-support-float64x.c): New variable.
4598 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
4599 $(f128-loader-link) to gnulib-tests.
4601 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
4602 (libm_alias_float128_other_r): If
4603 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
4605 (libm_alias_float128_r): Add semicolon after weak_alias call.
4606 * sysdeps/generic/libm-alias-ldouble.h
4607 (libm_alias_ldouble_other_r_f128): New macro.
4608 (libm_alias_ldouble_other_r_f64x): Likewise.
4609 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
4610 and libm_alias_ldouble_other_r_f64x.
4611 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
4612 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
4613 (libm_alias_ldouble_other_r_f128): New macro.
4614 (libm_alias_ldouble_other_r_f64x): Likewise.
4615 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
4616 and libm_alias_ldouble_other_r_f64x.
4618 * stdlib/strfroml.c: Always include <stdlib.h>.
4619 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
4620 undefine as macro and define as weak alias.
4621 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
4622 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
4624 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
4625 Define and later undefine as macro and define as weak alias.
4627 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
4628 Define and later undefine as macro. Define as weak alias if
4630 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
4631 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
4632 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
4633 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
4634 Define and later undefine as macro. Define as weak alias if
4636 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
4637 Define and later undefine as macro. Define as weak alias if
4639 * sysdeps/ieee754/float128/strtof128_l.c
4640 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
4641 Define and later undefine as macro. Define as weak alias if
4643 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
4644 Define and later undefine as macro. Define as weak alias if
4646 * sysdeps/ieee754/ldbl-128/strtold_l.c
4647 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
4648 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
4649 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
4650 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
4651 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
4652 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
4653 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
4654 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
4655 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
4656 * sysdeps/ieee754/ldbl-96/strtold_l.c
4657 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
4658 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
4659 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
4660 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
4662 * math/test-float64x.h: New file.
4663 * math/Makefile (type-float64x-yes): New variable.
4664 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
4666 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
4667 function-like macro.
4668 (min_of_type_): Likewise.
4669 (min_of_type_l): Likewise.
4670 (min_of_type_f128): Likewise.
4671 (min_of_type): Pass () as last argument of __MATH_TG.
4673 * stdlib/tst-strtod-round-skeleton.c
4674 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
4677 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
4678 for combinations of long double with _Float64 and _Float64x.
4680 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
4681 (__DECL_SIMD_cosf32): Likewise.
4682 (__DECL_SIMD_cosf64): Likewise.
4683 (__DECL_SIMD_cosf32x): Likewise.
4684 (__DECL_SIMD_cosf64x): Likewise.
4685 (__DECL_SIMD_cosf128x): Likewise.
4686 (__DECL_SIMD_sinf16): Likewise.
4687 (__DECL_SIMD_sinf32): Likewise.
4688 (__DECL_SIMD_sinf64): Likewise.
4689 (__DECL_SIMD_sinf32x): Likewise.
4690 (__DECL_SIMD_sinf64x): Likewise.
4691 (__DECL_SIMD_sinf128x): Likewise.
4692 (__DECL_SIMD_sincosf16): Likewise.
4693 (__DECL_SIMD_sincosf32): Likewise.
4694 (__DECL_SIMD_sincosf64): Likewise.
4695 (__DECL_SIMD_sincosf32x): Likewise.
4696 (__DECL_SIMD_sincosf64x): Likewise.
4697 (__DECL_SIMD_sincosf128x): Likewise.
4698 (__DECL_SIMD_logf16): Likewise.
4699 (__DECL_SIMD_logf32): Likewise.
4700 (__DECL_SIMD_logf64): Likewise.
4701 (__DECL_SIMD_logf32x): Likewise.
4702 (__DECL_SIMD_logf64x): Likewise.
4703 (__DECL_SIMD_logf128x): Likewise.
4704 (__DECL_SIMD_expf16): Likewise.
4705 (__DECL_SIMD_expf32): Likewise.
4706 (__DECL_SIMD_expf64): Likewise.
4707 (__DECL_SIMD_expf32x): Likewise.
4708 (__DECL_SIMD_expf64x): Likewise.
4709 (__DECL_SIMD_expf128x): Likewise.
4710 (__DECL_SIMD_powf16): Likewise.
4711 (__DECL_SIMD_powf32): Likewise.
4712 (__DECL_SIMD_powf64): Likewise.
4713 (__DECL_SIMD_powf32x): Likewise.
4714 (__DECL_SIMD_powf64x): Likewise.
4715 (__DECL_SIMD_powf128x): Likewise.
4717 * stdlib/Versions (libc): Move entries for wcstof128 and
4719 * wcsmbs/Versions (libc): ... here.
4720 Include <float128-abi.h>.
4722 2017-11-24 Florian Weimer <fweimer@redhat.com>
4724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4726 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
4727 <bits/mman-shared.h>.
4728 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
4730 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
4731 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
4732 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
4733 <bits/mman-shared.h>.
4735 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4738 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
4739 posix_memalign/free.
4740 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
4742 2017-11-22 Mike FABIAN <mfabian@redhat.com>
4745 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
4746 and implement the collation rules for pl from CLDR on top of that.
4747 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
4748 of locales to be built for testing.
4749 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
4751 2017-11-23 Joseph Myers <joseph@codesourcery.com>
4753 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
4754 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
4755 libm_alias_ldouble_other.
4756 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
4757 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
4758 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
4759 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
4760 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
4761 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
4762 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
4763 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
4764 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
4765 libm_alias_ldouble_r.
4766 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
4767 libm_alias_ldouble_other.
4768 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
4770 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
4771 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
4772 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
4773 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
4774 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
4775 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
4776 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
4778 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
4779 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
4780 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
4782 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
4784 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
4785 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
4786 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
4788 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
4789 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
4790 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
4791 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
4792 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
4793 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
4794 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
4795 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
4796 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
4797 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
4798 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
4800 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
4801 libm_alias_ldouble_other.
4802 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
4803 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
4804 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
4806 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
4807 libm_alias_ldouble_other.
4808 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
4809 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
4810 * sysdeps/ia64/fpu/w_lgammal_main.c
4811 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
4812 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
4814 2017-11-23 Florian Weimer <fweimer@redhat.com>
4816 * malloc/malloc.c (tcache_thread_shutdown): Rename from
4817 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
4818 alike. Remove freeres marker.
4819 * malloc/arena.c (arena_thread_freeres): Call
4820 tcache_thread_shutdown.
4822 2017-11-23 Florian Weimer <fweimer@redhat.com>
4825 Export nscd hash function as __nss_hash.
4826 * include/nss.h (__nss_hash): Declare.
4827 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
4829 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
4830 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
4832 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
4833 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
4834 * nss/Makefiles (routines): Add nss_hash.
4835 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
4836 * nss/nss_hash.c: Rename from nis/nis_hash.c.
4837 (__nss_hash): Rename from __nis_hash. Define hidden alias.
4838 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
4840 2017-11-23 Florian Weimer <fweimer@redhat.com>
4843 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
4844 Return error code, not -1.
4845 * signal/tst-sigwait-eintr.c: New file.
4846 * signal/Makefile (tests): Add tst-sigwait-eintr.
4848 2017-11-23 Florian Weimer <fweimer@redhat.com>
4850 Linux: Add memfd_create system call wrapper
4851 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
4853 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
4854 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
4855 [__USE_GNU] (memfd_create): Declare.
4856 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
4857 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
4858 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
4859 * sysdeps/unix/sysv/linux/**.abilist: Update.
4860 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
4862 2017-11-22 Joseph Myers <joseph@codesourcery.com>
4864 * localedata/gen-locale.sh: Fix typo in variable name.
4866 * resolv/res_debug.c (p_secstodate): Condition definition on
4867 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
4868 directly as __p_secstodate, and as a compat symbol. Do not use
4869 libresolv_hidden_def.
4870 * resolv/resolv.h (p_secstodate): Remove macro and function
4872 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
4874 * include/resolv.h (__p_secstodate): Do not use
4875 libresolv_hidden_proto.
4876 * resolv/Makefile (tests): Move tst-p_secstodate to ....
4877 (tests-internal): ... here.
4878 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
4879 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
4880 and declare and use __p_secstodate and use compat_symbol_reference
4882 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
4883 implementation returning 77.
4886 * resolv/res_debug.c: Include <libc-diag.h>.
4887 (p_secstodate): Assert time_t at least as wide as u_long. On
4888 overflow, use integer seconds since the epoch as output, or use
4889 "<overflow>" as output and set errno to EOVERFLOW if integer
4890 seconds since the epoch would be 14 or more characters.
4891 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
4893 * resolv/tst-p_secstodate.c: New file.
4894 * resolv/Makefile (tests): Add tst-p_secstodate.
4895 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
4897 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
4898 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4899 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
4901 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
4903 * posix/regcomp.c (init_word_char): Add comments.
4905 2017-11-22 Joseph Myers <joseph@codesourcery.com>
4908 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
4909 strlen to compute length of ut_user and set trailing NUL byte of
4912 2017-11-21 Mike FABIAN <mfabian@redhat.com>
4915 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
4916 using “copy "iso14651_t1"” and then implementing the
4917 collation rules for lv from CLDR on top of that.
4918 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
4919 of locales to be built for testing.
4920 * lv_LV.UTF-8.in: New file with test data to test the Latvian
4923 2017-11-21 Joseph Myers <joseph@codesourcery.com>
4925 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
4926 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
4927 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
4928 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
4929 [__USE_MISC] (MADV_HWPOISON): New macro.
4930 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
4932 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4934 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
4935 -Wmissing-braces on GCC 4.9.
4937 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
4939 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
4940 * sysdeps/s390/s390-32/start.S (_start): Likewise
4941 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
4942 (thread_start): Likewise.
4943 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
4944 (thread_start): Likewise.
4945 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
4946 (__makecontext_ret): Likewise.
4947 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
4948 (__makecontext_ret): Likewise.
4950 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
4952 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
4953 __wcschrnul): Remove attribute_hidden.
4955 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
4957 regex: don't assume uint64_t or uint32_t
4958 This avoids -Werror=overflow errors for 32-bit systems in
4959 the 64-bit case. Problem reported by Joseph Myers in:
4960 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
4961 Also, when this code is used in Gnulib it ports to platforms
4962 that lack uint64_t and uint32_t. The C standard doesn't guarantee
4963 them, and on some 32-bit compilers there is no uint64_t.
4964 Problem reported by Gianluigi Tiesi in:
4965 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
4966 * posix/regcomp.c (init_word_char): Don't assume that the types
4967 uint64_t and uint32_t exist. Adapted from Gnulib patch
4968 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
4969 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
4971 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
4973 * sysdeps/aarch64/memset-reg.h: New file.
4974 * sysdeps/aarch64/memset.S: Use it.
4975 (__memset): Rename to MEMSET macro.
4976 [ZVA_MACRO]: Use zva_macro.
4977 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4978 Add memset_generic and memset_falkor.
4979 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4980 (__libc_ifunc_impl_list): Add memset ifuncs.
4981 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
4982 local variable zva_size.
4983 * sysdeps/aarch64/multiarch/memset.c: New file.
4984 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
4985 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
4986 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
4987 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
4988 (DCZID_DZP_MASK): New macro.
4989 (DCZID_BS_MASK): Likewise.
4990 (init_cpu_features): Read and set zva_size.
4991 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
4992 (struct cpu_features): New member zva_size.
4994 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
4995 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
4996 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
4998 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
4999 backwards. Fix timing computation.
5000 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
5001 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
5002 on memset by N at a time. Fix timing computation.
5004 2017-11-20 Florian Weimer <fweimer@redhat.com>
5006 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
5007 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
5009 2017-11-19 Florian Weimer <fweimer@redhat.com>
5011 manual: Document mprotect
5012 * manual/memory.texi (Memory Protection): New section.
5013 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
5014 documentation of PROT_* flags and reference the Memory Protection
5017 2017-11-19 Florian Weimer <fweimer@redhat.com>
5019 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
5020 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
5021 (Scatter-Gather): ... to here. Remove misleading comment.
5023 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
5025 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
5028 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
5029 when /proc/<pid>/setgroups does not exist.
5031 2017-11-18 Florian Weimer <fweimer@redhat.com>
5033 * sysdeps/unix/sysv/linux/tst-ttyname.c
5034 (become_root_in_mount_ns): Remove.
5035 (do_in_chroot_1): Call support_enter_mount_namespace.
5036 (do_in_chroot_2): Likewise.
5037 (do_test): Call support_become_root early.
5039 2017-11-18 Florian Weimer <fweimer@redhat.com>
5041 * support/namespace.h (support_enter_mount_namespace): Declare.
5042 * support/support_enter_mount_namespace.c: New file.
5043 * support/Makefile (libsupport-routines): Add
5044 support_enter_mount_namespace.
5046 2017-11-18 Florian Weimer <fweimer@redhat.com>
5048 * support/temp_file.c (support_create_temp_directory): Use
5049 test_dir and do not rely on the presence of the XXXXXX suffix.
5050 * support/temp_file.h (support_create_temp_directory): Update
5052 * support/tst-xreadlink.c (do_test): Adjust.
5053 * support/support_chroot.c (support_chroot_create): Likewise.
5055 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5057 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
5059 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
5062 2017-11-17 Joseph Myers <joseph@codesourcery.com>
5064 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
5065 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
5066 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
5067 (ceill): Define using libm_alias_ldouble.
5068 * sysdeps/x86_64/fpu/s_copysignl.S: Include
5069 <libm-alias-ldouble.h>.
5070 (copysignl): Define using libm_alias_ldouble.
5071 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
5072 (fabsl): Define using libm_alias_ldouble.
5073 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
5074 (floorl): Define using libm_alias_ldouble.
5075 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
5076 (fmaxl): Define using libm_alias_ldouble.
5077 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
5078 (fminl): Define using libm_alias_ldouble.
5079 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
5080 (llrintl): Define using libm_alias_ldouble.
5082 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
5083 <libm-alias-ldouble.h>.
5084 (nearbyintl): Define using libm_alias_ldouble.
5085 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
5086 (truncl): Define using libm_alias_ldouble.
5087 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
5088 <libm-alias-ldouble.h>.
5089 (lrintl): Define using libm_alias_ldouble.
5091 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
5092 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
5093 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
5094 (asinhl): Define using libm_alias_ldouble.
5095 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
5096 (atanl): Define using libm_alias_ldouble.
5097 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
5098 (cbrtl): Define using libm_alias_ldouble.
5099 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
5100 (ceill): Define using libm_alias_ldouble.
5101 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
5102 (copysignl): Define using libm_alias_ldouble.
5103 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
5104 (fabsl): Define using libm_alias_ldouble.
5105 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
5106 (floorl): Define using libm_alias_ldouble.
5107 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
5108 (fmaxl): Define using libm_alias_ldouble.
5109 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
5110 (fminl): Define using libm_alias_ldouble.
5111 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
5112 (frexpl): Define using libm_alias_ldouble.
5113 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
5114 (llrintl): Define using libm_alias_ldouble.
5115 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
5116 (logbl): Define using libm_alias_ldouble.
5117 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
5118 (lrintl): Define using libm_alias_ldouble.
5119 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
5120 (nearbyintl): Define using libm_alias_ldouble.
5121 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
5122 (nextafterl): Define using libm_alias_ldouble.
5123 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
5124 (remquol): Define using libm_alias_ldouble.
5125 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
5126 (rintl): Define using libm_alias_ldouble.
5127 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
5128 (truncl): Define using libm_alias_ldouble.
5129 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
5130 (fmaxl): Define using libm_alias_ldouble.
5131 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
5132 (fminl): Define using libm_alias_ldouble.
5134 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
5135 to C syntax instead of availability and properties of types.
5136 * bits/floatn.h [!__ASSEMBLER]: Likewise.
5137 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
5138 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
5139 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
5140 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
5141 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
5143 2017-11-17 Florian Weimer <fweimer@redhat.com>
5145 support_become_root: Enable file creation in namespaces.
5146 * support/support_become_root.c (setup_mapping): New function.
5147 (support_become_root): Call it.
5149 2017-11-17 Joseph Myers <joseph@codesourcery.com>
5151 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
5154 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5156 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
5157 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
5159 2017-11-16 Joseph Myers <joseph@codesourcery.com>
5161 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
5163 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5166 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5168 * INSTALL: Fix botched up regeneration.
5170 * NEWS: Update sourceare link to https.
5171 * configure.ac: Likewise.
5172 * crypt/md5test-giant.c: Likewise.
5173 * dlfcn/bug-atexit1.c: Likewise.
5174 * dlfcn/bug-atexit2.c: Likewise.
5175 * localedata/README: Likewise.
5176 * malloc/tst-mallocfork.c: Likewise.
5177 * manual/install.texi: Likewise.
5178 * nptl/tst-pthread-getattr.c: Likewise.
5179 * stdio-common/tst-fgets.c: Likewise.
5180 * stdio-common/tst-fwrite.c: Likewise.
5181 * sunrpc/Makefile: Likewise.
5182 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
5183 * wcsmbs/tst-mbrtowc2.c: Likewise.
5184 * configure: Regenerate.
5185 * INSTALL: Regenerate.
5187 2017-11-15 Martin Sebor <msebor@redhat.com>
5189 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
5190 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
5191 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
5193 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
5196 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
5197 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
5200 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
5201 Defer is_pty check until end of the function.
5202 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5205 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
5206 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
5207 (ttyname): Likewise.
5208 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
5209 (__ttyname_r): Likewise.
5211 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
5214 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
5216 * manual/terminal.texi (Is It a Terminal):
5217 Mention ENODEV for ttyname and ttyname_r.
5219 2017-11-15 Joseph Myers <joseph@codesourcery.com>
5221 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
5224 * sysdeps/unix/sysv/linux/bits/mman-linux.h
5225 [__USE_MISC] (MADV_WIPEONFORK): New macro.
5226 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5227 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
5228 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5229 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5231 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5233 * signal/sigrelse.c (sigrelse): Optimize implementation.
5235 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
5236 (__sigpause): Rely on __sigsuspend to implement single thread
5237 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
5239 2017-11-15 Joseph Myers <joseph@codesourcery.com>
5241 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5242 kernel version to 4.14.
5244 2017-11-15 Steve Ellcey <sellcey@cavium.com>
5247 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
5248 Check if ifname is too long.
5250 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
5252 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
5254 2017-11-15 Mike FABIAN <mfabian@redhat.com>
5256 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
5257 was accidentally lost.
5259 2017-11-15 Mike FABIAN <mfabian@redhat.com>
5261 * localedata/locales/az_IR: Add standard copyright header.
5263 2017-11-15 Florian Weimer <fweimer@redhat.com>
5266 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
5267 not just the top one. Output a new "subheaps" statistic.
5269 2017-11-15 Florian Weimer <fweimer@redhat.com>
5272 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
5273 under the per-arena lock.
5274 * malloc/Makefile (tests): Add tst-malloc_info.
5275 (tst-malloc_info): Link with libpthread.
5276 * malloc/tst-malloc_info.c: New file.
5278 2017-11-15 Joseph Myers <joseph@codesourcery.com>
5281 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
5282 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
5283 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
5284 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
5285 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
5286 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
5287 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
5288 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
5289 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
5290 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
5291 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
5292 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
5293 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
5294 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
5295 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
5296 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
5297 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
5298 (__floating_type): Likewise.
5299 (__real_integer_type): Likewise.
5300 (__complex_integer_type): Likewise.
5301 (__expr_is_real): Likewise.
5302 (__tgmath_real_type_sub): Likewise.
5303 (__tgmath_real_type): Likewise.
5304 (__tgmath_complex_type_sub): Likewise.
5305 (__tgmath_complex_type): Likewise.
5306 (__TGMATH_F128): Likewise.
5307 (__TGMATH_CF128): Likewise.
5308 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
5310 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
5311 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
5313 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
5315 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
5316 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5317 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5318 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
5320 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5321 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
5323 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
5324 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
5325 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
5327 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
5328 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
5329 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
5333 2017-11-14 Joseph Myers <joseph@codesourcery.com>
5335 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
5336 for stpncpy calls for GCC 8.
5337 (test_strncat): Disable -Wstringop-truncation warning for strncat
5338 calls for GCC 8. Disable -Wstringop-overflow= warning for one
5339 strncat call for GCC 7.
5340 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
5342 (test_memcmp): Use memcpy instead of strncpy for calls not copying
5345 * string/bug-strncat1.c: Include <libc-diag.h>.
5346 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
5348 2017-11-13 Claude Paroz <claude@2xlibre.net>
5351 * localedata/locales/aa_DJ: Improved readibility by replacing
5352 <Uxxxx> sequences in the ASCII printable range by their ASCII
5353 character equivalents.
5354 * localedata/locales/aa_ER: Likewise.
5355 * localedata/locales/aa_ER@saaho: Likewise.
5356 * localedata/locales/aa_ET: Likewise.
5357 * localedata/locales/af_ZA: Likewise.
5358 * localedata/locales/agr_PE: Likewise.
5359 * localedata/locales/ak_GH: Likewise.
5360 * localedata/locales/am_ET: Likewise.
5361 * localedata/locales/anp_IN: Likewise.
5362 * localedata/locales/ar_AE: Likewise.
5363 * localedata/locales/ar_BH: Likewise.
5364 * localedata/locales/ar_DZ: Likewise.
5365 * localedata/locales/ar_EG: Likewise.
5366 * localedata/locales/ar_IN: Likewise.
5367 * localedata/locales/ar_IQ: Likewise.
5368 * localedata/locales/ar_JO: Likewise.
5369 * localedata/locales/ar_KW: Likewise.
5370 * localedata/locales/ar_LB: Likewise.
5371 * localedata/locales/ar_LY: Likewise.
5372 * localedata/locales/ar_MA: Likewise.
5373 * localedata/locales/ar_OM: Likewise.
5374 * localedata/locales/ar_QA: Likewise.
5375 * localedata/locales/ar_SA: Likewise.
5376 * localedata/locales/ar_SD: Likewise.
5377 * localedata/locales/ar_SS: Likewise.
5378 * localedata/locales/ar_SY: Likewise.
5379 * localedata/locales/ar_TN: Likewise.
5380 * localedata/locales/ar_YE: Likewise.
5381 * localedata/locales/as_IN: Likewise.
5382 * localedata/locales/ast_ES: Likewise.
5383 * localedata/locales/ayc_PE: Likewise.
5384 * localedata/locales/az_AZ: Likewise.
5385 * localedata/locales/az_IR: Likewise.
5386 * localedata/locales/be_BY: Likewise.
5387 * localedata/locales/be_BY@latin: Likewise.
5388 * localedata/locales/bem_ZM: Likewise.
5389 * localedata/locales/ber_DZ: Likewise.
5390 * localedata/locales/ber_MA: Likewise.
5391 * localedata/locales/bg_BG: Likewise.
5392 * localedata/locales/bhb_IN: Likewise.
5393 * localedata/locales/bho_IN: Likewise.
5394 * localedata/locales/bi_VU: Likewise.
5395 * localedata/locales/bn_BD: Likewise.
5396 * localedata/locales/bn_IN: Likewise.
5397 * localedata/locales/bo_CN: Likewise.
5398 * localedata/locales/bo_IN: Likewise.
5399 * localedata/locales/br_FR: Likewise.
5400 * localedata/locales/brx_IN: Likewise.
5401 * localedata/locales/bs_BA: Likewise.
5402 * localedata/locales/byn_ER: Likewise.
5403 * localedata/locales/ca_AD: Likewise.
5404 * localedata/locales/ca_ES: Likewise.
5405 * localedata/locales/ca_FR: Likewise.
5406 * localedata/locales/ca_IT: Likewise.
5407 * localedata/locales/ce_RU: Likewise.
5408 * localedata/locales/chr_US: Likewise.
5409 * localedata/locales/cmn_TW: Likewise.
5410 * localedata/locales/crh_UA: Likewise.
5411 * localedata/locales/cs_CZ: Likewise.
5412 * localedata/locales/csb_PL: Likewise.
5413 * localedata/locales/cv_RU: Likewise.
5414 * localedata/locales/cy_GB: Likewise.
5415 * localedata/locales/da_DK: Likewise.
5416 * localedata/locales/de_AT: Likewise.
5417 * localedata/locales/de_BE: Likewise.
5418 * localedata/locales/de_CH: Likewise.
5419 * localedata/locales/de_DE: Likewise.
5420 * localedata/locales/de_IT: Likewise.
5421 * localedata/locales/de_LI: Likewise.
5422 * localedata/locales/de_LU: Likewise.
5423 * localedata/locales/doi_IN: Likewise.
5424 * localedata/locales/dv_MV: Likewise.
5425 * localedata/locales/dz_BT: Likewise.
5426 * localedata/locales/el_CY: Likewise.
5427 * localedata/locales/el_GR: Likewise.
5428 * localedata/locales/en_AG: Likewise.
5429 * localedata/locales/en_AU: Likewise.
5430 * localedata/locales/en_BW: Likewise.
5431 * localedata/locales/en_CA: Likewise.
5432 * localedata/locales/en_DK: Likewise.
5433 * localedata/locales/en_GB: Likewise.
5434 * localedata/locales/en_HK: Likewise.
5435 * localedata/locales/en_IE: Likewise.
5436 * localedata/locales/en_IL: Likewise.
5437 * localedata/locales/en_IN: Likewise.
5438 * localedata/locales/en_NG: Likewise.
5439 * localedata/locales/en_NZ: Likewise.
5440 * localedata/locales/en_PH: Likewise.
5441 * localedata/locales/en_SG: Likewise.
5442 * localedata/locales/en_US: Likewise.
5443 * localedata/locales/en_ZA: Likewise.
5444 * localedata/locales/en_ZM: Likewise.
5445 * localedata/locales/en_ZW: Likewise.
5446 * localedata/locales/eo: Likewise.
5447 * localedata/locales/es_AR: Likewise.
5448 * localedata/locales/es_BO: Likewise.
5449 * localedata/locales/es_CL: Likewise.
5450 * localedata/locales/es_CO: Likewise.
5451 * localedata/locales/es_CR: Likewise.
5452 * localedata/locales/es_CU: Likewise.
5453 * localedata/locales/es_DO: Likewise.
5454 * localedata/locales/es_EC: Likewise.
5455 * localedata/locales/es_ES: Likewise.
5456 * localedata/locales/es_GT: Likewise.
5457 * localedata/locales/es_HN: Likewise.
5458 * localedata/locales/es_MX: Likewise.
5459 * localedata/locales/es_NI: Likewise.
5460 * localedata/locales/es_PA: Likewise.
5461 * localedata/locales/es_PE: Likewise.
5462 * localedata/locales/es_PR: Likewise.
5463 * localedata/locales/es_PY: Likewise.
5464 * localedata/locales/es_SV: Likewise.
5465 * localedata/locales/es_US: Likewise.
5466 * localedata/locales/es_UY: Likewise.
5467 * localedata/locales/es_VE: Likewise.
5468 * localedata/locales/et_EE: Likewise.
5469 * localedata/locales/eu_ES: Likewise.
5470 * localedata/locales/eu_ES@euro: Likewise.
5471 * localedata/locales/fa_IR: Likewise.
5472 * localedata/locales/ff_SN: Likewise.
5473 * localedata/locales/fi_FI: Likewise.
5474 * localedata/locales/fil_PH: Likewise.
5475 * localedata/locales/fo_FO: Likewise.
5476 * localedata/locales/fr_BE: Likewise.
5477 * localedata/locales/fr_CA: Likewise.
5478 * localedata/locales/fr_CH: Likewise.
5479 * localedata/locales/fr_FR: Likewise.
5480 * localedata/locales/fr_LU: Likewise.
5481 * localedata/locales/fur_IT: Likewise.
5482 * localedata/locales/fy_DE: Likewise.
5483 * localedata/locales/fy_NL: Likewise.
5484 * localedata/locales/ga_IE: Likewise.
5485 * localedata/locales/gd_GB: Likewise.
5486 * localedata/locales/gez_ER: Likewise.
5487 * localedata/locales/gez_ET: Likewise.
5488 * localedata/locales/gl_ES: Likewise.
5489 * localedata/locales/gu_IN: Likewise.
5490 * localedata/locales/gv_GB: Likewise.
5491 * localedata/locales/ha_NG: Likewise.
5492 * localedata/locales/hak_TW: Likewise.
5493 * localedata/locales/he_IL: Likewise.
5494 * localedata/locales/hi_IN: Likewise.
5495 * localedata/locales/hif_FJ: Likewise.
5496 * localedata/locales/hne_IN: Likewise.
5497 * localedata/locales/hr_HR: Likewise.
5498 * localedata/locales/hsb_DE: Likewise.
5499 * localedata/locales/ht_HT: Likewise.
5500 * localedata/locales/hu_HU: Likewise.
5501 * localedata/locales/hy_AM: Likewise.
5502 * localedata/locales/i18n: Likewise.
5503 * localedata/locales/ia_FR: Likewise.
5504 * localedata/locales/id_ID: Likewise.
5505 * localedata/locales/ig_NG: Likewise.
5506 * localedata/locales/ik_CA: Likewise.
5507 * localedata/locales/is_IS: Likewise.
5508 * localedata/locales/it_CH: Likewise.
5509 * localedata/locales/it_IT: Likewise.
5510 * localedata/locales/iu_CA: Likewise.
5511 * localedata/locales/ja_JP: Likewise.
5512 * localedata/locales/ka_GE: Likewise.
5513 * localedata/locales/kk_KZ: Likewise.
5514 * localedata/locales/kl_GL: Likewise.
5515 * localedata/locales/kn_IN: Likewise.
5516 * localedata/locales/ko_KR: Likewise.
5517 * localedata/locales/kok_IN: Likewise.
5518 * localedata/locales/ks_IN: Likewise.
5519 * localedata/locales/ks_IN@devanagari: Likewise.
5520 * localedata/locales/ku_TR: Likewise.
5521 * localedata/locales/kw_GB: Likewise.
5522 * localedata/locales/ky_KG: Likewise.
5523 * localedata/locales/lb_LU: Likewise.
5524 * localedata/locales/lg_UG: Likewise.
5525 * localedata/locales/li_BE: Likewise.
5526 * localedata/locales/li_NL: Likewise.
5527 * localedata/locales/lij_IT: Likewise.
5528 * localedata/locales/ln_CD: Likewise.
5529 * localedata/locales/lo_LA: Likewise.
5530 * localedata/locales/lt_LT: Likewise.
5531 * localedata/locales/lv_LV: Likewise.
5532 * localedata/locales/lzh_TW: Likewise.
5533 * localedata/locales/mag_IN: Likewise.
5534 * localedata/locales/mai_IN: Likewise.
5535 * localedata/locales/mg_MG: Likewise.
5536 * localedata/locales/mhr_RU: Likewise.
5537 * localedata/locales/mi_NZ: Likewise.
5538 * localedata/locales/mk_MK: Likewise.
5539 * localedata/locales/ml_IN: Likewise.
5540 * localedata/locales/mn_MN: Likewise.
5541 * localedata/locales/mni_IN: Likewise.
5542 * localedata/locales/mr_IN: Likewise.
5543 * localedata/locales/ms_MY: Likewise.
5544 * localedata/locales/mt_MT: Likewise.
5545 * localedata/locales/my_MM: Likewise.
5546 * localedata/locales/nan_TW: Likewise.
5547 * localedata/locales/nan_TW@latin: Likewise.
5548 * localedata/locales/nb_NO: Likewise.
5549 * localedata/locales/nds_DE: Likewise.
5550 * localedata/locales/nds_NL: Likewise.
5551 * localedata/locales/ne_NP: Likewise.
5552 * localedata/locales/nhn_MX: Likewise.
5553 * localedata/locales/niu_NU: Likewise.
5554 * localedata/locales/niu_NZ: Likewise.
5555 * localedata/locales/nl_AW: Likewise.
5556 * localedata/locales/nl_BE: Likewise.
5557 * localedata/locales/nl_NL: Likewise.
5558 * localedata/locales/nn_NO: Likewise.
5559 * localedata/locales/nr_ZA: Likewise.
5560 * localedata/locales/nso_ZA: Likewise.
5561 * localedata/locales/oc_FR: Likewise.
5562 * localedata/locales/om_ET: Likewise.
5563 * localedata/locales/om_KE: Likewise.
5564 * localedata/locales/or_IN: Likewise.
5565 * localedata/locales/os_RU: Likewise.
5566 * localedata/locales/pa_IN: Likewise.
5567 * localedata/locales/pa_PK: Likewise.
5568 * localedata/locales/pap_AW: Likewise.
5569 * localedata/locales/pap_CW: Likewise.
5570 * localedata/locales/pl_PL: Likewise.
5571 * localedata/locales/ps_AF: Likewise.
5572 * localedata/locales/pt_BR: Likewise.
5573 * localedata/locales/pt_PT: Likewise.
5574 * localedata/locales/quz_PE: Likewise.
5575 * localedata/locales/raj_IN: Likewise.
5576 * localedata/locales/ro_RO: Likewise.
5577 * localedata/locales/ru_RU: Likewise.
5578 * localedata/locales/ru_UA: Likewise.
5579 * localedata/locales/rw_RW: Likewise.
5580 * localedata/locales/sa_IN: Likewise.
5581 * localedata/locales/sat_IN: Likewise.
5582 * localedata/locales/sc_IT: Likewise.
5583 * localedata/locales/sd_IN: Likewise.
5584 * localedata/locales/sd_IN@devanagari: Likewise.
5585 * localedata/locales/se_NO: Likewise.
5586 * localedata/locales/sgs_LT: Likewise.
5587 * localedata/locales/shs_CA: Likewise.
5588 * localedata/locales/si_LK: Likewise.
5589 * localedata/locales/sid_ET: Likewise.
5590 * localedata/locales/sk_SK: Likewise.
5591 * localedata/locales/sl_SI: Likewise.
5592 * localedata/locales/sm_WS: Likewise.
5593 * localedata/locales/so_DJ: Likewise.
5594 * localedata/locales/so_ET: Likewise.
5595 * localedata/locales/so_KE: Likewise.
5596 * localedata/locales/so_SO: Likewise.
5597 * localedata/locales/sq_AL: Likewise.
5598 * localedata/locales/sq_MK: Likewise.
5599 * localedata/locales/sr_ME: Likewise.
5600 * localedata/locales/sr_RS: Likewise.
5601 * localedata/locales/sr_RS@latin: Likewise.
5602 * localedata/locales/ss_ZA: Likewise.
5603 * localedata/locales/st_ZA: Likewise.
5604 * localedata/locales/sv_FI: Likewise.
5605 * localedata/locales/sv_SE: Likewise.
5606 * localedata/locales/sw_KE: Likewise.
5607 * localedata/locales/sw_TZ: Likewise.
5608 * localedata/locales/szl_PL: Likewise.
5609 * localedata/locales/ta_IN: Likewise.
5610 * localedata/locales/ta_LK: Likewise.
5611 * localedata/locales/tcy_IN: Likewise.
5612 * localedata/locales/te_IN: Likewise.
5613 * localedata/locales/tg_TJ: Likewise.
5614 * localedata/locales/th_TH: Likewise.
5615 * localedata/locales/the_NP: Likewise.
5616 * localedata/locales/ti_ER: Likewise.
5617 * localedata/locales/ti_ET: Likewise.
5618 * localedata/locales/tig_ER: Likewise.
5619 * localedata/locales/tk_TM: Likewise.
5620 * localedata/locales/tl_PH: Likewise.
5621 * localedata/locales/tn_ZA: Likewise.
5622 * localedata/locales/to_TO: Likewise.
5623 * localedata/locales/tpi_PG: Likewise.
5624 * localedata/locales/tr_CY: Likewise.
5625 * localedata/locales/tr_TR: Likewise.
5626 * localedata/locales/ts_ZA: Likewise.
5627 * localedata/locales/tt_RU: Likewise.
5628 * localedata/locales/tt_RU@iqtelif: Likewise.
5629 * localedata/locales/ug_CN: Likewise.
5630 * localedata/locales/uk_UA: Likewise.
5631 * localedata/locales/unm_US: Likewise.
5632 * localedata/locales/ur_IN: Likewise.
5633 * localedata/locales/ur_PK: Likewise.
5634 * localedata/locales/uz_UZ: Likewise.
5635 * localedata/locales/uz_UZ@cyrillic: Likewise.
5636 * localedata/locales/ve_ZA: Likewise.
5637 * localedata/locales/vi_VN: Likewise.
5638 * localedata/locales/wa_BE: Likewise.
5639 * localedata/locales/wae_CH: Likewise.
5640 * localedata/locales/wal_ET: Likewise.
5641 * localedata/locales/wo_SN: Likewise.
5642 * localedata/locales/xh_ZA: Likewise.
5643 * localedata/locales/yi_US: Likewise.
5644 * localedata/locales/yo_NG: Likewise.
5645 * localedata/locales/yue_HK: Likewise.
5646 * localedata/locales/yuw_PG: Likewise.
5647 * localedata/locales/zh_CN: Likewise.
5648 * localedata/locales/zh_HK: Likewise.
5649 * localedata/locales/zh_SG: Likewise.
5650 * localedata/locales/zh_TW: Likewise.
5651 * localedata/locales/zu_ZA: Likewise.
5653 2017-11-13 Florian Weimer <fweimer@redhat.com>
5655 * support/next_to_fault.h, support/next_to_fault.c: New files.
5656 * support/Makefile (libsupport-routines): Add next_to_fault.
5657 * resolv/tst-inet_pton.c (struct next_to_fault)
5658 (next_to_fault_allocate, next_to_fault_free): Remove.
5659 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
5661 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
5663 * elf/dl-support.c: Include <dl-procruntime.c>.
5664 * include/link.h: Include <link_map.h>.
5665 * sysdeps/generic/dl-procruntime.c: New file.
5666 * sysdeps/generic/link_map.h: Likewise.
5667 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
5668 the writable ld.so namespace.
5670 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
5672 timezone: pacify GCC -Wstringop-truncation
5673 Problem reported by Martin Sebor in:
5674 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
5675 * timezone/zic.c (writezone): Use memcpy, not strncpy.
5677 2017-11-12 Florian Weimer <fweimer@redhat.com>
5679 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
5681 (tests): Add tst-xreadlink.
5682 * support/support.h (xstrndup): Declare.
5683 * support/xunistd.h (xunlink, xreadlink): Declare.
5684 * support/temp_file.h (support_create_temp_directory): Declare.
5685 * support/temp_file.c (support_create_temp_directory): New function.
5686 * support/support_chroot.c (support_chroot_create): Use it.
5687 * support/xreadlink.c: New file.
5688 * support/xstrndup.c: Likewise.
5689 * support/xunlink.c: Likewise.
5690 * support/tst-xreadlink.c: Likewise.
5692 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
5694 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
5696 2017-11-11 Florian Weimer <fweimer@redhat.com>
5700 * resolv/res_comp.c (printable_string, binary_hnok)
5701 (binary_leading_dash): New functions.
5702 (res_hnok): Reimplement using these functions and ns_name_pton.
5703 (res_ownok): Likewise.
5704 (res_mailok): Reimplement using printable_string, ns_name_pton and
5706 (res_dnok): Reimplement using printable_string and ns_name_pton.
5707 * resolv/tst-res_hnok.c (tests): Add additional tests.
5708 (LETTERDIGITS, PRINTABLE): Define.
5709 (do_test): Adjust one_char results.
5711 2017-11-11 Florian Weimer <fweimer@redhat.com>
5714 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
5715 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
5717 2017-11-11 Florian Weimer <fweimer@redhat.com>
5719 * resolv/tst-ns_name_pton.c: New file.
5720 * resolv/Makefile (tests): Add tst-ns_name_pton.
5721 (tst-ns_name_pton): Link against libresolv.
5723 2017-11-11 Florian Weimer <fweimer@redhat.com>
5725 * resolv/tst-res_hnok.c: New file.
5726 * resolv/Makefile (tests): Add tst-res_hnok.
5727 (tst-res_hnok): Link against libresolv.
5729 2017-11-11 Florian Weimer <fweimer@redhat.com>
5731 * resolv/tst-resolv-network.c: Use test framework instead explicit
5734 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
5736 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
5738 [!_ISOMAC] (STR_HELPER): New.
5739 [!_ISOMAC] (STR): Likewise.
5740 [!_ISOMAC] (TEST_SIZE): Likewise.
5741 [!_ISOMAC] (TEST_ALIGN): Likewise.
5742 [!_ISOMAC] (TEST_OFFSET): Likewise.
5743 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
5744 field offsets of jmp_buf as well as sigjmp_buf.
5745 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
5746 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
5747 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
5748 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
5749 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
5750 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
5751 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
5752 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
5753 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
5754 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
5756 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
5758 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
5759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
5761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
5763 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
5764 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
5765 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
5766 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
5767 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
5768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
5770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
5772 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
5773 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
5774 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
5776 2017-11-07 Joseph Myers <joseph@codesourcery.com>
5779 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5780 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
5781 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5782 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
5783 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5784 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
5785 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5786 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
5787 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5788 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
5789 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5790 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
5791 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5792 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
5793 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5794 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
5795 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5796 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
5797 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5798 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
5799 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5800 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
5801 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5802 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
5803 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5804 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
5805 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5806 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
5807 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5808 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
5809 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5810 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
5811 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5812 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
5813 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5814 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
5815 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5816 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
5817 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5818 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
5819 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5820 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
5821 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5822 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
5823 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5824 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
5825 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5826 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
5827 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5828 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
5829 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5830 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
5831 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5832 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
5833 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5834 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
5835 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5836 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
5837 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5838 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
5839 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5840 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
5841 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5842 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
5843 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5844 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
5845 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5846 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
5847 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5848 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
5849 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5850 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
5851 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5852 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
5853 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5854 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
5855 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5856 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
5857 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5858 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
5859 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5860 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
5861 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5862 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
5863 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5864 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
5865 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5866 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
5868 * stdlib/tst-strtod.h (F16): New macro.
5874 (IF_FLOAT16): Likewise.
5875 (IF_FLOAT32): Likewise.
5876 (IF_FLOAT64): Likewise.
5877 (IF_FLOAT32X): Likewise.
5878 (IF_FLOAT64X): Likewise.
5879 (IF_FLOAT128X): Likewise.
5880 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
5881 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
5882 (STRTOD_TEST_FOREACH): Likewise.
5883 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
5884 (CHOOSE_f64): Likewise.
5885 (CHOOSE_f32x): Likewise.
5886 (CHOOSE_f64x): Likewise.
5888 2017-11-07 Andreas Schwab <schwab@suse.de>
5890 * nptl/Makefile (tests-internal): Remove tst-typesizes.
5892 2017-11-07 Mike FABIAN <mfabian@redhat.com>
5895 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
5897 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
5900 2017-11-07 Claude Paroz <claude@2xlibre.net>
5903 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
5905 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
5907 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
5910 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5913 * nptl/allocatestack.c (allocate_stack): Check if
5914 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
5915 __PTHREAD_MUTEX_HAVE_PREV is defined.
5916 * nptl/descr.h (pthread): Likewise.
5917 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5919 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5920 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5921 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
5922 * sysdeps/nptl/bits/thread-shared-types.h
5923 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
5925 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
5926 of __WORDSIZE for internal layout.
5927 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
5928 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
5929 instead of __WORDSIZE whether to use an union for __spins and __list
5931 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
5933 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
5934 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
5936 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
5937 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5939 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5940 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5942 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5943 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5945 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
5946 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5948 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
5949 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5951 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
5952 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5954 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
5955 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5957 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
5958 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5960 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
5961 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5963 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
5964 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5966 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
5967 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5969 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
5970 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5972 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
5973 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5975 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
5976 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
5979 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
5981 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
5982 checks for expected input type size.
5983 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
5984 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5986 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5987 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
5988 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5989 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
5990 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
5991 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
5992 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
5993 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
5994 superflous runtime assert check.
5995 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
5997 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
5999 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6001 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
6003 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
6005 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
6007 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
6008 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
6009 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6011 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6013 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6015 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
6017 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6019 * nptl/pthread_attr_setinheritsched.c
6020 (__pthread_attr_setinheritsched): Likewise.
6021 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
6023 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
6025 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
6026 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
6027 __old_pthread_attr_setstack): Likewise.
6028 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6030 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6032 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
6034 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6035 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6037 * nptl/tst-typesizes.c: Remove file.
6039 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
6040 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
6041 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
6042 checks for internal pthread_mutex_t offsets.
6043 * sysdeps/aarch64/nptl/pthread-offsets.h
6044 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
6045 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
6046 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
6047 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
6048 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
6049 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
6050 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
6051 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
6052 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
6053 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
6054 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
6055 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
6056 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
6057 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
6058 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
6059 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
6060 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
6061 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
6063 2017-11-07 Florian Weimer <fweimer@redhat.com>
6065 * bits/mman-linux.h: Move ...
6066 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
6068 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
6071 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6073 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
6074 Redefine STRNLEN as __strnlen_power8.
6076 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6078 * signal/sighold.c (sighold): Optimize implementation.
6080 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
6081 __NR_rt_sigqueueinfo.
6083 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6085 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
6086 assume __NR_rt_sigtimedwait.
6087 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
6088 and add LIBC_CANCEL_HANDLED for cancellation marking.
6089 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6091 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
6092 (sysdeps_routines): Add memchr_noneon.
6093 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
6094 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
6095 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
6096 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
6097 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
6098 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
6099 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
6101 * sysdeps/arm/arm-ifunc.h: New file.
6102 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
6103 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
6104 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
6105 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
6106 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
6107 (__memcpy_neon): Avoid create hidden alias.
6108 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
6109 (__memcpy_vfp): Likewise.
6110 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
6111 (sysdep_routines): Add memcpy_arm.
6112 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
6114 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
6117 * Makerules (make-link-multidir): New.
6118 * config.make.in (multidir): New.
6119 * configure.ac (libc_cv_multidir): New. AC_SUBST.
6120 * configure: Regenerated.
6121 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
6122 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
6123 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
6126 2017-11-06 Joseph Myers <joseph@codesourcery.com>
6129 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
6130 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
6132 2017-11-04 Mike FABIAN <mfabian@redhat.com>
6134 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
6137 2017-11-04 Florian Weimer <fweimer@redhat.com>
6139 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
6141 2017-11-03 Joseph Myers <joseph@codesourcery.com>
6143 * math/math.h [__HAVE_DISTINCT_FLOAT16
6144 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
6145 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
6146 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
6147 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
6148 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
6149 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
6150 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
6151 (__MATH_TG_F32): New macro.
6152 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
6153 (__MATH_TG_F64X): Likewise.
6154 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
6155 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
6157 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
6159 * po/de.po: Update translations.
6160 * po/ru.po: Likewise.
6162 2017-11-03 Florian Weimer <fweimer@redhat.com>
6164 * manual/filesys.texi (Hard Links): Document linkat.
6166 2017-11-03 Joseph Myers <joseph@codesourcery.com>
6168 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
6169 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
6170 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
6171 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
6172 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
6173 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
6174 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
6175 the same as _Float128.
6176 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
6177 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
6178 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
6181 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
6183 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
6185 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
6187 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6188 (strtof32x): Likewise.
6189 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6190 (strtof64x): Likewise.
6191 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6192 (strtof128x): Likewise.
6193 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6194 (strfromf16): Likewise.
6195 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6196 (strfromf32): Likewise.
6197 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6198 (strfromf64): Likewise.
6199 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6200 (strfromf32x): Likewise.
6201 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6202 (strfromf64x): Likewise.
6203 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6204 (strfromf128x): Likewise.
6205 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
6206 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
6207 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
6208 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
6209 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
6210 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
6212 2017-11-03 Richard Henderson <rth@twiddle.net>
6214 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
6216 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6218 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
6220 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6222 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
6223 DT_TLSDESC_GOT initialization.
6224 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
6225 (_dl_tlsdesc_resolve_hold): Likewise.
6226 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
6227 (_dl_tlsdesc_resolve_hold): Likewise.
6228 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
6229 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
6231 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6233 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
6235 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6238 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
6239 non-lazily for R_ARM_TLS_DESC.
6241 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6244 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
6245 R_ARM_TLS_DESC case.
6246 (elf_machine_lazy_rel): Remove the prelink check.
6248 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6250 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
6251 DT_TLSDESC_GOT initialization.
6252 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
6253 (_dl_tlsdesc_resolve_rela): Likewise.
6254 (_dl_tlsdesc_resolve_hold): Likewise.
6255 (_dl_tlsdesc_undefweak): Remove ldar.
6256 (_dl_tlsdesc_dynamic): Likewise.
6257 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
6258 (_dl_tlsdesc_resolve_rela): Likewise.
6259 (_dl_tlsdesc_resolve_hold): Likewise.
6260 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
6261 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
6262 (_dl_tlsdesc_resolve_rela): Likewise.
6263 (_dl_tlsdesc_resolve_hold): Likewise.
6265 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6267 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
6268 binding and initialization non-lazily for R_AARCH64_TLSDESC.
6270 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6272 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
6273 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6275 2017-11-02 Joseph Myers <joseph@codesourcery.com>
6277 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
6279 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
6280 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
6281 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
6282 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
6283 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
6284 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
6285 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
6286 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
6287 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
6288 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
6289 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
6291 2017-11-02 Mike FABIAN <mfabian@redhat.com>
6294 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
6295 * localedata/locales/tpi_PG: Add standard header.
6297 2017-11-02 Florian Weimer <fweimer@redhat.com>
6299 test-errno-linux: quotactl can fail with EPERM in containers.
6300 * sysdeps/unix/sysv/linux/test-errno-linux.c
6301 (LIST, LIST_FORWARD): New macros.
6302 (check_error_in_list): New function.
6303 (test_wrp_rv): Accept list of permitted error codes.
6304 (test_wrp_rv2): Remove.
6305 (test_wrp): Call test_wrp_rv with list of error codes.
6306 (test_wrp2): Accept list of error codes.
6307 (do_test): Adjust. Allow EPERM for quotactl.
6309 2017-11-02 Florian Weimer <fweimer@redhat.com>
6311 * stdio-common/bug16.c (do_test): Use array_length.
6312 * stdio-common/errlist.c (_sys_nerr): Likewise.
6313 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
6314 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
6315 * stdio-common/psiginfo.c (psiginfo): Use array_length.
6316 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
6317 (do_test): Use array_length.
6318 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
6319 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
6320 * stdio-common/tst-printf-round.c (do_test): Likewise.
6321 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
6322 (CHECK): Use array_length.
6323 * stdio-common/tstdiomisc.c (t3, F): Likewise.
6324 * stdio-common/tstscanf.c (main): Likewise.
6325 * stdio-common/vfprintf.c (process_string_arg): Likewise.
6327 2017-11-02 Florian Weimer <fweimer@redhat.com>
6329 Add array_length and array_end macros.
6330 * include/array_length.h: New file.
6332 2017-11-02 Florian Weimer <fweimer@redhat.com>
6335 * posix/tst-glob-tilde.c (do_noescape): New variable.
6336 (one_test): Process it.
6337 (do_test): Set do_noescape. Add unescaping test case.
6339 2017-11-01 Joseph Myers <joseph@codesourcery.com>
6342 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
6343 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
6344 with appropriate macros defined and undefined.
6345 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
6346 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6347 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
6348 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6349 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
6350 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6351 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
6352 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6353 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
6354 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6357 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
6358 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
6359 that for long double. Do not condition define and undefine of
6360 _Mdouble_complex_ on [__CFLOAT128].
6362 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
6364 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
6365 of <sysdeps/generic/sysdep.h>.
6366 (ALIGNARG): Removed.
6367 (ASM_SIZE_DIRECTIVE): Likewise.
6370 (ENTRY_CHK): Likewise.
6371 (END_CHK): Likewise.
6372 (syscall_error): Likewise.
6374 (PSEUDO_END): Likewise.
6376 (atom_text_section): Likewise.
6377 * sysdeps/x86/sysdep.h: New file.
6378 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
6379 of <sysdeps/generic/sysdep.h>.
6380 (ALIGNARG): Removed.
6381 (ASM_SIZE_DIRECTIVE): Likewise.
6384 (ENTRY_CHK): Likewise.
6385 (END_CHK): Likewise.
6386 (syscall_error): Likewise.
6388 (PSEUDO_END): Likewise.
6390 (atom_text_section): Likewise.
6392 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
6394 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
6395 category of LC_CTYPE set to "i18n:2012".
6396 * localedata/locales/i18n_ctype: Regenerate.
6398 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
6400 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
6401 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
6402 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6403 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6405 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
6406 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
6407 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
6408 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
6410 2017-10-31 Joseph Myers <joseph@codesourcery.com>
6413 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
6415 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
6417 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
6419 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6420 (CMPLXF32X): Likewise.
6421 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6422 (CMPLXF64X): Likewise.
6423 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6424 (CMPLXF128X): Likewise.
6427 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
6428 (__MATH_EVAL_FMT2): Define to add 0.0f.
6430 2017-10-31 Alan Modra <amodra@gmail.com>
6432 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
6434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
6435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
6436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
6439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
6440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
6441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
6442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
6443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
6444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
6447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
6448 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
6449 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
6450 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
6451 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6452 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
6453 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
6454 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6455 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6456 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6457 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6458 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6459 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6460 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6461 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6462 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
6463 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
6464 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6465 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6466 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6467 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6468 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
6469 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6470 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6471 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
6472 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
6473 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6474 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
6475 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
6476 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6477 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6478 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6479 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6480 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6481 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
6482 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6483 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6484 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6485 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
6486 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
6487 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6488 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6489 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6490 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6491 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6492 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6493 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6494 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6495 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6496 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6497 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6498 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
6499 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6500 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
6501 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
6502 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
6504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
6505 include sysdep.h and math_ldbl_opt.h.
6507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
6508 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
6509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
6510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
6511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
6512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
6513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
6514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
6515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
6516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
6517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
6518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
6519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
6520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
6521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
6522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
6523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
6524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
6525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
6526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
6527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
6528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
6529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
6530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
6531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
6532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
6534 2017-10-31 Alan Modra <amodra@gmail.com>
6536 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
6537 string/strncase_l.c, not string/strncase.c.
6538 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
6539 (libc_hidden_def): Redefine.
6541 2017-10-31 Alan Modra <amodra@gmail.com>
6543 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
6544 (__STRCMP, STRCMP, __strcasecmp_l): Define.
6545 (__strcasecmp): Don't define.
6547 2017-10-31 Alan Modra <amodra@gmail.com>
6549 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
6551 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6552 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6553 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6555 2017-10-31 Alan Modra <amodra@gmail.com>
6557 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
6560 2017-10-31 Alan Modra <amodra@gmail.com>
6562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
6563 Redefine only when SHARED.
6565 2017-10-30 Joseph Myers <joseph@codesourcery.com>
6567 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
6568 Include <bits/math-finite.h> with appropriate macros defined and
6570 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
6571 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
6572 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
6573 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
6574 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
6576 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
6577 [!_Mlong_double_] (_Mlong_double_): Likewise.
6578 [!_Mfloat16_] (_Mfloat16_): Likewise.
6579 [!_Mfloat32_] (_Mfloat32_): Likewise.
6580 [!_Mfloat64_] (_Mfloat64_): Likewise.
6581 [!_Mfloat128_] (_Mfloat128_): Likewise.
6582 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
6583 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
6584 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
6585 (_Mdouble_): Define without indirection through those macros.
6586 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
6587 [!_Mfloat128_] (_Mfloat128_): Likewise.
6588 [_Mlong_double_] (_Mlong_double_): Likewise.
6589 (_Mdouble_): Define without indirection through those macros.
6590 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
6591 not add -D_Mlong_double_=double.
6592 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
6593 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
6595 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
6597 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
6599 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
6601 * sysdeps/x86/libc-start.c: Reformat.
6603 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
6606 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
6610 (L(Src2)): Likewise.
6611 (L(1)): Renamed to ...
6614 2017-10-30 Joseph Myers <joseph@codesourcery.com>
6616 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
6617 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
6618 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
6619 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
6620 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
6621 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
6622 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
6623 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
6624 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
6625 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
6626 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
6627 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
6628 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
6629 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
6630 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
6631 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
6632 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
6633 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
6634 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
6635 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
6636 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
6637 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
6638 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
6639 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
6640 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
6641 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
6642 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
6643 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
6644 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
6645 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
6646 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
6647 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
6648 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
6649 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
6650 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
6651 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
6652 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
6653 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
6654 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
6655 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
6656 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
6657 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
6658 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
6659 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
6660 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
6661 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
6662 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
6663 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
6664 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
6665 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
6666 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
6667 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
6668 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
6669 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
6670 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
6671 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
6672 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
6673 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
6674 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
6675 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
6676 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
6677 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
6678 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
6679 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
6680 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
6681 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
6683 2017-10-30 Florian Weimer <fweimer@redhat.com>
6685 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
6687 * io/tst-mkdirat.c (do_test): Likewise.
6688 * io/tst-mkfifoat.c (do_test): Likewise.
6689 * io/tst-mknodat.c (do_test): Likewise.
6690 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
6691 * locale/programs/locale.c (select_dirs): Likewise.
6692 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
6693 * posix/bug-glob2.c (my_readdir): Likewise.
6694 * posix/tst-dir.c (main): Likewise.
6695 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
6696 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
6698 2017-10-30 Florian Weimer <fweimer@redhat.com>
6700 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
6703 2017-10-30 Florian Weimer <fweimer@redhat.com>
6705 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
6706 Convert to support/test-driver.c.
6707 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
6708 New macro parameters.
6709 (PRINTF): Remove macro. Use test_verbose conditionals instead.
6710 * posix/tst-gnuglob.c: New file.
6711 * posix/tst-gnuglob64.c: Likewise.
6712 * posix/Makefile (tests): Add tst-gnuglob64.
6714 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
6717 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
6718 and use a better translation for March in “mon”.
6719 * localedata/locales/csb_PL: Use more ASCII to improve the
6720 readability of the source.
6722 2017-10-30 Mike FABIAN <mfabian@redhat.com>
6725 * localedata/locales/km_KH: Use ASCII as much
6726 as possible for better readability of the source and
6727 remove useless comments.
6728 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
6729 was commented out and apparently wrong anyway because it was
6730 using Lao characters. If Buddhist era should be used
6731 for km_KH, a native speaker should write the correct formaat
6733 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
6734 (According to CLDR, the first weekday for Cambodia is Sunday).
6735 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
6736 (These were using Lao characters which must be wrong. If we get
6737 the correct data from a native speaker, we could add it back, until
6738 then it is better not to have name_mr and name_mrs at all than
6741 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
6743 * locale/loadlocale.c: Correct size of
6744 _nl_value_type_LC_<category> arrays.
6746 2017-10-27 Joseph Myers <joseph@codesourcery.com>
6748 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
6749 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
6750 with appropriate macros defined and undefined.
6751 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
6752 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
6753 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
6754 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
6755 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
6757 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
6759 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
6762 2017-10-27 Mike FABIAN <mfabian@redhat.com>
6764 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
6765 with lowercase letters to make it agree with CLDR.
6767 2017-10-27 Mike FABIAN <mfabian@redhat.com>
6770 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
6771 first letters of yesstr and nostr in yesexpr and noexpr,
6772 not for the full words.
6773 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
6774 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
6775 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
6776 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
6777 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
6778 first letters of yesstr and nostr in yesexpr and noexpr,
6779 until now only English was matched in yesexpr and noexpr.
6780 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
6781 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
6782 fil but not for tl. As tl and fil are very similar, using fil
6783 is probably better than using English.
6785 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
6788 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
6789 in yesstr and nostr.
6791 2017-10-26 Joseph Myers <joseph@codesourcery.com>
6793 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
6794 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
6795 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
6797 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
6799 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
6801 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
6803 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6804 (SNANF128X): Likewise.
6806 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
6807 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
6808 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6809 (HUGE_VAL_F32): Likewise.
6810 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6811 (HUGE_VAL_F64): Likewise.
6812 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6813 (HUGE_VAL_F32X): Likewise.
6814 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6815 (HUGE_VAL_F64X): Likewise.
6816 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6817 (HUGE_VAL_F128X): Likewise.
6819 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
6821 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
6822 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
6823 for the br_FR locale.
6825 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
6828 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
6830 2017-10-25 Carlos O'Donell <carlos@redhat.com>
6832 * locale/programs/record-status.h: Define globals, and function
6833 prototypes. Move function bodies...
6834 * locale/programs/record-status.c: ... to here. New file.
6835 * iconv/Makefile (iconv_prog-modules): Add record-status.
6836 * locale/Makefile (lib-modules): Likewise.
6837 * iconv/iconv_prog.c: Remove verbose.
6838 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
6839 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
6840 record a warning about ASCII compatibility.
6841 * locale/programs/ld-monetary.c (monetary_finish): If
6842 warn_int_curr_symbol is true then record a warning about the symbol
6843 not being in our ISO 4217 list.
6844 * locale/programs/locale.c: Include record-status.h. Remove verbose.
6845 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
6846 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
6847 (OPT_NO_WARN): Define.
6849 (options): Add entry for --no-warnings, and --warnings.
6850 (set_warnings): New function to enable/disable warnings.
6851 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
6852 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
6853 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
6854 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
6855 Pass flags to generate_locale.
6856 (generate_locale): Accept new flag argument and pass it to localedef
6858 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
6859 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
6861 * localedata/Makefile (test-input-data): Use full file name.
6862 * localedata/da_DK.in: Rename to...
6863 * localedata/da_DK.ISO-8859-1.in: ...this.
6864 * localedata/de_DE.in: Rename to...
6865 * localedata/de_DE.ISO-8859-1.in: ...this.
6866 * localedata/en_US.in: Rename to...
6867 * localedata/en_US.ISO-8859-1.in: ...this.
6868 * localedata/fr_FR.in: Rename to...
6869 * localedata/fr_FR.UTF-8.in: ... this.
6870 * localedata/hr_HR.in: Rename to...
6871 * localedata/hr_HR.ISO-8859-2.in: ...this.
6872 * localedata/hu_HU.in: Rename to...
6873 * localedata/hu_HU.UTF-8.in: ...this.
6874 * localedata/si_LK.in: Rename to...
6875 * localedata/si_LK.UTF-8.in: ...this.
6876 * localedata/sv_SE.in: Rename to...
6877 * localedata/sv_SE.ISO-8859-1.in: ...this.
6878 * localedata/tr_TR.in: Rename to...
6879 * localedata/tr_TR.UTF-8.in: ...this.
6880 * localedata/uk_UA.in: Rename to...
6881 * localedata/uk_UA.UTF-8.in: ...this.
6882 * localedata/sort-test.sh: Test file is locale name with the
6885 * localedata/unicode-gen/Makefile (check_i18n): Rename to
6886 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
6888 * localedata/locales/i18n_ctype: Regenerate.
6889 * localedata/locales/tr_TR: Likewise.
6890 * localedata/locales/translit_circle: Likewise.
6891 * localedata/locales/translit_cjk_compat: Likewise.
6892 * localedata/locales/translit_combining: Likewise.
6893 * localedata/locales/translit_compat: Likewise.
6894 * localedata/locales/translit_font: Likewise.
6895 * localedata/locales/translit_fraction: Likewise.
6897 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6899 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
6900 lxvd2x/stxvd2x with lvx/stvx.
6901 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6903 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
6905 * include/alloc_buffer.h: Replace "if if " with "if " in
6907 * sysdeps/mips/memcpy.S: Likkewise.
6908 * sysdeps/mips/memset.S: Likewise.
6909 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6911 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
6913 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
6916 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6919 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
6921 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
6922 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
6923 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
6924 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
6925 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
6926 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
6927 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
6929 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6931 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
6932 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
6933 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
6934 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
6935 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
6936 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
6937 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
6938 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
6939 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
6940 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
6941 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
6942 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
6944 2017-10-25 Mike FABIAN <mfabian@redhat.com>
6946 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
6947 as possible for better readability of the source.
6948 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
6949 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
6950 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
6951 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
6952 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
6953 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
6954 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
6955 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
6956 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
6957 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
6958 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
6959 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
6960 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
6961 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
6962 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
6963 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
6964 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
6965 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
6966 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
6967 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
6968 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
6969 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
6970 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
6971 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
6972 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
6973 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
6974 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
6975 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
6976 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
6977 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
6978 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
6979 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
6980 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
6981 * localedata/locales/en_US (LC_MESSAGES): Likewise.
6982 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
6983 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
6984 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
6985 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
6986 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
6987 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
6988 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
6989 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
6990 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
6991 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
6992 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
6993 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
6994 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
6995 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
6996 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
6997 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
6998 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
6999 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
7000 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
7001 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
7002 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
7003 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
7004 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
7005 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
7006 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
7007 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
7008 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
7009 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
7010 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
7011 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
7012 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
7013 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
7014 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
7015 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
7016 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
7017 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
7018 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
7019 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
7020 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
7021 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
7022 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
7023 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
7024 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
7025 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
7026 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
7027 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
7028 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
7029 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
7030 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
7031 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
7032 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
7033 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
7034 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
7035 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
7036 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
7037 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
7038 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
7039 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
7040 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
7041 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
7042 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
7043 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
7044 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
7045 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
7046 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
7047 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
7048 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
7049 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
7050 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
7051 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
7052 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
7053 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
7054 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
7055 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
7056 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
7057 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
7058 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
7059 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
7060 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
7061 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
7062 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
7063 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
7064 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
7065 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
7066 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
7067 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
7068 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
7069 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
7070 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
7071 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
7072 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
7073 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
7074 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
7075 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
7076 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
7077 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
7078 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
7079 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
7080 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
7081 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
7082 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
7083 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
7084 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
7085 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
7086 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
7087 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
7088 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
7089 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
7090 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
7091 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
7092 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
7093 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
7094 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
7095 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
7096 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
7097 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
7098 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
7099 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
7100 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
7101 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
7102 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
7103 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
7104 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
7105 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
7106 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
7107 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
7108 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
7109 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
7110 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
7111 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
7112 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
7113 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
7114 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
7115 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
7116 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
7117 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
7118 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
7119 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
7120 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
7121 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
7123 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7125 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
7126 (Use first letters of yesstr and nostr correctly instead of using
7129 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7131 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
7132 (Use first letters of yesstr and nostr correctly).
7134 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7136 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
7137 also check for the first characters of yesstr and nostr.
7138 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
7139 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
7141 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7143 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
7144 also check for Chinese characters.
7146 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7148 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
7149 match also for the contents of yesstr and nostr. As the first letter
7150 of yesstr and nostr is equal, checking only for the first letter
7153 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7155 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
7156 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
7158 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7160 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
7161 of main contributor.
7163 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7165 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
7166 instead of using English.
7168 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7170 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
7171 by including the first letters of nostr and yesexpr in the regexp.
7172 Also make it more readable by using ASCII where possible.
7174 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7176 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
7177 the first letter of nostr in the regexp. It agrees with CLDR now.
7178 Also make it more readable by using ASCII where possible.
7180 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7182 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
7183 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
7184 these strings contain a U+17D6 (which somewhat looks like a colon)
7185 instead of a real colon to separate the full words for “yes”
7186 and “no” from the single letter responses.
7188 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7190 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
7191 it agree with CLDR (include the first letter of yesstr).
7192 Also make it more readable by using ASCII where possible.
7194 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7196 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
7197 and improve yesexpr and noexpr. The yesstr and nostr apparently
7198 came from CLDR. And CLDR has a bug there: these strings contain
7199 a U+0903 (which looks like a colon) instead of a real colon
7200 to separate the full words for “yes” and “no” from the single
7203 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7205 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
7206 letters of the full yesstr and nostr in yesexpr and noexpr.
7208 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7210 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
7211 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
7212 * localedata/locales/an_ES: Make source more readable by using ASCII
7215 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7218 * localedata/locales/yuw_PG: New file.
7219 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
7220 * locale/iso-639.def: Add Yau (Uruwa).
7222 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7224 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
7226 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7228 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
7229 (__libc_realloc): Likewise.
7230 (_mid_memalign): Likewise.
7231 (__libc_calloc): Likewise.
7233 2017-10-23 Mike FABIAN <mfabian@redhat.com>
7235 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
7236 by adding the generic +1 and -0 as in all other locales.
7237 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
7238 day names and make it more readable by using ASCII where possible.
7240 2017-10-24 Joseph Myers <joseph@codesourcery.com>
7242 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
7243 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
7245 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7247 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
7248 WNOHANG in waitpid call.
7250 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
7252 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
7253 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
7255 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
7256 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
7257 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
7258 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
7259 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
7260 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
7261 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
7262 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
7265 2017-10-23 Michael Collison <michael.collison@arm.com>
7267 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
7268 with __builtin_sqrt.
7269 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
7270 with __builtin_sqrtf.
7271 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
7272 with __builtin_ceil.
7273 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
7274 with __builtin_ceilf.
7275 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
7276 with __builtin_floor.
7277 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
7278 with __builtin_floorf.
7279 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
7281 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
7282 with __builtin_fmaf.
7283 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
7284 with __builtin_fmax.
7285 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
7286 with __builtin_fmaxf.
7287 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
7288 with __builtin_fmin.
7289 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
7290 with __builtin_fminf.
7291 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
7292 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
7293 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
7294 with builtin_rint and conversion to int.
7295 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
7296 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
7297 with builtin_llround.
7298 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
7299 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
7300 with builtin_rint and conversion to long int.
7301 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
7302 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
7303 with builtin_lround.
7304 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
7305 with builtin_lroundf.
7306 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
7307 statements with __builtin_nearbyint.
7308 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
7309 statements with __builtin_nearbyintf.
7310 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
7311 with __builtin_rint.
7312 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
7313 with __builtin_rintf.
7314 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
7315 with __builtin_round.
7316 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
7317 with __builtin_roundf.
7318 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
7319 with __builtin_trunc.
7320 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
7321 with __builtin_truncf.
7322 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
7323 and s_l[l]round[f].c too.
7325 2017-10-23 Alan Modra <amodra@gmail.com>
7327 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
7328 Adjust stack after restoring regs. Add missing LR cfi_restore.
7330 2017-10-23 Alan Modra <amodra@gmail.com>
7332 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
7333 Move LR save and frame setup/teardown and LR restore to
7334 immediately around memset call. Provide cfi.
7336 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7338 * sysdeps/i386/fpu/e_powf.S: Removed.
7339 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
7340 * sysdeps/i386/fpu/w_powf.c: Likewise.
7341 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
7342 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7343 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7345 (CFLAGS-e_powf-sse2.c): New.
7346 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
7347 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
7349 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7351 * sysdeps/i386/fpu/e_log2f.S: Removed.
7352 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
7353 * sysdeps/i386/fpu/w_log2f.c: Likewise.
7354 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
7355 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7356 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7358 (CFLAGS-e_log2f-sse2.c): New.
7359 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
7360 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
7362 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7364 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7366 (CFLAGS-e_powf-fma.c): New.
7367 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
7368 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
7370 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7372 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7374 (CFLAGS-e_log2f-fma.c): New.
7375 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
7376 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
7378 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7380 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7382 (CFLAGS-e_logf-fma.c): New.
7383 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
7384 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
7386 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7388 * sysdeps/i386/fpu/e_logf.S: Removed.
7389 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
7390 * sysdeps/i386/fpu/w_logf.c: Likewise.
7391 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
7392 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
7393 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7394 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7396 (CFLAGS-e_logf-sse2.c): New.
7397 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
7398 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
7400 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7402 * sysdeps/i386/fpu/e_exp2f.S: Removed.
7403 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
7404 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
7405 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7406 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7408 (CFLAGS-e_exp2f-sse2.c): New.
7409 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
7410 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
7412 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7414 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7416 (CFLAGS-e_exp2f-fma.c): New.
7417 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
7418 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
7420 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7422 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
7423 * sysdeps/i386/fpu/e_expf.S: Likewise.
7424 * sysdeps/i386/fpu/math_errf.c: Likewise.
7425 * sysdeps/i386/fpu/w_expf.c: Likewise.
7426 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
7427 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7428 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
7429 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
7430 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7431 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7433 (CFLAGS-e_expf-sse2.c): New.
7434 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
7435 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
7437 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7439 * sysdeps/x86_64/fpu/e_expf.S: Removed.
7440 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
7441 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
7442 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
7444 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
7446 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
7447 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
7449 (__redirect_expf): This.
7450 (SYMBOL_NAME): Changed to expf.
7451 (__ieee754_expf): Renamed to ...
7453 (__GI___expf): This.
7454 (__ieee754_expf): Add strong_alias.
7455 (__expf_finite): Likewise.
7457 Include <sysdeps/ieee754/flt-32/e_expf.c>.
7459 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
7462 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
7465 2017-10-21 Florian Weimer <fweimer@redhat.com>
7467 * posix/Makefile (tests): Add tst-glob-tilde.
7468 (tests-special): Add tst-glob-tilde-mem.out
7469 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
7470 (tst-glob-tilde-mem.out): Add mtrace check.
7471 * posix/tst-glob-tilde.c: New file.
7473 2017-10-20 Joseph Myers <joseph@codesourcery.com>
7475 * bits/floatn-common.h: New file.
7476 * math/Makefile (headers): Add bits/floatn-common.h.
7477 * bits/floatn.h: Include <bits/floatn-common.h>.
7478 * sysdeps/ia64/bits/floatn.h: Likewise.
7479 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
7480 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
7481 * sysdeps/powerpc/bits/floatn.h: Likewise.
7482 * sysdeps/x86/bits/floatn.h: Likewise.
7484 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7486 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
7487 indicates whether compiler emits an warning for alias for
7488 functions with incompatible types.
7491 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
7492 the auxiliary process is terminated by a signal before calling _exit
7495 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
7498 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
7500 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
7501 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
7502 and bit_arch_XSAVEC_Usable if needed.
7503 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
7504 and bit_arch_Use_dl_runtime_resolve_opt.
7505 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
7507 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
7508 (bit_arch_Prefer_No_AVX512): Updated.
7509 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
7510 (bit_arch_XSAVEC_Usable): New.
7511 (STATE_SAVE_OFFSET): Likewise.
7512 (STATE_SAVE_MASK): Likewise.
7513 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
7514 (cpu_features): Add xsave_state_size and xsave_state_full_size.
7515 (index_arch_Use_dl_runtime_resolve_opt): Removed.
7516 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
7517 (index_arch_XSAVEC_Usable): New.
7518 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
7519 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
7520 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
7522 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
7523 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
7524 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
7525 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
7526 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
7527 _dl_runtime_resolve_xsavec.
7528 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
7530 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
7531 instead of VEC_SIZE.
7532 (REGISTER_SAVE_BND0): Removed.
7533 (REGISTER_SAVE_BND1): Likewise.
7534 (REGISTER_SAVE_BND3): Likewise.
7535 (REGISTER_SAVE_RAX): Always defined to 0.
7537 (_dl_runtime_resolve_avx): Likewise.
7538 (_dl_runtime_resolve_avx_slow): Likewise.
7539 (_dl_runtime_resolve_avx_opt): Likewise.
7540 (_dl_runtime_resolve_avx512): Likewise.
7541 (_dl_runtime_resolve_avx512_opt): Likewise.
7542 (_dl_runtime_resolve_sse): Likewise.
7543 (_dl_runtime_resolve_sse_vex): Likewise.
7545 (_dl_runtime_resolve_fxsave): Likewise.
7546 (USE_XSAVE): Likewise.
7547 (_dl_runtime_resolve_xsave): Likewise.
7548 (USE_XSAVEC): Likewise.
7549 (_dl_runtime_resolve_xsavec): Likewise.
7550 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
7552 (_dl_runtime_resolve_avx512_opt): Likewise.
7553 (_dl_runtime_resolve_avx): Likewise.
7554 (_dl_runtime_resolve_avx_opt): Likewise.
7555 (_dl_runtime_resolve_sse): Likewise.
7556 (_dl_runtime_resolve_sse_vex): Likewise.
7557 (_dl_runtime_resolve_fxsave): New.
7558 (_dl_runtime_resolve_xsave): Likewise.
7559 (_dl_runtime_resolve_xsavec): Likewise.
7561 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
7565 * posix/glob.c (__glob): Fix one-byte overflow.
7567 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
7569 * malloc/malloc.c (sysdep-cancel.h): Add include.
7571 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
7573 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
7575 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
7577 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
7578 (tests): Remove $(objpfx)ga_test depdendency.
7579 * resolv/ga_test.c: Remove file.
7581 2017-10-20 Mike FABIAN <mfabian@redhat.com>
7584 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
7585 * localedata/locales/kab_DZ: New file.
7587 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
7589 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
7590 _dl_relocate_static_pie instead of _dl_start to compute load
7591 address in static PIE.
7593 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
7595 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
7597 2017-10-20 Mike FABIAN <mfabian@redhat.com>
7600 * localedata/SUPPORTED: Add shn_MM/UTF-8.
7601 * localedata/locales/shn_MM: New file.
7603 2017-10-20 Florian Weimer <fweimer@redhat.com>
7606 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
7607 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
7608 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
7609 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
7610 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
7611 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
7613 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
7615 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7617 2017-10-19 Joseph Myers <joseph@codesourcery.com>
7619 * sysdeps/mips/ieee754/bits/floatn.h: New file.
7622 * sysdeps/mips/bits/long-double.h: Move to ....
7623 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
7625 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
7627 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
7629 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
7630 H.J. Lu <hongjiu.lu@intel.com>
7633 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7634 GLRO(dl_platform) to NULL.
7635 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
7636 (modules-names): Add tst-platformmod-1 and
7637 x86_64/tst-platformmod-2.
7638 (CFLAGS-tst-platform-1.c): New.
7639 (CFLAGS-tst-platformmod-1.c): Likewise.
7640 (CFLAGS-tst-platformmod-2.c): Likewise.
7641 (LDFLAGS-tst-platformmod-2.so): Likewise.
7642 ($(objpfx)tst-platform-1): Likewise.
7643 ($(objpfx)tst-platform-1.out): Likewise.
7644 (tst-platform-1-ENV): Likewise.
7645 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
7646 * sysdeps/x86_64/tst-platform-1.c: New file.
7647 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
7648 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
7650 2017-10-19 Mike FABIAN <mfabian@redhat.com>
7653 * locale/iso-639.def: Add Karbi.
7654 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
7655 * localedata/locales/mjw_IN: New file.
7657 2017-10-18 Joseph Myers <joseph@codesourcery.com>
7659 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
7660 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
7661 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
7662 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
7663 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
7664 (libm_alias_ldouble_other_r): Also create _Float128 alias.
7665 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
7667 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
7668 (libm_alias_ldouble_other_r): Also create _Float128 alias.
7669 * manual/math.texi (Mathematics): Document additional architecture
7670 support for _Float128.
7671 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
7672 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7673 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7674 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7675 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7676 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7677 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7678 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7679 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7680 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7681 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7682 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7683 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7684 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7685 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7687 2017-10-18 Renlin Li <renlin.li@arm.com>
7689 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
7690 _DYNAMIC symbol to calculate load address.
7692 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
7694 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
7695 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
7697 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
7698 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
7700 2017-10-18 Mike FABIAN <mfabian@redhat.com>
7703 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
7704 and improve readability by using more ASCII.
7705 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
7706 and improve readability by using more ASCII.
7708 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
7710 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
7711 not all targets support atomics on bool.
7713 2017-10-17 Joseph Myers <joseph@codesourcery.com>
7715 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
7716 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
7718 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
7719 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
7720 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
7721 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
7722 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
7723 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
7725 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7727 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
7730 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
7733 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
7734 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
7735 (do_check_remalloced_chunk): Fix build bug.
7736 (do_check_malloc_state): Add assert that checks arena->top.
7737 (malloc_consolidate): Remove initialization.
7738 (int_mallinfo): Remove call to malloc_consolidate.
7739 (__libc_mallopt): Clarify why malloc_consolidate is needed.
7741 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
7743 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
7744 (have_fastchunks): Remove.
7745 (clear_fastchunks): Remove.
7746 (set_fastchunks): Remove.
7747 (malloc_state): Add have_fastchunks.
7748 (malloc_init_state): Use have_fastchunks.
7749 (do_check_malloc_state): Remove incorrect invariant checks.
7750 (_int_malloc): Use have_fastchunks.
7751 (_int_free): Likewise.
7752 (malloc_consolidate): Likewise.
7754 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
7756 * malloc/malloc.c (tcache_put): Inline.
7757 (tcache_get): Inline.
7759 2017-10-17 Jordi Mallach <jordi@gnu.org>
7761 Aurelien Jarno <aurelien@aurel32.net>
7763 * localedata/locales/ca_ES@valencia: New file.
7764 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
7766 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
7769 * math/math.h: Let signbit use the builtin in C++ mode with gcc
7772 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7774 * scripts/build-many-glibcs.py (Context.add_all_configs):
7775 Add arm-linux-gnueabihf multiarch extra_glibcs.
7777 * sysdeps/generic/ifunc-init.h: New file.
7778 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
7780 2017-10-17 Mike FABIAN <mfabian@redhat.com>
7783 * localedata/locales/el_GR: Set n_cs_precedes to 0.
7784 * localedata/locales/el_CY: copy "el_GR" because it is identical.
7785 * stdlib/tst-strfmon_l.c: adapt test case.
7787 2017-10-16 Joseph Myers <joseph@codesourcery.com>
7789 * sysdeps/generic/float128-abi.h: New file.
7790 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
7791 non-__prefixed symbols to ....
7792 * math/Versions: ... here. Include <float128-abi.h>.
7793 * stdlib/Versions ... and here. Include <float128-abi.h>
7795 2017-10-16 Florian Weimer <fweimer@redhat.com>
7797 * version.h (VERSION): Switch to ".9000" as the development
7800 2017-10-16 Florian Weimer <fweimer@redhat.com>
7803 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
7804 compat_symbol_reference to access non-default version.
7806 2017-10-16 Florian Weimer <fweimer@redhat.com>
7808 * malloc/Makefile (others-extras): Set to mcheck-init.o.
7810 2017-10-16 Carlos O'Donell <carlos@redhat.com>
7812 * include/shlib-compat.h (compat_symbol_reference): Update
7815 2017-10-16 Joseph Myers <joseph@codesourcery.com>
7817 * math/Makefile (test-types): Add
7818 $(type-float128-$(float128-alias-fcts)).
7819 * math/test-float128.h (TYPE_STR): Define conditional on
7820 [FLT128_MANT_DIG == LDBL_MANT_DIG].
7821 (ULP_IDX): Likewise.
7822 (ULP_I_IDX): Likewise.
7824 * stdlib/strtold.c: Include <bits/floatn.h>
7825 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
7826 and later undefine as macro. Define as weak alias if
7828 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
7829 and later undefine as macro. Define as weak alias if
7831 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
7832 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
7833 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
7834 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
7835 Define and later undefine as macro. Define as weak alias if
7837 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
7839 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
7840 Define and later undefine as macro. Define as weak alias if
7842 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
7843 Define and later undefine as macro. Define as weak alias if
7846 2017-10-15 Carlos O'Donell <carlos@redhat.com>
7848 * localedata/collate-test.c (allocate_arrays): Don't use \n in
7849 record_verbose messages.
7851 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
7854 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
7855 to silence -O3 -Wall warning with GCC 7.
7857 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
7859 * Makeconfig (+link-static-before-libc): Use the first of
7860 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
7861 * gmon/Makefile (tests): Add tst-gmon-static.
7862 (tests-static): Likewise.
7863 (CFLAGS-tst-gmon-static.c): New.
7864 (CRT-tst-gmon-static): Likewise.
7865 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
7866 (tst-gmon-static-ENV): Likewise.
7867 (tests-special): Likewise.
7868 ($(objpfx)tst-gmon-static.out): Likewise.
7869 (clean-tst-gmon-static-data): Likewise.
7870 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
7871 * gmon/tst-gmon-static-gprof.sh: New file.
7872 * gmon/tst-gmon-static.c: Likewise.
7874 2017-10-13 Carlos O'Donell <carlos@redhat.com>
7877 * locale/programs/linereader.c (get_string): Don't warn on
7878 non-symbolic character.
7881 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
7885 * locale/programs/record-status.h: New file
7886 * locale/programs/locale.c: Add comment.
7887 * locale/programs/charmap-dir.c: Don't include error.h.
7888 (charmap_opendir): Use record_error.
7889 * locale/programs/charmap.c: Don't include error.h.
7890 (charmap_read): Use record_error, and record_warning.
7891 (parse_charmap): Likewise.
7892 * locale/programs/ld-address.c: Don't include error.h.
7893 (address_finish): Use record_error, and record_warning.
7894 * locale/programs/ld-collate.c: Don't include error.h.
7895 (collate_finish): Use record_error, and record_error_at_line.
7896 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
7897 (ctype_class_new): Likewise.
7898 (ctype_map_new): Likewise.
7899 (set_one_default): Likewise.
7900 (set_class_defaults): Likewise.
7901 (translit_flatten): Likewise.
7902 (allocate_arrays): Use record_error, and record_verbose.
7903 * locale/programs/ld-identification.c: Don't include error.h.
7904 (indentation_finish): Use record_error and record_warning.
7905 * locale/programs/ld-measurement.c: Don't include error.h.
7906 (measurement_finish): Use record_error.
7907 * locale/programs/ld-messages.c
7908 (message_finish): Likewise.
7909 * locale/programs/ld-monetary.c
7910 (monetary_finish): Likewise.
7911 * locale/programs/ld-name.c (name_finish): Use record_error
7913 * locale/programs/ld-numeric.c
7914 (numeric_finish): Use record_error.
7915 * locale/programs/ld-paper.c: Don't include error.h.
7916 (paper_finish): Use record_error.
7917 * locale/programs/ld-telephone.c: Don't include error.h.
7918 (telephone_finish): Use record_error.
7919 * locale/programs/ld-time.c (time_finish): Likewise.
7920 * locale/programs/linereader.h (lr_error): Make inline func.
7921 * locale/programs/localedef.c: Define recorded_warning_count,
7922 and recorded_error_count.
7923 (main): Use record_error. Use recorded_error_count and
7924 recorded_warning_count to issue correct error returns.
7925 (add_to_readlist): Use record_error.
7926 (find_locale): Likewise.
7927 (load_locale): Likewise.
7928 * locale/programs/localedef.h: Remove be_quiet
7929 and WITH_CUR_LOCALE.
7930 * locale/programs/locarchive.c (compare_from_file): Use
7932 * locale/programs/locfile.c (write_locale_data): Use
7934 * locale/programs/repertoire.c: Dont include error.h.
7935 (repertoire_complain): Use record_error.
7936 * localedata/tst-fmon.sh: Expect failures from localedef.
7937 * localedata/tst-locale.sh: Likewise.
7938 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
7940 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
7941 (REPORTS): Likewise.
7943 (i18n): Rename to...
7944 (i18n_ctype): ...this.
7945 (i18n-report): Rename to...
7946 (i18n_ctype-report): ...this.
7947 * localedata/locales/i18n_ctype: Regenerate.
7948 * localedata/locales/i18n: copy i18n_ctype.
7950 2017-10-13 Joseph Myers <joseph@codesourcery.com>
7952 * stdlib/strfroml.c: Include <bits/floatn.h>.
7953 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
7954 Define before include of <stdlib.h> and undefine afterwards, then
7955 define as weak alias.
7957 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
7958 Undefine and restore default definition. Use
7959 libm_alias_ldouble_other.
7961 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
7964 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
7967 2017-10-13 James Clarke <jrtc27@jrtc27.com>
7969 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7970 Assign sym_map to be map for local symbols, as TLS relocations
7971 use sym_map to determine whether the symbol is defined and to
7972 extract the TLS information.
7973 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7974 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7976 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7979 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
7980 (math_force_eval): Add powerpc version.
7983 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
7985 (do_test): Likewise.
7986 * stdio-common/tst-printf.sh: Likewise.
7987 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
7988 ifdef clause in order to set the carry bit right. Replace r0 by
7989 0 without changing the behavior.
7991 2017-10-13 Joseph Myers <joseph@codesourcery.com>
7993 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
7994 <libm-alias-ldouble.h>.
7995 (fabsl): Define using libm_alias_ldouble.
7996 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
7997 <libm-alias-ldouble.h>.
7998 (fabsl): Define using libm_alias_ldouble.
8000 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
8001 Remove conditional code.
8003 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
8004 Rename to __clog10_internal_l.
8005 (__clog10_internal_l): Define aliases using
8006 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
8009 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8011 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
8012 * benchtests/sincosf-inputs: New file.
8013 * benchtests/cosf-inputs: New file.
8014 * benchtests/sinf-inputs: New file.
8016 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8018 * posix/tst-spawn.c (do_test): Wait for both children.
8020 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
8023 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
8024 tests-pie): Add tst-gmon-pie.
8025 (CFLAGS-tst-gmon-pie.c): New.
8026 (CRT-tst-gmon-pie): Likewise.
8027 (tst-gmon-pie-ENV): Likewise.
8028 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
8029 ($(objpfx)tst-gmon-pie.out): Likewise.
8030 (clean-tst-gmon-pie-data): Likewise.
8031 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
8032 * gmon/gmon.c [PIC]: Include <link.h>.
8033 [PIC] (callback): New function.
8034 (write_hist): Add an argument for load address. Subtract load
8036 (write_call_graph): Likewise.
8037 (write_gmon): Call __dl_iterate_phdr to get load address, pass
8038 it to write_hist and write_call_graph.
8039 * gmon/tst-gmon-pie.c: New file.
8041 2017-10-11 Joseph Myers <joseph@codesourcery.com>
8043 * math/Makefile (test-types-basic): New variable.
8044 (test-types): Likewise.
8045 (libm-test-support): Use $(test-types) instead of $(types).
8046 (libm-tests-base-normal): Likewise.
8047 (libm-tests-base-finite): Likewise.
8048 (libm-tests-base-inline): Likewise.
8049 (generated): Likewise.
8050 ($(objpfx)libm-test-support-$(t).c): Likewise.
8051 (libm-tests-for-type iterator): Likewise.
8052 (libm-test-support iterator): Likewise.
8053 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
8054 (ulp_idx): Use ULP_IDX.
8055 * math/test-ldouble.h: Include <float.h>.
8056 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
8057 (ULP_IDX): New macro.
8058 (ULP_I_IDX): Likewise.
8059 * math/test-double.h (ULP_IDX): Likewise.
8060 (ULP_I_IDX): Likewise.
8061 * math/test-float.h (ULP_IDX): Likewise.
8062 (ULP_I_IDX): Likewise.
8063 * math/test-float128.h (ULP_IDX): Likewise.
8064 (ULP_I_IDX): Likewise.
8066 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8068 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
8069 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8070 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8071 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
8072 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8073 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
8074 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
8075 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8076 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8077 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8078 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
8079 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8080 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8081 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8082 (SINGLE_THREAD_BY_GLOBAL): Define.
8083 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8085 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8087 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8089 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8091 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
8092 (SINGLE_THREAD_BY_GLOBAL): Likewise.
8093 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8096 2017-10-11 Andreas Schwab <schwab@suse.de>
8098 * nis/Makefile (aux): Remove.
8099 * nscd/Makefile (aux): Add nscd_hash.
8100 (nscd-modules): Likewise.
8101 ($(objpfx)nscd): Don't depend on libnsl.
8102 * nscd/nscd_hash.c: New file.
8103 * nscd/nscd_hash.h: Likewise.
8104 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
8105 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
8106 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
8107 instead of <nis/rpcsvc/nis.h>.
8108 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
8110 2017-10-11 Florian Weimer <fweimer@redhat.com>
8113 Avoid large NSS buffers with many addresses, aliases.
8114 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
8115 using dynarrays and struct alloc_buffer.
8116 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
8117 (tst-nss-files-hosts-multi): Link with -ldl.
8118 * nss/tst-nss-files-hosts-multi.c: New file.
8120 2017-10-11 Florian Weimer <fweimer@redhat.com>
8123 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
8124 scratch_buffer. Eliminate gotos.
8126 2017-10-11 Joseph Myers <joseph@codesourcery.com>
8128 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
8129 libm_alias_ldouble_other.
8130 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
8131 undefine and redefine.
8132 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
8133 (exp10l): Do not define here.
8134 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
8135 (weak_alias): Undefine and redefine.
8136 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
8137 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
8138 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
8139 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
8141 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
8142 [!__fma] (fma): Define using libm_alias_double.
8143 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
8144 [!__fmaf] (fmaf): Define using libm_alias_float.
8145 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
8146 (fmal): Define using libm_alias_ldouble.
8148 2017-10-10 Joseph Myers <joseph@codesourcery.com>
8150 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
8152 (libm_alias_double_other): Likewise.
8153 (libm_alias_double_r): Use libm_alias_double_other_r.
8154 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
8156 (libm_alias_float_other): Likewise.
8157 (libm_alias_float_r): Use libm_alias_float_other_r.
8158 * sysdeps/generic/libm-alias-float128.h
8159 (libm_alias_float128_other_r): New macro.
8160 (libm_alias_float128_other): Likewise.
8161 (libm_alias_float128_r): Use libm_alias_float128_other_r.
8162 * sysdeps/generic/libm-alias-ldouble.h
8163 (libm_alias_ldouble_other_r): New macro.
8164 (libm_alias_ldouble_other): Likewise.
8165 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
8166 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
8167 (libm_alias_double_other_r): New macro.
8168 (libm_alias_double_other): Likewise.
8169 (libm_alias_double_r): Use libm_alias_double_other_r.
8170 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
8171 (libm_alias_ldouble_other_r): New macro.
8172 (libm_alias_ldouble_other): Likewise.
8173 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
8174 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
8175 [!USE_AS_COMPAT]: Use libm_alias_double_other.
8176 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
8177 [!USE_AS_COMPAT]: Use libm_alias_float_other.
8178 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
8179 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
8180 * math/w_exp2f.c: Use libm_alias_float_other.
8181 * math/w_expf.c: Likewise.
8182 * math/w_log2f.c: Likewise.
8183 * math/w_logf.c: Likewise.
8184 * math/w_powf.c: Likewise.
8185 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
8186 [!__exp2f]: Use libm_alias_float_other.
8187 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
8188 [!__expf]: Use libm_alias_float_other.
8189 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
8190 [!__log2f]: Use libm_alias_float_other.
8191 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
8192 [!__logf]: Use libm_alias_float_other.
8193 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
8194 [!__powf]: Use libm_alias_float_other.
8196 2017-10-10 Florian Weimer <fweimer@redhat.com>
8198 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
8200 (_nss_files_gethostbyname3_r): Call it.
8202 2017-10-09 Joseph Myers <joseph@codesourcery.com>
8204 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
8205 error. Remove default definition of declare_mgen_alias.
8206 [!declare_mgen_alias_r]: Likewise.
8207 * sysdeps/generic/math-type-macros-double.h
8208 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
8209 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
8210 (declare_mgen_alias_r): Likewise.
8211 * sysdeps/generic/math-type-macros-float128.h
8212 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
8213 * sysdeps/generic/math-type-macros-ldouble.h
8214 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
8215 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
8217 (declare_mgen_alias_r_s): Likewise.
8218 (declare_mgen_alias_r): Likewise.
8219 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
8220 (lgamma_r): Define using libm_alias_double_r.
8221 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
8222 (lgammaf_r): Define using libm_alias_float_r.
8223 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
8224 (lgammal_r): Define using libm_alias_ldouble_r.
8225 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
8226 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
8228 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8230 * lib/glob.c (__glob_pattern_type): Remove now-spurious
8233 2017-10-09 Joseph Myers <joseph@codesourcery.com>
8235 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
8237 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
8240 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
8241 [__cplusplus >= 201103] (__USE_ISOC99): Define.
8242 * math/Makefile (test-math-cxx11): New test.
8243 * math/test-math-cxx11.cc: New file.
8245 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
8247 * login/openpty.c (openpty): Close slave pty file descriptor on error.
8249 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
8250 call to allocate the slave pty file descriptor.
8252 2017-10-06 Joseph Myers <joseph@codesourcery.com>
8254 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
8255 [!__fma] (fma): Define using libm_alias_double.
8256 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
8257 [!__fma] (fma): Define using libm_alias_double.
8259 * sysdeps/ieee754/float128/float128_private.h: Include
8260 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
8261 (libm_alias_ldouble_r): Undefine and redefine.
8262 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
8263 <libm-alias-ldouble.h>.
8264 (asinhl): Define using libm_alias_ldouble.
8265 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
8266 <libm-alias-ldouble.h>.
8267 (atanl): Define using libm_alias_ldouble.
8268 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
8269 <libm-alias-ldouble.h>.
8270 (cbrtl): Define using libm_alias_ldouble.
8271 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
8272 <libm-alias-ldouble.h>.
8273 (ceill): Define using libm_alias_ldouble.
8274 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
8275 <libm-alias-ldouble.h>.
8276 (copysignl): Define using libm_alias_ldouble.
8277 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
8278 <libm-alias-ldouble.h>.
8279 (cosl): Define using libm_alias_ldouble.
8280 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
8281 <libm-alias-ldouble.h>.
8282 (erfl): Define using libm_alias_ldouble.
8284 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
8285 <libm-alias-ldouble.h>.
8286 (expm1l): Define using libm_alias_ldouble.
8287 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
8288 <libm-alias-ldouble.h>.
8289 (fabsl): Define using libm_alias_ldouble.
8290 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
8291 <libm-alias-ldouble.h>.
8292 (floorl): Define using libm_alias_ldouble.
8293 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
8294 <libm-alias-ldouble.h>.
8295 (fmal): Define using libm_alias_ldouble.
8296 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
8297 <libm-alias-ldouble.h>.
8298 (frexpl): Define using libm_alias_ldouble.
8299 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
8301 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
8302 <libm-alias-ldouble.h>.
8303 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
8305 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
8306 <libm-alias-ldouble.h>.
8307 (getpayloadl): Define using libm_alias_ldouble.
8308 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
8309 <libm-alias-ldouble.h>.
8310 (llrintl): Define using libm_alias_ldouble.
8311 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
8312 <libm-alias-ldouble.h>.
8313 (llroundl): Define using libm_alias_ldouble.
8314 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
8315 <libm-alias-ldouble.h>.
8316 (logbl): Define using libm_alias_ldouble.
8317 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
8318 <libm-alias-ldouble.h>.
8319 (lrintl): Define using libm_alias_ldouble.
8320 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
8321 <libm-alias-ldouble.h>.
8322 (lroundl): Define using libm_alias_ldouble.
8323 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
8324 <libm-alias-ldouble.h>.
8325 (modfl): Define using libm_alias_ldouble.
8326 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
8327 <libm-alias-ldouble.h>.
8328 (nearbyintl): Define using libm_alias_ldouble.
8329 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
8330 <libm-alias-ldouble.h>.
8331 (nextafterl): Define using libm_alias_ldouble.
8332 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
8333 <libm-alias-ldouble.h>.
8334 (nextupl): Define using libm_alias_ldouble.
8335 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
8336 <libm-alias-ldouble.h>.
8337 (remquol): Define using libm_alias_ldouble.
8338 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
8339 <libm-alias-ldouble.h>.
8340 (rintl): Define using libm_alias_ldouble.
8341 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
8342 <libm-alias-ldouble.h>.
8343 (roundevenl): Define using libm_alias_ldouble.
8344 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
8345 <libm-alias-ldouble.h>.
8346 (roundl): Define using libm_alias_ldouble.
8347 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
8348 using libm_alias_ldouble.
8349 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
8350 <libm-alias-ldouble.h>.
8351 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
8352 Define using libm_alias_ldouble.
8353 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
8354 <libm-alias-ldouble.h>.
8355 (sincosl): Define using libm_alias_ldouble.
8356 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
8357 <libm-alias-ldouble.h>.
8358 (sinl): Define using libm_alias_ldouble.
8359 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
8360 <libm-alias-ldouble.h>.
8361 (tanhl): Define using libm_alias_ldouble.
8362 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
8363 <libm-alias-ldouble.h>.
8364 (tanl): Define using libm_alias_ldouble.
8365 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8366 <libm-alias-ldouble.h>.
8367 (totalorderl): Define using libm_alias_ldouble.
8368 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8369 <libm-alias-ldouble.h>.
8370 (totalordermagl): Define using libm_alias_ldouble.
8371 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
8372 <libm-alias-ldouble.h>.
8373 (truncl): Define using libm_alias_ldouble.
8374 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
8376 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
8378 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
8379 <libm-alias-ldouble.h>.
8380 (weak_alias): Do not undefine and redefine.
8381 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
8382 (copysignl): Define with long_double_symbol only if [IS_IN
8384 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
8385 <libm-alias-ldouble.h>.
8386 (weak_alias): Do not undefine and redefine.
8387 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
8388 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
8389 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
8390 <libm-alias-ldouble.h>.
8391 (weak_alias): Do not undefine and redefine.
8392 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
8393 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
8394 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
8395 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
8396 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
8398 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
8399 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
8401 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
8402 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
8404 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
8405 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
8406 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
8407 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
8409 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
8410 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
8411 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
8412 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
8413 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
8415 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
8416 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
8417 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
8419 2017-10-06 Carlos O'Donell <carlos@redhat.com>
8422 * malloc/malloc.c (tcache_shutting_down): Use bool type.
8423 (tcache_thread_freeres): Set tcache_shutting_down before
8425 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
8426 * malloc/tst-malloc-tcache-leak.c: New file.
8428 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8430 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
8431 back to powerpc32 file.
8432 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
8433 (memrchr): Add __memrchr_power8 to ifunc list.
8434 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
8435 extra bytes for unaligned inputs.
8437 2017-10-06 Joseph Myers <joseph@codesourcery.com>
8439 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
8440 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
8441 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
8442 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8443 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8445 2017-10-05 Joseph Myers <joseph@codesourcery.com>
8447 * sysdeps/arm/libm-test-ulps: Update.
8449 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
8450 <libm-alias-ldouble.h>.
8451 (asinhl): Define using libm_alias_ldouble.
8452 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
8453 <libm-alias-ldouble.h>.
8454 (cbrtl): Define using libm_alias_ldouble.
8455 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
8456 <libm-alias-ldouble.h>.
8457 (copysignl): Define using libm_alias_ldouble.
8458 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
8459 <libm-alias-ldouble.h>.
8460 (cosl): Define using libm_alias_ldouble.
8461 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
8462 <libm-alias-ldouble.h>.
8463 (erfl): Define using libm_alias_ldouble.
8465 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
8466 <libm-alias-ldouble.h>.
8467 (fmal): Define using libm_alias_ldouble.
8468 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
8469 <libm-alias-ldouble.h>.
8470 (frexpl): Define using libm_alias_ldouble.
8471 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
8473 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
8474 <libm-alias-ldouble.h>.
8475 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
8477 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
8478 <libm-alias-ldouble.h>.
8479 (getpayloadl): Define using libm_alias_ldouble.
8480 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
8481 <libm-alias-ldouble.h>.
8482 (llrintl): Define using libm_alias_ldouble.
8483 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
8484 <libm-alias-ldouble.h>.
8485 (llroundl): Define using libm_alias_ldouble.
8486 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
8487 <libm-alias-ldouble.h>.
8488 (lrintl): Define using libm_alias_ldouble.
8489 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
8490 <libm-alias-ldouble.h>.
8491 (lroundl): Define using libm_alias_ldouble.
8492 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
8493 <libm-alias-ldouble.h>.
8494 (modfl): Define using libm_alias_ldouble.
8495 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
8496 <libm-alias-ldouble.h>.
8497 (nextupl): Define using libm_alias_ldouble.
8498 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
8499 <libm-alias-ldouble.h>.
8500 (remquol): Define using libm_alias_ldouble.
8501 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
8502 <libm-alias-ldouble.h>.
8503 (roundevenl): Define using libm_alias_ldouble.
8504 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
8505 <libm-alias-ldouble.h>.
8506 (roundl): Define using libm_alias_ldouble.
8507 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
8508 using libm_alias_ldouble.
8509 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
8510 <libm-alias-ldouble.h>.
8511 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
8512 <libm-alias-ldouble.h>.
8513 (setpayloadsigl): Define using libm_alias_ldouble.
8514 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
8515 <libm-alias-ldouble.h>.
8516 (sincosl): Define using libm_alias_ldouble.
8517 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
8518 <libm-alias-ldouble.h>.
8519 (sinl): Define using libm_alias_ldouble.
8520 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
8521 <libm-alias-ldouble.h>.
8522 (tanhl): Define using libm_alias_ldouble.
8523 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
8524 <libm-alias-ldouble.h>.
8525 (tanl): Define using libm_alias_ldouble.
8526 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8527 <libm-alias-ldouble.h>.
8528 (totalorderl): Define using libm_alias_ldouble.
8529 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8530 <libm-alias-ldouble.h>.
8531 (totalordermagl): Define using libm_alias_ldouble.
8532 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
8534 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
8537 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
8539 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8541 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8542 (__libc_ifunc_impl_list): Likewise.
8543 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
8544 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
8546 * benchtests/bench-memmove-walk.c: New file.
8547 * benchtests/Makefile (string-benchset): Add it.
8549 * benchtests/bench-memset-walk.c: New file.
8550 * benchtests/Makefile (string-benchset): Add it.
8552 * benchtests/bench-memcpy-walk.c: New file.
8553 * benchtests/Makefile (string-benchset): Add it.
8555 2017-10-05 Florian Weimer <fweimer@redhat.com>
8557 nscd: Eliminate compilation time dependency in the build output.
8558 * nscd/nscd_stat.c (STATDATA_VERSION)
8559 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
8560 (STATDATA_VERSION_FULL): New macro definitions.
8561 (compilation): Remove.
8562 (struct statdata): Adjust version member.
8563 (send_stats): Set version from STATDATA_VERSION_FULL.
8564 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
8566 2017-10-05 Joseph Myers <joseph@codesourcery.com>
8568 * configure.ac (--enable-add-ons): Remove option.
8569 (machine): Do not mention add-ons in comment.
8570 (LIBC_PRECONFIGURE): Likewise.
8571 (add_ons): Remove variable and sanity checks and logic to locate
8573 (add_ons_automatic): Remove variable.
8574 (configured_add_ons): Likewise.
8575 (add_ons_sfx): Likewise.
8576 (add_ons_pfx): Likewise.
8577 (add_on_subdirs): Likewise.
8578 (sysnames_add_ons): Likewise. Remove loop over add-ons and
8579 consideration of add-ons in Implies handling.
8580 (sysdeps_add_ons): Likewise.
8581 * configure: Regenerated.
8582 * libidn/configure.ac: Remove.
8583 * libidn/configure: Likewise.
8584 * sysdeps/unix/inet/configure.ac: New file.
8585 * sysdeps/unix/inet/configure: New generated file.
8586 * sysdeps/unix/inet/Subdirs: Add libidn.
8587 * Makeconfig (sysdeps-srcdirs): Remove variable.
8588 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
8589 ($(common-objpfx)config.status): Do not depend on add-on files.
8590 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
8592 (all-subdirs): Do not include $(add-on-subdirs).
8593 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
8594 * config.make.in (add-ons): Remove variable.
8595 (add-on-subdirs): Likewise.
8596 (sysdeps-add-ons): Likewise.
8597 * manual/Makefile (add-chapters): Remove.
8598 ($(objpfx)texis): Do not depend on $(add-chapters).
8599 (nonexamples): Do not handle $(add-chapters).
8600 (examples): Do not handle $(add-ons).
8601 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
8603 * manual/install.texi (Installation): Do not mention add-ons.
8604 (--enable-add-ons): Do not document configure option.
8605 * INSTALL: Regenerated.
8606 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
8607 * manual/maint.texi (Hierarchy Conventions): Do not mention
8609 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
8611 * scripts/gen-sorted.awk: Do not handle Subdirs files from
8613 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
8614 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
8616 2017-10-05 Andreas Schwab <schwab@suse.de>
8619 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
8620 (_IO_flush_all_lockp): Always lock list_all_lock.
8621 (_IO_flush_all_linebuffered): Likewise.
8622 (_IO_unbuffer_all): Likewise.
8624 2017-10-05 Florian Weimer <fweimer@redhat.com>
8627 Do not flush stdio streams on abort.
8628 * stdlib/abort.c (fflush): Remove macro definition.
8629 (abort): Remove stages related to stdio flushing.
8631 2017-10-05 Florian Weimer <fweimer@redhat.com>
8633 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
8635 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
8637 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8639 2017-10-05 Florian Weimer <fweimer@redhat.com>
8641 * support/support_format_hostent.c (support_format_hostent): Add
8642 more error information for NETDB_INTERNAL.
8644 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
8646 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
8647 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
8648 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
8649 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
8650 AC_DEFINE if multi-arch is enabled.
8651 * sysdeps/i386/configure: Regenerated.
8653 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
8655 * Makeconfig (+link-static-before-libc): Use
8656 $(DEFAULT-LDFLAGS-$(@F)).
8657 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
8658 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
8659 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
8661 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
8663 * elf/Makefile (tests): Add tst-main1.
8664 (modules-names): Add tst-main1mod.
8665 ($(objpfx)tst-main1): New.
8666 (CRT-tst-main1): Likewise.
8667 (LDFLAGS-tst-main1): Likewise.
8668 (LDLIBS-tst-main1): Likewise.
8669 (tst-main1mod.so-no-z-defs): Likewise.
8670 * elf/tst-main1.c: New file.
8671 * elf/tst-main1mod.c: Likewise.
8673 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
8675 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
8677 2017-10-04 Joseph Myers <joseph@codesourcery.com>
8679 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
8680 (fma): Define using libm_alias_double.
8681 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
8682 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
8684 (fmal): Do not define as compat symbol here.
8685 * sysdeps/alpha/fpu/s_fma.c: New file.
8687 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
8689 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
8691 2017-10-04 Joseph Myers <joseph@codesourcery.com>
8694 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
8696 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
8698 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
8699 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
8700 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
8701 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
8702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8703 Include <math_ldbl_opt.h>
8704 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
8706 (compat_symbol): Undefine and redefine.
8707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
8709 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
8710 (compat_symbol): Undefine and redefine.
8711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
8712 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
8713 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
8715 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
8716 GLIBC_2.0 copysignl symbol.
8717 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8718 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
8720 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
8722 2017-10-04 Florian Weimer <fweimer@redhat.com>
8724 * scripts/check-local-headers.sh: Ignore nspr4 header file
8725 directory in addition to nspr.
8727 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
8730 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
8731 * configure: Regenerate.
8732 * crypt/Makefile (nss-cpp-flags): New variable.
8733 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
8734 (CPPFLAGS-md5-crypt.c): Use it.
8735 * scripts/check-local-headers.sh: Ignore nspr header file
8738 2017-10-04 Andreas Schwab <schwab@suse.de>
8740 * nis/Makefile (services): Remove compat.
8741 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
8742 ($(objpfx)libnss_compat.so): Remove rule.
8743 * nis/Versions (libnss_compat): Remove.
8744 * nss/Makefile (services): Add compat.
8745 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
8746 * nss/Versions (libnss_compat): Define.
8747 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
8748 Don't include <rpc/types.h>. Replace bool_t by bool.
8749 * nss/nss_compat/compat-initgroups.c: Likewise.
8750 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
8751 instead of <rpcsrv/ypclnt.h>.
8752 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
8753 yp_get_default_domain.
8754 * nss/nss_compat/compat-pwd.c: Likewise.
8755 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
8756 yp_get_default_domain.
8757 * nss/nss_compat/nisdomain.c: New file.
8758 * nss/nss_compat/nisdomain.h: Likewise.
8760 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
8763 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
8764 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8766 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
8769 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
8770 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
8772 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8774 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
8775 "movl main@GOTOFF(%ebx), %eax".
8777 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8779 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
8780 allow undefined _DYNAMIC in PIE libc.a.
8781 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
8784 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8786 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
8789 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8791 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
8794 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8796 * math/test-math-iscanonical.cc (error): Replace bool with int.
8798 2017-10-03 Joseph Myers <joseph@codesourcery.com>
8800 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
8801 (modf): Define using libm_alias_double, only if [!__modf].
8802 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
8803 <libm-alias-double.h>.
8804 (modf): Define using libm_alias_double, only if [!__modf].
8805 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
8807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
8808 (weak_alias): Do not undefine and redefine.
8809 (strong_alias): Likewise.
8810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
8811 (weak_alias): Likewise.
8812 (strong_alias): Likewise.
8814 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
8815 (logb): Define using libm_alias_double, only if [!__logb].
8816 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
8817 <libm-alias-double.h>.
8818 (logb): Define using libm_alias_double, only if [!__logb].
8819 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
8820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
8821 (weak_alias): Do not undefine and redefine.
8822 (strong_alias): Likewise.
8823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
8824 (weak_alias): Likewise.
8825 (strong_alias): Likewise.
8827 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8829 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
8830 Check SHARED instead PIC.
8832 2017-10-03 Joseph Myers <joseph@codesourcery.com>
8834 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
8835 [!__fmaf] (fmaf): Define using libm_alias_float.
8837 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
8838 (frexp): Define using libm_alias_double.
8839 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
8840 <libm-alias-double.h>.
8841 (frexp): Define using libm_alias_double.
8842 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
8845 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8848 * math/math.h: Trivial fix for unbalanced parentheses in comment.
8849 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
8850 (CFLAGS-test-math-iscanonical.cc): New variable.
8851 * math/test-math-iscanonical.cc: New file.
8852 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
8853 Provide a C++ implementation based on function overloading,
8854 rather than using __MATH_TG, which uses C-only builtins.
8855 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
8857 * sysdeps/powerpc/powerpc64le/Makefile
8858 (CFLAGS-test-math-iscanonical.cc): New variable.
8860 2017-10-03 Joseph Myers <joseph@codesourcery.com>
8862 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
8863 (ceil): Define using libm_alias_double.
8864 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
8865 (floor): Define using libm_alias_double.
8866 * sysdeps/ieee754/dbl-64/s_llround.c: Include
8867 <libm-alias-double.h>.
8868 (llround): Define using libm_alias_double.
8869 * sysdeps/ieee754/dbl-64/s_lround.c: Include
8870 <libm-alias-double.h>.
8871 (lround): Define using libm_alias_double.
8872 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
8873 <libm-alias-double.h>.
8874 (nearbyint): Define using libm_alias_double.
8875 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
8876 <libm-alias-double.h>.
8877 (remquo): Define using libm_alias_double.
8878 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
8879 (rint): Define using libm_alias_double.
8880 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
8881 (round): Define using libm_alias_double.
8882 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
8883 (trunc): Define using libm_alias_double.
8884 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
8885 <libm-alias-double.h>.
8886 (ceil): Define using libm_alias_double.
8887 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
8888 <libm-alias-double.h>.
8889 (floor): Define using libm_alias_double.
8890 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
8891 <libm-alias-double.h>.
8892 (llround): Define using libm_alias_double.
8893 [_LP64] (lround): Likewise.
8894 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
8895 <libm-alias-double.h>.
8896 [!_LP64] (lround): Define using libm_alias_double.
8897 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
8898 <libm-alias-double.h>.
8899 (nearbyint): Define using libm_alias_double.
8900 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
8901 <libm-alias-double.h>.
8902 (remquo): Define using libm_alias_double.
8903 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
8904 <libm-alias-double.h>.
8905 (rint): Define using libm_alias_double.
8906 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
8907 <libm-alias-double.h>.
8908 (round): Define using libm_alias_double.
8909 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
8910 <libm-alias-double.h>.
8911 (trunc): Define using libm_alias_double.
8912 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
8913 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
8914 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
8915 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
8916 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
8917 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
8918 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
8919 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
8920 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
8922 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
8924 * math/w_remainder.c: New file.
8925 * math/w_remainderf.c: New file.
8926 * math/w_remainderl.c: New file.
8928 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8930 * elf/rtld.c (BOOTSTRAP_MAP): New.
8931 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
8932 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
8934 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
8936 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
8939 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8941 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
8942 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
8943 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
8944 rtld_hidden_data_ver): Define to empty.
8945 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
8946 __assert_perror_fail): Likewise.
8947 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
8948 (__rewinddir): Likewise.
8949 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
8950 (__profile_frequency): Likewise.
8951 * include/setjmp.h (__sigsetjmp): Likewise.
8952 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
8953 __libc_sigaction): Likewise.
8954 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
8955 not set hidden attribute.
8956 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
8957 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
8958 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
8959 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
8960 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
8961 __fxstatat64): Likewise.
8962 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
8963 (__uname): Likewise.
8964 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
8965 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
8966 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
8967 (NO_RTLD_HIDDEN): Set.
8968 * sysdeps/mach/hurd/configure: Refresh.
8969 * config.h.in: Refresh.
8971 2017-10-02 Joseph Myers <joseph@codesourcery.com>
8973 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
8974 (atan): Define using libm_alias_double.
8975 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
8976 (tan): Define using libm_alias_double.
8977 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
8978 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
8981 define as weak alias of __atan. Do not define any aliases if
8983 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
8984 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
8985 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
8986 as weak alias of __tan. Do not define any aliases if [__tan].
8987 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
8988 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
8989 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
8991 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
8992 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
8993 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
8994 and define as weak alias of __atan.
8995 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
8997 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
8998 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
8999 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
9000 define as weak alias of __tan.
9002 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9004 * math/w_lgamma.c: New file.
9005 * math/w_lgammaf.c: New file.
9006 * math/w_lgammal.c: New file.
9008 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9010 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
9011 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
9012 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
9013 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
9014 * sysdeps/ieee754/flt-32/w_logf.c: New file.
9015 * sysdeps/ieee754/flt-32/w_powf.c: New file.
9016 * sysdeps/i386/fpu/w_log2f.c: New file.
9017 * sysdeps/i386/fpu/w_logf.c: New file.
9018 * sysdeps/i386/fpu/w_powf.c: New file.
9019 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
9020 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
9021 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
9023 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9024 H.J. Lu <hongjiu.lu@intel.com>
9026 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
9027 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
9028 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
9029 * sysdeps/ieee754/flt-32/w_expf.c: New file.
9030 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
9032 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
9033 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
9034 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
9035 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
9036 * sysdeps/i386/fpu/w_exp2f.c: New file.
9037 * sysdeps/i386/fpu/w_expf.c: New file.
9038 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
9039 * sysdeps/x86_64/fpu/w_expf.c: New file.
9041 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9043 * math/Versions (logf): New libm symbol at GLIBC_2.27.
9046 * math/w_log2f.c: New file.
9047 * math/w_logf.c: New file.
9048 * math/w_powf.c: New file.
9049 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
9050 * math/w_logf_compat.c (__logf_compat): Likewise.
9051 * math/w_powf_compat.c (__powf_compat): Likewise.
9052 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
9053 * sysdeps/ia64/fpu/e_logf.S: Likewise.
9054 * sysdeps/ia64/fpu/e_powf.S: Likewise.
9055 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9056 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9057 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9058 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9059 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9060 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9061 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9062 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9063 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9064 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9065 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9066 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9075 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9076 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9077 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9078 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9079 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9084 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9085 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9086 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9088 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9090 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9091 (sysdep_routines): Add memrchr_power8.
9092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9093 (memrchr): Add __memrchr_power8 to list of memrchr functions.
9094 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
9096 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
9097 (memrchr): Add __memrchr_power8 to ifunc list.
9098 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
9100 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9103 * sysdeps/unix/sysv/linux/posix_fadvise64.c
9104 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
9106 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9107 (__posix_fallocate64_l64): Likewise.
9109 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9112 * sysdeps/unix/sysv/linux/sched_setaffinity.c
9113 (__sched_setaffinity_new): Add libc_hidden_proto and
9116 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9119 * include/glob.h (__glob64): Add libc_hidden_proto.
9120 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
9123 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9126 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
9129 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9132 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
9134 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9137 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
9140 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9143 * csu/version.c (__libc_print_version): Add attribute_hidden.
9145 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9148 * include/libc-internal.h (__init_misc): Add attribute_hidden.
9150 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9153 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
9155 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9158 * nscd/nscd_helper.c (__nis_hash): New prototype.
9160 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9163 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
9164 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
9166 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9167 * termios/tcgetattr.c (__tcgetattr): Likewise.
9169 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9172 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
9173 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
9174 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
9175 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
9176 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
9178 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9181 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
9183 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9186 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
9187 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
9189 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9192 * intl/hash-string.h (__hash_string): Add attribute_hidden.
9194 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9197 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
9198 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
9200 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9203 * include/ifreq.h: New file.
9204 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
9205 (__ifreq): Likewise.
9206 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
9207 (__ifreq): Likewise.
9209 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9212 * include/idna.h: New file.
9213 * inet/getnameinfo.c: Include <idna.h> instead of
9215 (__idna_to_unicode_lzlz): Removed.
9216 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
9218 (__idna_to_ascii_lz): Removed.
9219 (__idna_to_unicode_lzlz): Likewise.
9221 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9224 * include/plural-exp.h: New file.
9225 * intl/plural-exp.c: Include <plural-exp.h> instead of
9228 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9231 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
9232 "getsourcefilter.h".
9233 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
9234 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
9235 "getsourcefilter.h".
9236 (__get_sol): Removed.
9238 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9241 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
9243 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
9245 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9248 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
9251 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9254 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
9256 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9259 * include/search.h (__tdestroy): Add libc_hidden_proto.
9260 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
9262 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9265 * include/assert.h (__assert_fail_base): Add attribute_hidden.
9267 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9270 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
9273 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9276 * include/signal.h (__kill): Add libc_hidden_proto.
9277 (__sigblock): Likewise.
9278 (__sigprocmask): Likewise.
9279 (__sigaltstack): Likewise.
9280 * signal/kill.c (__kill): Add libc_hidden_def.
9281 * signal/sigblock.c (__sigblock): Likewise.
9282 * signal/sigprocmask.c (__sigprocmask): Likewise.
9283 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
9284 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9285 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9286 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9287 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
9289 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9291 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9292 (__sigprocmask): Likewise.
9293 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
9295 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9296 (__sigprocmask): Likewise.
9297 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9300 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9303 * include/string.h (__strsep): Add libc_hidden_proto.
9304 * string/strsep.c (__strsep): Add libc_hidden_def.
9306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9309 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
9311 (__spawni): Likewise.
9313 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9316 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
9317 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
9320 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9323 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
9325 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9328 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
9329 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
9330 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
9331 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
9332 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
9334 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
9335 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
9337 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9340 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
9341 (__dcigettext): Likewise.
9343 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9346 * include/sys/sysinfo.h (__get_nprocs_conf): Add
9348 (__get_nprocs): Likewise.
9349 (__get_phys_pages): Likewise.
9350 (__get_avphys_pages): Likewise.
9351 (__get_child_max): Add attribute_hidden.
9352 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
9353 (__get_nprocs): Likewise.
9354 (__get_phys_pages): Likewise.
9355 (__get_avphys_pages): Likewise.
9356 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
9358 (__get_nprocs): Likewise.
9359 (__get_phys_pages): Likewise.
9360 (__get_avphys_pages): Likewise.
9361 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
9363 (__get_nprocs_conf): Likewise.
9364 (__get_phys_pages): Likewise.
9365 (__get_avphys_pages): Likewise.
9367 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9370 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
9372 (__netlink_close): Likewise.
9373 (__netlink_free_handle): Likewise.
9374 (__netlink_request): Likewise.
9376 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9379 * include/rpc/rpc.h (__rpc_thread_variables): Add
9381 (__rpc_thread_svc_cleanup): Likewise.
9382 (__rpc_thread_clnt_cleanup): Likewise.
9383 (__rpc_thread_key_cleanup): Likewise.
9385 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9388 * include/sys/uio.h (__readv): Add libc_hidden_proto.
9389 (__writev): Likewise.
9390 * misc/readv.c (__readv): Add libc_hidden_def.
9391 * misc/writev.c (__writev): Likewise.
9392 * sysdeps/posix/readv.c (__readv): Likewise.
9393 * sysdeps/posix/writev.c (__writev): Likewise.
9394 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
9395 (__readv): Likewise.
9396 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
9397 (__writev): Likewise.
9399 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9402 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
9403 (__regcomp): Add libc_hidden_proto.
9404 (__regexec): Likewise.
9405 (__regfree): Likewise.
9406 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
9407 (__regfree): Likewise.
9408 * posix/regexec.c (__regexec): Likewise.
9410 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9413 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
9414 (__getutent): Likewise.
9415 (__getutid): Likewise.
9416 (__getutline): Likewise.
9417 (__pututline): Likewise.
9418 (__getutent_r): Likewise.
9419 (__getutid_r): Likewise.
9420 (__getutline_r): Likewise.
9421 (__utmpname): Add attribute_hidden.
9422 (__setutent): Likewise.
9423 (__endutent): Likewise.
9424 * login/getutent.c (__getutent): Add libc_hidden_def.
9425 * login/getutent_r.c (__getutent_r): Likewise.
9426 (__pututline): Likewise.
9427 * login/getutid.c (__getutid): Likewise.
9428 * login/getutid_r.c (__getutid_r): Likewise.
9429 * login/getutline.c (__getutline): Likewise.
9430 * login/getutline_r.c (__getutline_r): Likewise.
9431 * login/updwtmp.c (__updwtmp): Likewise.
9433 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9436 * include/dirent.h (__opendir): Always add attribute_hidden.
9437 (__fdopendir): Likewise.
9438 (__closedir): Likewise.
9439 (__readdir): Likewise.
9440 (__readdir64): Add libc_hidden_proto.
9441 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
9442 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
9443 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
9444 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
9447 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9450 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
9451 * include/netdb.h (__gethostbyaddr_r): Likewise.
9452 (__gethostbyname_r): Likewise.
9453 (__gethostbyname2_r): Likewise.
9454 (__getnetbyaddr_r): Likewise.
9455 (__getnetbyname_r): Likewise.
9456 (__getservbyname_r): Likewise.
9457 (__getservbyport_r): Likewise.
9458 (__getprotobyname_r): Likewise.
9459 (__getprotobynumber_r): Likewise.
9460 (__getnetgrent_r): Likewise.
9461 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
9462 (__getrpcbynumber_r): Likewise.
9463 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
9465 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9468 * include/stdio.h (__fcloseall): Add attribute_hidden.
9469 (__getline): Likewise.
9470 (__path_search): Likewise.
9471 (__gen_tempname): Likewise.
9472 (__libc_message): Likewise.
9473 (__flockfile): Likewise.
9474 (__funlockfile): Likewise.
9475 (__fxprintf): Likewise.
9476 (__fxprintf_nocancel): Likewise.
9478 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9481 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
9482 (__sgetsgent_r): Likewise.
9484 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9487 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
9488 (__statfs64): Likewise.
9489 (__fstatfs64): Likewise.
9490 * include/sys/statvfs.h (__statvfs64): Likewise.
9491 (__fstatvfs64): Likewise.
9492 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
9493 (__statfs_filesize_max): Likewise.
9494 (__statfs_symlinks): Likewise.
9495 (__statfs_chown_restricted): Likewise.
9497 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9500 * include/time.h (__tzstring): Add attribute_hidden.
9501 (__tzfile_read): Likewise.
9502 (__tzfile_compute): Likewise.
9503 (__tzfile_default): Likewise.
9504 (__tzset_parse_tz): Likewise.
9505 (__offtime): Likewise.
9506 (__asctime_r): Likewise.
9507 (__tzset): Likewise.
9508 (__tz_convert): Likewise.
9509 (__getdate_r): Likewise.
9510 (__getclktck): Likewise.
9512 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9515 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
9516 (__nscd_unmap): Likewise.
9517 (__nscd_cache_search): Likewise.
9518 (__nscd_get_nl_timestamp): Likewise.
9519 (__nscd_getpwnam_r): Likewise.
9520 (__nscd_getpwuid_r): Likewise.
9521 (__nscd_getgrnam_r): Likewise.
9522 (__nscd_getgrgid_r): Likewise.
9523 (__nscd_gethostbyname_r): Likewise.
9524 (__nscd_gethostbyname2_r): Likewise.
9525 (__nscd_gethostbyaddr_r): Likewise.
9526 (__nscd_getai): Likewise.
9527 (__nscd_getgrouplist): Likewise.
9528 (__nscd_getservbyname_r): Likewise.
9529 (__nscd_getservbyport_r): Likewise.
9530 (__nscd_innetgr): Likewise.
9531 (__nscd_setnetgrent): Likewise.
9533 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9536 * include/gmp.h: Declare internal functions only if _ISOMAC is
9538 (__mpn_extract_double): Add attribute_hidden.
9539 (__mpn_extract_long_double): Likewise.
9540 (__mpn_extract_float128): Likewise.
9541 (__mpn_construct_float): Likewise.
9542 (__mpn_construct_double): Likewise.
9543 (__mpn_construct_long_double): Likewise.
9544 (__mpn_construct_float128): Likewise.
9545 (mpn_add_1): Likewise.
9546 (mpn_addmul_1): Likewise.
9547 (mpn_add_n): Likewise.
9548 (mpn_cmp): Likewise.
9549 (mpn_divrem): Likewise.
9550 (mpn_lshift): Likewise.
9551 (mpn_mul): Likewise.
9552 (mpn_mul_1): Likewise.
9553 (mpn_rshift): Likewise.
9554 (mpn_sub_1): Likewise.
9555 (mpn_submul_1): Likewise.
9556 (mpn_sub_n): Likewise.
9558 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9561 * include/wchar.h (__wcsnlen): Add attribute_hidden.
9562 (__wcscat): Likewise.
9563 (__btowc): Likewise.
9564 (__wcrtomb): Likewise.
9565 (__mbsrtowcs): Likewise.
9566 (__wcsrtombs): Likewise.
9567 (__mbsnrtowcs): Likewise.
9568 (__wcsnrtombs): Likewise.
9569 (__wcsncpy): Likewise.
9570 (__wcpncpy): Likewise.
9571 (__wmemcpy): Likewise.
9572 (__wmempcpy): Likewise.
9573 (__wmemmove): Likewise.
9574 (__wcschrnul): Likewise.
9575 (__vfwscanf): Likewise.
9576 (__vswprintf): Likewise.
9577 (__fwprintf): Likewise.
9578 (__vfwprintf): Likewise.
9580 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9583 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
9584 (__getgrgid_r): Likewise.
9585 (__getgrnam_r): Likewise.
9586 * include/pwd.h (__getpwuid_r): Likewise.
9587 (__getpwnam_r): Likewise.
9588 (__fgetpwent_r): Likewise.
9589 * include/shadow.h (__getspnam_r): Likewise.
9590 (__sgetspent_r): Likewise.
9591 (__fgetspent_r): Likewise.
9593 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9596 * include/unistd.h (__access): Add attribute_hidden.
9597 (__lseek64): Likewise.
9598 (__libc_pread64): Likewise.
9599 (__pipe2): Likewise.
9600 (__sleep): Likewise.
9601 (__chdir): Likewise.
9602 (__fchdir): Likewise.
9603 (__getcwd): Likewise.
9604 (__rmdir): Likewise.
9605 (__execvpe): Likewise.
9606 (__execve): Likewise.
9607 (__setsid): Likewise.
9608 (__getuid): Likewise.
9609 (__geteuid): Likewise.
9610 (__getgid): Likewise.
9611 (__getegid): Likewise.
9612 (__getgroups): Likewise.
9613 (__group_member): Likewise.
9614 (__ttyname_r): Likewise.
9615 (__isatty): Likewise.
9616 (__readlink): Likewise.
9617 (__unlink): Likewise.
9618 (__gethostname): Likewise.
9619 (__profil): Likewise.
9620 (__getdtablesize): Likewise.
9622 (__ftruncate): Likewise.
9623 (__ftruncate64): Likewise.
9625 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9628 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
9629 * argp/argp-fs-xinl.c: Likewise.
9630 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
9631 * argp/argp-parse.c: Include <argp.h>.
9632 * argp/argp-xinl.c: Likewise.
9633 * include/argp-fmtstream.h: New file.
9634 * include/argp.h (__argp_error): Add attribute_hidden.
9635 (__argp_failure): Likewise.
9636 (__argp_input): Likewise.
9637 (__argp_state_help): Likewise.
9639 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9642 * include/wchar.h (____wcstof_l_internal): New prototype.
9643 (____wcstod_l_internal): Likewise.
9644 (____wcstold_l_internal): Likewise.
9645 (____wcstol_l_internal): Likewise.
9646 (____wcstoul_l_internal): Likewise.
9647 (____wcstoll_l_internal): Likewise.
9648 (____wcstoull_l_internal): Likewise.
9649 (____wcstof128_l_internal): Likewise.
9650 * sysdeps/ieee754/float128/wcstof128.c
9651 (____wcstof128_l_internal): Removed.
9652 * sysdeps/ieee754/float128/wcstof128_l.c
9653 (____wcstof128_l_internal): Likewise.
9654 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
9655 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
9656 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
9657 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
9658 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
9659 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
9660 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
9661 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
9662 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
9663 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
9665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9668 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
9669 instead of <sys/statvfs.h>.
9670 (__internal_statvfs): Removed.
9671 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
9672 instead of <sys/statvfs.h>.
9673 (__internal_statvfs64): Removed.
9674 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
9675 "internal_statvfs.h" instead of <sys/statvfs.h>.
9676 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
9677 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
9678 instead of <sys/statvfs.h>.
9679 (__internal_statvfs): Removed.
9680 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
9681 instead of <sys/statvfs.h>.
9682 (__internal_statvfs64): Removed.
9684 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9687 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
9688 (__gconv_close): Likewise.
9689 (__gconv): Likewise.
9690 (__gconv_find_transform): Likewise.
9691 (__gconv_lookup_cache): Likewise.
9692 (__gconv_compare_alias_cache): Likewise.
9693 (__gconv_load_cache): Likewise.
9694 (__gconv_get_path): Likewise.
9695 (__gconv_close_transform): Likewise.
9696 (__gconv_release_cache): Likewise.
9697 (__gconv_find_shlib): Likewise.
9698 (__gconv_release_shlib): Likewise.
9699 (__gconv_get_builtin_trans): Likewise.
9700 (__gconv_compare_alias): Likewise.
9701 * include/dlfcn.h (_dlerror_run): Likewise.
9702 * include/stdio.h (__fortify_fail_abort): Likewise.
9703 * include/time.h (__tz_compute): Likewise.
9704 (__strptime_internal): Likewise.
9705 * intl/gettextP.h (_nl_find_domain): Likewise.
9706 (_nl_load_domain): Likewise.
9707 (_nl_find_msg): Likewise.
9708 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
9709 (EXTRACT_PLURAL_EXPRESSION): Likewise.
9710 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
9711 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
9712 (__gai_find_request): Likewise.
9713 (__gai_remove_request): Likewise.
9714 (__gai_notify): Likewise.
9715 (__gai_notify_only): Likewise.
9716 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
9717 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
9718 (_dl_non_dynamic_init): Likewise.
9719 (_dl_aux_init): Likewise.
9720 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
9721 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
9723 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
9724 (__wcsmbs_clone_conv): Likewise.
9725 (__wcsmbs_named_conv): Likewise.
9727 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9730 * include/stdlib.h (__random): Add attribute_hidden.
9731 (__random_r): Likewise.
9732 (__srandom_r): Likewise.
9733 (__initstate_r): Likewise.
9734 (__setstate_r): Likewise.
9735 (__erand48_r): Likewise.
9736 (__nrand48_r): Likewise.
9737 (__jrand48_r): Likewise.
9738 (__srand48_r): Likewise.
9739 (__seed48_r): Likewise.
9740 (__lcong48_r): Likewise.
9741 (__drand48_iterate): Likewise.
9742 (__setenv): Likewise.
9743 (__unsetenv): Likewise.
9744 (__clearenv): Likewise.
9745 (__ptsname_r): Likewise.
9746 (__posix_openpt): Likewise.
9747 (__add_to_environ): Likewise.
9748 (__realpath): Add libc_hidden_proto.
9749 (__ecvt_r): Likewise.
9750 (__fcvt_r): Likewise.
9751 (__qecvt_r): Likewise.
9752 (__qfcvt_r): Likewise.
9753 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
9754 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
9756 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9759 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
9760 * include/time.h (__mktime_internal): Likewise.
9761 * libio/iolibio.h (__fopen_internal): Likewise.
9763 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
9765 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
9767 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
9768 Correct offset used to restore PIC register.
9770 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
9773 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
9774 code to load address of __getcontext_ret when generating PIC code.
9776 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
9778 * elf/Makefile (tests-static-internal): Add
9779 tst-tls1-static-non-pie.
9780 (LDFLAGS-tst-tls1-static-non-pie): New.
9781 * elf/tst-tls1-static-non-pie.c: New file.
9783 2017-09-29 Joseph Myers <joseph@codesourcery.com>
9785 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
9786 (asinh): Define using libm_alias_double.
9787 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
9788 (cbrt): Define using libm_alias_double.
9789 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
9790 <libm-alias-double.h>.
9791 (copysign): Define using libm_alias_double.
9792 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
9793 (erf): Define using libm_alias_double.
9795 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
9796 (expm1): Define using libm_alias_double.
9797 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
9798 (fabs): Define using libm_alias_double.
9799 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
9801 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
9802 <libm-alias-double.h>.
9803 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
9805 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
9806 <libm-alias-double.h>.
9807 (getpayload): Define using libm_alias_double.
9808 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
9809 <libm-alias-double.h>.
9810 (llrint): Define using libm_alias_double.
9811 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
9812 (lrint): Define using libm_alias_double.
9813 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
9814 <libm-alias-double.h>.
9815 (nextup): Define using libm_alias_double.
9816 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
9817 <libm-alias-double.h>.
9818 (roundeven): Define using libm_alias_double.
9819 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
9821 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
9822 <libm-alias-double.h>.
9823 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
9824 using libm_alias_double.
9825 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
9826 (cos): Define using libm_alias_double.
9828 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
9829 <libm-alias-double.h>.
9830 (sincos): Define using libm_alias_double.
9831 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
9832 (tanh): Define using libm_alias_double.
9833 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
9834 <libm-alias-double.h>.
9835 (totalorder): Define using libm_alias_double.
9836 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
9837 <libm-alias-double.h>.
9838 (totalordermag): Define using libm_alias_double.
9839 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
9841 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
9843 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
9844 <libm-alias-double.h>.
9845 (getpayload): Define using libm_alias_double.
9846 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
9847 <libm-alias-double.h>.
9848 (roundeven): Define using libm_alias_double.
9849 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
9850 <libm-alias-double.h>.
9851 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
9852 <libm-alias-double.h>.
9853 (totalorder): Define using libm_alias_double.
9854 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
9855 <libm-alias-double.h>.
9856 (totalordermag): Define using libm_alias_double.
9857 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
9858 libc compat symbol here.
9859 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
9860 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
9861 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
9862 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
9863 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
9864 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
9865 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
9866 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
9867 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
9868 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
9870 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
9872 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
9873 _dl_relocate_static_pie instead of _dl_start to compute load
9874 address in static PIE. Return 0 if _DYNAMIC is undefined for
9877 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
9879 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
9880 _DYNAMIC is undefined for static executable.
9882 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
9884 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
9886 2017-09-29 Joseph Myers <joseph@codesourcery.com>
9888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9890 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
9892 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
9893 (__ieee754_lgamma_r): Use fabs rather than __fabs.
9894 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9895 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9896 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
9897 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
9898 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
9899 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
9900 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
9901 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
9902 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
9903 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9904 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
9905 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
9906 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9907 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9908 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
9910 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
9912 * math/bits/cmathcalls.h (cimag): Remove inline.
9913 (creal): Remove inline.
9914 (conj): Remove inline.
9916 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
9918 * math/Makefile (type-float-routines): Add e_powf_log2_data.
9919 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
9920 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
9921 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
9922 (issignalingf_inline): Likewise.
9923 (POWF_LOG2_TABLE_BITS): Likewise.
9924 (POWF_LOG2_POLY_ORDER): Likewise.
9925 (POWF_SCALE_BITS): Likewise.
9926 (POWF_SCALE): Likewise.
9927 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
9928 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
9929 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
9931 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
9933 * math/Makefile (type-float-routines): Add e_log2f_data.
9934 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
9935 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
9936 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
9937 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
9938 * sysdeps/i386/fpu/e_log2f_data.c: New file.
9939 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
9940 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
9942 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
9944 * math/Makefile (type-float-routines): Add e_logf_data.
9945 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
9946 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
9947 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
9948 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
9949 * sysdeps/i386/fpu/e_logf_data.c: New file.
9950 * sysdeps/ia64/fpu/e_logf_data.c: New file.
9951 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
9953 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
9955 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
9956 undefined _DYNAMIC in PIE libc.a.
9957 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
9960 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
9962 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
9963 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
9964 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
9965 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
9966 (__signbit): Remove.
9967 (__signbitl): Remove.
9968 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
9969 (__signbit): Remove.
9970 (__signbitl): Remove.
9971 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
9972 (__signbit): Remove.
9973 (__signbitl): Remove.
9974 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
9975 (__signbit): Remove.
9976 (__signbitl): Remove.
9977 * sysdeps/tile/bits/mathinline.h: Delete file.
9978 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
9979 (__signbit): Remove.
9980 (__signbitl): Remove.
9982 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
9984 * math/math.h: Improve handling of C99 isgreater macros.
9985 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
9986 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
9987 * sysdeps/powerpc/bits/mathinline.h: Likewise.
9988 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9989 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
9991 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9993 * sysdeps/aarch64/libm-test-ulps: Update.
9995 2017-09-28 Joseph Myers <joseph@codesourcery.com>
9998 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9999 math_opt_barrier on argument when doing arithmetic on it.
10000 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10001 Likewise. Use math_force_eval not math_opt_barrier after
10003 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
10004 math_opt_barrier on argument when doing arithmetic on it.
10005 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10008 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
10010 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
10012 (__freeifaddrs): Likewise.
10014 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10016 * include/dirent.h (__dirfd): New declaration.
10017 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
10019 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
10020 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
10021 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
10022 * include/unistd.h (__revoke): New declaration.
10023 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
10025 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10026 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
10028 * include/dirent.h (__seekdir): New declaration.
10029 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
10030 redefine as weak alias.
10031 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
10033 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
10034 and use libc_hidden_def on them.
10035 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
10037 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
10038 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
10039 instead of getifaddrs and freeifaddrs.
10041 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
10044 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
10045 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
10046 (__dso_handle): Remove declaration.
10047 * dlfcn/tstatexit.c (__dso_handle): Removed.
10048 (main): Don't check __dso_handle.
10049 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
10050 (main): Don't check __dso_handle.
10051 * include/dso_handle.h: New file.
10052 * malloc/mtrace.c: Include <dso_handle.h>.
10053 (mtrace): Pass __dso_handle directly.
10054 * nptl/pthread_atfork.c: Include <dso_handle.h>.
10055 (__dso_handle): Remove declaration.
10056 (__pthread_atfork): Pass __dso_handle directly.
10057 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
10058 (__dso_handle): Removed.
10059 * posix/wordexp-test.c: Include <dso_handle.h>.
10060 (__dso_handle): Remove declaration.
10061 (__app_register_atfork): Pass __dso_handle directly.
10062 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
10063 (__dso_handle): Remove declaration.
10064 (at_quick_exit): Pass __dso_handle directly.
10065 * stdlib/atexit.c: Include <dso_handle.h>.
10066 (__dso_handle): Remove declaration.
10067 (atexit): Pass __dso_handle directly.
10068 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
10069 (__dso_handle): Removed.
10071 2017-09-26 Joseph Myers <joseph@codesourcery.com>
10073 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
10076 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
10078 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
10079 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
10080 values to correct default value for given type.
10082 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
10085 * elf/Makefile (tests): Add tst-debug1.
10086 ($(objpfx)tst-debug1): New.
10087 ($(objpfx)tst-debug1.out): Likewise.
10088 ($(objpfx)tst-debug1mod1.so): Likewise.
10089 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
10090 with p_filesz == 0.
10091 * elf/tst-debug1.c: New file.
10093 2017-09-26 Joseph Myers <joseph@codesourcery.com>
10095 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
10096 Define using __ifunc.
10098 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10100 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
10103 2017-09-26 Joseph Myers <joseph@codesourcery.com>
10106 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
10108 2017-09-26 Florian Weimer <fweimer@redhat.com>
10110 * resolv/Makefile (tests-internal): Fix typo in comment.
10112 2017-09-26 Florian Weimer <fweimer@redhat.com>
10114 * resolv/nss_dns/dns-host.c: Fix typo in comment.
10116 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10118 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
10119 Use an union instead of a max_align_t array for __space,
10120 so that __space is the same size on all platforms.
10121 * malloc/scratch_buffer_grow_preserve.c
10122 (__libc_scratch_buffer_grow_preserve): Likewise.
10125 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
10127 * posix/Makefile (routines): Add glob-lstat-compat and
10128 glob64-lstat-compat.
10129 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
10130 * posix/glob-lstat-compat.c: New file.
10131 * posix/glob64-lstat-compat.c: Likewise.
10132 * posix/tst-glob_lstat_compat.c: Likewise.
10133 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
10134 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
10135 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
10136 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
10138 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
10139 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
10140 * posix/glob.c (glob_lstat): New function.
10141 (glob): Rename to __glob and add versioned symbol to 2.27.
10142 (glob_in_dir): Use glob_lstat.
10143 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
10144 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10145 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
10147 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
10148 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
10149 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
10150 gl_lstat on glob call.
10151 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
10152 and glob64 symbols.
10153 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10154 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10155 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10156 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10157 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10158 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10159 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10160 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10161 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10162 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10163 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10164 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10167 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10169 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10170 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10171 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10172 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10173 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10176 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10177 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10178 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10180 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
10182 * configure.ac (AS): Require binutils 2.25 or later.
10183 * configure: Regenerated.
10185 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10188 * stdlib/test-atexit-race-common.c (do_test): Minimize required
10191 2017-09-25 DJ Delorie <dj@redhat.com>
10194 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
10197 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10199 * sysdeps/ieee754/dbl-64/sincos32.h
10200 [SINCCOS32_H]: Remove define.
10201 [SINCOS32_H]: Define.
10203 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
10205 * math/Versions (expf): New libm symbol at GLIBC_2.27.
10207 * math/w_exp2f.c: New file.
10208 * math/w_expf.c: New file.
10209 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
10210 * math/w_expf_compat.c (__expf_compat): Likewise.
10211 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
10212 * sysdeps/ia64/fpu/e_expf.S: Likewise.
10213 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10214 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10215 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10216 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10217 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10218 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10219 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10220 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10221 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10222 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10223 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10224 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10233 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10234 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10235 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10236 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10237 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10242 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10243 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10244 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10246 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
10248 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
10249 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
10250 (roundtoint, converttoint): Likewise.
10251 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
10252 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
10253 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
10254 * sysdeps/ieee754/flt-32/math_config.h: New file.
10255 * sysdeps/ieee754/flt-32/math_errf.c: New file.
10256 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
10257 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
10258 * sysdeps/i386/fpu/math_errf.c: New file.
10259 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
10260 * sysdeps/ia64/fpu/math_errf.c: New file.
10261 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
10262 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
10264 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
10266 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
10267 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
10268 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
10269 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
10270 to make sure that these symbols are defined.
10271 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
10273 (__need_NULL): Do not define.
10274 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
10276 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
10277 CMGROUP_MAX, cmsgcred): Do not define.
10278 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
10280 * bits/socket.h: Likewise.
10281 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
10282 __gettimeofday instead of gettimeofday.
10283 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
10284 instead of settimeofday.
10286 2017-09-22 Joseph Myers <joseph@codesourcery.com>
10288 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
10289 (asinhf): Define using libm_alias_float.
10290 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
10291 (atanf): Define using libm_alias_float.
10292 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
10293 (cbrtf): Define using libm_alias_float.
10294 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
10295 (ceilf): Define using libm_alias_float.
10296 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
10297 <libm-alias-float.h>.
10298 (copysignf): Define using libm_alias_float.
10299 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
10300 (cosf): Define using libm_alias_float.
10301 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
10302 (erff): Define using libm_alias_float.
10304 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
10305 (expm1f): Define using libm_alias_float.
10306 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
10307 (fabsf): Define using libm_alias_float.
10308 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
10309 (floorf): Define using libm_alias_float.
10310 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
10311 (frexpf): Define using libm_alias_float.
10312 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
10314 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
10315 <libm-alias-float.h>.
10316 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
10318 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
10319 <libm-alias-float.h>.
10320 (getpayloadf): Define using libm_alias_float.
10321 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
10322 <libm-alias-float.h>.
10323 (llrintf): Define using libm_alias_float.
10324 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
10325 <libm-alias-float.h>.
10326 (llroundf): Define using libm_alias_float.
10327 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
10328 (logbf): Define using libm_alias_float.
10329 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
10330 (lrintf): Define using libm_alias_float.
10331 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
10332 (lroundf): Define using libm_alias_float.
10333 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
10334 (modff): Define using libm_alias_float.
10335 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
10336 <libm-alias-float.h>.
10337 (nearbyintf): Define using libm_alias_float.
10338 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
10339 <libm-alias-float.h>.
10340 (nextafterf): Define using libm_alias_float.
10341 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
10342 <libm-alias-float.h>.
10343 (nextupf): Define using libm_alias_float.
10344 * sysdeps/ieee754/flt-32/s_remquof.c: Include
10345 <libm-alias-float.h>.
10346 (remquof): Define using libm_alias_float.
10347 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
10348 (rintf): Define using libm_alias_float.
10349 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
10350 <libm-alias-float.h>.
10351 (roundevenf): Define using libm_alias_float.
10352 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
10353 (roundf): Define using libm_alias_float.
10354 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
10355 using libm_alias_float.
10356 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
10357 <libm-alias-float.h>.
10358 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
10359 Define using libm_alias_float.
10360 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
10361 <libm-alias-float.h>.
10362 (sincosf): Define using libm_alias_float.
10363 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
10364 (sinf): Define using libm_alias_float.
10365 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
10366 (tanf): Define using libm_alias_float.
10367 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
10368 (tanhf): Define using libm_alias_float.
10369 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
10370 <libm-alias-float.h>.
10371 (totalorderf): Define using libm_alias_float.
10372 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
10373 <libm-alias-float.h>.
10374 (totalordermagf): Define using libm_alias_float.
10375 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
10376 (truncf): Define using libm_alias_float.
10377 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
10379 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
10382 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10385 math/math.h: Let fpclassify use the builtin in C++ mode, even
10386 when optimazing for size.
10388 2017-09-22 Joseph Myers <joseph@codesourcery.com>
10390 * csu/Makefile (generated): Do not add version-info.h.
10391 (before-compile): Likewise.
10392 (all-Banner-files): Remove variable.
10393 ($(objpfx)version-info.h): Remove rule.
10394 * csu/version.c (banner): Do not include "version-info.h".
10395 * libidn/Banner: Remove.
10396 * manual/contrib.texi (Simon Josefsson): New entry.
10398 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10400 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10401 Remove conditionals on LDBL_MANT_DIG.
10402 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
10403 (__ieee754_lgammal_r): Likewise.
10405 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10407 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
10409 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
10410 _Float128 and L(). Replace _Float128 with long double and L(x)
10411 with xL, throughout the file.
10412 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10413 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10414 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10415 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
10417 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10419 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
10420 sysdeps/ieee754/ldbl-128ibm.
10421 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
10422 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
10423 of including it. Keep _Float128 and L() intact. These will be
10424 reviewed by a separate patch.
10425 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10426 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10427 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10428 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
10430 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
10433 (__finitef128): Define to __redirect___finitef128.
10434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
10435 (__isinff128): Define to __redirect___isinff128.
10436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
10437 (__isnanf128): Define to __redirect___isnanf128.
10439 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10441 * sysdeps/powerpc/powerpc64le/Makefile
10442 (CFLAGS-tst-strtod-nan-locale.c): New variable.
10443 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
10445 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
10446 Carlos O'Donell <carlos@redhat.com>
10449 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
10450 * stdlib/test-dlclose-exit-race.c: New file.
10451 * stdlib/test-dlclose-exit-race-helper.c: New file.
10452 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
10454 2017-09-21 Joseph Myers <joseph@codesourcery.com>
10456 * crypt/Banner: Remove file.
10457 * nptl/Banner: Likewise.
10458 * resolv/Banner: Likewise.
10459 * soft-fp/Banner: Likewise.
10460 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
10461 ($(objpfx)version.d): Remove dependency on banner.h.
10462 ($(objpfx)version.os): Likewise.
10463 * nptl/version.c (banner): Do not include banner.h.
10464 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
10465 Jelinek and BIND code.
10467 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
10468 Carlos O'Donell <carlos@redhat.com>
10470 * support/xdlfcn.h: New file.
10471 * support/xdlfcn.c: New file.
10472 * support/Makefile (libsupport-routines): Add xdlfcn.
10473 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
10475 2017-09-20 Joseph Myers <joseph@codesourcery.com>
10478 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10479 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
10480 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
10481 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
10482 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10483 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
10484 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
10485 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10487 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
10488 Ricky Zhou <rickyz@google.com>
10489 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
10492 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
10494 (__new_exitfn): Fail registration when we finished at_exit processing.
10495 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10496 * stdlib/on_exit.c (__on_exit): Likewise.
10497 * stdlib/exit.c (__exit_funcs_done): New variable.
10498 (__run_exit_handlers): Use __exit_funcs_lock.
10499 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
10501 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
10502 (test-cxa_atexit-race, test-on_exit-race): New tests.
10503 * stdlib/test-atexit-race-common.c: New file.
10504 * stdlib/test-atexit-race.c: New file.
10505 * stdlib/test-at_quick_exit-race.c: New file.
10506 * stdlib/test-cxa_atexit-race.c: New file.
10507 * stdlib/test-on_exit-race.c: New file.
10509 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
10511 * benchtests/Makefile: Add exp2f and log2f benchmarks.
10512 * benchtests/exp2f-inputs: Copy of expf-inputs.
10513 * benchtests/log2f-inputs: Copy of logf-inputs.
10515 2017-09-19 Joseph Myers <joseph@codesourcery.com>
10517 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
10518 Explicitly take address of first element of array arguments in
10519 call to INLINE_SYSCALL.
10521 2017-09-19 Andreas Schwab <schwab@suse.de>
10524 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
10526 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
10528 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
10529 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
10530 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10531 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
10532 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10533 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
10534 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10535 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
10536 * posix/Makefile (tests): Add tst-fexecve.
10537 * posix/tst-fexecve.c: New file.
10539 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10541 * benchtests/Makefile: Add logf benchmark.
10542 * benchtests/logf-inputs: Add reduced trace from wrf_r.
10544 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10546 * benchtests/Makefile: Add expf benchmark.
10547 * benchtests/expf-inputs: Add reduced trace from wrf_r.
10549 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10551 * csu/Makefile: Add -funwind-tables to libc-start.c.
10552 * debug/Makefile: Add -funwind-tables to backtrace.c.
10553 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
10554 * sysdeps/arm/Makefile: Likewise.
10555 * sysdeps/i386/Makefile: Likewise.
10556 * sysdeps/m68k/Makefile: Likewise.
10557 * sysdeps/mips/Makefile: Likewise.
10558 * sysdeps/nios2/Makefile: Likewise.
10559 * sysdeps/sh/Makefile: Likewise.
10560 * sysdeps/sparc/Makefile: Likewise.
10562 2017-09-19 Joseph Myers <joseph@codesourcery.com>
10564 * benchtests/Makefile (bench-math): Add trunc and truncf.
10565 (CFLAGS-bench-trunc.c): New variable.
10566 (CFLAGS-bench-truncf.c): Likewise.
10567 * benchtests/trunc-inputs: New file.
10568 * benchtests/truncf-inputs: Likewise.
10570 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10572 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
10574 2017-09-18 Joseph Myers <joseph@codesourcery.com>
10576 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
10577 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
10579 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
10580 (exp10l): Define as weak alias.
10581 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
10582 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
10584 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
10585 (remainderl): Define as weak alias.
10587 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
10588 (fmal): Define using libm_alias_ldouble.
10589 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
10590 (acoshl): Define using libm_alias_ldouble.
10591 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
10592 (acosl): Define using libm_alias_ldouble.
10593 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
10594 (asinl): Define using libm_alias_ldouble.
10595 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
10596 (atan2l): Define using libm_alias_ldouble.
10597 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
10598 (atanhl): Define using libm_alias_ldouble.
10599 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
10600 (coshl): Define using libm_alias_ldouble.
10601 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
10602 (exp10l): Define using libm_alias_ldouble.
10603 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
10604 (exp2l): Define using libm_alias_ldouble.
10605 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
10606 (expl): Define using libm_alias_ldouble.
10607 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
10608 (fmodl): Define using libm_alias_ldouble.
10609 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
10610 (hypotl): Define using libm_alias_ldouble.
10611 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
10612 (j0l): Define using libm_alias_ldouble.
10614 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
10615 (j1l): Define using libm_alias_ldouble.
10617 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
10618 (jnl): Define using libm_alias_ldouble.
10620 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
10621 (log10l): Define using libm_alias_ldouble.
10622 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
10623 (log2l): Define using libm_alias_ldouble.
10624 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
10625 (logl): Define using libm_alias_ldouble.
10626 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
10627 (powl): Define using libm_alias_ldouble.
10628 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
10629 (remainderl): Define using libm_alias_ldouble.
10630 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
10631 (sinhl): Define using libm_alias_ldouble.
10632 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
10633 (sqrtl): Define using libm_alias_ldouble.
10634 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
10635 (tgammal): Define using libm_alias_ldouble.
10636 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
10637 (exp10l): Do not use long_double_symbol here.
10638 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
10639 [LIBM_SVID_COMPAT] (remainderl): Likewise.
10640 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
10641 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10642 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10643 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10644 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10645 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10646 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10647 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
10648 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10649 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10650 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10651 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10652 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10653 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10654 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10655 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10656 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10657 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10658 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10659 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10661 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
10663 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
10664 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
10666 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
10668 * io/read.c (read): Add libc_hidden_weak.
10669 * sysdeps/mach/hurd/read.c (read): Likewise.
10670 * io/write.c (write): Likewise.
10671 * sysdeps/mach/hurd/write.c (write): Likewise.
10672 * io/pread64.c (__pread64): Likewise.
10673 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
10674 * posix/pread64.c (__pread64): Add libc_hidden_def.
10676 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10678 * benchtests/scripts/compare_strings.py: New option -g.
10679 (draw_graph): Print a message that a graph is being generated.
10680 (process_results): Generate graph only if -g is passed.
10681 (main): Process option -g.
10683 * benchtests/scripts/compare_strings.py (process_results):
10684 Better spacing for output.
10686 * benchtests/scripts/compare_strings.py: Use argparse.
10687 * benchtests/README: Document existence of compare_strings.py.
10689 2017-09-15 Joseph Myers <joseph@codesourcery.com>
10691 * math/s_fma.c: Include <libm-alias-double.h>.
10692 (fma): Define using libm_alias_double.
10693 * math/s_nextafter.c: Include <libm-alias-double.h>.
10694 (nextafter): Define using libm_alias_double.
10695 * math/w_acos_compat.c: Include <libm-alias-double.h>.
10696 (acos): Define using libm_alias_double.
10697 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
10698 (aocsh): Define using libm_alias_double.
10699 * math/w_asin_compat.c: Include <libm-alias-double.h>.
10700 (asin): Define using libm_alias_double.
10701 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
10702 (atan2): Define using libm_alias_double.
10703 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
10704 (atanh): Define using libm_alias_double.
10705 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
10706 (cosh): Define using libm_alias_double.
10707 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
10708 (exp10): Define using libm_alias_double.
10709 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
10710 (exp2): Define using libm_alias_double.
10711 * math/w_exp_compat.c: Include <libm-alias-double.h>.
10712 (exp): Define using libm_alias_double.
10713 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
10714 (fmod): Define using libm_alias_double.
10715 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
10716 (hypot): Define using libm_alias_double.
10717 * math/w_j0_compat.c: Include <libm-alias-double.h>.
10718 (j0): Define using libm_alias_double.
10720 * math/w_j1_compat.c: Include <libm-alias-double.h>.
10721 (j1): Define using libm_alias_double.
10723 * math/w_jn_compat.c: Include <libm-alias-double.h>.
10724 (jn): Define using libm_alias_double.
10726 * math/w_log10_compat.c: Include <libm-alias-double.h>.
10727 (log10): Define using libm_alias_double.
10728 * math/w_log2_compat.c: Include <libm-alias-double.h>.
10729 (log2): Define using libm_alias_double.
10730 * math/w_log_compat.c: Include <libm-alias-double.h>.
10731 (log): Define using libm_alias_double.
10732 * math/w_pow_compat.c: Include <libm-alias-double.h>.
10733 (pow): Define using libm_alias_double.
10734 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
10735 (remainder): Define using libm_alias_double.
10736 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
10737 (sinh): Define using libm_alias_double.
10738 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
10739 (sqrt): Define using libm_alias_double.
10740 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
10741 (tgamma): Define using libm_alias_double.
10742 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
10743 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
10744 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
10745 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
10746 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
10747 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
10748 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
10749 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
10750 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
10751 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
10752 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
10753 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
10754 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
10755 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
10756 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
10757 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
10758 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
10759 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
10760 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
10761 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
10762 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
10763 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
10764 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
10765 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
10766 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
10768 * math/e_acoshl.c: Remove.
10769 * math/e_acosl.c: Likewise.
10770 * math/e_asinl.c: Likewise.
10771 * math/e_atan2l.c: Likewise.
10772 * math/e_atanhl.c: Likewise.
10773 * math/e_coshl.c: Likewise.
10774 * math/e_expl.c: Likewise.
10775 * math/e_fmodl.c: Likewise.
10776 * math/e_gammal_r.c: Likewise.
10777 * math/e_hypotl.c: Likewise.
10778 * math/e_j0l.c: Likewise.
10779 * math/e_j1l.c: Likewise.
10780 * math/e_jnl.c: Likewise.
10781 * math/e_lgammal_r.c: Likewise.
10782 * math/e_log10l.c: Likewise.
10783 * math/e_log2l.c: Likewise.
10784 * math/e_logl.c: Likewise.
10785 * math/e_powl.c: Likewise.
10786 * math/e_rem_pio2l.c: Likewise.
10787 * math/e_sinhl.c: Likewise.
10788 * math/e_sqrtf128.c: Likewise.
10789 * math/e_sqrtl.c: Likewise.
10790 * math/k_cosl.c: Likewise.
10791 * math/k_sinl.c: Likewise.
10792 * math/k_tanl.c: Likewise.
10793 * math/s_asinhl.c: Likewise.
10794 * math/s_atanl.c: Likewise.
10795 * math/s_cbrtl.c: Likewise.
10796 * math/s_erfl.c: Likewise.
10797 * math/s_expm1l.c: Likewise.
10798 * math/s_log1pl.c: Likewise.
10799 * math/s_tanhl.c: Likewise.
10801 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10804 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
10805 [$(subdir) = math] (sysdep_calls): New variable. Has the
10806 previous contents of sysdep_routines, but re-sorted..
10807 [$(subdir) = math] (sysdep_routines): Re-use the contents from
10809 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
10810 defined in sysdep_calls and replace by the respective m_* names.
10811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
10812 (compat_symbol): Undefine to avoid duplicated compat symbols in
10815 2017-09-15 Joseph Myers <joseph@codesourcery.com>
10817 * math/s_fmaf.c: Include <libm-alias-float.h>.
10818 (fmaf): Define using libm_alias_float.
10819 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
10820 (acosf): Define using libm_alias_float.
10821 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
10822 (acoshf): Define using libm_alias_float.
10823 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
10824 (asinf): Define using libm_alias_float.
10825 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
10826 (atan2f): Define using libm_alias_float.
10827 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
10828 (atanhf): Define using libm_alias_float.
10829 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
10830 (coshf): Define using libm_alias_float.
10831 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
10832 (exp10f): Define using libm_alias_float.
10833 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
10834 (fmodf): Define using libm_alias_float.
10835 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
10836 (hypotf): Define using libm_alias_float.
10837 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
10838 (j0f): Define using libm_alias_float.
10840 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
10841 (j1f): Define using libm_alias_float.
10843 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
10844 (jnf): Define using libm_alias_float.
10846 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
10847 (log10f): Define using libm_alias_float.
10848 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
10849 (log2f): Define using libm_alias_float.
10850 * math/w_logf_compat.c: Include <libm-alias-float.h>.
10851 (logf): Define using libm_alias_float.
10852 * math/w_powf_compat.c: Include <libm-alias-float.h>.
10853 (powf): Define using libm_alias_float.
10854 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
10855 (remainderf): Define using libm_alias_float.
10856 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
10857 (sinhf): Define using libm_alias_float.
10858 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
10859 (sqrtf): Define using libm_alias_float.
10860 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
10861 (tgammaf): Define using libm_alias_float.
10863 2017-09-14 Joseph Myers <joseph@codesourcery.com>
10865 * include/math.h (roundeven): Change hidden_proto call to
10867 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
10869 [NO_LONG_DOUBLE] (__j0l): New strong alias.
10870 (y0): Rename to __y0 and define as weak alias.
10871 [NO_LONG_DOUBLE] (__y0l): New strong alias.
10872 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
10874 (y0f): Rename to __y0f and define as weak alias.
10875 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
10877 [NO_LONG_DOUBLE] (__j1l): New strong alias.
10878 (y1): Rename to __y1 and define as weak alias.
10879 [NO_LONG_DOUBLE] (__y1l): New strong alias.
10880 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
10882 (y1f): Rename to __y1f and define as weak alias.
10883 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
10885 [NO_LONG_DOUBLE] (__jnl): New strong alias.
10886 (yn): Rename to __yn and define as weak alias.
10887 [NO_LONG_DOUBLE] (__ynl): New strong alias.
10888 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
10890 (ynf): Rename to __ynf and define as weak alias.
10891 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
10892 (fromfp): Define as weak alias.
10893 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
10894 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
10895 (fromfpx): Define as weak alias.
10896 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
10897 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
10898 __getpayload and define as weak alias.
10899 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
10900 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
10901 __roundeven and define as weak alias.
10902 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
10903 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
10905 (setpayload): Define as weak alias.
10906 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
10907 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
10909 (setpayloadsig): Define as weak alias.
10910 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
10911 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
10912 __totalorder and define as weak alias.
10913 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
10914 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
10915 to __totalordermag and define as weak alias.
10916 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
10917 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
10918 (ufromfp): Define as weak alias.
10919 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
10920 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
10922 (ufromfpx): Define as weak alias.
10923 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
10924 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
10925 Rename to __getpayload and define as weak alias.
10926 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
10927 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
10928 Rename to __roundeven and define as weak alias.
10929 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
10930 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
10931 Rename to __totalorder and define as weak alias.
10932 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
10933 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
10934 (totalordermag): Rename to __totalordermag and define as weak
10936 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
10937 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
10939 (__roundevenl): Likewise.
10940 (__totalorderl): Likewise.
10941 (__totalordermagl): Likewise
10942 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
10944 (fromfpf128): Define as weak alias.
10945 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
10947 (fromfpxf128): Define as weak alias.
10948 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
10950 (setpayloadf128): Define as weak alias.
10951 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
10952 __setpayloadsigf128.
10953 (setpayloadsigf128): Define as weak alias.
10954 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
10956 (ufromfpf128): Define as weak alias.
10957 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
10959 (ufromfpxf128): Define as weak alias.
10960 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
10961 (fromfpf): Define as weak alias.
10962 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
10964 (fromfpxf): Define as weak alias.
10965 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
10966 __getpayloadf and define as weak alias.
10967 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
10968 __roundevenf and define as weak alias.
10969 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
10971 (setpayloadf): Define as weak alias.
10972 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
10974 (setpayloadsigf): Define as weak alias.
10975 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
10976 __totalorderf and define as weak alias.
10977 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
10978 Rename to __totalordermagf and define as weak alias.
10979 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
10981 (ufromfpf): Define as weak alias.
10982 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
10984 (ufromfpxf): Define as weak alias.
10985 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
10987 (fromfpl): Define as weak alias.
10988 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
10990 (fromfpxl): Define as weak alias.
10991 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
10992 to __getpayloadl and define as weak alias.
10993 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
10994 __roundevenl and define as weak alias.
10995 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
10997 (setpayloadl): Define as weak alias.
10998 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
11000 (setpayloadsigl): Define as weak alias.
11001 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
11002 to __totalorderl and define as weak alias.
11003 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
11004 Rename to __totalordermagl and define as weak alias.
11005 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
11007 (ufromfpl): Define as weak alias.
11008 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
11010 (ufromfpxl): Define as weak alias.
11011 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
11013 (fromfpl): Define as weak alias.
11014 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
11016 (fromfpxl): Define as weak alias.
11017 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
11018 Rename to __getpayloadl and define as weak alias.
11019 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
11020 to __roundevenl and define as weak alias. Call __roundeven
11021 instead of roundeven.
11022 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
11024 (setpayloadl): Define as weak alias.
11025 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
11027 (setpayloadsigl): Define as weak alias.
11028 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
11029 Rename to __totalorderl and define as weak alias.
11030 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
11031 Rename to __totalordermagl and define as weak alias.
11032 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
11034 (ufromfpl): Define as weak alias.
11035 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
11037 (ufromfpxl): Define as weak alias.
11038 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
11040 (fromfpl): Define as weak alias.
11041 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
11043 (fromfpxl): Define as weak alias.
11044 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
11045 __getpayloadl and define as weak alias.
11046 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
11047 __roundevenl and define as weak alias.
11048 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
11050 (setpayloadl): Define as weak alias.
11051 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
11053 (setpayloadsigl): Define as weak alias.
11054 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
11055 __totalorderl and define as weak alias.
11056 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
11057 Rename to __totalordermagl and define as weak alias.
11058 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
11060 (ufromfpl): Define as weak alias.
11061 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
11063 (ufromfpxl): Define as weak alias.
11065 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
11067 * benchtests/bench-string.h (realloc_bufs): New function.
11068 (test_init): Call it.
11069 * benchtests/bench-memset-large.c (do_test): Likewise.
11070 * benchtests/bench-memset.c (do_test): Likewise.
11072 * benchtests/bench-memset-large.c: Print output in JSON
11074 * benchtests/bench-memset.c: Likewise.
11076 2017-09-14 Mike FABIAN <mfabian@redhat.com>
11079 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
11080 * iconvdata/Makefile: Add IBM858.
11081 * iconvdata/gconv-modules: Likewise.
11082 * iconvdata/tst-tables.sh: Likewise.
11083 * iconvdata/ibm858.c: New file.
11084 * localedata/charmaps/IBM858: Likewise.
11086 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
11089 * locales/niu_NZ (LC_TIME): copy "niu_NU".
11090 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
11092 2017-09-14 Mike FABIAN <mfabian@redhat.com>
11095 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
11096 and add tel_int_fmt.
11098 2017-09-14 Joseph Myers <joseph@codesourcery.com>
11100 * sysdeps/generic/libm-alias-float128.h: New file.
11101 * sysdeps/generic/math-type-macros-float128.h: Include
11102 <libm-alias-float128.h>.
11103 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
11105 2017-09-13 Joseph Myers <joseph@codesourcery.com>
11107 * sysdeps/generic/libm-alias-ldouble.h: New file.
11108 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
11109 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
11110 * sysdeps/generic/math-type-macros-ldouble.h: Include
11111 <libm-alias-ldouble.h>.
11112 [!declare_mgen_alias] (declare_mgen_alias): Define to use
11113 libm_alias_ldouble.
11115 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
11117 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
11118 * math/w_exp_compat.c: ... here.
11119 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
11120 * math/w_expf_compat.c: ... here.
11121 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
11122 * math/w_expl_compat.c: ... here.
11123 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
11124 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
11125 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
11126 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
11128 2017-09-13 Joseph Myers <joseph@codesourcery.com>
11130 * math/w_scalbln_template.c (strong_alias): Do not undefine and
11132 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
11134 (ldexpl): Only define as compat symbol for libc, not libm.
11135 (scalbnl): Define as compat symbol for libc here.
11136 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
11137 define for [IS_IN (libc)].
11138 (__ldexpl_2): Remove alias.
11139 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
11140 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
11141 name in long_double_symbol call.
11142 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
11143 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11144 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11145 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
11146 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
11148 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
11149 Define as compat symbol.
11151 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11153 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
11154 * sysdeps/unix/sysv/linux/alpha/Makefile
11155 [$(subdir) = csu] (sysdep_routines): Remove rule.
11157 2017-09-13 Joseph Myers <joseph@codesourcery.com>
11159 * sysdeps/generic/libm-alias-double.h: New file.
11160 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
11161 * sysdeps/generic/math-type-macros-double.h: Include
11162 <libm-alias-double.h>.
11163 [declare_mgen_alias] (declare_mgen_alias): Define to use
11165 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
11166 (M_LIBM_NEED_COMPAT): Remove macro.
11167 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
11168 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
11169 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
11171 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11172 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11173 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11174 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11175 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11176 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11177 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11178 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11179 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11180 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11181 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11182 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11183 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11184 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11185 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11186 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11187 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11188 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11189 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11190 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11191 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11192 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11193 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11194 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11195 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11196 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11197 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11198 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
11199 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
11201 (declare_mgen_alias): New macro.
11202 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
11203 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
11204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
11205 (M_LIBM_NEED_COMPAT): Remove macro.
11206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
11207 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
11208 <first-versions.h>.
11209 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
11210 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
11212 2017-09-12 Joseph Myers <joseph@codesourcery.com>
11214 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
11215 (declare_mgen_alias_2): Remove.
11216 * sysdeps/generic/math-type-macros-double.h
11217 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
11219 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
11221 (ldexp): Define with declare_mgen_alias.
11222 (scalbn): Likewise.
11224 2017-09-12 Steve Ellcey <sellcey@cavium.com>
11226 * grp/initgroups.c: Include config.h.
11227 (DEFAULT_CONFIG): New macro.
11228 (internal_getgrouplist): Use DEFAULT_CONFIG.
11229 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11230 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
11231 (DEFAULT_DEFCONFIG): New macro.
11232 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
11233 * nss/grp-lookup.c: Include config.h
11234 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
11235 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
11236 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
11237 * manual/nss.texi: Update default values section.
11239 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
11242 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
11244 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
11245 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11246 Handle MathVec_Prefer_No_AVX512.
11247 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
11248 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
11251 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
11253 * posix/sched_primax.c (__sched_get_priority_max): Add
11255 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
11256 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
11257 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
11258 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
11259 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
11260 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
11261 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
11262 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
11265 2017-09-11 Joseph Myers <joseph@codesourcery.com>
11267 * sysdeps/generic/libm-alias-float.h: New file.
11268 * sysdeps/generic/math-type-macros-float.h: Include
11269 <libm-alias-float.h>.
11270 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
11272 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
11275 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
11276 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
11277 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
11278 (HWCAP_IMPORTANT): Likewise.
11279 (HWCAP_X86_64): New enum.
11280 (HWCAP_X86_AVX512_1): Updated.
11281 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
11282 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
11283 (modules-names): Add x86_64/tst-x86_64mod-1.
11284 (LDFLAGS-tst-x86_64mod-1.so): New.
11285 ($(objpfx)tst-x86_64-1): Likewise.
11286 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
11287 (tst-x86_64-1-clean): Likewise.
11288 * sysdeps/x86_64/tst-x86_64-1.c: New file.
11289 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
11291 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11293 * po/sv.po: Update translations.
11294 * po/fr.po: Likewise.
11296 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11298 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
11300 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
11302 * elf/rtld-Rules: Fix $(error) use.
11304 2017-09-09 Mike FABIAN <mfabian@redhat.com>
11307 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
11308 * locale/iso-639.def: Change “Bengali” to “Bangla”.
11309 * localedata/locales/bn_BD: “Bengali” was still used in some
11310 comments. Change it to “Bangla”.
11312 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
11314 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
11316 2017-09-08 Steve Ellcey <sellcey@cavium.com>
11318 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
11319 thunderx2t99p1 to list of cpu names.
11320 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
11321 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
11323 2017-09-08 Steve Ellcey <sellcey@cavium.com>
11325 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
11326 Use strcmp instead of tunable_is_name.
11328 2017-09-08 Joseph Myers <joseph@codesourcery.com>
11330 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11331 (F_GET_RW_HINT): New macro.
11332 [__USE_GNU] (F_SET_RW_HINT): Likewise.
11333 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
11334 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
11335 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
11336 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
11337 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
11338 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
11339 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
11340 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
11342 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11343 (F_ADD_SEALS): New macro.
11344 [__USE_GNU] (F_GET_SEALS): Likewise.
11345 [__USE_GNU] (F_SEAL_SEAL): Likewise.
11346 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
11347 [__USE_GNU] (F_SEAL_GROW): Likewise.
11348 [__USE_GNU] (F_SEAL_WRITE): Likewise.
11350 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11352 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
11353 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
11354 * posix/glob_internal.h (__glob_pattern_type):
11355 * posix/glob.c (glob):
11356 * posix/glob_pattern_p.c (__glob_pattern_p):
11359 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
11360 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11361 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
11362 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
11363 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
11364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
11365 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
11366 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
11367 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
11368 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11369 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
11370 * sysdeps/wordsize-64/glob.c: Likewise.
11371 * sysdeps/wordsize-64/glob64.c: Likewise.
11372 * sysdeps/wordsize-64/globfree.c: Likewise.
11373 * sysdeps/wordsize-64/globfree64.c: Likewise.
11374 * sysdeps/unix/sysv/linux/glob.c: New file.
11375 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
11376 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
11377 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
11378 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
11379 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
11380 adds !GLOB_NO_OLD_VERSION as an extra condition.
11381 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
11382 using relative path instead of absolute one.
11383 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11384 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11385 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11386 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11387 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
11388 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
11391 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
11392 (glob): Use the same scratch buffer for both getlogin_r and
11393 getpwnam_r. Don’t require preallocation of the login name. This
11394 simplifies storage allocation, and corrects the handling of
11398 * posix/glob.c (glob): Port recent patches to platforms
11399 lacking getpwnam_r.
11400 (glob): Fix longstanding misuse of errno after getpwnam_r, which
11401 returns an error number rather than setting errno.
11403 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
11404 instead of GCC extension.
11405 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
11406 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
11407 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
11411 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
11412 * posix/bug-glob1.c: Remove file.
11413 * posix/tst-glob_symlinks.c: New file.
11414 * posix/glob.c (__lstat64): New macro.
11415 (is_dir): New function.
11416 (glob, glob_in_dir): Match symlinks even if they are dangling.
11417 (link_stat, link_exists_p): Remove. All uses removed.
11421 * posix/glob.c (struct readdir_result): Remove skip_entry member.
11422 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
11427 * posix/Makefile (routines): Add globfree, globfree64, and
11429 * posix/flexmember.h: New file.
11430 * posix/glob_internal.h: Likewise.
11431 * posix/glob_pattern_p.c: Likewise.
11432 * posix/globfree.c: Likewise.
11433 * posix/globfree64.c: Likewise.
11434 * sysdeps/gnu/globfree64.c: Likewise.
11435 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
11436 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
11437 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
11438 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
11439 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
11440 * sysdeps/wordsize-64/globfree.c: Likewise.
11441 * sysdeps/wordsize-64/globfree64.c: Likewise.
11442 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
11443 [NDEBUG): Remove comments.
11444 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
11445 (dirent_type): New type. Use uint_fast8_t not
11446 uint8_t, as C99 does not require uint8_t.
11447 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
11448 (struct readdir_result): Use dirent_type. Do not define skip_entry
11449 unless it is needed; this saves a byte on platforms lacking d_ino.
11450 (readdir_result_type, readdir_result_skip_entry):
11451 New functions, replacing ...
11452 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
11453 these functions, which were removed. This makes the callers
11454 easier to read. All callers changed.
11455 (D_INO_TO_RESULT): Now empty if there is no d_ino.
11456 (size_add_wrapv, glob_use_alloca): New static functions.
11457 (glob, glob_in_dir): Check for size_t overflow in several places,
11458 and fix some size_t checks that were not quite right.
11459 Remove old code using SHELL since Bash no longer
11461 (glob, prefix_array): Separate MS code better.
11462 (glob_in_dir): Remove old Amiga and VMS code.
11463 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
11465 (glob_in_dir): Do not rely on undefined behavior in accessing
11466 struct members beyond their bounds. Use a flexible array member
11468 (link_stat): Rename from link_exists2_p and return -1/0 instead of
11469 0/1. Caller changed.
11470 (glob): Fix memory leaks.
11471 * posix/glob64 (globfree64): Move to separate file.
11472 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
11473 (globfree64): Remove hidden alias.
11474 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
11476 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
11478 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
11480 Move compat code to separate file.
11481 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
11484 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
11486 * resolv/tst-resolv-qtypes.c (domain): Changed to
11487 "const char domain[] =".
11489 2017-09-07 Joseph Myers <joseph@codesourcery.com>
11491 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
11494 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
11495 (TCP_MD5SIG_EXT): Likewise.
11496 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
11497 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
11498 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
11500 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
11502 2017-09-07 Mike FABIAN <mfabian@redhat.com>
11504 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
11506 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
11509 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
11511 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
11513 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
11514 before assuming that the file is empty. Avoid testing buffer content
11517 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11520 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
11522 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
11524 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
11526 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
11528 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
11530 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
11532 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
11535 2017-09-06 Florian Weimer <fweimer@redhat.com>
11537 * malloc/dynarray_emplace_enlarge.c
11538 (__libc_dynarray_emplace_enlarge): Add missing else.
11540 2017-09-06 Florian Weimer <fweimer@redhat.com>
11543 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
11544 case of failure to obtain the global conf object.
11546 2017-09-06 Florian Weimer <fweimer@redhat.com>
11549 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
11550 dynarray allocation failure.
11552 2017-09-06 Florian Weimer <fweimer@redhat.com>
11554 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
11555 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
11556 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
11558 (response): Call them. Add 'p', '6' flag processing.
11559 (test_reverse): New function.
11560 (test_get2_any): Call it.
11561 (test_no_inet6): Add 'p' test.
11562 (test_inet6): Likewise.
11564 2017-09-06 Florian Weimer <fweimer@redhat.com>
11566 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
11567 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
11569 (test_gai): Adjust query names. Add additional tests.
11570 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
11571 test_get2. Adjust query names. Add additional tests.
11572 (test_no_inet6): New function, extracted from threadfunc.
11573 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
11574 Add additional tests.
11576 2017-09-06 Mike FABIAN <mfabian@redhat.com>
11579 * localedata/unicode-gen/utf8_gen.py: Set the width for
11580 characters with Prepended_Concatenation_Mark property to 1
11581 * localedata/charmaps/UTF-8: Updated using the improved script.
11583 2017-09-06 Mike FABIAN <mfabian@redhat.com>
11586 * localedata/unicode-gen/utf8_gen.py: Improve the script to
11587 use the range notation for all ranges of neighbouring characters
11588 with the same width.
11590 2017-09-05 Joseph Myers <joseph@codesourcery.com>
11592 * sysdeps/generic/math-type-macros-double.h: Include
11593 <math-svid-compat.h>.
11594 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
11595 * sysdeps/generic/math-type-macros-float.h: Include
11596 <math-svid-compat.h>.
11597 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
11598 * sysdeps/generic/math-type-macros-ldouble.h: Include
11599 <math-svid-compat.h>.
11600 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
11601 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
11603 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
11604 * math/w_acosf_compat.c: Likewise.
11605 * math/w_acosh_compat.c: Likewise.
11606 * math/w_acoshf_compat.c: Likewise.
11607 * math/w_acoshl_compat.c: Likewise.
11608 * math/w_acosl_compat.c: Likewise.
11609 * math/w_asin_compat.c: Likewise.
11610 * math/w_asinf_compat.c: Likewise.
11611 * math/w_asinl_compat.c: Likewise.
11612 * math/w_atan2_compat.c: Likewise.
11613 * math/w_atan2f_compat.c: Likewise.
11614 * math/w_atan2l_compat.c: Likewise.
11615 * math/w_atanh_compat.c: Likewise.
11616 * math/w_atanhf_compat.c: Likewise.
11617 * math/w_atanhl_compat.c: Likewise.
11618 * math/w_cosh_compat.c: Likewise.
11619 * math/w_coshf_compat.c: Likewise.
11620 * math/w_coshl_compat.c: Likewise.
11621 * math/w_exp10_compat.c: Likewise.
11622 * math/w_exp10f_compat.c: Likewise.
11623 * math/w_exp10l_compat.c: Likewise.
11624 * math/w_exp2_compat.c: Likewise.
11625 * math/w_exp2f_compat.c: Likewise.
11626 * math/w_exp2l_compat.c: Likewise.
11627 * math/w_fmod_compat.c: Likewise.
11628 * math/w_fmodf_compat.c: Likewise.
11629 * math/w_fmodl_compat.c: Likewise.
11630 * math/w_hypot_compat.c: Likewise.
11631 * math/w_hypotf_compat.c: Likewise.
11632 * math/w_hypotl_compat.c: Likewise.
11633 * math/w_j0_compat.c: Likewise.
11634 * math/w_j0f_compat.c: Likewise.
11635 * math/w_j0l_compat.c: Likewise.
11636 * math/w_j1_compat.c: Likewise.
11637 * math/w_j1f_compat.c: Likewise.
11638 * math/w_j1l_compat.c: Likewise.
11639 * math/w_jn_compat.c: Likewise.
11640 * math/w_jnf_compat.c: Likewise.
11641 * math/w_jnl_compat.c: Likewise.
11642 * math/w_lgamma_r_compat.c: Likewise.
11643 * math/w_lgammaf_r_compat.c: Likewise.
11644 * math/w_lgammal_r_compat.c: Likewise.
11645 * math/w_log10_compat.c: Likewise.
11646 * math/w_log10f_compat.c: Likewise.
11647 * math/w_log10l_compat.c: Likewise.
11648 * math/w_log2_compat.c: Likewise.
11649 * math/w_log2f_compat.c: Likewise.
11650 * math/w_log2l_compat.c: Likewise.
11651 * math/w_log_compat.c: Likewise.
11652 * math/w_logf_compat.c: Likewise.
11653 * math/w_logl_compat.c: Likewise.
11654 * math/w_pow_compat.c: Likewise.
11655 * math/w_powf_compat.c: Likewise.
11656 * math/w_powl_compat.c: Likewise.
11657 * math/w_remainder_compat.c: Likewise.
11658 * math/w_remainderf_compat.c: Likewise.
11659 * math/w_remainderl_compat.c: Likewise.
11660 * math/w_sinh_compat.c: Likewise.
11661 * math/w_sinhf_compat.c: Likewise.
11662 * math/w_sinhl_compat.c: Likewise.
11663 * math/w_sqrt_compat.c: Likewise.
11664 * math/w_sqrtf_compat.c: Likewise.
11665 * math/w_sqrtl_compat.c: Likewise.
11666 * math/w_tgamma_compat.c: Likewise.
11667 * math/w_tgammaf_compat.c: Likewise.
11668 * math/w_tgammal_compat.c: Likewise.
11669 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
11670 [LIBM_SVID_COMPAT].
11671 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
11672 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
11673 [LIBM_SVID_COMPAT].
11674 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
11675 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
11676 [LIBM_SVID_COMPAT].
11677 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
11678 * sysdeps/i386/fpu/w_sqrt.c: New file.
11679 * sysdeps/ia64/fpu/w_acos.c: Likewise.
11680 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
11681 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11682 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11683 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11684 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
11685 * sysdeps/ia64/fpu/w_asin.c: Likewise.
11686 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11687 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11688 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11689 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11690 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11691 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11692 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11693 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11694 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11695 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
11696 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
11697 * sysdeps/ia64/fpu/w_exp.c: Likewise.
11698 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
11699 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
11700 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
11701 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
11702 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
11703 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
11704 * sysdeps/ia64/fpu/w_expf.c: Likewise.
11705 * sysdeps/ia64/fpu/w_expl.c: Likewise.
11706 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
11707 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
11708 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
11709 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
11710 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
11711 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
11712 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
11713 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
11714 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
11715 * sysdeps/ia64/fpu/w_log.c: Likewise.
11716 * sysdeps/ia64/fpu/w_log10.c: Likewise.
11717 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
11718 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
11719 * sysdeps/ia64/fpu/w_log2.c: Likewise.
11720 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
11721 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
11722 * sysdeps/ia64/fpu/w_logf.c: Likewise.
11723 * sysdeps/ia64/fpu/w_logl.c: Likewise.
11724 * sysdeps/ia64/fpu/w_pow.c: Likewise.
11725 * sysdeps/ia64/fpu/w_powf.c: Likewise.
11726 * sysdeps/ia64/fpu/w_powl.c: Likewise.
11727 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
11728 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
11729 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
11730 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
11731 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
11732 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
11733 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
11734 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
11735 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
11736 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
11737 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
11738 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
11739 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
11740 [LIBM_SVID_COMPAT].
11741 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
11742 * sysdeps/ieee754/k_standard.c: Likewise.
11743 * sysdeps/ieee754/k_standardf.c: Likewise.
11744 * sysdeps/ieee754/k_standardl.c: Likewise.
11745 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
11746 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
11747 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
11748 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
11749 long_double_symbol call on [LIBM_SVID_COMPAT].
11750 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11751 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11752 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11753 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11754 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11755 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11756 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11757 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11758 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11759 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11760 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11761 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
11762 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11763 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11764 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11765 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11766 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11767 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11768 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11769 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11770 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
11771 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
11773 2017-09-05 Steve Ellcey <sellcey@cavium.com>
11775 * include/shlib-compat.h (TEST_COMPAT): New Macro.
11776 * malloc/tst-mallocstate.c: Convert from test-skeleton
11777 to test-driver. Ifdef code using TEST_COMPAT macro.
11778 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
11779 * math/test-matherr.c: Likewise.
11781 2017-09-05 Joseph Myers <joseph@codesourcery.com>
11784 * debug/pcprofiledump.c (main): Use byte-swapped mask when
11785 comparing word with byte-swapped constant.
11787 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
11790 * locale/iso-639.def: add Miskito.
11791 * localedata/SUPPORTED: Add miq_NI/UTF-8.
11792 * localedata/locales/miq_NI: New file.
11794 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
11797 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
11798 (__mkdir): Likewise.
11799 * io/chmod.c (__chmod): Add libc_hidden_def.
11800 * io/mkdir.c (__mkdir): Likewise.
11801 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11802 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11803 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
11804 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
11806 2017-09-04 Joseph Myers <joseph@codesourcery.com>
11808 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11812 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
11813 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
11815 2017-09-04 Florian Weimer <fweimer@redhat.com>
11817 * math/math.h: Issue warning if log is defined.
11819 2017-09-04 Joseph Myers <joseph@codesourcery.com>
11821 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11822 kernel version to 4.13.
11824 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11826 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
11827 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
11829 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
11830 just <bits/types.h>.
11831 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
11832 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
11833 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
11834 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
11835 * misc/preadv2.c: Include <errno.h>.
11836 * misc/preadv64v2.c: Include <errno.h>.
11837 * misc/pwritev2.c: Include <errno.h>.
11838 * misc/pwritev64v2.c: Include <errno.h>.
11839 * sysdeps/posix/preadv2.c: Include <errno.h>.
11840 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
11841 Fix <unistd.h> inclusion.
11842 * sysdeps/posix/pwritev2.c: Include <errno.h>.
11843 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
11844 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
11845 __strtoul_internal): New functions.
11846 * sysdeps/posix/pause.c: Include <sigsetops.h>.
11847 * sysdeps/posix/system.c: Include <sigsetops.h>.
11848 * sysdeps/mach/hurd/i386/Makefile
11849 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
11850 [$(subdir) = csu] (sysdep-only-routines): Likewise.
11851 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
11852 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
11853 __feraiseexcept_renamed to feraiseexcept instead of
11854 __GI_feraiseexcept.
11855 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
11856 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
11857 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
11858 RWF_NOWAIT): Define to 0 if undefined already.
11859 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
11861 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
11862 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
11864 2017-09-01 Joseph Myers <joseph@codesourcery.com>
11866 * manual/math.texi (pow10): Do not document.
11867 (pow10f): Likewise.
11868 (pow10l): Likewise.
11869 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
11870 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
11871 * math/libm-test-exp10.inc (pow10_test): Remove.
11872 (do_test): Do not call pow10.
11873 * math/w_exp10_compat.c (pow10): Make into compat symbol.
11874 [NO_LONG_DOUBLE] (pow10l): Likewise.
11875 * math/w_exp10f_compat.c (pow10f): Likewise.
11876 * math/w_exp10l_compat.c (pow10l): Likewise.
11877 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
11878 (pow10): Make into compat symbol.
11879 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
11880 (pow10f): Make into compat symbol.
11881 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
11882 (pow10l): Make into compat symbol.
11883 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
11885 (CFLAGS-nldbl-pow10.c): Remove variable..
11886 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
11887 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
11888 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
11889 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
11890 Undefine and redefine.
11891 (pow10l): Make into compat symbol.
11892 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
11893 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11894 * sysdeps/arm/libm-test-ulps: Likewise.
11895 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
11896 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11897 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
11898 * sysdeps/microblaze/libm-test-ulps: Likewise.
11899 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11900 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11901 * sysdeps/nios2/libm-test-ulps: Likewise.
11902 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11903 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11904 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11905 * sysdeps/sh/libm-test-ulps: Likewise.
11906 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11907 * sysdeps/tile/libm-test-ulps: Likewise.
11908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11910 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
11912 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
11914 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
11916 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
11917 "../ChangeLog.old/ChangeLog.8".
11918 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
11919 "../ChangeLog.old/ChangeLog.14".
11921 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
11923 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
11926 2017-09-01 Joseph Myers <joseph@codesourcery.com>
11928 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
11930 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
11932 * csu/version.c (banner): Remove "by Roland McGrath et al.".
11933 * nptl/Banner: Remove "by Ulrich Drepper et al.".
11935 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
11937 * stdlib/tst-atexit-common.c (do_test): Test support for at least
11938 32 atexit handlers.
11940 2017-09-01 Zack Weinberg <zackw@panix.com>
11942 * math/math.h (HUGE_VAL): Improve commentary.
11944 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11945 Andreas Schwab <schwab@suse.de>
11948 * include/stdio.h (__gen_tempfd): New function.
11949 * stdio-common/Makefile (routines): Add gentempfd.
11950 * stdio-common/gentempfd.c: New file.
11951 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
11952 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
11953 unnamed file first.
11955 2017-09-01 Florian Weimer <fweimer@redhat.com>
11959 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
11960 result to determine success or failure, not the errno value.
11961 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
11962 (tst-nss-files-hosts-erange): Link with -ldl.
11963 * nss/tst-nss-files-hosts-erange.c: New file.
11964 * nss/tst-resolv-basic.c (response): Handle nodata.example.
11965 (do_test): Add NO_DATA tests.
11966 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
11967 (do_test): Call it.
11969 2017-09-01 Florian Weimer <fweimer@redhat.com>
11972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
11973 coming from gethostbyname2_r.
11975 2017-09-01 Florian Weimer <fweimer@redhat.com>
11977 * support/namespace.h (struct support_chroot_configuration): Add
11979 (struct support_chroot): Add path_hosts, path_host_conf.
11980 * support/support_chroot.c (write_file): New function.
11981 (support_chroot_create): Call it to process /etc/resolv.conf,
11982 /etc/hosts, /etc/host.conf.
11983 (support_chroot_free): Update.
11985 2017-09-01 Florian Weimer <fweimer@redhat.com>
11987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
11988 status indicates it is set.
11990 2017-09-01 Florian Weimer <fweimer@redhat.com>
11993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
11994 function lookup failures more reliable.
11996 2017-09-01 Florian Weimer <fweimer@redhat.com>
11998 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
11999 (getcanonname): Likewise.
12000 (gaih_inet): Likewise.
12002 2017-09-01 Florian Weimer <fweimer@redhat.com>
12004 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
12005 (getcanonname): Likewise.
12006 (gaih_inet): Likewise.
12008 2017-08-31 Steve Ellcey <sellcey@cavium.com>
12009 Richard Henderson <rth@twiddle.net>
12011 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
12012 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
12013 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
12014 (IREG_SIZE, OREG_SIZE): New macros.
12015 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
12016 (IREG_SIZE, OREG_SIZE): New macros.
12017 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
12018 (IREG_SIZE): New macro.
12019 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
12020 (IREG_SIZE): New macro.
12021 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
12023 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
12024 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
12025 (__CONCATX): Handle exceptions correctly on large values that may
12027 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
12028 Initialize if not already set.
12029 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
12031 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12033 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
12034 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
12036 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
12038 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
12040 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
12042 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
12044 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
12046 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
12048 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
12049 (NO_CANCELLATION): Likewise.
12050 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
12052 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
12054 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
12056 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
12057 (NO_CANCELLATION): Likewise.
12058 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
12059 (NO_CANCELLATION): Likewise.
12060 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
12062 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
12064 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
12066 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
12068 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
12070 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
12071 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
12073 2017-08-31 Steve Ellcey <sellcey@cavium.com>
12075 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
12078 2017-08-31 Florian Weimer <fweimer@redhat.com>
12080 * include/libc-symbols.h (internal_function): Remove.
12082 2017-08-31 Florian Weimer <fweimer@redhat.com>
12084 * stdlib/fmtmsg.c (internal_addseverity): Remove
12087 2017-08-31 Florian Weimer <fweimer@redhat.com>
12089 * stdio-common/printf_fp.c (group_number): Remove
12091 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
12093 2017-08-31 Florian Weimer <fweimer@redhat.com>
12095 * posix/fnmatch.c (internal_function): Remove definition.
12096 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
12097 * posix/regcomp.c (peek_token, init_word_char)
12098 (duplicate_node_closure, fetch_token, peek_token)
12099 (peek_token_bracket, build_range_exp, build_collating_symbol):
12101 * posix/regex_internal.c (re_string_construct_common)
12102 (create_ci_newstate, create_cd_newstate, re_string_allocate)
12103 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
12104 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
12105 (re_string_translate_buffer, re_string_reconstruct)
12106 (re_string_peek_byte_case, re_string_fetch_byte_case)
12107 (re_string_destruct, re_string_context_at, re_node_set_alloc)
12108 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
12109 (re_node_set_add_intersect, re_node_set_init_union)
12110 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
12111 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
12112 (re_dfa_add_node, calc_state_hash, re_acquire_state)
12113 (re_acquire_state_context): Likewise.
12114 * posix/regex_internal.h (internal_function): Remove definition.
12115 (re_string_realloc_buffers, build_wcs_buffer)
12116 (build_wcs_upper_buffer, build_upper_buffer)
12117 (re_string_translate_buffer, re_string_context_at)
12118 (re_string_char_size_at, re_string_wchar_at)
12119 (re_string_elem_size_at): Likewise.
12120 * posix/regexec.c (match_ctx_init, match_ctx_clean)
12121 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
12122 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
12123 (re_search_internal, re_search_2_stub, re_search_stub)
12124 (re_copy_regs, prune_impossible_nodes, check_matching)
12125 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
12126 (free_fail_stack_return, sift_states_iter_mb)
12127 (sift_states_backward, build_sifted_states)
12128 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
12129 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
12130 (check_subexp_limits, sift_states_bkref, merge_state_array)
12131 (find_recover_state, transit_state, merge_state_with_log)
12132 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
12133 (transit_state_mb, transit_state_bkref, get_subexp)
12134 (get_subexp_sub, find_subexp_node, check_arrival)
12135 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
12136 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
12137 (check_node_accept_bytes, find_collation_sequence_value)
12138 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
12139 (acquire_init_state_context, check_halt_node_context)
12140 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
12141 (sub_epsilon_src_nodes): Likewise.
12142 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
12143 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
12144 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
12145 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
12146 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
12147 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
12148 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
12149 * sysdeps/posix/ttyname.c (getttyname): Likewise.
12150 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12151 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
12152 (PREADV): Likewise.
12153 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
12154 (PREADV): Likewise.
12155 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
12156 (PWRITEV): Likewise.
12157 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
12158 (PWRITEV): Likewise.
12159 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
12160 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
12162 2017-08-31 Florian Weimer <fweimer@redhat.com>
12164 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
12165 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
12166 Remove internal_function.
12167 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12168 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
12169 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
12170 (__deallocate_stack, __libc_pthread_init)
12171 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
12172 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
12173 (__libc_disable_asynccancel, __librt_disable_asynccancel):
12175 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
12176 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
12177 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
12179 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
12180 (__pthread_mutex_unlock_usercnt): Likewise.
12182 2017-08-31 Florian Weimer <fweimer@redhat.com>
12184 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
12185 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
12186 (fts_safe_changedir): Remove internal_function.
12187 * io/ftw.c (internal_function): Remove definition.
12188 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
12190 2017-08-31 Florian Weimer <fweimer@redhat.com>
12192 * inet/deadline.c (__deadline_current_time)
12193 (__deadline_from_timeval, __deadline_to_ms): Remove
12195 * inet/getnameinfo.c (nrl_domainname): Likewise.
12196 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
12197 * inet/inet6_option.c (add_pad): Likewise.
12198 * inet/net-internal.h (__deadline_current_time)
12199 (__deadline_from_timeval, __deadline_to_ms): Likewise.
12200 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
12201 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
12202 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
12204 2017-08-31 Joseph Myers <joseph@codesourcery.com>
12206 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
12207 include <bits/nan.h>.
12208 * math/Makefile (headers): Remove bits/nan.h.
12209 * bits/nan.h: Remove.
12210 * sysdeps/ieee754/bits/nan.h: Likewise.
12211 * sysdeps/mips/bits/nan.h: Likewise.
12213 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
12214 not include <bits/inf.h>.
12215 * math/Makefile (headers): Remove bits/inf.h.
12216 * bits/inf.h: Remove.
12217 * sysdeps/ieee754/bits/inf.h: Likewise.
12219 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
12220 bits/huge_vall.h or bits/huge_val_flt128.h.
12221 (HUGE_VAL): Define directly here.
12222 [__USE_ISOC99] (HUGE_VALF): Likewise.
12223 [__USE_ISOC99] (HUGE_VALL): Likewise.
12224 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
12225 (HUGE_VAL_F128): Likewise.
12226 * math/Makefile (headers): Remove bits/huge_val.h,
12227 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
12228 * bits/huge_val.h: Remove.
12229 * bits/huge_val_flt128.h: Likewise.
12230 * bits/huge_valf.h: Likewise.
12231 * bits/huge_vall.h: Likewise.
12232 * sysdeps/ia64/bits/huge_vall.h: Likewise.
12233 * sysdeps/ieee754/bits/huge_val.h: Likewise.
12234 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
12235 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
12236 * sysdeps/sh/bits/huge_val.h: Likewise.
12237 * sysdeps/sparc/bits/huge_vall.h: Likewise.
12238 * sysdeps/x86/bits/huge_vall.h: Likewise.
12240 2017-08-31 Florian Weimer <fweimer@redhat.com>
12242 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
12244 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
12246 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
12247 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12248 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
12249 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
12250 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12251 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12252 * elf/dl-libc.c (dlerror_run): Likewise.
12253 * elf/dl-load.c (add_name_to_object, decompose_rpath)
12254 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
12255 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
12256 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
12258 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
12259 (_dl_higher_prime_number, _dl_strtoul): Likewise.
12260 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
12261 * elf/dl-profile.c (_dl_start_profile): Likewise.
12262 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
12263 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
12265 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
12266 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
12267 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
12268 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
12269 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
12270 (_dl_allocate_tls_storage): Likewise.
12271 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
12272 (_dl_check_all_versions): Likewise.
12273 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12274 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
12275 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
12276 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
12277 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
12278 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
12279 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
12280 internal_function from __dl_start.
12281 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
12282 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12283 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
12284 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
12285 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
12286 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
12287 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
12288 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
12289 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
12290 (_dl_next_ld_env_entry, _dl_important_hwcaps)
12291 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
12292 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
12293 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
12294 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
12295 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
12297 (struct rtld_global_ro): Remove internal_function from the
12298 _dl_lookup_symbol_x member.
12299 (_dl_symbol_value): Remove. No longer defined anywhere.
12300 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
12302 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
12303 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12304 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
12305 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
12306 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
12307 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
12308 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
12309 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
12310 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
12311 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12312 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
12313 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12315 2017-08-31 Florian Weimer <fweimer@redhat.com>
12317 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
12318 Remove internal_function.
12319 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
12321 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
12324 2017-08-31 Florian Weimer <fweimer@redhat.com>
12326 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
12327 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
12328 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
12330 2017-08-31 Florian Weimer <fweimer@redhat.com>
12332 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
12333 (__gai_enqueue_request): Remove internal_function.
12334 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
12335 (__gai_remove_request, __gai_notify, __gai_notify_only)
12336 (__gai_sigqueue): Likewise.
12337 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
12338 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12339 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
12340 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12343 2017-08-31 Florian Weimer <fweimer@redhat.com>
12345 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
12346 * include/dirent.h (__opendirat, __getdents, __getdents64)
12347 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
12348 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
12349 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
12350 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
12352 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
12354 2017-08-31 Florian Weimer <fweimer@redhat.com>
12356 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
12358 (GETCWD_RETURN_TYPE): Likewise.
12360 2017-08-31 Florian Weimer <fweimer@redhat.com>
12362 * include/time.h (__tz_compute, __strptime_internal): Remove
12364 * time/strptime_l.c (__strptime_internal): Likewise.
12365 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
12367 2017-08-31 Florian Weimer <fweimer@redhat.com>
12369 * iconv/gconv.c (__gconv): Remove internal_function.
12370 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
12371 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
12372 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
12373 (__gconv_release_cache): Likewise.
12374 * iconv/gconv_close.c (__gconv_close): Likewise.
12375 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
12376 (read_conf_file, __gconv_get_path): Likewise.
12377 * iconv/gconv_db.c (derivation_lookup, add_derivation)
12378 (__gconv_release_step, gen_steps, increment_counter)
12379 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
12380 (__gconv_close_transform, free_modules_db): Likewise.
12381 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
12383 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
12384 (__gconv_find_transform, __gconv_lookup_cache)
12385 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
12386 (__gconv_close_transform, __gconv_release_cache)
12387 (__gconv_loaded_object, __gconv_release_shlib)
12388 (__gconv_compare_alias): Likewise.
12389 * iconv/gconv_open.c (__gconv_open): Likewise.
12390 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
12391 * iconv/iconvconfig.c (add_module): Likewise.
12392 * intl/dcigettext.c (plural_lookup, guess_category_value)
12393 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
12394 * intl/eval-plural.h (plural_eval): Likewise.
12395 * intl/finddomain.c (_nl_find_domain): Likewise.
12396 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
12397 (_nl_load_domain, _nl_find_msg): Likewise.
12398 (internal_function): Remove definition.
12399 * intl/loadinfo.h (internal_function): Likewise.
12400 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
12402 * intl/localealias.c (internal_function): Remove definition.
12403 (read_alias_file): Remove internal_function.
12404 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
12405 * intl/plural-exp.h (internal_function): Remove definition.
12406 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
12408 * intl/plural.c: Regenerate.
12409 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
12410 * locale/coll-lookup.c (__collidx_table_lookup)
12411 (__collseq_table_lookup): Likewise.
12412 * locale/coll-lookup.h (__collidx_table_lookup)
12413 (__collseq_table_lookup): Likewise.
12414 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
12415 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12416 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
12417 (_nl_unload_locale): Likewise.
12418 * locale/localeinfo.h (struct __locale_data): Remove
12419 internal_function from cleanup member.
12420 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
12421 (_nl_remove_locale, _nl_load_locale_from_archive)
12422 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
12423 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
12424 (_nl_cleanup_time): Remove internal_function.
12425 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
12426 (_nl_parse_alt_digit): Likewise.
12427 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
12428 (_nl_select_era_entry): Likewise.
12429 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
12430 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
12431 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
12432 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
12433 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
12435 2017-08-31 Florian Weimer <fweimer@redhat.com>
12437 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
12438 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
12439 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
12440 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
12442 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
12443 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
12444 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
12445 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
12447 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
12449 2017-08-31 Florian Weimer <fweimer@redhat.com>
12451 * misc/getttyent.c (skip, value): Remove internal_function.
12452 * misc/syslog.c (openlog_internal): Likewise.
12453 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
12455 2017-08-31 Florian Weimer <fweimer@redhat.com>
12457 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
12458 (__nss_rewrite_field): Remove internal_function.
12459 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12460 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
12461 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12462 * nss/nsswitch.c (nss_parse_file, nss_getline)
12463 (nss_parse_service_list, nss_new_service): Likewise.
12464 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
12465 * nss/valid_field.c (__nss_valid_field): Likewise.
12466 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
12468 2017-08-31 Florian Weimer <fweimer@redhat.com>
12470 * malloc/arena.c (__malloc_fork_lock_parent)
12471 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
12472 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
12473 internal_function from defintions.
12474 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
12475 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
12476 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
12477 internal_function from declarations.
12478 * malloc/malloc.c (internal_function): Do not define.
12479 (mem2mem_check): Remove internal_function from declaration.
12480 (munmap_chunk, mremap_chunk): Remove internal_function.
12481 * malloc/mtrace.c (tr_where): Likewise.
12483 2017-08-31 Florian Weimer <fweimer@redhat.com>
12485 * include/rpc/pmap_clnt.h (__get_socket): Remove
12487 * sunrpc/auth_des.c (synchronize): Likewise.
12488 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
12489 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
12490 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
12491 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
12492 (key_call): Likewise.
12493 * sunrpc/pm_getport.c (__get_socket): Likewise.
12494 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
12495 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
12496 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
12497 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
12498 (invalidate): Likewise.
12499 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
12500 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
12501 (set_input_fragment, get_input_bytes): Likewise.
12503 2017-08-31 Florian Weimer <fweimer@redhat.com>
12505 * malloc/malloc.c (_int_free): Remove locked variable and related
12508 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
12511 * Makerules (build-module-helper-objlist): Filter out
12512 $(elf-objpfx)sofini.os.
12513 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
12516 2017-08-31 Florian Weimer <fweimer@redhat.com>
12518 * libio/fcloseall.c: Assume weak_alias is defined.
12519 * libio/feof.c: Likewise.
12520 * libio/fileno.c: Likewise.
12521 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
12522 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
12524 (_IO_file_open): Call __open directly.
12525 (_IO_new_file_sync): Assume ESPIPE is defined.
12526 (_IO_file_seekoff_maybe_mmap): Call __read directly.
12527 (_IO_new_file_write): Call __write directly.
12528 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
12529 * libio/ftello64.c (__ftello64): Assume EIO is defined.
12530 * libio/genops.c: Assume _LIBC is defined.
12531 (save_for_backup): Remove internal_function.
12532 * libio/getc.c: Assume weak_alias is defined.
12533 * libio/getwc.c: Likewise.
12534 * libio/iofclose.c: Assume _LIBC is defined.
12535 * libio/iofdopen.c: Likewise.
12536 (_IO_fcntl): Remove macro definition.
12537 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
12538 Call __fcntl directly.
12539 * libio/iofflush.c: Assume weak_alias is defined.
12540 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
12542 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
12543 * libio/iofgets.c: Likewise.
12544 * libio/iofopen.c: Assume _LIBC is defined.
12545 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
12546 * libio/iofputs.c: Assume weak_alias is defined.
12547 * libio/iofread.c: Likewise.
12548 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
12549 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12550 * libio/ioftell.c: Assume weak_alias is defined.
12551 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
12552 * libio/iofwide.c: Assume _LIBC is defined.
12553 (_IO_fwide): Drop SHARED conditional because it is implied by
12555 * libio/iofwrite.c: Assume weak_alias is defined.
12556 * libio/iogetdelim.c: Likewise.
12557 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
12558 * libio/iogetwline.c (wmemcpy): Remove macro definition.
12559 (_IO_getwline): Call __wmemcpy directly.
12560 * libio/iopopen.c: Assume _LIBC is defined.
12561 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
12562 (_IO_close): Remove macro definitions.
12563 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
12565 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
12567 * libio/ioputs.c: Assume weak_alias is defined.
12568 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
12569 * libio/iosetbuffer.c: Assume weak_alias is defined.
12570 * libio/iosetvbuf.c: Likewise.
12571 * libio/ioungetc.c: Likewise.
12572 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
12573 libc_hidden_def, libc_hidden_weak, NULL are defined.
12574 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
12575 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
12577 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
12579 (_IO_old_file_init_internal): Drop SHARED conditional because it
12580 is implied by SHLIB_COMPAT.
12581 (_IO_old_file_fopen): Call __open directly.
12582 (_IO_old_file_sync): Assume ESPIPE is defined.
12583 (_IO_old_file_write): Call __write directly.
12584 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
12585 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
12586 Call __fcntl directly.
12587 * libio/oldiofgetpos.c: Assume weak_alias is defined.
12588 (_IO_old_fgetpos): Assume EIO is defined.
12589 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
12590 (_IO_old_fgetpos64): Assume EIO is defined.
12591 * libio/oldiofsetpos.c: Assume weak_alias is defined.
12592 (_IO_old_fsetpos): Assume EIO is defined.
12593 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
12594 (_IO_old_fsetpos64): Assume EIO is defined.
12595 * libio/oldiopopen.c: Assume _LIBC is defined.
12596 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
12597 (_IO_close): Remove macro definitions.
12598 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
12600 (_IO_old_proc_close): Call __close, __waitpid directly.
12601 * libio/put.c: Assume weak_alias is defined.
12602 * libio/stdfiles.c: Assume _LIBC is defined.
12603 * libio/stdio.c: Likewise.
12604 * libio/wfileops.c: Likewise.
12605 (_IO_wfile_sync): Assume ESPIPE is defined.
12606 * libio/wgenops.c: Assume _LIBC is defined.
12607 (save_for_wbackup): Remove internal_function.
12609 2017-08-31 Florian Weimer <fweimer@redhat.com>
12611 * malloc/malloc.c (top_check): Change return type to void. Remove
12613 * malloc/hooks.c (top_check): Likewise.
12614 (malloc_check, realloc_check, memalign_check): Adjust.
12616 2017-08-30 Joseph Myers <joseph@codesourcery.com>
12619 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
12620 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
12621 sigcontext and namespace requirements.
12622 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
12623 * sysdeps/m68k/sys/ucontext.h: Likewise.
12624 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
12625 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
12626 <bits/sigcontext.h>.
12627 (__ctx): Define earlier.
12628 (mcontext_t): Define structure contents rather than using struct
12630 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
12631 __glibc_reserved1 instead of __reserved.
12632 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
12633 <bits/sigcontext.h>.
12634 (__ctx): Define earlier.
12635 (mcontext_t): Define structure contents rather than using struct
12637 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
12638 mcontext_t instead of struct sigcontext.
12639 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
12640 <bits/sigcontext.h>.
12641 (__ctx): Define earlier.
12642 (mcontext_t): Define structure contents rather than using struct
12644 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
12645 <bits/sigcontext.h>.
12646 (__ctx): Define earlier.
12647 (mcontext_t): Define structure contents rather than using struct
12649 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
12650 mcontext_t instead of struct sigcontext.
12651 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
12652 mcontext_t instead of struct sigcontext.
12653 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
12654 <bits/sigcontext.h>.
12655 (__ctx): New macro.
12656 (struct __ia64_fpreg_mcontext): New type.
12657 (mcontext_t): Define structure contents rather than using struct
12659 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
12660 (uc_sigmask): Define using __ctx.
12661 (uc_stack): Likewise.
12662 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
12663 <bits/sigcontext.h>.
12664 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12665 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
12666 <bits/sigcontext.h>.
12667 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
12668 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
12669 <bits/sigcontext.h>.
12670 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
12671 <bits/sigcontext.h>.
12672 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
12673 <bits/sigcontext.h>.
12674 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
12675 <bits/sigcontext.h>.
12676 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
12677 <bits/sigcontext.h>.
12678 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
12679 <bits/sigcontext.h>.
12680 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
12681 <bits/sigcontext.h>.
12682 (__ctx): Define earlier.
12683 (mcontext_t): Define structure contents rather than using struct
12685 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
12686 <bits/sigcontext.h>. Include <bits/types.h>.
12687 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
12688 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
12689 (test-xfail-XPG42/ucontext.h/conform): Likewise.
12690 (test-xfail-UNIX98/signal.h/conform): Likewise.
12691 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12692 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12693 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12694 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12695 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12696 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12697 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12698 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12699 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12701 2017-08-30 Florian Weimer <fweimer@redhat.com>
12703 * malloc/dynarray_emplace_enlarge.c
12704 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
12705 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
12706 * malloc/tst-dynarray.c (test_long_overflow): New function.
12707 (do_test): Call it.
12709 2017-08-30 Florian Weimer <fweimer@redhat.com>
12711 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
12712 (set_arena_corrupt): Remove definitions.
12713 (mtrim): Do not check for corrupt arena.
12714 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
12717 2017-08-30 Florian Weimer <fweimer@redhat.com>
12720 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
12722 (ptmalloc_init): Do not set or use check_action.
12723 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
12724 call to malloc_printerr. Remove return statement.
12725 (free_check): Likewise. Remove arena unlock.
12726 (top_check): Update comment. Adjust call to malloc_printerr.
12727 Remove heap repair code.
12728 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
12729 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
12730 (sysmalloc): Adjust call to malloc_printerr.
12731 (munmap_chunk, __libc_realloc): Likewise. Remove return
12733 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
12734 Remove errout label and corresponding gotos.
12735 (_int_free): Likewise. Remove arena unlock.
12736 (do_set_mallopt_check): Do not set check_action.
12737 (malloc_printerr): Adjust parameter list. Do not mark arena as
12739 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
12741 * manual/probes.texi (Memory Allocation Probes): Remove
12742 memory_mallopt_check_action.
12744 2017-08-30 Steve Ellcey <sellcey@cavium.com>
12746 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
12747 Use pointer to uint64_t instead of long int for sp.
12749 2017-08-30 Florian Weimer <fweimer@redhat.com>
12752 * malloc/malloc.c (malloc_printerr): Always terminate the process,
12753 without printing a backtrace. Do not leak any information in the
12755 * manual/memory.texi (Heap Consistency Checking): Update.
12756 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
12758 2017-08-30 Florian Weimer <fweimer@redhat.com>
12760 Do not scale NPTL tests with available number of CPUs.
12761 * nptl/tst-cond16.c (count): Set to constant value of 8.
12762 * nptl/tst-cond18.c (count): Likewise.
12764 2017-08-29 Joseph Myers <joseph@codesourcery.com>
12767 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
12768 Define to take a second argument that is a macro that
12769 concatentates a suffix, not the suffix itself.
12770 (__CONCAT_d): New macro.
12771 (__CONCAT_f): Likewise.
12772 (__CONCAT_l): Likewise.
12774 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
12776 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
12779 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12780 Aurelien Jarno <aurelien@aurel32.net>
12781 Maciej W. Rozycki <macro@imgtec.com>
12784 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
12785 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
12786 `mips16-syscall6' and `mips16-syscall7'.
12787 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
12788 (CFLAGS-mips16-syscall7.c): Remove.
12789 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
12790 Remove `__mips16_syscall5', `__mips16_syscall6' and
12791 `__mips16_syscall7'.
12792 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
12793 (__mips16_syscall0): Rename `__mips16_syscall_return' to
12794 `__mips_syscall_return'.
12795 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
12796 (__mips16_syscall1): Likewise.
12797 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
12798 (__mips16_syscall2): Likewise.
12799 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
12800 (__mips16_syscall3): Likewise.
12801 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
12802 (__mips16_syscall4): Likewise.
12803 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
12805 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
12807 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
12809 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
12810 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
12811 `__mips16_syscall5'. Remove prototype.
12812 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
12813 `__mips16_syscall6'. Remove prototype.
12814 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
12815 `__mips16_syscall7'. Remove prototype.
12816 (__nomips16, __mips16_syscall_return): Move to...
12817 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
12818 (__nomips16, __mips_syscall_return): ... here.
12819 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
12820 `__mips16_syscall_return' to `__mips_syscall_return'.
12821 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
12822 `internal_syscall##nr'.
12823 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
12824 `internal_syscall##nr'.
12825 (FORCE_FRAME_POINTER): Remove.
12826 (__mips_syscall5): New prototype.
12827 (internal_syscall5): Rewrite to call `__mips_syscall5'.
12828 (__mips_syscall6): New prototype.
12829 (internal_syscall6): Rewrite to call `__mips_syscall6'.
12830 (__mips_syscall7): New prototype.
12831 (internal_syscall7): Rewrite to call `__mips_syscall7'.
12832 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
12833 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
12834 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
12835 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
12836 (sysdep_routines): Add libc-do-syscall.
12837 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
12838 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
12840 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12843 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
12844 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
12845 (advise_stack_range): New function.
12846 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
12847 stack non required to advise_stack_range at allocatestack.c
12849 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
12851 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
12853 2017-08-29 Florian Weimer <fweimer@redhat.com>
12856 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
12857 __end_fct. Mangle __end_fct after setting it to NULL.
12858 * iconv/Makefile (tests): Add tst-gconv-init-failure.
12859 (modules-names, modules-names-tests): Add
12860 tst-gconv-init-failure-mod.
12861 (gconv-modules): New target.
12862 (tst-gconv-init-failure-mod.so): Link against libsupport.
12863 (tst-gconv-init-failure): Depend on gconv-modules,
12864 tst-gconv-init-failure-mod.so.
12865 * iconv/tst-gconv-init-failure-mod.c: New file.
12866 * iconv/tst-gconv-init-failure.c: Likewise.
12867 * iconv/test-gconv-modules: Likewise.
12869 2017-08-29 Florian Weimer <fweimer@redhat.com>
12872 * iconv/gconv_db.c (free_derivation): Remove redundant
12874 (gen_steps): Unconditionally mangle __btowc_fct after
12876 (increment_counter): Likewise. Do not call init_fct for internal
12879 2017-08-29 Joseph Myers <joseph@codesourcery.com>
12882 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
12883 (_MSUF_): Remove macro.
12884 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
12886 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
12887 (__REDIRFROM_X): New macro.
12888 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
12890 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
12891 (__REDIRTO_X): Likewise.
12892 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
12894 (__MATH_REDIRCALL_2): Likewise.
12895 (__MATH_REDIRCALL_INTERNAL): Likewise.
12896 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
12897 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
12898 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
12899 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
12900 * math/test-finite-macros.c: New file.
12901 * math/Makefile (tests): Add test-finite-macros.
12902 (CFLAGS-test-finite-macros.c): New variable.
12904 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
12905 Jeff Law <law@redhat.com>
12908 Mangle NULL pointers in iconv/gconv.
12909 * iconv/gconv_cache.c (find_module): Demangle init_fct before
12910 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
12911 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
12912 is non-NULL before demangling the end_fct. Check for NULL
12913 end_fct after demangling.
12914 (__gconv_release_step): Demangle the end_fct before checking
12915 it for NULL. Remove assert on __shlibc_handle != NULL.
12916 (gen_steps): Don't check btowc_fct for NULL before mangling.
12917 Demangle init_fct before checking for NULL.
12918 (increment_counter): Likewise.
12919 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
12920 end_fct for NULL before mangling.
12921 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
12924 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
12927 * locale/iso-639.def: add Morisyen.
12929 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12932 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
12933 (iszero): New C++ implementation that does not use
12934 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
12935 signaling nans are enabled, since __builtin_types_compatible_p
12936 is a C-only feature.
12937 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
12938 defined, include ieee754_float128.h for access to the union and
12939 member ieee854_float128.ieee.
12940 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
12941 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
12942 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
12943 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
12944 options of test-math-zero on powerpc64le.
12946 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
12948 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
12949 Change double to float.
12951 2017-08-28 Joseph Myers <joseph@codesourcery.com>
12953 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
12955 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
12956 conditional code; define contents only for [LIBM_SVID_COMPAT].
12958 2017-08-28 Florian Weimer <fweimer@redhat.com>
12960 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
12961 (abi-lp64_be-options): Remove.
12962 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
12963 (abi-hard-options): Likewise.
12964 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
12965 (abi-o32_hard-options, abi-o32_soft_2008-options)
12966 (abi-o32_hard_2008-options, abi-n32_soft-options)
12967 (abi-n32_hard-options, abi-n32_soft_2008-options)
12968 (abi-n32_hard_2008-options, abi-n64_soft-options)
12969 (abi-n64_hard-options, abi-n64_soft_2008-options)
12970 (abi-n64_hard_2008-options): Likewise.
12971 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
12972 (abi-64-v1-options, abi-64-v2-options): Likewise.
12973 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
12974 (abi-64-options): Likewise.
12975 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
12976 (abi-64-options): Likewise.
12977 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
12978 (abi-64-options): Likewise.
12979 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
12980 (abi-64-options, abi-x32-options): Likewise.
12982 2017-08-28 Florian Weimer <fweimer@redhat.com>
12984 Store supported list of SYS_* system calls in the source tree.
12985 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12986 (bits/syscall.h): Generate from list file.
12987 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
12988 [$(subdir) = misc] (tests): Add tst-syscall-list.
12989 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
12990 [$(subdir) = misc] (tst-syscall-list-macros.list)
12991 [$(subdir) = misc] (tst-syscall-list-nr.list)
12992 (tst-syscall-list-sys.list): Helper targets for new
12993 tst-syscall-list test.
12994 [$(subdir) = misc] (tst-syscall-list.out): Run test script
12995 tst-syscall-list.sh.
12996 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
12997 target. Do not include bits/syscall.d.
12998 [$(subdir) = misc] (generated): Do not update.
12999 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
13000 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
13001 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
13002 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
13004 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13006 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
13007 (tst-cxa_atexit, tst-on_exit): Likewise.
13008 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
13009 tst-cxa_atexit, and tst-on_exit.
13010 * stdlib/tst-atexit-common.c: New file.
13011 * stdlib/tst-atexit.c: New file.
13012 * stdlib/tst-at_quick_exit.c: New file.
13013 * stdlib/tst-cxa_atexit.c: New file.
13014 * stdlib/tst-on_exit.c: New file.
13016 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13018 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
13019 * mach/stack_chk_fail_local.c: New file.
13020 * hurd/stack_chk_fail_local.c: New file.
13021 * mach/Machrules ($(interface-library)-routines): Add
13022 stack_chk_fail_local.
13023 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
13024 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
13025 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
13026 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
13027 * hurd/Makefile (CFLAGS-hurdstartup.o,
13028 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
13030 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
13032 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
13033 (index_cpu_*, index_arch_*): Removed.
13035 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
13037 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
13038 Use uint64_t instead of unsigned long.
13040 2017-08-25 Joseph Myers <joseph@codesourcery.com>
13042 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
13043 [__HAVE_DISTINCT_FLOAT128].
13045 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
13046 of <bits/math-finite.h>.
13047 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
13048 inclusion of <bits/math-finite.h>.
13049 * math/bits/math-finite.h (__REDIRTO_X): Do not define
13050 conditionally on [__MATH_DECLARING_LDOUBLE && defined
13051 __NO_LONG_DOUBLE_MATH].
13052 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
13053 (__MATH_REDIRCALL_2): Likewise.
13054 (__MATH_REDIRCALL_INTERNAL): Likewise.
13055 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
13056 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
13057 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
13059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
13061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
13063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
13065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
13067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
13069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
13071 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
13072 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
13073 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
13074 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
13075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13076 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
13077 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
13078 w_sqrtf_compat-ppc32.
13080 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13082 * math/math.h [defined __cplusplus] (issignaling): In the long
13083 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
13084 is not defined. Call __issignaling, otherwise.
13086 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13088 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
13089 syscall definitions and replace __builtin_expect with __glibc_likely.
13090 * sysdeps/unix/syscall-template.S: Update comment about cancellable
13092 (SYSCALL_CANCELLABLE): Removedefinition
13093 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
13095 (PSEUDO_END): Likewise.
13096 [IS_IN (libpthread)] (CENABLE): Likewise.
13097 [IS_IN (libpthread)] (CDISABLE): Likewise.
13098 [IS_IN (libc)] (CENABLE): Likewise.
13099 [IS_IN (libc)] (CENABLE): Likewise.
13100 [IS_IN (librt)] (CDISABLE): Likewise.
13101 [IS_IN (librt)] (CDISABLE): Likewise.
13102 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13103 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
13105 (PSEUDO_END): Likewise.
13106 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
13107 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
13108 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
13109 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
13110 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
13111 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
13112 (CENABLE): Likewise.
13113 (CDISABLE): Likewise.
13114 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13115 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
13117 (PSEUDO_END): Likewise.
13118 [IS_IN (libpthread)] (CENABLE): Likewise.
13119 [IS_IN (libpthread)] (CDISABLE): Likewise.
13120 [IS_IN (libc)] (CENABLE): Likewise.
13121 [IS_IN (libc)] (CENABLE): Likewise.
13122 [IS_IN (librt)] (CDISABLE): Likewise.
13123 [IS_IN (librt)] (CDISABLE): Likewise.
13124 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13125 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
13127 (PSEUDO_END): Likewise.
13128 [IS_IN (libpthread)] (CENABLE): Likewise.
13129 [IS_IN (libpthread)] (CDISABLE): Likewise.
13130 [IS_IN (libc)] (CENABLE): Likewise.
13131 [IS_IN (libc)] (CENABLE): Likewise.
13132 [IS_IN (librt)] (CDISABLE): Likewise.
13133 [IS_IN (librt)] (CDISABLE): Likewise.
13134 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13135 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
13137 (PSEUDO_END): Likewise.
13138 [IS_IN (libpthread)] (CENABLE): Likewise.
13139 [IS_IN (libpthread)] (CDISABLE): Likewise.
13140 [IS_IN (libc)] (CENABLE): Likewise.
13141 [IS_IN (libc)] (CENABLE): Likewise.
13142 [IS_IN (librt)] (CDISABLE): Likewise.
13143 [IS_IN (librt)] (CDISABLE): Likewise.
13144 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13145 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
13147 (PSEUDO_END): Likewise.
13148 [IS_IN (libpthread)] (CENABLE): Likewise.
13149 [IS_IN (libpthread)] (CDISABLE): Likewise.
13150 [IS_IN (libc)] (CENABLE): Likewise.
13151 [IS_IN (libc)] (CENABLE): Likewise.
13152 [IS_IN (librt)] (CDISABLE): Likewise.
13153 [IS_IN (librt)] (CDISABLE): Likewise.
13154 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13155 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
13157 (PSEUDO_END): Likewise.
13158 [IS_IN (libpthread)] (CENABLE): Likewise.
13159 [IS_IN (libpthread)] (CDISABLE): Likewise.
13160 [IS_IN (libc)] (CENABLE): Likewise.
13161 [IS_IN (libc)] (CENABLE): Likewise.
13162 [IS_IN (librt)] (CDISABLE): Likewise.
13163 [IS_IN (librt)] (CDISABLE): Likewise.
13164 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13165 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
13167 (PSEUDO_END): Likewise.
13168 [IS_IN (libpthread)] (CENABLE): Likewise.
13169 [IS_IN (libpthread)] (CDISABLE): Likewise.
13170 [IS_IN (libc)] (CENABLE): Likewise.
13171 [IS_IN (libc)] (CENABLE): Likewise.
13172 [IS_IN (librt)] (CDISABLE): Likewise.
13173 [IS_IN (librt)] (CDISABLE): Likewise.
13174 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13175 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
13177 (PSEUDO_END): Likewise.
13178 [IS_IN (libpthread)] (CENABLE): Likewise.
13179 [IS_IN (libpthread)] (CDISABLE): Likewise.
13180 [IS_IN (libc)] (CENABLE): Likewise.
13181 [IS_IN (libc)] (CENABLE): Likewise.
13182 [IS_IN (librt)] (CDISABLE): Likewise.
13183 [IS_IN (librt)] (CDISABLE): Likewise.
13184 (SINGLE_THREAD_P): Likewise.
13185 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
13187 (PSEUDO_END): Likewise.
13188 [IS_IN (libpthread)] (CENABLE): Likewise.
13189 [IS_IN (libpthread)] (CDISABLE): Likewise.
13190 [IS_IN (libc)] (CENABLE): Likewise.
13191 [IS_IN (libc)] (CENABLE): Likewise.
13192 [IS_IN (librt)] (CDISABLE): Likewise.
13193 [IS_IN (librt)] (CDISABLE): Likewise.
13194 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13195 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
13197 (PSEUDO_END): Likewise.
13198 [IS_IN (libpthread)] (CENABLE): Likewise.
13199 [IS_IN (libpthread)] (CDISABLE): Likewise.
13200 [IS_IN (libc)] (CENABLE): Likewise.
13201 [IS_IN (libc)] (CENABLE): Likewise.
13202 [IS_IN (librt)] (CDISABLE): Likewise.
13203 [IS_IN (librt)] (CDISABLE): Likewise.
13204 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13205 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
13206 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13207 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
13208 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
13210 (PSEUDO_END): Likewise.
13211 [IS_IN (libpthread)] (CENABLE): Likewise.
13212 [IS_IN (libpthread)] (CDISABLE): Likewise.
13213 [IS_IN (libc)] (CENABLE): Likewise.
13214 [IS_IN (libc)] (CENABLE): Likewise.
13215 [IS_IN (librt)] (CDISABLE): Likewise.
13216 [IS_IN (librt)] (CDISABLE): Likewise.
13217 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13218 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
13220 (PSEUDO_END): Likewise.
13221 [IS_IN (libpthread)] (CENABLE): Likewise.
13222 [IS_IN (libpthread)] (CDISABLE): Likewise.
13223 [IS_IN (libc)] (CENABLE): Likewise.
13224 [IS_IN (libc)] (CENABLE): Likewise.
13225 [IS_IN (librt)] (CDISABLE): Likewise.
13226 [IS_IN (librt)] (CDISABLE): Likewise.
13227 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13228 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
13230 (PSEUDO_END): Likewise.
13231 [IS_IN (libpthread)] (CENABLE): Likewise.
13232 [IS_IN (libpthread)] (CDISABLE): Likewise.
13233 [IS_IN (libc)] (CENABLE): Likewise.
13234 [IS_IN (libc)] (CENABLE): Likewise.
13235 [IS_IN (librt)] (CDISABLE): Likewise.
13236 [IS_IN (librt)] (CDISABLE): Likewise.
13237 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
13239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13240 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
13241 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
13243 (PSEUDO_END): Likewise.
13244 [IS_IN (libpthread)] (CENABLE): Likewise.
13245 [IS_IN (libpthread)] (CDISABLE): Likewise.
13246 [IS_IN (libc)] (CENABLE): Likewise.
13247 [IS_IN (libc)] (CENABLE): Likewise.
13248 [IS_IN (librt)] (CDISABLE): Likewise.
13249 [IS_IN (librt)] (CDISABLE): Likewise.
13250 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13251 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
13253 (PSEUDO_END): Likewise.
13254 [IS_IN (libpthread)] (CENABLE): Likewise.
13255 [IS_IN (libpthread)] (CDISABLE): Likewise.
13256 [IS_IN (libc)] (CENABLE): Likewise.
13257 [IS_IN (libc)] (CENABLE): Likewise.
13258 [IS_IN (librt)] (CDISABLE): Likewise.
13259 [IS_IN (librt)] (CDISABLE): Likewise.
13260 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13262 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
13264 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
13266 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
13268 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13270 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
13273 * string/stratcliff.c (do_test): Declare size, nchars, inner,
13274 middle and outer with size_t instead of int. Repleace %d and
13275 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
13276 "MAX (outer, nchars - 64)" to support unsigned outer and
13277 nchars. Also exit loop when outer == 0.
13279 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13281 * include/fcntl.h (__fcntl_nocancel): Remove definition.
13282 * include/signal.h (__sigsuspend_nocancel): Likewise.
13283 * include/time.h (__nanosleep_nocancel): Likewise.
13284 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
13285 * login/utmp_file.c: Include non cancellable syscall header.
13286 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
13289 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
13291 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
13292 .byte sequences with AVX512F instructions.
13293 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
13294 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13295 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13296 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
13298 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13301 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
13302 Steve Ellcey <sellcey@cavium.com>
13304 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
13305 Use PTR_REG macro in cmp instruction.
13307 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13309 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
13310 Change the return type of the ifunc resolver to match the return
13311 type of the target function.
13313 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13315 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
13316 (preadv64): Likewise.
13317 (pwrite64(: Likewise.
13318 (pwritev64): Likewise.
13320 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13321 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
13322 (LOAD_ARGS_0): Likewise.
13323 (LOAD_ARGS_1): Likewise.
13324 (LOAD_ARGS_2): Likewise.
13325 (LOAD_ARGS_3): Likewise.
13326 (LOAD_ARGS_4): Likewise.
13327 (LOAD_ARGS_5): Likewise.
13328 (LOAD_ARGS_6): Likewise.
13329 (LOAD_REGS_0): Likewise.
13330 (LOAD_REGS_1): Likewise.
13331 (LOAD_REGS_2): Likewise.
13332 (LOAD_REGS_3): Likewise.
13333 (LOAD_REGS_4): Likewise.
13334 (LOAD_REGS_5): Likewise.
13335 (LOAD_REGS_6): Likewise.
13336 (ASM_ARGS_0): Likewise.
13337 (ASM_ARGS_1): Likewise.
13338 (ASM_ARGS_2): Likewise.
13339 (ASM_ARGS_3): Likewise.
13340 (ASM_ARGS_4): Likewise.
13341 (ASM_ARGS_5): Likewise.
13342 (ASM_ARGS_6): Likewise.
13343 (LOAD_ARGS_TYPES_1): Likewise.
13344 (LOAD_ARGS_TYPES_2): Likewise.
13345 (LOAD_ARGS_TYPES_3): Likewise.
13346 (LOAD_ARGS_TYPES_4): Likewise.
13347 (LOAD_ARGS_TYPES_5): Likewise.
13348 (LOAD_ARGS_TYPES_6): Likewise.
13349 (LOAD_REGS_TYPES_1): Likewise.
13350 (LOAD_REGS_TYPES_2): Likewise.
13351 (LOAD_REGS_TYPES_3): Likewise.
13352 (LOAD_REGS_TYPES_4): Likewise.
13353 (LOAD_REGS_TYPES_5): Likewise.
13354 (LOAD_REGS_TYPES_6): Likewise.
13355 (TYPEFY): New define.
13356 (ARGIFY): Likewise.
13357 (internal_syscall0): Likewise.
13358 (internal_syscall1): Likewise.
13359 (internal_syscall2): Likewise.
13360 (internal_syscall3): Likewise.
13361 (internal_syscall4): Likewise.
13362 (internal_syscall5): Likewise.
13363 (internal_syscall6): Likewise.
13364 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
13365 (INTERNAL_SYSCALL_NCS): Remove define.
13366 (internal_syscall1): Add define.
13368 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13370 * math/w_remainder_compat.c: Remove duplicate inclusion of
13371 math-svid-compat.h.
13372 * math/w_remainderf_compat.c: Likewise.
13373 * math/w_remainderl_compat.c: Likewise.
13375 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13379 2017-08-22 Joseph Myers <joseph@codesourcery.com>
13382 * math/tgmath.h (__floating_type): Simplify definitions.
13383 (__real_integer_type): New macro.
13384 (__complex_integer_type): Likewise.
13385 (__expr_is_real): Likewise.
13386 (__tgmath_real_type_sub): Update comment to describe handling of
13388 (__tgmath_complex_type_sub): New macro.
13389 (__tgmath_complex_type): Likewise.
13390 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13391 (__TGMATH_CF128): Use __expr_is_real.
13392 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
13394 (__TGMATH_BINARY_REAL_IMAG): Likewise.
13395 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
13396 * math/gen-tgmath-tests.py (Type.create_type): Create complex
13399 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13401 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
13403 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
13405 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
13408 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
13409 nanosleep_not_cancel with __nanosleep_nocancel.
13410 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
13411 (__nanosleep_nocancel): New macro.
13412 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
13414 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
13416 (__nanosleep_nocancel): New prototype.
13418 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
13419 pause_not_cancel with __pause_nocancel.
13420 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
13421 (__pause_nocancel): New macro.
13422 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
13424 (__pause_nocancel): New prototype.
13425 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
13427 2017-08-22 Martin Sebor <msebor@redhat.com>
13429 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
13430 to return a pointer to the same type as the target function.
13432 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
13436 * include/printf.h (__printf_fphex): Add attribute_hidden.
13437 (__guess_grouping): New prototype.
13438 * stdio-common/printf_fp.c (__guess_grouping): Removed.
13439 * stdio-common/reg-printf.c (__register_printf_specifier): Add
13440 libc_hidden_proto and libc_hidden_def.
13441 * stdlib/strfmon_l.c (__guess_grouping): Removed.
13442 (__vstrfmon_l): Remove the third argument passed to
13445 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13447 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
13448 definition for issignaling that does not rely on __MATH_TG,
13449 since __MATH_TG uses __builtin_types_compatible_p, which is only
13450 available in C mode.
13451 (CFLAGS-test-math-issignaling.cc): New variable.
13452 * math/Makefile [CXX] (tests): Add test-math-issignaling.
13453 * math/test-math-issignaling.cc: New test for C++ implementation
13454 of type-generic issignaling.
13455 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
13456 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
13457 options of test-math-issignaling on powerpc64le.
13459 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
13461 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
13463 (hidden_proto): Likewise.
13464 (hidden_tls_proto): Likewise.
13465 (__hidden_proto): Likewise.
13467 2017-08-22 Florian Weimer <fweimer@redhat.com>
13469 math: Statically link tests of internal functionality.
13470 * math/Makefile (tests): Remove atest-exp, atest-sincos,
13472 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
13473 (gmp-objs): Remove assignment.
13474 (atest-exp, atest-sincos, atest-exp2): Remove targets.
13476 2017-08-22 Joseph Myers <joseph@codesourcery.com>
13479 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
13481 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
13483 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
13486 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
13487 variable definitions above inclusion of ../Rules.
13489 2017-08-21 Joseph Myers <joseph@codesourcery.com>
13491 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
13492 case calling __builtin_unreachable.
13494 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13496 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
13497 __waitpid_nocancel.
13498 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
13499 (__waitpid_nocancel): New macro.
13500 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
13502 (__waitpid_nocancel): Replace macro with a function.
13503 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
13506 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
13508 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
13509 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
13511 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
13512 __writev_nocancel_nostatus.
13513 (write_call_graph): Likewise.
13514 (write_bb_counts): Likewise.
13515 * resolv/herror.c (herror): Likewise.
13516 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
13518 (__writev_nocancel_nostatus): New macro.
13519 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
13521 (__writev_nocancel_nostatus): New function.
13523 2017-08-21 Joseph Myers <joseph@codesourcery.com>
13526 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13528 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
13530 (hidden_proto): Likewise.
13531 (hidden_tls_proto): Likewise.
13532 (__hidden_proto): Likewise.
13535 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
13536 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
13537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
13539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
13541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
13543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
13545 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
13546 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
13547 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
13548 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
13549 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13550 GLIBC_2.0 sqrtl symbol.
13552 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
13553 [__USE_MISC] (_LIB_VERSION): Likewise.
13554 [__USE_MISC] (struct exception): Likewise.
13555 [__USE_MISC] (matherr): Likewise.
13556 [__USE_MISC] (DOMAIN): Likewise.
13557 [__USE_MISC] (SING): Likewise.
13558 [__USE_MISC] (OVERFLOW): Likewise.
13559 [__USE_MISC] (UNDERFLOW): Likewise.
13560 [__USE_MISC] (TLOSS): Likewise.
13561 [__USE_MISC] (PLOSS): Likewise.
13562 [__USE_MISC] (HUGE): Likewise.
13563 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
13564 * math/math-svid-compat.h: New file.
13565 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
13567 * include/math.h [!_ISOMAC] (__matherr): Remove.
13568 * manual/arith.texi (FP Exceptions): Do not document matherr.
13569 * math/Makefile (tests): Change test-matherr to test-matherr-3.
13570 (tests-internal): New variable.
13571 (install-lib): Do not add libieee.a.
13572 (non-lib.a): Likewise.
13573 (extra-objs): Do not add libieee.a and ieee-math.o.
13574 (CPPFLAGS-s_lib_version.c): Remove variable.
13575 ($(objpfx)libieee.a): Remove rule.
13576 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
13577 * math/ieee-math.c: Remove.
13578 * math/libm-test-support.c (matherr): Remove.
13579 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
13580 and license notices. Include <math-svid-compat.h> and
13582 (matherr): Undefine as macro. Use compat_symbol_reference.
13583 (_LIB_VERSION): Likewise.
13584 * math/test-matherr-2.c: New file.
13585 * math/test-matherr-3.c: Likewise.
13586 * sysdeps/generic/math_private.h (__kernel_standard): Remove
13588 (__kernel_standard_f): Likewise.
13589 (__kernel_standard_l): Likewise.
13590 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
13591 <math_private.h>. Include <math-svid-compat.h>.
13592 (_LIB_VERSION): Undefine as macro.
13593 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
13594 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
13595 [LIBM_SVID_COMPAT], use compat_symbol.
13596 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
13597 <math_private.h>. Include <math-svid-compat.h>.
13598 (matherr): Undefine as macro.
13599 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
13601 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
13602 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
13603 compat_symbol_reference.
13604 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
13605 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
13606 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
13607 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
13608 (MATHERR_D): Remove declaration.
13609 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
13610 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
13611 [LIBM_BUILD] (pmatherrf): Likewise.
13612 [LIBM_BUILD] (pmatherr): Likewise.
13613 [LIBM_BUILD] (pmatherrl): Likewise.
13614 (DOMAIN): Likewise.
13616 (OVERFLOW): Likewise.
13617 (UNDERFLOW): Likewise.
13620 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
13621 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
13623 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
13624 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
13626 * math/lgamma-compat.h: Include <math-svid-compat.h>.
13627 * math/w_acos_compat.c: Likewise.
13628 * math/w_acosf_compat.c: Likewise.
13629 * math/w_acosh_compat.c: Likewise.
13630 * math/w_acoshf_compat.c: Likewise.
13631 * math/w_acoshl_compat.c: Likewise.
13632 * math/w_acosl_compat.c: Likewise.
13633 * math/w_asin_compat.c: Likewise.
13634 * math/w_asinf_compat.c: Likewise.
13635 * math/w_asinl_compat.c: Likewise.
13636 * math/w_atan2_compat.c: Likewise.
13637 * math/w_atan2f_compat.c: Likewise.
13638 * math/w_atan2l_compat.c: Likewise.
13639 * math/w_atanh_compat.c: Likewise.
13640 * math/w_atanhf_compat.c: Likewise.
13641 * math/w_atanhl_compat.c: Likewise.
13642 * math/w_cosh_compat.c: Likewise.
13643 * math/w_coshf_compat.c: Likewise.
13644 * math/w_coshl_compat.c: Likewise.
13645 * math/w_exp10_compat.c: Likewise.
13646 * math/w_exp10f_compat.c: Likewise.
13647 * math/w_exp10l_compat.c: Likewise.
13648 * math/w_exp2_compat.c: Likewise.
13649 * math/w_exp2f_compat.c: Likewise.
13650 * math/w_exp2l_compat.c: Likewise.
13651 * math/w_fmod_compat.c: Likewise.
13652 * math/w_fmodf_compat.c: Likewise.
13653 * math/w_fmodl_compat.c: Likewise.
13654 * math/w_hypot_compat.c: Likewise.
13655 * math/w_hypotf_compat.c: Likewise.
13656 * math/w_hypotl_compat.c: Likewise.
13657 * math/w_j0_compat.c: Likewise.
13658 * math/w_j0f_compat.c: Likewise.
13659 * math/w_j0l_compat.c: Likewise.
13660 * math/w_j1_compat.c: Likewise.
13661 * math/w_j1f_compat.c: Likewise.
13662 * math/w_j1l_compat.c: Likewise.
13663 * math/w_jn_compat.c: Likewise.
13664 * math/w_jnf_compat.c: Likewise.
13665 * math/w_jnl_compat.c: Likewise.
13666 * math/w_lgamma_main.c: Likewise.
13667 * math/w_lgamma_r_compat.c: Likewise.
13668 * math/w_lgammaf_main.c: Likewise.
13669 * math/w_lgammaf_r_compat.c: Likewise.
13670 * math/w_lgammal_main.c: Likewise.
13671 * math/w_lgammal_r_compat.c: Likewise.
13672 * math/w_log10_compat.c: Likewise.
13673 * math/w_log10f_compat.c: Likewise.
13674 * math/w_log10l_compat.c: Likewise.
13675 * math/w_log2_compat.c: Likewise.
13676 * math/w_log2f_compat.c: Likewise.
13677 * math/w_log2l_compat.c: Likewise.
13678 * math/w_log_compat.c: Likewise.
13679 * math/w_logf_compat.c: Likewise.
13680 * math/w_logl_compat.c: Likewise.
13681 * math/w_pow_compat.c: Likewise.
13682 * math/w_powf_compat.c: Likewise.
13683 * math/w_powl_compat.c: Likewise.
13684 * math/w_remainder_compat.c: Likewise.
13685 * math/w_remainderf_compat.c: Likewise.
13686 * math/w_remainderl_compat.c: Likewise.
13687 * math/w_scalb_compat.c: Likewise.
13688 * math/w_scalbf_compat.c: Likewise.
13689 * math/w_scalbl_compat.c: Likewise.
13690 * math/w_sinh_compat.c: Likewise.
13691 * math/w_sinhf_compat.c: Likewise.
13692 * math/w_sinhl_compat.c: Likewise.
13693 * math/w_sqrt_compat.c: Likewise.
13694 * math/w_sqrtf_compat.c: Likewise.
13695 * math/w_sqrtl_compat.c: Likewise.
13696 * math/w_tgamma_compat.c: Likewise.
13697 * math/w_tgammaf_compat.c: Likewise.
13698 * math/w_tgammal_compat.c: Likewise.
13699 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
13700 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
13701 * sysdeps/ieee754/k_standard.c: Likewise.
13702 * sysdeps/ieee754/k_standardf.c: Likewise.
13703 * sysdeps/ieee754/k_standardl.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
13706 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
13707 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
13708 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
13709 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
13710 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
13711 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
13712 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
13713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
13715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
13717 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
13718 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
13719 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
13720 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
13722 2017-08-21 Florian Weimer <fweimer@redhat.com>
13725 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
13726 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
13727 Move before inclusion of ../Rules.
13729 2017-08-21 Florian Weimer <fweimer@redhat.com>
13732 * assert/assert.h (assert): Use static_cast (bool) for C++.
13733 Use the ternary operator in the warning branch for GNU C.
13734 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
13735 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
13736 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
13737 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
13738 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
13740 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13743 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13744 (__syscall_clock_gettime): Add attribute_hidden.
13745 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
13746 (__start_context): Likewise.
13748 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13750 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
13752 (hidden_proto): Likewise.
13753 (hidden_tls_proto): Likewise.
13754 (__hidden_proto): Likewise.
13756 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13758 * include/libc-symbols.h (attribute_hidden): Enable hidden
13759 visibility in libc.a compiled with PIE.
13761 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13764 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
13765 Add attribute_hidden.
13767 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13770 * Makerules (all-nonlib): Add $(others-extras).
13771 * catgets/Makefile (others-extras): New.
13772 * elf/Makefile (others-extras): Likewise.
13773 * nss/Makefile (others-extras): Likewise.
13775 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13778 * csu/libc-start.c (__libc_multiple_libcs): Removed.
13779 * elf/dl-open.c: Include <libc-internal.h>.
13780 (__libc_multiple_libcs): Removed.
13781 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
13783 * include/libc-internal.h (__libc_multiple_libcs): New.
13784 * misc/sbrk.c: Include <libc-internal.h>.
13785 (__libc_multiple_libcs): Removed.
13787 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13790 * grp/initgroups.c (__nss_group_database): Removed.
13791 (__nss_initgroups_database): Likewise.
13792 * nscd/gai.c (__nss_hosts_database): Likewise.
13793 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
13794 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13795 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13796 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13797 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
13798 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
13800 * nss/nsswitch.c (__nss_database_custom): Define only if
13801 USE_NSCD is defined.
13802 (__nss_configure_lookup): Use __nss_database_custom only if
13803 USE_NSCD is defined.
13804 * nss/nsswitch.h (__nss_database_custom): Declare only if
13805 USE_NSCD is defined. Add attribute_hidden.
13806 (__nss_setent): Add attribute_hidden.
13807 (__nss_endent): Likewise.
13808 (__nss_getent_r): Likewise.
13809 (__nss_getent): Likewise.
13810 (DEFINE_DATABASE): Declare __nss_##arg##_database.
13812 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
13815 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
13816 libc_hidden_proto and libc_hidden_def.
13818 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
13821 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
13822 Add libc_hidden_proto.
13823 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
13824 Add libc_hidden_def.
13826 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
13829 * gmon/Makefile (routines): Remove bb_init_func and
13831 (elide-routines.os): Removed.
13832 * gmon/bb_exit_func.c: Likewise.
13833 * gmon/bb_init_func.c: Likewise.
13834 * include/sys/gmon.h (__bb): Likewise.
13835 (__bb_init_func): Likewise.
13836 (__bb_exit_func): Likewise.
13837 * sysdeps/alpha/bb_init_func.S: Likewise.
13839 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
13841 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
13842 * include/setjmp.h (____longjmp_chk): Here. Add
13845 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
13848 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
13850 (__strspn_sse2): Likewise.
13852 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13854 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
13855 (close_not_cancel_no_status): Likewise.
13856 (__close_nocancel): New macro.
13857 (__close_nocancel_nostatus): Likewise.
13858 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
13860 (close_not_cancel): Likewise.
13861 (close_not_cancel_no_status): Likewise.
13862 (__close_nocancel): New prototype.
13863 (__close_nocancel_nostatus): New function.
13864 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
13865 * catgets/open_catalog.c (__open_catalog): Replace
13866 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
13867 * gmon/gmon.c (write_gmon): Likewise.
13868 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13869 * intl/loadmsgcat.c (close): Likewise.
13870 * io/ftw.c (open_dir_stream): Likewise.
13871 (ftw_startup): Likewise.
13872 * libio/fileops.c (_IO_file_open): Likewise.
13873 (_IO_file_close_mmap): Likewise.
13874 (_IO_file_close): Likewise.
13875 * libio/iopopen.c (_IO_dup2): Likewise.
13876 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13877 * locale/loadlocale.c (_nl_load_locale): Likewise.
13878 * login/utmp_file.c (pututline_file): Likewise.
13879 (endutent_file): Likewise.
13880 * misc/daemon.c (daemon): Likewise.
13881 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13882 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13883 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
13884 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13885 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13886 * nscd/nscd_helper.c (open_socket): Likewise.
13887 (__nscd_open_socket): Likewise.
13888 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13889 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
13890 (__nscd_innetgr): Likewise.
13891 * nss/nss_db/db-open.c (internal_setent): Likewise.
13892 * resolv/res-close.c (__res_iclose): Likewise.
13893 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
13894 * sysdeps/posix/closedir.c (__closedir): Likewise.
13895 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
13896 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13897 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
13898 (opendir_tail): Likewise.
13899 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
13900 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
13901 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13902 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13903 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
13904 (gethostid): Likewise.
13905 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
13906 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13908 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13909 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
13910 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
13911 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
13913 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
13914 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
13915 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
13917 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
13918 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
13920 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
13922 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
13923 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
13924 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
13927 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
13928 (openat_not_cancel_3): Likewise.
13929 (openat64_not_cancel_3): Likewise).
13930 (openat_not_cancel_3): Likewise).
13931 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
13933 (openat_not_cancel_3): Likewise.
13934 (openat64_not_cancel): Likewise.
13935 (openat64_not_cancel_3): Likewise.
13936 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
13937 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
13938 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
13939 __open{64}_nocancel.
13940 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
13941 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13942 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13944 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
13947 * include/argz.h (__argz_create_sep): New function prototype.
13948 (__argz_append): Likewise.
13949 (__argz_add): Likewise.
13950 (__argz_add_sep): Likewise.
13951 (__argz_delete): Likewise.
13952 (__argz_insert): Likewise.
13953 (__argz_replace): Likewise.
13954 * string/argz.h (__argz_create_sep): Removed.
13955 (__argz_append): Likewise.
13956 (__argz_add): Likewise.
13957 (__argz_add_sep): Likewise.
13958 (__argz_delete): Likewise.
13959 (__argz_insert): Likewise.
13960 (__argz_replace): Likewise.
13962 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
13964 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
13965 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
13966 (GNU_PROPERTY_STACK_SIZE): Likewie.
13967 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
13968 (GNU_PROPERTY_LOPROC): Likewise.
13969 (GNU_PROPERTY_HIPROC): Likewise.
13970 (GNU_PROPERTY_LOUSER): Likewise.
13971 (GNU_PROPERTY_HIUSER): Likewise.
13972 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
13973 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
13974 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
13975 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
13976 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
13977 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
13978 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
13979 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
13980 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
13981 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
13982 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
13983 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
13984 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
13985 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
13986 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
13987 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
13988 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
13989 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
13990 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
13991 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
13992 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
13993 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
13994 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
13996 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13998 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
14001 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14004 * math/math.h (isinf): Check if in C or C++ mode before using
14005 __builtin_types_compatible_p, since this is a C mode feature.
14007 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14009 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
14010 (__write_nocancel): New macro.
14011 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
14012 Rewrite as a function prototype.
14013 (write_not_cancel): Remove macro.
14014 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
14015 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
14016 (write_gmon): Likewise.
14017 * libio/fileops.c (_IO_new_file_write): Likewise.
14018 * login/utmp_file.c (pututline_file): Likewise.
14019 (updwtmp_file): Likewise.
14020 * stdio-common/psiginfo.c (psiginfo): Likewise.
14021 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
14022 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
14023 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
14025 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14028 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
14029 (__read_nocancel): New macro.
14030 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
14032 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
14034 (__read_nocancel): New prototype.
14035 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
14036 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
14037 with __read_nocancel.
14038 * intl/loadmsgcat.c (read): Likewise.
14039 * libio/fileops.c (_IO_file_read): Likewise.
14040 * locale/loadlocale.c (_nl_load_locale): Likewise.
14041 * login/utmp_file.c (getutent_r_file): Likewise.
14042 (internal_getut_r): Likewise.
14043 (getutline_r_file): Likewise.
14044 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
14045 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14046 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
14047 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14049 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
14050 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
14051 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
14053 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
14055 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
14057 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14059 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
14061 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
14064 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
14065 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
14068 2017-08-17 DJ Delorie <dj@redhat.com>
14070 * bug17079.c: Update to new test harness.
14071 * test-digits-dots.c: Likewise.
14072 * test-netdb.c: Likewise.
14073 * tst-field.c: Likewise.
14074 * tst-nss-getpwent.c: Likewise.
14075 * tst-nss-static.c: Likewise.
14076 * tst-nss-test1.c: Likewise.
14077 * tst-nss-test2.c: Likewise.
14078 * tst-nss-test3.c: Likewise.
14079 * tst-nss-test4.c: Likewise.
14080 * tst-nss-test5.c: Likewise.
14082 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14084 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
14085 (open_not_cancel_2): Likewise.
14086 (open_nocancel): New macro.
14087 (open64_nocancel): Likewise.
14088 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
14089 (open_not_cancel_2): Likewise.
14090 (__open_nocancel): New prototype.
14091 (__open64_nocancel): Likewise.
14092 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
14094 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
14095 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
14096 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
14097 with __open_nocancel.
14098 * csu/check_fds.c (check_one_fd): Likewise.
14099 * gmon/gmon.c (write_gmon): Likewise.
14100 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
14101 * intl/loadmsgcat.c (open): Likewise.
14102 * libio/fileops.c (_IO_file_open): Likewise.
14103 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14104 * locale/loadlocale.c (_nl_load_locale): Likewise.
14105 * login/utmp_file.c (setutent_file): Likewise.
14106 * misc/daemon.c (daemon): Likewise.
14107 * nss/nss_db/db-open.c (internal_setent): Likewise.
14108 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
14109 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
14110 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
14111 (__opendir): Likewise.
14112 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
14113 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
14114 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
14115 (gethostid): Likewise.
14116 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
14117 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14119 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14120 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
14121 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
14122 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
14124 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
14126 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
14128 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14130 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14132 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14134 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
14135 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
14137 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
14139 * benchtests/bench-skeleton.c (main): Add support for
14140 latency benchmarking.
14141 * benchtests/scripts/bench.py: Add support for latency benchmarking.
14143 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
14145 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
14146 the startup object.
14148 2017-08-17 Florian Weimer <fweimer@redhat.com>
14150 * include/sys/socket.h (__opensock): Remove internal_function.
14151 * socket/opensock.c (__opensock): Likewise.
14152 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
14154 2017-08-16 Joseph Myers <joseph@codesourcery.com>
14157 * signal/bits/types/__sigval_t.h: New file.
14158 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
14159 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
14160 and define sigval_t using __sigval_t.
14161 * include/bits/types/__sigval_t.h: New file.
14162 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
14163 instead of <bits/types/__sigval_t.h>.
14164 (struct sigevent): Use __sigval_t instead of sigval_t.
14165 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
14166 instead of <bits/types/__sigval_t.h>.
14167 (siginfo_t): Use __sigval_t instead of sigval_t.
14168 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
14169 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
14170 (struct sigevent): Use __sigval_t instead of sigval_t.
14171 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
14172 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
14173 (siginfo_t): Use __sigval_t instead of sigval_t.
14174 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
14176 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
14178 * NEWS: Remove "[Add new features here]" for 2.27.
14180 2017-08-16 Joseph Myers <joseph@codesourcery.com>
14182 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
14185 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
14187 * NEWS: Mention x86-64 FMA optimization.
14189 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
14192 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14194 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
14195 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
14196 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
14198 2017-08-16 Andreas Schwab <schwab@suse.de>
14202 * elf/ldd.bash.in: Never run file directly.
14204 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
14207 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
14208 (L(SP_INF_0)): Likewise.
14210 2017-08-15 Florian Weimer <fweimer@redhat.com>
14212 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
14215 2017-08-15 Florian Weimer <fweimer@redhat.com>
14217 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
14218 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
14219 BROKEN_THREAD_SIGNALS code.
14220 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
14221 request_list): Remove caller_pid member used for
14222 BROKEN_THREAD_SIGNALS.
14223 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
14224 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
14225 Remove BROKEN_THREAD_SIGNALS support.
14226 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14227 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
14229 2017-08-15 Florian Weimer <fweimer@redhat.com>
14231 * gmon/Makefile (tests): Add tst-gmon.
14232 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
14234 (tests-special): Add tst-gmon-prof.out.
14235 (tst-gmon.out): Depend on clean-tst-gmon-data.
14236 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
14237 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
14238 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
14240 * aclocal.m4 (GPROF): Set and substitute.
14241 * config.amke.in (GPROF): Set.
14242 * configure: Regenerate.
14244 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
14246 * elf/elf.h A (NT_PPC_TAR): New macro.
14247 (NT_PPC_PPR): Likewise.
14248 (NT_PPC_DSCR): Likewise.
14249 (NT_PPC_EBB): Likewise.
14250 (NT_PPC_PMU): Likewise.
14251 (NT_PPC_TM_CGPR): Likewise.
14252 (NT_PPC_TM_CFPR): Likewise.
14253 (NT_PPC_TM_CVMX): Likewise.
14254 (NT_PPC_TM_CVSX): Likewise.
14255 (NT_PPC_TM_SPR): Likewise.
14256 (NT_PPC_TM_CTAR): Likewise.
14257 (NT_PPC_TM_CPPR): Likewise.
14258 (NT_PPC_TM_CDSCR): Likewise.
14260 2017-08-15 Florian Weimer <fweimer@redhat.com>
14262 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
14263 regparm (2) instead of internal_function.
14264 (_MCOUNT_DECL): Adjust.
14266 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14268 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
14269 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14271 2017-08-14 Joseph Myers <joseph@codesourcery.com>
14273 * conform/data/sys/wait.h-data (si_value): Do not expect for
14276 2017-08-14 Florian Weimer <fweimer@redhat.com>
14279 NSS: Create stubs for accidentally exported lookup functions.
14280 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
14281 Remove declaration.
14282 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
14283 (ether_hostton): Call __nss_ethers_lookup2 instead.
14284 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
14285 (ether_ntohost): Call __nss_ethers_lookup2 instead.
14286 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
14287 (setup): Call __nss_netgroup_lookup2 instead.
14288 * nss/Makefile (routines): Add compat-lookup.
14289 * nss/Versions (GLIBC_2.27): Add symbol version.
14290 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
14291 (DB_COMPAT_FCT): Remove.
14292 * nss/compat-lookup.c: New file.
14293 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
14294 from databases.def.
14295 * nss/service-lookup.c (NO_COMPAT): Remove definition.
14296 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
14297 (netname2user): Call __nss_publickey_lookup2 instead.
14298 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
14299 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
14302 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14303 Sergei Trofimovich <slyfox@inbox.ru>
14306 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
14307 Rename to MMAP2_PAGE_UNIT.
14308 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
14309 __OFF_T_MATCHES_OFF64_T is not defined.
14310 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
14312 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
14313 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
14315 2017-08-14 Florian Weimer <fweimer@redhat.com>
14317 i386: Do not set internal_function.
14318 * config.h.in (USE_REGPARMS, internal_function): Remove.
14319 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
14320 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
14322 2017-08-14 Florian Weimer <fweimer@redhat.com>
14324 * elf/dl-init.c (_dl_init): Remove internal_function.
14325 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
14326 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
14328 2017-08-14 Florian Weimer <fweimer@redhat.com>
14330 * elf/rtld.c (_dl_start): Remove internal_function.
14331 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
14334 2017-08-14 Florian Weimer <fweimer@redhat.com>
14336 * elf/dl-fini.c (_dl_fini): Remove internal_function
14337 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
14339 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
14341 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
14342 (bit_cpu_SHSTK): Likewise.
14343 (index_cpu_IBT): Likewise.
14344 (index_cpu_SHSTK): Likewise.
14345 (reg_IBT): Likewise.
14346 (reg_SHSTK): Likewise.
14347 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14348 Handle index_cpu_IBT and index_cpu_SHSTK.
14350 2017-08-14 Mike FABIAN <mfabian@redhat.com>
14353 * po/fr.po: Fix spelling mistake.
14355 2017-08-13 Florian Weimer <fweimer@redhat.com>
14357 * elf/dl-addr.c (_dl_addr): Remove internal_function.
14358 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
14359 (_dl_catch_error, _dl_receive_error): Likewise.
14360 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
14361 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
14362 (_dl_deallocate_tls): Likewise.
14363 * include/dlfcn.h (_dl_addr): Likewise.
14364 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
14365 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
14366 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
14369 2017-08-13 Florian Weimer <fweimer@redhat.com>
14371 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
14372 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
14374 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
14376 2017-08-13 Florian Weimer <fweimer@redhat.com>
14378 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
14380 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
14381 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
14382 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
14383 internal_function from _dl_make_stack_executable_hook member.
14384 (_dl_make_stack_executable): Remove internal_function.
14385 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
14387 * sysdeps/unix/sysv/linux/dl-execstack.c
14388 (_dl_make_stack_executable): Likewise.
14390 2017-08-13 Florian Weimer <fweimer@redhat.com>
14392 * sysdeps/unix/sysv/linux/netlinkaccess.h
14393 (__netlink_assert_response): Remove internal_function.
14394 * sysdeps/unix/sysv/linux/netlink_assert_response.c
14395 (__netlink_assert_response): Likewise.
14397 2017-08-13 Florian Weimer <fweimer@redhat.com>
14399 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
14401 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
14403 2017-08-13 Florian Weimer <fweimer@redhat.com>
14405 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
14407 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
14408 * inet/netgroup.h (__internal_setnetgrent)
14409 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
14410 * inet/getnetgrent_r.c (__internal_setnetgrent)
14411 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
14412 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
14413 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
14414 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
14415 * nss/nsswitch.h (db_lookup_function): Likewise.
14417 2017-08-13 Florian Weimer <fweimer@redhat.com>
14419 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
14420 Remove internal_function.
14421 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
14422 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
14423 message argument on the stack.
14424 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
14427 2017-08-12 Mike FABIAN <mfabian@redhat.com>
14429 Adapt test case data to the changes in the thousands
14433 * localedata/tst-langinfo.sh: Adapt test case data.
14434 * stdlib/tst-strfmon_l.c: Likewise.
14435 * stdlib/tst-strtod4.c: Likewise.
14436 * stdlib/tst-strtod5i.c: Likewise.
14438 2017-08-11 Florian Weimer <fweimer@redhat.com>
14441 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
14442 Suppress pedantic warning resulting from statement expression.
14443 (__ASSERT_FUNCTION): Add missing __extension__.
14445 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14447 * benchtests/bench-memmove-large.c: Print output in JSON
14449 * benchtests/bench-memmove.c: Likewise.
14451 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
14452 * benchtests/bench-memchr.c (do_one_test): Likewise.
14453 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
14454 * benchtests/bench-memcpy.c (do_one_test): Likewise.
14455 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
14456 * benchtests/bench-memmove.c (do_one_test): Likewise.
14457 * benchtests/bench-memset-large.c (do_one_test): Likewise.
14458 * benchtests/bench-memset.c (do_one_test): Likewise.
14459 * benchtests/bench-string.h (test_init): Remove memsets.
14461 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
14464 (Computing the Width of an Integer Data Type): Rename section to
14465 "Width of an Integer Type". Remove inaccurate statement regarding
14466 lack of C language facilities for determining width of integer
14467 types, and reorder content to improve flow and context of
14470 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
14472 * lang.texi (va_copy): Change standard from ISO to C99.
14473 (__va_copy): Add standard and header annotation.
14474 Update description for clarity of origins and current use.
14476 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14479 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
14480 xssqrtqp requires operands to be in Vector Registers
14481 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
14482 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
14483 (__ieee754_sqrtf128): Likewise.
14485 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14487 * sysdeps/aarch64/memcmp.S (memcmp):
14488 Rewrite of optimized memcmp.
14490 2017-08-10 Florian Weimer <fweimer@redhat.com>
14492 Introduce ld.so exceptions.
14493 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
14494 (_dl_exception_create, _dl_exception_create_format)
14495 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
14496 (_dl_catch_exception): Declare.
14497 (_dl_catch_error): Update comment.
14498 * elf/dl-error-skeleton.c (struct catch): Replace objname,
14499 errstring, malloced members with exception member.
14500 (_dl_out_of_memory): Remove.
14501 (fatal_error): New function, extracted from _dl_signal_error.
14502 (_dl_signal_exception, _dl_signal_cexception): New functions.
14503 (_dl_signal_error): Call _dl_exception_create to allocate an
14505 (_dl_catch_exception): New function, based on _dl_catch_error.
14506 (_dl_catch_error): Implement using _dl_catch_exception.
14507 * elf/dl-exception.c: New file.
14508 * elf/Makefile (dl-routines): Add dl-exception.
14509 (elide-routines.os): Likewise.
14510 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
14511 _dl_exception_create_format, _dl_exception_free.
14512 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
14513 _dl_signal_exception.
14514 * elf/dl-lookup.c (make_string): Remove.
14515 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
14516 _dl_signal_cexception, _dl_exception_free.
14517 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
14518 _dl_signal_exception.
14519 * elf/dl-sym.c (do_sym): Likewise.
14520 * elf/dl-version.c (make_string): Remove.
14521 (match_symbol): Use _dl_exception_create_format,
14522 _dl_signal_cexception, _dl_exception_free.
14523 (_dl_check_map_versions): Likewise.
14524 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
14525 _dl_catch_exception.
14526 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
14527 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
14528 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
14529 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
14530 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
14531 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
14532 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
14533 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
14535 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
14542 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
14543 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
14544 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
14546 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
14548 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
14550 2017-08-10 Florian Weimer <fweimer@redhat.com>
14552 * inet/net-internal.h (__inet6_scopeid_pton): Remove
14553 attribute_hidden, internal_function.
14554 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
14557 2017-08-10 Florian Weimer <fweimer@redhat.com>
14559 * malloc/malloc.c (get_max_fast): Reimplement as an inline
14560 function which calls __builtin_unreachable.
14562 2017-08-10 Mike FABIAN <mfabian@redhat.com>
14564 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
14565 Indian monetary formatting
14566 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
14569 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
14571 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
14572 Fix typo in comment.
14575 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
14576 PTRACE_SEIZE_DEVEL): Remove.
14577 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
14578 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14579 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14580 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14581 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14583 2017-08-09 Joseph Myers <joseph@codesourcery.com>
14585 * posix/bits/types.h (__qaddr_t): Remove.
14588 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
14589 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
14591 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
14592 (ucontext_t): Use __ctx with uc_flags.
14593 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
14594 (__ctxt): Likewise.
14595 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
14597 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
14598 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
14600 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
14601 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
14603 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
14605 (ucontext_t): Use __ctx with uc_flags.
14606 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
14607 (ucontext_t): Use __ctx with uc_flags.
14608 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
14609 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
14610 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
14611 (ucontext_t): Use __ctx with uc_flags.
14612 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
14613 undefine further down.
14614 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
14616 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
14617 undefine further down.
14618 (ucontext_t): Use __ctx with uc_flags.
14619 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
14620 undefine further down.
14621 (ucontext_t): Use __ctx with uc_flags.
14622 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
14623 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
14624 Rename uc_pad to __glibc_reserved1.
14625 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
14626 undefine further down.
14627 (ucontext_t): Use __ctx with uc_flags.
14628 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
14630 (ucontext_t): Use __ctx with uc_flags.
14631 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
14632 __ctx with uc_flags.
14633 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
14634 (ucontext_t): Use __ctx with uc_flags.
14635 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
14636 __ctx with uc_flags.
14638 2017-08-09 Florian Weimer <fweimer@redhat.com>
14641 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
14642 before early return.
14644 2017-08-09 Andreas Schwab <schwab@suse.de>
14647 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
14651 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
14652 tst-compat-forwarder.
14653 (modules-names): Add tst-compat-forwarder-mod.
14654 ($(objpfx)tst-compat-forwarder): Depend on
14655 $(objpfx)tst-compat-forwarder-mod.so.
14656 * nptl/tst-compat-forwarder.c: New file.
14657 * nptl/tst-compat-forwarder-mod.c: New file.
14659 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
14661 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
14664 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
14665 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
14667 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14669 (__libc_ifunc_impl_list): Add __memcpy_falkor.
14670 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
14671 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
14672 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
14674 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
14677 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14680 * manual/setjmp.texi (getcontex): Document uc_stack value
14681 compatibility differences.
14683 2017-08-08 Joseph Myers <joseph@codesourcery.com>
14685 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
14686 (old_malloc_hook): Likewise.
14687 (old_memalign_hook): Likewise.
14688 (old_realloc_hook): Likewise.
14689 (struct hdr): Likewise.
14691 (freehook): Likewise.
14692 (mallochook): Likewise.
14693 (memalignhook): Likewise.
14694 (reallochook): Likewise.
14695 (mprobe): Likewise.
14696 * malloc/mtrace.c (mallwatch): Likewise.
14697 (tr_old_free_hook): Likewise.
14698 (tr_old_malloc_hook): Likewise.
14699 (tr_old_realloc_hook): Likewise.
14700 (tr_old_memalign_hook): Likewise.
14701 (tr_where): Likewise.
14702 (lock_and_info): Likewise.
14703 (tr_freehook): Likewise.
14704 (tr_mallochook): Likewise.
14705 (tr_reallochook): Likewise.
14706 (tr_memalignhook): Likewise.
14707 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
14708 * misc/mmap.c (__mmap): Likewise.
14709 * misc/mmap64.c (__mmap64): Likewise.
14710 * misc/mprotect.c (__mprotect): Likewise.
14711 * misc/msync.c (msync): Likewise.
14712 * misc/munmap.c (__munmap): Likewise.
14713 * posix/posix_madvise.c (posix_madvise): Likewise.
14714 * socket/send.c (__send): Likewise.
14715 * socket/sendto.c (__sendto): Likewise.
14716 * socket/setsockopt.c (__setsockopt): Likewise.
14717 * string/memcmp.c (__ptr_t): Remove macro.
14718 (MEMCMP): Use void * instead of ptr_t.
14719 * string/memrchr.c (__ptr_t): Remove macro.
14720 (__memrchr): Use void * instead of ptr_t.
14721 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
14722 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
14723 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
14724 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
14725 * sysdeps/mach/msync.c (msync): Likewise.
14726 * sysdeps/mach/munmap.c (__munmap): Likewise.
14727 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
14729 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14730 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
14731 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
14732 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
14733 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
14734 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
14735 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
14736 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
14738 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
14739 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
14740 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
14741 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
14742 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
14743 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
14744 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
14745 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
14746 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
14748 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
14749 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
14750 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
14751 (MEMCMP): Use void * instead of ptr_t.
14752 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
14753 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
14755 2017-08-08 Florian Weimer <fweimer@redhat.com>
14757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
14760 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
14763 * csu/libc-tls.c: Include <startup.h> first.
14764 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
14765 * elf/dl-tunables.c: Include <startup.h> first.
14766 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
14767 * sysdeps/generic/startup.h: New file.
14768 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
14769 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
14770 (I386_USE_SYSENTER): New. Defined to 0.
14772 2017-08-08 Andreas Schwab <schwab@suse.de>
14775 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
14776 * nptl/pt-system.c (system): Likewise.
14778 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14781 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
14783 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
14784 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
14785 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
14786 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
14787 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
14788 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
14789 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
14791 2017-08-07 Joseph Myers <joseph@codesourcery.com>
14794 * bits/sigaction.h (struct sigaction): Define sa_handler and
14795 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
14796 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14797 [__USE_XOPEN_EXTENDED].
14798 (SA_RESTART): Likewise.
14799 (SA_NODEFER): Likewise.
14800 (SA_RESETHAND): Likewise.
14801 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
14802 (struct sigaction): Define sa_handler and sa_sigaction using union
14803 also for [__USE_XOPEN_EXTENDED].
14804 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14805 [__USE_XOPEN_EXTENDED].
14806 (SA_RESTART): Likewise.
14807 (SA_NODEFER): Likewise.
14808 (SA_RESETHAND): Likewise.
14809 * sysdeps/unix/sysv/linux/bits/sigaction.h
14810 (struct sigaction): Define sa_handler and sa_sigaction using union
14811 also for [__USE_XOPEN_EXTENDED].
14812 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14813 [__USE_XOPEN_EXTENDED].
14814 (SA_RESTART): Likewise.
14815 (SA_NODEFER): Likewise.
14816 (SA_RESETHAND): Likewise.
14817 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
14818 (struct sigaction): Define sa_handler and sa_sigaction using union
14819 also for [__USE_XOPEN_EXTENDED].
14820 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14821 [__USE_XOPEN_EXTENDED].
14822 (SA_RESTART): Likewise.
14823 (SA_NODEFER): Likewise.
14824 (SA_RESETHAND): Likewise.
14825 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
14826 (struct sigaction): Define sa_handler and sa_sigaction using union
14827 also for [__USE_XOPEN_EXTENDED].
14828 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14829 [__USE_XOPEN_EXTENDED].
14830 (SA_RESTART): Likewise.
14831 (SA_NODEFER): Likewise.
14832 (SA_RESETHAND): Likewise.
14833 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
14834 (struct sigaction): Define sa_handler and sa_sigaction using union
14835 also for [__USE_XOPEN_EXTENDED].
14836 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14837 [__USE_XOPEN_EXTENDED].
14838 (SA_RESTART): Likewise.
14839 (SA_NODEFER): Likewise.
14840 (SA_RESETHAND): Likewise.
14841 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14842 (struct sigaction): Define sa_handler and sa_sigaction using union
14843 also for [__USE_XOPEN_EXTENDED].
14844 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14845 [__USE_XOPEN_EXTENDED].
14846 (SA_RESTART): Likewise.
14847 (SA_NODEFER): Likewise.
14848 (SA_RESETHAND): Likewise.
14849 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14850 (struct sigaction): Define sa_handler and sa_sigaction using union
14851 also for [__USE_XOPEN_EXTENDED].
14852 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14853 [__USE_XOPEN_EXTENDED].
14854 (SA_RESTART): Likewise.
14855 (SA_NODEFER): Likewise. Define directly rather than as alias.
14856 (SA_RESETHAND): Likewise.
14857 (SA_INTERRUPT): Define only for [__USE_MISC].
14858 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
14859 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
14861 (SA_STACK): Define only for [__USE_MISC].
14862 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
14863 (struct sigaction): Define sa_handler and sa_sigaction using union
14864 also for [__USE_XOPEN_EXTENDED].
14865 (SA_ONSTACK): Change [__USE_UNIX98] condition to
14866 [__USE_XOPEN_EXTENDED].
14867 (SA_RESTART): Likewise.
14868 (SA_NODEFER): Likewise.
14869 (SA_RESETHAND): Likewise.
14870 (SA_NOPTRACE): Define only for [__USE_MISC].
14872 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
14873 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
14874 (struct catalog_info): Likewise.
14875 * inet/htontest.c (lo): Likewise.
14877 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14878 * inet/inet_net.c (inet_network): Likewise.
14879 * inet/inet_netof.c (inet_netof): Likewise.
14880 * inet/rcmd.c (__ivaliduser): Likewise.
14881 (iruserok): Likewise.
14882 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
14883 * locale/programs/locale-spec.c (locale_special): Likewise.
14884 * nis/nis_findserv.c (struct findserv_req): Likewise.
14885 (__nis_findfastest_with_timeout): Likewise.
14886 * nss/test-netdb.c (test_network): Likewise.
14887 * resolv/inet_neta.c (inet_neta): Likewise.
14888 * resolv/ns_date.c (ns_datetosecs): Likewise.
14889 (SECS_PER_DAY): Likewise.
14890 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
14892 * resolv/res_comp.c (__putlong): Likewise.
14893 (__putshort): Likewise.
14894 (_getlong): Likewise.
14895 (_getshort): Likewise.
14896 * resolv/res_debug.c (p_time): Likewise.
14897 (precsize_ntoa): Likewise.
14898 (precsize_aton): Likewise.
14899 (latlon2ul): Likewise.
14900 (loc_aton): Likewise.
14901 (loc_ntoa): Likewise.
14902 * resolv/res_hconf.c (struct netaddr): Likewise.
14903 (_res_hconf_reorder_addrs): Likewise.
14904 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14905 (clnttcp_control): Likewise.
14906 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14907 (clntudp_control): Likewise.
14908 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14909 (clntunix_control): Likewise.
14910 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14911 * sunrpc/rpc/auth.h (union des_block): Likewise.
14912 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
14913 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
14914 (xdrrec_create): Likewise.
14915 (xdrrec_endofrecord): Likewise.
14916 (flush_out): Likewise.
14917 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
14918 (xdrstdio_putlong): Likewise.
14919 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
14922 * misc/sys/cdefs.h (__long_double_t): Remove.
14923 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
14924 instead of __long_double_t,
14925 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
14927 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14929 * benchtests/scripts/compare_strings.py: Avoid display error when
14930 running on a text terminal.
14932 * benchtests/scripts/compare_strings.py (main): Add an
14933 optional -base option.
14934 (process_results): New argument base_func.
14936 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
14938 * benchtests/bench-memcpy-large.c (test_name): Likewise.
14939 * benchtests/bench-memcpy-random.c (test_name): Likewise.
14941 2017-08-07 Andreas Schwab <schwab@suse.de>
14943 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
14944 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14945 * intl/Makefile ($(objpfx)tst-gettext.out)
14946 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
14947 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
14948 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14949 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14950 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
14951 * posix/Makefile ($(objpfx)globtest.out)
14952 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
14953 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
14954 ($(objpfx)tst-printf.out): Likewise.
14955 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
14956 ($(objpfx)tst-setcontext3.out): Likewise.
14958 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
14960 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14961 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
14962 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
14963 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
14964 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
14966 (CFLAGS-doasin-fma.c): New.
14967 (CFLAGS-dosincos-fma.c): Likewise.
14968 (CFLAGS-e_asin-fma.c): Likewise.
14969 (CFLAGS-e_atan2-fma.c): Likewise.
14970 (CFLAGS-e_exp-fma.c): Likewise.
14971 (CFLAGS-e_log-fma.c): Likewise.
14972 (CFLAGS-e_pow-fma.c): Likewise.
14973 (CFLAGS-halfulp-fma.c): Likewise.
14974 (CFLAGS-mpa-fma.c): Likewise.
14975 (CFLAGS-mpatan-fma.c): Likewise.
14976 (CFLAGS-mpatan2-fma.c): Likewise.
14977 (CFLAGS-mpexp-fma.c): Likewise.
14978 (CFLAGS-mplog-fma.c): Likewise.
14979 (CFLAGS-mpsqrt-fma.c): Likewise.
14980 (CFLAGS-mptan-fma.c): Likewise.
14981 (CFLAGS-s_atan-fma.c): Likewise.
14982 (CFLAGS-sincos32-fma.c): Likewise.
14983 (CFLAGS-slowexp-fma.c): Likewise.
14984 (CFLAGS-slowpow-fma.c): Likewise.
14985 (CFLAGS-s_sin-fma.c): Likewise.
14986 (CFLAGS-s_tan-fma.c): Likewise.
14987 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
14988 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
14989 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
14990 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
14991 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
14992 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14993 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
14994 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
14995 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
14996 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
14997 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
14998 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
14999 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
15000 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15001 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15002 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
15003 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
15004 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
15005 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
15006 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
15007 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
15008 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
15009 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15010 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
15011 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15012 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15013 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15014 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15015 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15016 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15017 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15019 2017-08-04 Joseph Myers <joseph@codesourcery.com>
15021 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
15022 (min_of_type_f): New macro.
15023 (min_of_type_): Likewise.
15024 (min_of_type_l): Likewise.
15025 (min_of_type_f128): Likewise.
15026 (min_of_type): Define using __MATH_TG and taking an expression
15028 (math_check_force_underflow): Pass expression instead of type to
15030 (math_check_force_underflow_nonneg): Likewise.
15032 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15034 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
15035 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
15036 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
15038 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15040 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15041 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
15042 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
15043 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
15044 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
15045 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
15046 memcpy_chk-nonshared, mempcpy_chk-nonshared,
15047 memmove_chk-nonshared and memset_chk-nonshared
15048 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
15049 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
15050 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
15051 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
15052 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
15053 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
15054 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
15055 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
15056 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
15057 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
15058 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
15059 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
15060 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
15061 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
15062 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
15063 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
15064 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
15065 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
15066 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
15067 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
15068 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
15069 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
15070 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
15071 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
15072 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
15073 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
15074 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
15075 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
15076 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
15077 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
15078 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
15079 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
15080 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
15081 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
15082 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
15083 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
15084 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
15085 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
15086 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
15087 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
15088 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
15089 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
15090 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
15091 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
15092 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
15093 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
15094 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
15095 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
15096 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
15097 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
15098 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
15099 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
15100 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
15101 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
15102 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
15103 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
15104 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
15105 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
15106 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
15107 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
15108 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
15109 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
15110 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
15111 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
15112 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
15113 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
15114 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
15115 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
15116 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
15117 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
15118 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
15119 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15120 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15121 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15122 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15123 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15124 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15125 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15126 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15127 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15128 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15129 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15130 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15131 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15132 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15133 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15134 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15135 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15136 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15137 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15138 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15139 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15140 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15141 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15142 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15143 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15144 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15145 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15146 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15147 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15148 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15149 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15150 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15151 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15152 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15153 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15154 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15155 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15157 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15159 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
15160 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
15161 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
15162 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
15163 svml_d_log2_core-sse2, svml_d_log4_core-sse,
15164 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
15165 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
15166 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
15167 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
15168 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
15169 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
15170 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
15171 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
15172 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
15173 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
15174 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
15175 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
15176 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
15177 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
15178 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
15179 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
15180 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
15181 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
15182 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
15183 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
15184 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
15185 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
15186 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
15187 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
15188 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
15189 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
15190 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
15191 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
15192 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
15193 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
15194 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
15195 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
15196 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
15197 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
15198 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
15199 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
15200 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
15201 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
15202 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
15203 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
15204 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
15205 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
15206 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
15207 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
15208 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
15209 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
15210 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
15211 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
15212 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
15213 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
15214 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
15215 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
15216 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
15217 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
15219 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
15220 Don't include <sysdep.h> nor <init-arch.h>.
15221 (_ZGVbN2v_cos): Removed.
15222 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
15224 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
15225 Don't include <sysdep.h> nor <init-arch.h>.
15226 (_ZGVdN4v_cos): Removed.
15227 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
15229 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
15230 Don't include <sysdep.h> nor <init-arch.h>.
15231 (_ZGVeN8v_cos): Removed.
15232 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
15234 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
15235 Don't include <sysdep.h> nor <init-arch.h>.
15236 (_ZGVbN2v_exp): Removed.
15237 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
15239 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
15240 Don't include <sysdep.h> nor <init-arch.h>.
15241 (_ZGVdN4v_exp): Removed.
15242 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
15244 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
15245 Don't include <sysdep.h> nor <init-arch.h>.
15246 (_ZGVeN8v_exp): Removed.
15247 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
15249 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
15250 Don't include <sysdep.h> nor <init-arch.h>.
15251 (_ZGVbN2v_log): Removed.
15252 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
15254 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
15255 Don't include <sysdep.h> nor <init-arch.h>.
15256 (_ZGVdN4v_log): Removed.
15257 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
15259 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
15260 Don't include <sysdep.h> nor <init-arch.h>.
15261 (_ZGVeN8v_log): Removed.
15262 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
15264 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
15265 Don't include <sysdep.h> nor <init-arch.h>.
15266 (_ZGVbN2vv_pow): Removed.
15267 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
15269 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
15270 Don't include <sysdep.h> nor <init-arch.h>.
15271 (_ZGVdN4vv_pow): Removed.
15272 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
15274 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
15275 Don't include <sysdep.h> nor <init-arch.h>.
15276 (_ZGVeN8vv_pow): Removed.
15277 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
15279 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
15280 Don't include <sysdep.h> nor <init-arch.h>.
15281 (_ZGVbN2v_sin): Removed.
15282 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
15284 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
15285 Don't include <sysdep.h> nor <init-arch.h>.
15286 (_ZGVbN4v_sin): Removed.
15287 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
15289 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
15290 Don't include <sysdep.h> nor <init-arch.h>.
15291 (_ZGVbN8v_sin): Removed.
15292 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
15294 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
15295 Don't include <sysdep.h> nor <init-arch.h>.
15296 (_ZGVbN2vvv_sincos): Removed.
15297 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
15299 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
15300 Don't include <sysdep.h> nor <init-arch.h>.
15301 (_ZGVdN4vvv_sincos): Removed.
15302 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
15304 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
15305 Don't include <sysdep.h> nor <init-arch.h>.
15306 (_ZGVeN8vvv_sincos): Removed.
15307 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
15309 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
15310 Don't include <sysdep.h> nor <init-arch.h>.
15311 (_ZGVeN16v_cosf): Removed.
15312 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
15314 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
15315 Don't include <sysdep.h> nor <init-arch.h>.
15316 (_ZGVbN4v_cosf): Removed.
15317 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
15319 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
15320 Don't include <sysdep.h> nor <init-arch.h>.
15321 (_ZGVdN8v_cosf): Removed.
15322 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
15324 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
15325 Don't include <sysdep.h> nor <init-arch.h>.
15326 (_ZGVeN16v_expf): Removed.
15327 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
15329 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
15330 Don't include <sysdep.h> nor <init-arch.h>.
15331 (_ZGVbN4v_expf): Removed.
15332 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
15334 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
15335 Don't include <sysdep.h> nor <init-arch.h>.
15336 (_ZGVdN8v_expf): Removed.
15337 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
15339 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
15340 Don't include <sysdep.h> nor <init-arch.h>.
15341 (_ZGVeN16v_logf): Removed.
15342 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
15344 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
15345 Don't include <sysdep.h> nor <init-arch.h>.
15346 (_ZGVbN4v_logf): Removed.
15347 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
15349 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
15350 Don't include <sysdep.h> nor <init-arch.h>.
15351 (_ZGVdN8v_logf): Removed.
15352 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
15354 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
15355 Don't include <sysdep.h> nor <init-arch.h>.
15356 (_ZGVeN16vv_powf): Removed.
15357 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
15359 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
15360 Don't include <sysdep.h> nor <init-arch.h>.
15361 (_ZGVbN4vv_powf): Removed.
15362 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
15364 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
15365 Don't include <sysdep.h> nor <init-arch.h>.
15366 (_ZGVdN8vv_powf): Removed.
15367 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
15369 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
15370 Don't include <sysdep.h> nor <init-arch.h>.
15371 (_ZGVeN16vvv_sincosf): Removed.
15372 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
15374 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
15375 Don't include <sysdep.h> nor <init-arch.h>.
15376 (_ZGVbN4vvv_sincosf): Removed.
15377 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
15379 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
15380 Don't include <sysdep.h> nor <init-arch.h>.
15381 (_ZGVdN8vvv_sincosf): Removed.
15382 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
15384 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
15385 Don't include <sysdep.h> nor <init-arch.h>.
15386 (_ZGVeN16v_sinf): Removed.
15387 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
15389 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
15390 Don't include <sysdep.h> nor <init-arch.h>.
15391 (_ZGVbN4v_sinf): Removed.
15392 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
15394 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
15395 Don't include <sysdep.h> nor <init-arch.h>.
15396 (_ZGVdN8v_sinf): Removed.
15398 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15400 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15401 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
15402 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
15403 s_rint-sse4_1 and s_rintf-sse4_1.
15404 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
15405 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
15406 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
15407 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
15408 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
15409 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
15410 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
15411 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
15412 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
15413 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
15414 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
15415 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15417 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
15418 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
15419 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15420 (__ceilf): Removed.
15421 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
15422 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
15423 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15424 (__floor): Removed.
15425 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
15426 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
15427 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15428 (__floorf): Removed.
15429 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
15430 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
15431 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15432 (__nearbyint): Removed.
15433 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
15434 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
15435 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15436 (__nearbyintf): Removed.
15437 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
15438 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
15439 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15441 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
15442 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
15443 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15444 (__rintf): Removed.
15446 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15448 * sysdeps/i386/start.S (_start): Check Check PIC instead of
15449 SHARED. Avoid dynamic relocation against main in static PIE.
15451 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15454 * elf/Makefile (CFLAGS-tst-prelink.c): New.
15455 (LDFLAGS-tst-prelink): Likewise.
15457 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15459 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
15460 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
15461 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
15462 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
15463 (INTERNAL_SYSCALL_NCS): Likewise.
15464 (LOADARGS_1): Likewise.
15465 (LOADARGS_5): Likewise.
15466 (RESTOREARGS_1): Likewise.
15467 (RESTOREARGS_5): Likewise.
15469 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15471 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
15472 (MEMPCPY_SYMBOL): Likewise.
15473 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15474 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
15475 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
15477 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15478 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
15480 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
15481 (__hidden_ver1): Don't use in libc.a.
15482 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
15483 (__mempcpy): Don't create a weak alias in libc.a.
15484 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
15486 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
15487 (__hidden_ver1): Don't use in libc.a.
15489 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15491 * config.make.in (have-insert): New.
15492 * configure.ac (libc_cv_insert): New. Set to yes if linker
15493 supports INSERT in linker script.
15494 (AC_SUBST(libc_cv_insert): New.
15495 * configure: Regenerated.
15496 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
15497 if $(have-insert) == yes.
15499 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15501 * elf/Makefile (tests): Add vismain only if
15502 $(have-protected-data) == yes.
15503 (tests-pie): Likewise.
15505 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15508 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15509 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
15511 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15514 * sysdeps/i386/i586/memset.S
15515 (__memset_zero_constant_len_parameter): Removed.
15516 * sysdeps/i386/i686/memset.S
15517 (__memset_zero_constant_len_parameter): Likewise.
15518 * sysdeps/i386/i686/multiarch/memset_chk.S
15519 (__memset_zero_constant_len_parameter): Likewise.
15520 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
15523 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
15525 * stdlib/getentropy.c (getentropy): Change return type to int.
15527 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
15529 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15531 2017-08-03 Joseph Myers <joseph@codesourcery.com>
15533 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
15535 * math/s_nexttowardf.c (__nexttowardf): Likewise.
15536 * sysdeps/generic/math_private.h (ieee_double_shape_type):
15538 (ieee_float_shape_type): Likewise.
15539 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
15540 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
15541 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15542 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15543 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15544 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
15545 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
15546 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15547 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15549 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15550 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15551 (__ieee754_yn): Likewise.
15552 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15553 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15554 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
15556 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15557 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
15558 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
15559 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
15560 (__erfc): Likewise.
15561 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15562 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
15563 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
15564 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
15565 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
15566 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
15568 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15569 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
15570 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15571 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
15572 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15573 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
15574 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
15575 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
15576 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
15577 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
15578 (__issignaling): Likewise.
15579 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
15580 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
15581 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15583 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15584 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
15585 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15586 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
15588 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
15590 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
15591 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
15592 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
15593 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15594 (__erfcf): Likewise.
15595 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15596 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15597 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
15598 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
15600 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
15601 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
15603 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15604 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
15605 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15606 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
15607 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
15608 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15609 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
15610 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
15612 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
15614 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15616 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
15617 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15619 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15621 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15622 (__ieee754_ynl): Likewise.
15623 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15624 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
15626 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
15628 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15629 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
15630 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15632 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15633 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
15634 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
15635 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
15636 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
15637 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15638 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
15639 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
15641 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
15642 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
15643 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
15645 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
15646 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
15647 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15648 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
15649 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
15650 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15652 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15654 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15656 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15658 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
15659 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15660 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15661 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
15662 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15663 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
15664 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
15666 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15668 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15669 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15671 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15672 (__ieee754_remainderl): Likewise.
15673 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15674 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15675 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15676 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15678 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15679 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15681 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15682 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
15683 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15684 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15685 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15686 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15688 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15689 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15690 (__ieee754_y0l): Likewise.
15693 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15694 (__ieee754_y1l): Likewise.
15697 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15698 (__ieee754_ynl): Likewise.
15699 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
15700 (__ieee754_lgammal_r): Likewise.
15701 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
15703 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15704 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
15705 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15706 (__erfcl): Likewise.
15707 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
15708 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
15710 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
15711 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
15712 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15713 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
15714 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
15715 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15716 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15718 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
15719 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15720 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
15721 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
15722 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15724 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
15725 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
15727 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
15728 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
15729 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
15730 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15731 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
15733 2017-08-03 Florian Weimer <fweimer@redhat.com>
15736 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
15737 on memory allocation failure.
15739 2017-08-03 Alan Modra <amodra@gmail.com>
15741 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
15742 tst-tlsopt-powerpc.c with function name change and no test harness.
15743 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
15744 Call tls_get_addr_opt_test.
15745 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
15746 (modules-names): Add mod-tlsopt-powerpc.
15747 (mod-tlsopt-powerpc.so-no-z-defs): Define.
15748 (tst-tlsopt-powerpc): Depend on .so.
15749 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
15750 define. Expand use in TLS_GD and TLS_LD.
15752 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15754 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
15756 * sysdeps/posix/shm_open.c: Include <pthread.h>.
15758 2017-08-02 Joseph Myers <joseph@codesourcery.com>
15761 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
15762 comparing size with that of double.
15763 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
15764 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
15765 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
15766 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
15767 (__TGMATH_BINARY_REAL_IMAG): Likewise.
15768 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
15769 unsigned __int128 types.
15771 2017-08-02 Steve Ellcey <sellcey@cavium.com>
15773 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
15774 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
15775 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
15776 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
15777 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
15779 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
15781 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
15783 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
15785 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
15787 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
15788 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15789 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15790 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15791 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15792 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15793 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15795 2017-08-02 Joseph Myers <joseph@codesourcery.com>
15798 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
15799 bit-field expressions passed to sizeof or typeof.
15800 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15801 (__TGMATH_F128): Likewise.
15802 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15803 (__TGMATH_CF128): Likewise.
15804 (__TGMATH_UNARY_REAL_ONLY): Likewise.
15805 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
15806 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
15807 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
15808 (__TGMATH_BINARY_REAL_ONLY): Likewise.
15809 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
15810 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
15811 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
15812 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
15813 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
15814 (__TGMATH_UNARY_REAL_IMAG): Likewise.
15815 (__TGMATH_UNARY_IMAG): Likewise.
15816 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
15817 (__TGMATH_BINARY_REAL_IMAG): Likewise.
15818 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
15820 (define_vars_for_type): Handle bit_field type specially.
15821 (Tests.__init__): Declare structure with bit-field element.
15823 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
15826 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
15827 (MEMCPY_CHK): Define only if SHARED is defined.
15828 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
15830 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
15833 See ChangeLog.18 for earlier changes.