1 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
4 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
7 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10 * localedata/locales/be_BY (mon): Rename to...
11 (alt_mon): This, then synchronize with CLDR (nominative case).
13 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14 (mon): Import from CLDR (genitive case).
16 * localedata/locales/be_BY@latin (mon): Rename to...
18 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
20 * localedata/locales/be_BY@latin (lang_name): Reworded to
23 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
26 * localedata/locales/el_CY (mon): Renamed to...
28 (mon): Import from CLDR (genitive case).
29 * localedata/locales/el_GR: Likewise.
31 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
34 * localedata/locales/ru_RU (mon): Rename to...
38 (mon): Import from CLDR (genitive case).
39 (abmon): Copy from the old content except the 5th month which is
40 now in the genitive case, even when abbreviated.
41 * localedata/locales/ru_UA: Likewise.
42 * time/tst-strptime.c (day_tests): Add an actual example of
43 a difference between %b and %Ob in Russian.
45 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
47 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
48 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
50 * resolv/res-close.c: Include <stdlib.h>.
51 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
52 <sys/wait.h>, <time.h>, <sys/uio.h>.
53 (NOT_CANCEL_H): Add inclusion guard.
54 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
55 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
56 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
58 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
59 vm_address_t * to ElfW(Addr) * for dl_main parameter.
60 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
62 * sysdeps/pthread/timer_create.c (timer_create): Do not use
63 timer_ptr2id to cast struct timer_node * to void *.
64 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
65 --disable-libcilkrts to gcc configure.
66 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
67 and make them the default for now.
68 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
69 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
70 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
71 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
72 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
74 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
75 __task_terminate would ever return successfully.
76 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
78 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
79 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
80 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
81 critical section to make code simpler and avoid warning.
82 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
83 critical section to make code simpler and avoid warning.
84 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
85 const char * instead of char *.
86 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
87 __hurd_file_name_split, hurd_file_name_split,
88 __hurd_directory_name_split, hurd_directory_name_split,
89 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
90 hurd_file_name_path_lookup): Make lookup function parameter take a
91 const char *name instead of char *name.
92 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
93 __hurd_directory_name_split): Likewise.
94 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
95 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
96 * sysdeps/mach/hurd/check_native.c: New file.
97 * sysdeps/mach/hurd/check_pf.c: New file.
98 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
99 (__freeifaddrs): Define macro to freeifaddrs.
100 * sysdeps/mach/hurd/libhurduser.abilist: New file.
101 * sysdeps/mach/libmachuser.abilist: New file.
102 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
103 (do_test_bz20181): Rename accordingly.
104 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
105 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
107 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
108 version only if __USE_EXTERN_INLINES is defined.
109 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
110 __hurd_sockfail): Likewise.
111 (_hurd_fd_get): Always declare functions, and provide inline versions
112 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
113 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
114 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
115 _hurd_port_set): Always declare functions, and provide inline versions
116 only if __USE_EXTERN_INLINES and _LIBC are defined and
118 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
119 _hurd_critical_section_unlock): Likewise.
120 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
121 * __hurd_threadvar_location): Likewise.
122 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
123 _hurd_userlink_clear): Likewise.
124 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
125 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
126 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
127 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
128 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
129 __spin_lock_locked): Likewise.
130 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
131 __spin_lock_locked): Likewise.
132 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
133 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
134 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
135 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
136 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
137 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
138 _POSIX_NO_TRUNC): Define to 0.
139 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
140 check size against PTHREAD_STACK_MIN.
141 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
142 IS_IN(libpthread)]: Include <sigsetops.h>.
143 * mach/Makefile (user-interfaces): Add mach/gnumach.
144 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
145 * sysdeps/mach/configure (mach_interface_list): Regenerate.
146 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
147 instead of invalid -1.
148 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
149 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
150 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
153 2008-12-18 Thomas Schwinge <tschwinge@gnu.org>
155 * hurd/fcntl-internal.h: New file.
157 2018-01-27 James Clarke <jrtc27@jrtc27.com>
159 * sysdeps/hppa/fpu/libm-test-ulps: Update.
161 * sysdeps/alpha/fpu/libm-test-ulps: Update.
163 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
166 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
167 Build only shared objects.
169 2018-01-26 Carlos O'Donell <carlos@redhat.com>
171 * README: Update for hppa.
173 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
175 * sysdeps/sparc/fpu/libm-test-ulps: Update
176 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
178 2018-01-26 Carlos O'Donell <carlos@redhat.com>
182 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
185 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
186 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
187 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
188 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
191 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
194 * bits/types/__cancel_jmp_buf_tag.h: New file.
195 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
196 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
197 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
198 * nptl/Makefile (headers): Add
199 bits/types/__cancel_jmp_buf_tag.h.
200 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
201 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
202 * sysdeps/nptl/pthread.h: Include
203 <bits/types/__cancel_jmp_buf_tag.h>.
204 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
206 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
208 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
211 * localedata/locales/uk_UA (mon): Renamed to...
213 (alt_digits): "0" removed and then renamed to...
215 (date_fmt): Definition changed not to use the alternative
218 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
220 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
221 FLAG_RISCV_FLOAT_ABI_DOUBLE.
222 * elf/elf.h (EF_RISCV_RVC): New define.
223 (EF_RISCV_FLOAT_ABI): Likewise.
224 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
225 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
226 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
227 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
228 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
230 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
232 2018-01-25 Andreas Schwab <schwab@suse.de>
234 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
236 * sysdeps/gnu/configure: Regenerate.
237 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
238 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
240 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
241 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
242 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
243 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
244 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
246 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
248 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
249 URL, and run autoconf, make it the default for now.
251 2018-01-24 Joseph Myers <joseph@codesourcery.com>
253 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
254 soft-float ColdFire configuration.
256 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
257 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
258 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
260 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
263 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
265 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
267 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
270 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
271 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
272 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
275 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
278 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
279 Rename to __reserved and add comment.
280 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
281 Rename to __reserved.
283 2018-01-24 Joseph Myers <joseph@codesourcery.com>
285 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
286 i686-gnu configurations.
287 (Context.run_builds): Include mig, gnumach and hurd in components
289 (Context.checkout): Add mig, gnumach and hurd to components.
290 (Context.checkout_tar): Add URL mappings for mig, gnumach and
292 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
293 (Config.build): Install gnumach headers, build mig and install
294 hurd headers for 'gnu' OS.
295 (Config.install_gnumach_headers): New function.
296 (Config.install_hurd_headers): Likewise.
297 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
298 when building for 'gnu' OS.
300 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
302 * manual/tunables.texi (Hardware Capability Tunables): Fix
305 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
307 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
308 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
309 (ALTMON_11, ALTMON_12): Improve documentation.
310 * manual/time.texi (strftime): Likewise.
312 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
315 * localedata/locales/pl_PL: Alternative month names added,
316 primary month names are genitive now.
317 * time/tst-strptime.c (day_tests): Actually use a genitive case
318 of a month name in Polish language.
320 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
323 * manual/locale.texi: Document ALTMON_1..12 constants for
324 nl_langinfo. Specify when to use ALTMON instead of MON.
325 * manual/time.texi (strftime, strptime): Document GNU extension
326 permitting O modifier with %B and %b. Specify when to use
329 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
332 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
333 names, define them as the same as abbreviated month names explicitly.
334 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
335 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
336 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
337 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
338 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
339 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
340 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
341 _NL_WABALTMON_12): New enum constants.
342 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
343 wab_alt_mon, and ab_alt_mon_defined members.
344 (time_output): Output ab_alt_mon and wab_alt_mon members.
345 (time_read): Read them, initialize them as copies of abmon and wabmon
346 respectively if they are missing, initialize ab_alt_mon_defined.
347 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
348 * locale/programs/locfile-kw.h: Regenerate.
349 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
350 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
352 * time/strftime_l.c (a_altmonth, aam_len): New macros.
353 [!COMPILE_WIDE] (ABALTMON_1): New macro.
354 (__strftime_internal): Handle %Ob and %Oh formats.
355 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
356 (__strptime_internal): Handle %Ob and %Oh formats.
357 * time/tst-strptime.c (day_tests): Add more tests to parse different
358 forms of month names including the new %Ob format specifier.
360 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
363 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
364 define them as the same as primary full month names explicitly.
365 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
366 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
367 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
368 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
369 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
370 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
371 _NL_WALTMON_12): New enum constants.
372 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
373 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
375 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
376 walt_mon, and alt_mon_defined members.
377 (time_output): Output alt_mon and walt_mon members.
378 (time_read): Read them, initialize them as copies of mon and wmon
379 respectively if they are missing, initialize alt_mon_defined.
380 * locale/programs/locfile-kw.gperf (alt_mon): Define.
381 * locale/programs/locfile-kw.h: Regenerate.
382 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
383 * localedata/tst-langinfo.c (map): Add tests for the new constants
384 ALTMON_1 .. ALTMON_12.
385 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
387 * time/strftime_l.c (f_altmonth): New macro.
388 (__strftime_internal): Handle %OB format.
389 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
390 (__strptime_internal): Handle %OB format.
391 * time/tst-strptime.c (day_tests): Add tests to parse different forms
392 of month names including the new %OB format specifier.
394 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
397 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
398 from ABORT_TRANSACTION.
399 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
400 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
401 ABORT_TRANSACTION_IMPL): Likewise.
402 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
403 Linux code, but remove the code that aborts transactions.
405 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
407 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
409 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
411 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
412 in date: "2004-14-09" should be "2004-09-14".
413 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
414 "2003-15-09" should be "2003-09-15".
416 2018-01-18 Arjun Shankar <arjun@redhat.com>
419 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
421 (_int_memalign): check for integer overflow before calling
423 * malloc/tst-malloc-too-large.c: New test.
424 * malloc/Makefile: Add tst-malloc-too-large.
426 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
428 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
429 in date: "2017-24-07" should be "2017-07-24".
430 * localedata/locales/mai_IN: Likewise.
431 * localedata/locales/mai_NP: Likewise.
433 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
435 * po/ru.po: Update translations.
437 2018-01-17 Joseph Myers <joseph@codesourcery.com>
440 * sysdeps/hppa/backtrace.c: New file.
442 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
445 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
446 align La_x86_64_retval to VEC_SIZE.
448 2018-01-16 Joseph Myers <joseph@codesourcery.com>
450 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
451 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
453 2018-01-16 Florian Weimer <fweimer@redhat.com>
455 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
456 Move tst-thread-exit-clobber ...
457 [$(CXX)] (tests-unsupported): ... to here.
459 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
461 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
462 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
463 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
464 (_dl_aarch64_cap_flags): Update.
465 (_DL_HWCAP_COUNT): Update.
467 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
469 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
470 (_DL_HWCAP_LAST): Remove.
471 (_DL_HWCAP_COUNT): Move to ...
472 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
473 (_DL_HWCAP_COUNT): ... here.
475 2018-01-16 Florian Weimer <fweimer@redhat.com>
477 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
478 mode with GNU extensions.
480 2018-01-15 Alan Hayward <alan.hayward@arm.com>
482 * elf/elf.h (NT_ARM_SVE): Define.
484 2018-01-15 Florian Weimer <fweimer@redhat.com>
487 * nptl/tst-minstack-throw.cc: New file.
488 * nptl/Makefile (tests): Add tst-minstack-throw.
489 (LDLIBS-tst-minstack-throw): Link with libstdc++.
490 [!CXX] (tests-unsupported): Add tst-minstack-throw.
492 2018-01-15 Joseph Myers <joseph@codesourcery.com>
494 * scripts/build-many-glibcs.py (Context.checkout): Default
495 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
498 2018-01-13 Carlos O'Donell <carlos@redhat.com>
501 * elf/elf.h (DF_1_STUB): Define.
504 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
507 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
508 Do not add 0.5 to integer or out-of-range arguments.
510 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
512 * po/bg.po: Update translations.
513 * po/cs.po: Likewise.
514 * po/de.po: Likewise.
515 * po/ko.po: Likewise.
516 * po/pl.po: Likewise.
517 * po/sv.po: Likewise.
518 * po/uk.po: Likewise.
519 * po/vi.po: Likewise.
521 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
523 * aarch64/start.S (_start): Use __wrap_main.
524 (__wrap_main): New local symbol.
526 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
530 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
531 generic_getcwd if the path returned by getcwd syscall is not absolute.
532 * io/tst-getcwd-abspath.c: New test.
533 * io/Makefile (tests): Add tst-getcwd-abspath.
535 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
537 * malloc/malloc.c (malloc_consolidate): Add size check.
539 2018-01-12 Florian Weimer <fweimer@redhat.com>
541 * support/write_message.c (write_message): Preserve errno.
542 * support/check.c (print_failure): Likewise.
543 * support/support_test_verify_impl.c (support_test_verify_impl):
545 * support/support_test_compare_failure.c
546 (support_test_compare_failure): Likewise.
548 2018-01-12 Florian Weimer <fweimer@redhat.com>
551 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
552 Prevent installation of libnsl.so.
553 (libnsl-inhibit-o): Do not build (or install) static libraries.
555 2018-01-12 Egmont Koblinger <egmont@gmail.com>
558 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
559 before the day number which may produce a double space.
560 (date_fmt): Likewise.
562 2018-01-12 Joseph Myers <joseph@codesourcery.com>
564 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
567 2018-01-11 Joseph Myers <joseph@codesourcery.com>
570 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
571 comment to say exceptions are discarded.
572 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
574 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
577 2018-01-11 Florian Weimer <fweimer@redhat.com>
579 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
582 2018-01-11 Florian Weimer <fweimer@redhat.com>
585 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
586 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
588 2018-01-10 Joseph Myers <joseph@codesourcery.com>
591 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
592 negative arguments in test for NaN or infinity argument.
594 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
596 * po/libc.pot: Regenerate.
598 2018-01-10 Florian Weimer <fweimer@redhat.com>
601 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
602 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
604 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
606 * hurd/hurd/fd.h: Include <fcntl.h>
607 (__hurd_at_flags): New function.
608 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
609 with call to __hurd_at_flags.
610 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
611 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
613 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
614 (__access_noerrno): Use __faccessat_common instead of access_common.
615 (__access): Likewise.
616 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
617 with a call to __faccessat.
618 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
619 (__faccessat_common): ... this. Move implementation of __access into it when
620 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
621 reauthenticate_cwdir_at helper to implement AT mechanism.
622 (__faccessat_noerrno): New function, just calls __faccessat_common.
623 (__faccessat): New function, just calls __faccessat_common.
624 (faccessat): Define weak alias.
626 2018-01-10 Joseph Myers <joseph@codesourcery.com>
629 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
630 (CFLAGS-s_fmaxmagl.c): New variable.
631 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
634 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
635 long int for arguments of possibly overflowing addition or
637 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
639 2018-01-09 Joseph Myers <joseph@codesourcery.com>
642 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
643 (CFLAGS-e_remainderl.c): New variable.
646 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
648 (CFLAGS-s_cacoshl.c): Likewise.
649 (CFLAGS-s_casinhl.c): Likewise.
650 (CFLAGS-s_catanl.c): Likewise.
651 (CFLAGS-s_catanhl.c): Likewise.
652 (CFLAGS-s_cexpl.c): Likewise.
653 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
654 (CFLAGS-s_csinhl.c): Likewise.
655 (CFLAGS-s_clogl.c): Likewise.
656 (CFLAGS-s_clog10l.c): Likewise.
657 (CFLAGS-s_csinl.c): Likewise.
658 (CFLAGS-s_csqrtl.c): Likewise.
660 2010-08-04 Emilio Pozuelo Monfort <pochu27@gmail.com>
661 2017-09-26 Svante Signell <svante.signell@gmail.com>
663 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
664 (_hurd_exec_paths): New function.
665 * hurd/hurd.h (_hurd_exec): Deprecate function.
666 (_hurd_exec_paths): Declare function.
667 * hurd/Versions: Export _hurd_exec_paths.
668 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
669 (__execve): Use __getcwd to build absolute path, and use
670 _hurd_exec_paths instead of _hurd_exec.
671 * sysdeps/mach/hurd/spawni.c: Likewise.
672 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
675 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
677 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
678 test instead of failing in case of ENOENT returned by posix_openpt.
680 2018-01-08 Florian Weimer <fweimer@redhat.com>
682 resolv: Support binary labels in test framework.
683 * support/resolv_test.c (struct to_be_freed): Remove.
684 (struct compressed_name): New.
685 (allocate_compressed_name, ascii_tolower)
686 (compare_compressed_name): New functions.
687 (struct resolv_response_builder): Update type of
688 compression_offsets for use with tsearch. Rempve to_be_freed.
689 (response_push_pointer_to_free): Remove function.
690 (resolv_response_add_name): Rewrite using struct compressed_name
691 and tsearch instead of hsearch_r.
692 (response_builder_allocate): Remove initialization of
694 (response_builder_free): Update for removal of to_be_freed. Use
695 tdestroy instead of hdestroy_r.
696 * resolv/Makefile (tests): Add tst-resolv-binary.
697 (tst-resolv-binary): Link with -lresolv -lpthread.
699 2018-01-08 Florian Weimer <fweimer@redhat.com>
701 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
702 time. Pass positive flag instead of negative flag to
703 support_test_compare_failure.
704 (support_test_compare_failure): Change negative parameter to
706 * support/support_test_compare_failure.c (report)
707 (support_test_compare_failure): Likewise.
708 * support/tst-test_compare.c (return_ssize_t, return_int): New.
709 (do_test): Check int/size_t, ssize_t/size_t comparisons.
711 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
714 * nptl/descr.h (stackblock, stackblock_size): Update comments.
715 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
716 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
718 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
720 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
722 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
723 Add s_sincosf-sse2 and s_sincosf-fma.
724 (CFLAGS-s_sincosf-fma.c): New.
725 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
726 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
727 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
728 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
729 __sincosf is defined.
731 2018-01-08 Florian Weimer <fweimer@redhat.com>
733 * nptl/tst-thread-exit-clobber.cc: New file.
734 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
736 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
737 (tests): Add tst-thread-exit-clobber.
738 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
740 2018-01-08 Florian Weimer <fweimer@redhat.com>
742 * support/check.h (support_static_assert): Define.
743 (TEST_COMPARE): Use it.
745 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
747 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
748 [!__RLIM_T_MATCHES_RLIM64_T]
749 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
750 __getrlimit64. Add libc_hidden_weak.
752 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
754 * elf/elf.h (R_RISCV_NONE): New define.
755 (R_RISCV_32): Likewise.
756 (R_RISCV_64): Likewise.
757 (R_RISCV_RELATIVE): Likewise.
758 (R_RISCV_COPY): Likewise.
759 (R_RISCV_JUMP_SLOT): Likewise.
760 (R_RISCV_TLS_DTPMOD32): Likewise.
761 (R_RISCV_TLS_DTPMOD64): Likewise.
762 (R_RISCV_TLS_DTPREL32): Likewise.
763 (R_RISCV_TLS_DTPREL64): Likewise.
764 (R_RISCV_TLS_TPREL32): Likewise.
765 (R_RISCV_TLS_TPREL64): Likewise.
766 * Makerules (make-link-multidir): Make directories before linking into
768 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
770 (VDSO_HASH_LINUX_4_15): Likewise.
771 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
772 in subdirectories of lib.
773 * nptl/Makefile (/librt.so): Always depend on
774 "$(shared-thread-library)".
776 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
778 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
779 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
780 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
782 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
783 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
785 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
786 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
787 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
788 * sysdeps/gnu/glob-lstat-compat.c: New file.
789 * sysdeps/gnu/glob64-lstat-compat.c: New file.
790 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
792 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
794 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
795 Reserve 16 chars to reloc_addr before calling _itoa_word.
797 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
800 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
801 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
803 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
804 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
806 * resource/tst-getrlimit.c: Add copyright header.
808 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
809 Adhemerval Zanella <adhemerval.zanella@linaro.org>
811 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
812 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
813 Define __GI_getrlimit64 as weak alias of __getrlimit64.
814 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
816 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
817 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
818 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
819 RLIM64_INFINITY): Fix values to match the kernel ones.
820 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
821 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
822 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
823 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
824 getrlimit64@@GLIBC_2_27.
825 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
827 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
828 getrlimit, setrlimit, getrlimit64 and setrlimit64.
829 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
830 setrlimit, getrlimit64 and setrlimit64.
832 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
835 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
836 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
838 2018-01-04 Joseph Myers <joseph@codesourcery.com>
840 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
841 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
842 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
844 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
848 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
849 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
853 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
854 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
855 * sysdeps/alpha/fpu/s_floor.c: Likewise.
856 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
858 2018-01-04 Florian Weimer <fweimer@redhat.com>
861 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
862 Align the stack before calling exit.
863 * stdlib/tst-makecontext-align.c: New file.
864 * stdlib/Makefile (tests): Add tst-makecontext-align.
866 2018-01-04 Florian Weimer <fweimer@redhat.com>
868 Add support for calling dlvsym from libc.so.
869 * include/dlfcn.h (__libc_dlvsym): Declare.
870 * elf/Makefile (tests-static-internal): Add
871 tst-libc_dlvsym-static.
872 (tests-internal): Add tst-libc_dlvsym.
873 (modules-names): Add tst-libc_dlvsym-dso.
874 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
875 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
876 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
877 object tst-libc_dlvsym-dso.so needs to be built before running
879 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
880 * elf/Versions: Export __libc_dlvsym.
881 * elf/dl-libc.c (struct do_dlvsym_args): New.
882 (do_dlvsym, __libc_dlvsym): New functions.
883 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
884 (_dl_open_hook2): New variable.
885 (__libc_register_dl_open_hook): Set it.
886 * elf/tst-libc_dlvsym-dso.c: New file.
887 * elf/tst-libc_dlvsym-static.c: Likewise.
888 * elf/tst-libc_dlvsym.c: Likewise.
889 * elf/tst-libc_dlvsym.h: Likewise.
891 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
893 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
894 include <sys/mount.h>.
896 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
898 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
899 Add __NO_MATH_ERRNO__ check.
901 2018-01-02 Joseph Myers <joseph@codesourcery.com>
903 * sysdeps/mips/mips32/libm-test-ulps: Update.
904 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
906 2018-01-02 Florian Weimer <fweimer@redhat.com>
908 * misc/tst-pselect.c: Add copyright header.
910 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
912 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
914 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
916 (settrlimit): Rename into setrlimit.
917 (__sttrlimit): Rename into __setrlimit.
919 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
920 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
921 never defined in that case.
923 2018-01-02 Joseph Myers <joseph@codesourcery.com>
925 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
927 * sysdeps/arm/libm-test-ulps: Update.
929 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
930 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
932 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
934 * NEWS: Add cosf and sincosf to list of optimized functions.
936 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
939 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
940 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
941 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
942 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
944 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
947 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
949 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
952 2018-01-01 Joseph Myers <joseph@codesourcery.com>
954 * manual/texinfo.tex: Update to version 2017-12-26.21 with
955 trailing whitespace removed.
956 * scripts/config.guess: Update to version 2018-01-01.
957 * scripts/config.sub: Update to version 2018-01-01.
958 * scripts/move-if-change: Update from gnulib.
960 * NEWS: Update copyright dates.
961 * catgets/gencat.c (print_version): Likewise.
962 * csu/version.c (banner): Likewise.
963 * debug/catchsegv.sh: Likewise.
964 * debug/pcprofiledump.c (print_version): Likewise.
965 * debug/xtrace.sh (do_version): Likewise.
966 * elf/ldconfig.c (print_version): Likewise.
967 * elf/ldd.bash.in: Likewise.
968 * elf/pldd.c (print_version): Likewise.
969 * elf/sotruss.sh: Likewise.
970 * elf/sprof.c (print_version): Likewise.
971 * iconv/iconv_prog.c (print_version): Likewise.
972 * iconv/iconvconfig.c (print_version): Likewise.
973 * locale/programs/locale.c (print_version): Likewise.
974 * locale/programs/localedef.c (print_version): Likewise.
975 * login/programs/pt_chown.c (print_version): Likewise.
976 * malloc/memusage.sh (do_version): Likewise.
977 * malloc/memusagestat.c (print_version): Likewise.
978 * malloc/mtrace.pl: Likewise.
979 * manual/libc.texinfo: Likewise.
980 * nptl/version.c (banner): Likewise.
981 * nscd/nscd.c (print_version): Likewise.
982 * nss/getent.c (print_version): Likewise.
983 * nss/makedb.c (print_version): Likewise.
984 * posix/getconf.c (main): Likewise.
985 * scripts/test-installation.pl: Likewise.
986 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
988 * All files with FSF copyright notices: Update copyright dates
989 using scripts/update-copyrights.
990 * locale/programs/charmap-kw.h: Regenerated.
991 * locale/programs/locfile-kw.h: Likewise.
993 2017-12-31 Zack Weinberg <zackw@panix.com>
995 * libio/bits/libio-ldbl.h: Correct check for improper
996 inclusion. Add own multiple include guard.
998 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
999 Dmitry V. Levin <ldv@altlinux.org>
1003 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
1004 string token expansion. Check for NULL pointer or empty string possibly
1005 returned by expand_dynamic_string_token.
1006 (decompose_rpath): Check for empty path after dynamic string
1009 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
1012 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
1014 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
1015 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
1016 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
1018 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
1019 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1020 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1021 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1022 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1023 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1025 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
1026 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
1027 __ptrace_peeksiginfo_flags, ptrace): Move to ...
1028 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
1029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1030 bits/ptrace-shared.h.
1031 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
1032 <bits/ptrace-shared.h>.
1033 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
1034 __ptrace_peeksiginfo_flags, ptrace): Remove.
1035 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1036 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1037 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1038 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1039 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1041 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
1044 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
1045 end of the loop. Improve comments.
1047 2017-12-29 Zack Weinberg <zackw@panix.com>
1050 * manual/errno.texi (Checking for Errors): Explicitly say that errno
1051 might be set on success.
1053 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
1056 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
1057 is unchanged on success.
1059 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
1061 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
1063 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
1064 expand_dynamic_string_token): Likewise.
1065 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
1068 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
1071 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
1072 is set and name contains ':', and all code depending on these checks.
1074 2017-12-24 Zack Weinberg <zackw@panix.com>
1076 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
1077 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
1079 * libio/libio.h: Rename the original version of this file to
1080 libio/bits/libio.h. Error out if not included by stdio.h or the
1082 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
1083 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
1084 if not included by bits/libio.h or the stub _G_config.h.
1085 * sysdeps/unix/sysv/linux/_G_config.h: Move to
1086 sysdeps/unix/sysv/linux/bits. Error out if not included by
1087 bits/libio.h or the stub _G_config.h.
1088 * libio/stdio.h: Include bits/libio.h, not libio.h.
1089 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
1090 well as libio.h and _G_config.h.
1092 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
1093 * libio/strfile.h, stdio-common/vfscanf.c
1094 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
1095 Include stdio.h, not _G_config.h nor libio.h.
1096 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
1097 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
1099 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
1101 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
1104 * stdlib/getrandom.c (getrandom): Fix comment.
1105 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
1107 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
1110 * manual/arith.texi (strtoul): Fix a typo.
1113 * manual/arith.texi (finite): Fix the description of the return
1116 2017-12-22 Eric Blake <ebb9@byu.net>
1118 Avoid gcc warnings on cygwin
1119 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
1120 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
1121 Avoid unused variable.
1123 2017-12-22 Florian Weimer <fweimer@redhat.com>
1125 * io/Makefile (routines): Add copy_file_range.
1126 (tests): Add tst-copy_file_range.
1127 (tests-static, tests-internal): Add tst-copy_file_range-compat.
1128 * io/Versions (GLIBC_2.27): Export copy_file_range.
1129 * io/copy_file_range-compat.c: New file.
1130 * io/copy_file_range.c: Likewise.
1131 * io/tst-copy_file_range-compat.c: Likewise.
1132 * io/tst-copy_file_range.c: Likewise.
1133 * manual/llio.texi (Copying File Data): New section.
1134 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
1135 * support/Makefile (libsupport-routines): Add support-xfstat,
1137 * support/support-xfstat.c: New file.
1138 * support/xftruncate.c: Likewise.
1139 * support/xlseek.c: Likewise.
1140 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
1141 * sysdeps/unix/sysv/linux/**.abilist: Update.
1142 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
1144 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1146 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1147 disable-multi-arch variant to aarch64-linux-gnu.
1149 2017-12-20 Joseph Myers <joseph@codesourcery.com>
1151 * manual/texinfo.tex: Update to version 2017-12-18.20 with
1152 trailing whitespace removed.
1153 * scripts/config.guess: Update to version 2017-12-17.
1154 * scripts/config.sub: Update to version 2017-11-23.
1155 * scripts/install-sh: Update to version 2017-09-23.17.
1156 * scripts/move-if-change: Update to version 2017-09-13 06:45.
1158 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1160 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
1161 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
1162 * sysdeps/tile/_mcount.S (__mcount): Likewise.
1163 * sysdeps/tile/crti.S (_init, _fini): Likewise.
1164 * sysdeps/tile/crtn.S: Likewise.
1165 * sysdeps/tile/dl-start.S (_start): Likewise.
1166 * sysdeps/tile/dl-trampoline.S: Likewise.
1167 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
1168 * sysdeps/tile/start.S (_start): Likewise.
1169 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
1170 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
1171 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
1172 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
1173 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
1174 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
1175 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
1177 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
1179 * sysdeps/tile/preconfigure: Remove tilegx folder.
1180 * sysdeps/tile/tilegx/Implies: Move definitions to ...
1181 * sysdeps/tile/Implies: ... here.
1182 * sysdeps/tile/tilegx/Makefile: Move rules to ...
1183 * sysdeps/tile/Makefile: ... here.
1184 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
1185 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
1186 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
1187 * sysdeps/tile/bits/wordsize.h: ... here.
1188 * sysdeps/tile/tilegx/*: Move to ...
1189 * sysdeps/tile/*: ... here.
1190 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
1191 * sysdeps/tile/tilegx32/Implies: ... here.
1192 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
1193 * sysdeps/tile/tilegx64/Implies: ... here.
1194 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
1196 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1197 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
1198 * sysdeps/unix/sysv/linux/tile/*: ... here.
1199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
1200 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
1201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
1202 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
1204 * README: Remove tilepro-*-linux-gnu from supported architecture.
1205 * scripts/build-many-glibcs.py: Likewise.
1206 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
1207 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
1208 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
1209 elf_machine_matches_host, elf_machine_dynamic,
1210 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
1211 howto, elf_machine_rela): Likewise.
1212 * sysdeps/tile/dl-start.S (_start): Likewise.
1213 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
1214 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
1215 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
1216 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
1217 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
1218 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1220 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
1221 * sysdeps/tile/preconfigure: Likewise.
1222 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
1223 POINTER_CHK_GUARD): Likewise.
1224 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
1225 * sysdeps/tile/start.S (_start): Likewise.
1226 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
1228 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
1229 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
1231 * sysdeps/unix/sysv/linux/tile/bits/environments.h
1232 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
1233 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
1235 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
1236 * sysdeps/tile/tilepro/Implies: Remove file.
1237 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
1238 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1239 * sysdeps/tile/tilepro/memchr.c: Likewise.
1240 * sysdeps/tile/tilepro/memcpy.S: Likewise.
1241 * sysdeps/tile/tilepro/memset.c: Likewise.
1242 * sysdeps/tile/tilepro/memusage.h: Likewise.
1243 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
1244 * sysdeps/tile/tilepro/strchr.c: Likewise.
1245 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
1246 * sysdeps/tile/tilepro/strlen.c: Likewise.
1247 * sysdeps/tile/tilepro/strrchr.c: Likewise.
1248 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
1249 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
1250 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
1251 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
1252 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
1253 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1255 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
1256 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1257 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
1258 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
1259 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1260 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
1261 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
1262 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
1263 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
1264 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
1265 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
1266 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
1267 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
1268 tilepro mention in comment.
1270 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
1271 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
1272 * nptl/pthread_join_common.c: New file: common function used on
1273 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
1274 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
1275 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
1276 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1277 (cleanup): Move definition to pthread_join_common.c.
1278 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
1279 Remove superflous checks.
1280 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
1283 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
1285 * sysdeps/aarch64/libm-test-ulps: Update.
1287 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1289 * sysdeps/aarch64/memset.S (MEMSET): Define.
1291 2017-12-20 Florian Weimer <fweimer@redhat.com>
1294 nptl: Provide full implementation of pthread_self in libc.so.
1295 * nptl/Makefile (routines): Add pthread_self.
1296 (libpthread-routines): Replace pthread_self with
1297 compat-pthread_self.
1298 * nptl/forward.c (pthread_self): Remove.
1299 * nptl/nptl-init.c (pthread_functions): Do not initialize
1301 * nptl/pthread_self.c (pthread_self): Remove weak alias.
1302 * nptl/compat-pthread_self.c: New file.
1303 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1304 Remove ptr_pthread_self.
1306 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
1308 * posix/regcomp.c: Fix spelling in comments.
1309 * posix/regex.h: Likewise.
1310 * posix/regex_internal.c: Likewise.
1311 * posix/regexec.c: Likewise.
1313 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1316 * math/Makefile [C++] (tests): Add test for iseqsig.
1317 * math/math.h [C++] (iseqsig): New implementation, which does
1318 not rely on __MATH_TG/__builtin_types_compatible_p.
1319 * math/test-math-iseqsig.cc: New file.
1320 * sysdeps/powerpc/powerpc64le/Makefile
1321 (CFLAGS-test-math-iseqsig.cc): New variable.
1323 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
1325 * elf/dl-load.c (is_trusted_path): Remove.
1326 (fillin_rpath): Remove check_trusted argument and its use,
1327 all callers changed.
1329 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1332 * Makeconfig (link-pie-before-libc): Replace -pie with
1333 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
1334 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
1335 (tst-dlopen-aout-no-pie): New.
1336 (LDFLAGS-tst-prelink): Removed.
1337 (tst-prelink-no-pie): New.
1338 (LDFLAGS-tst-main1): Removed.
1339 (tst-main1-no-pie): New.
1340 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
1341 (tst-gmon-no-pie): New.
1343 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1345 * manual/install.texi: Document that --enable-static-pie
1347 * INSTALL: Regenerated.
1349 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
1352 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
1355 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1359 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1363 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1365 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
1366 <errno.h>. Include "eexp.tbl".
1367 (half): New constant.
1369 (__ieee754_exp): Rewrite.
1370 (__slowexp): Remove prototype.
1371 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
1372 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
1373 * sysdeps/i386/fpu/slowexp.c: Likewise.
1374 * sysdeps/ia64/fpu/slowexp.c: Likewise.
1375 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
1376 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
1377 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
1378 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1379 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
1380 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
1382 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
1383 (CPPFLAGS-slowexp.c): Remove variable.
1384 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1385 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
1386 (CFLAGS-slowexp-fma.c): Remove variable.
1387 (CFLAGS-slowexp-fma4.c): Likewise.
1388 (CFLAGS-slowexp-avx.c): Likewise.
1389 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
1391 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
1392 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
1393 * math/Makefile (type-double-routines): Remove slowexp.
1394 * manual/probes.texi (slowexp_p6): Remove.
1395 (slowexp_p32): Likewise.
1397 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1399 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
1402 * lib/glob.c (glob): Do not pass NULL to mempcpy.
1404 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1408 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1410 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
1411 <errno.h>. Include "eexp.tbl".
1412 (half): New constant.
1414 (__ieee754_exp): Rewrite.
1415 (__slowexp): Remove prototype.
1416 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
1417 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
1418 * sysdeps/i386/fpu/slowexp.c: Likewise.
1419 * sysdeps/ia64/fpu/slowexp.c: Likewise.
1420 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
1421 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
1422 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
1423 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1424 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
1425 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
1427 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
1428 (CPPFLAGS-slowexp.c): Remove variable.
1429 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1430 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
1431 (CFLAGS-slowexp-fma.c): Remove variable.
1432 (CFLAGS-slowexp-fma4.c): Likewise.
1433 (CFLAGS-slowexp-avx.c): Likewise.
1434 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
1436 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
1437 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
1438 * math/Makefile (type-double-routines): Remove slowexp.
1439 * manual/probes.texi (slowexp_p6): Remove.
1440 (slowexp_p32): Likewise.
1442 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1443 James Clarke <jrtc27@jrtc27.com>
1446 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
1449 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1452 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
1455 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1458 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
1459 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
1460 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
1461 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
1464 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1467 * bits/types/__cancel_jmp_buf_tag.h: New file.
1468 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
1469 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
1470 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
1471 * nptl/Makefile (headers): Add
1472 bits/types/__cancel_jmp_buf_tag.h.
1473 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
1474 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
1475 * sysdeps/nptl/pthread.h: Include
1476 <bits/types/__cancel_jmp_buf_tag.h>.
1477 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
1479 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
1481 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
1483 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1484 --enable-static-pie variants to x86_64, x32 and i686.
1486 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1489 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
1490 argument for attrubutes. All callers changed.
1491 (__inline_mathop1): Likewise. All callers changed.
1492 (__inline_mathop): Likewise. All callers changed.
1493 [__USE_MISC] (scalbn): Use __inline_forward instead of
1495 [__USE_ISOC99] (scalbln): Likewise.
1496 [__USE_ISOC99] (nearbyint): Likewise.
1497 [__USE_ISOC99] (lrint): Likewise.
1498 [__USE_MISC] (scalbnf): Likewise.
1499 [__USE_ISOC99] (scalblnf): Likewise.
1500 [__USE_ISOC99] (nearbyintf): Likewise.
1501 [__USE_ISOC99] (lrintf): Likewise.
1502 [__USE_MISC] (scalbnl): Likewise.
1503 [__USE_ISOC99] (scalblnl): Likewise.
1504 [__USE_ISOC99] (nearbyintl): Likewise.
1505 [__USE_ISOC99] (lrintl): Likewise.
1506 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
1507 __inline_mathop and __m81_defun changed.
1509 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
1510 CPU or FPU for ARM hard-float configurations.
1512 2017-12-18 Joseph Myers <joseph@codesourcery.com>
1514 * nptl/tst-attr3.c: Include <libc-diag.h>.
1515 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
1517 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
1519 * string/tester.c (test_strncat): Also disable -Warray-bounds
1520 warnings for two tests.
1522 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
1525 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
1526 $(cc-pie-default) == yes.
1527 * config.make.in (cc-pie-default): New.
1528 * configure.ac (libc_cv_pie_default): Renamed to ...
1529 (libc_cv_cc_pie_default): This.
1530 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
1531 * configure: Regenerated.
1533 2017-12-18 Florian Weimer <fweimer@redhat.com>
1536 ld.so: Harden dl-libc/libdl hooks.
1537 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
1538 (rtld_active): New function.
1539 * dlfcn/dladdr.c (__dladdr): Call it.
1540 * dlfcn/dladdr1.c (__dladdr1): Likewise.
1541 * dlfcn/dlclose.c (__dlcose): Likewise.
1542 * dlfcn/dlerror.c (__dlerror): Likewise.
1543 * dlfcn/dlinfo.c (__dlinfo): Likewise.
1544 * dlfcn/dlmopen.c (__dlmopen): Likewise.
1545 * dlfcn/dlopen.c (__dlopen): Likewise.
1546 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1547 * dlfcn/dlsym.c (__dlsym): Likewise.
1548 * dlfcn/dlvsym.c (__dlvsym): Likewise.
1549 * libio/vtables.c (_IO_vtable_check): Likewise.
1550 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
1551 (__libc_dlclose): Likewise.
1552 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
1555 2017-12-18 Joseph Myers <joseph@codesourcery.com>
1558 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
1559 buffers for readlink input and output.
1561 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
1564 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
1565 inhibit_stack_protector.
1568 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
1569 inhibit_stack_protector.
1571 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
1574 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
1575 code and invocation.
1577 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1579 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
1581 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
1584 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
1586 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1588 * sysdeps/s390/fpu/libm-test-ulps: Update.
1590 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1594 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1596 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
1597 constants to s_sincosf.h file.
1598 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1599 * sysdeps/ieee754/flt-32/s_sincosf.c: New
1601 * sysdeps/ieee754/flt-32/s_sincosf.h:
1604 2017-12-12 Carlos O'Donell <carlos@redhat.com>
1607 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
1610 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
1613 * INSTALL: Regenerated.
1614 * Makeconfig (real-static-start-installed-name): New.
1615 (pic-default): Updated for --enable-static-pie.
1616 (pie-default): New for --enable-static-pie.
1617 (default-pie-ldflag): Likewise.
1618 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
1619 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
1620 Replace $(static-start-installed-name) with
1621 $(real-static-start-installed-name).
1622 (+prectorT): Updated for --enable-static-pie.
1623 (+postctorT): Likewise.
1624 (CFLAGS-.o): Add $(pie-default).
1625 (CFLAGS-.op): Likewise.
1626 * NEWS: Mention --enable-static-pie.
1627 * config.h.in (ENABLE_STATIC_PIE): New.
1628 * configure.ac (--enable-static-pie): New configure option.
1629 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
1630 (have-static-pie): Likewise.
1631 Enable static PIE if linker supports --no-dynamic-linker.
1632 (ENABLE_STATIC_PIE): New AC_DEFINE.
1633 (enable-static-pie): New LIBC_CONFIG_VAR.
1634 * configure: Regenerated.
1635 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
1636 gr$(start-installed-name) for --enable-static-pie.
1637 (extra-objs): Likewise.
1638 (install-lib): Likewise.
1639 (extra-objs): Add static-reloc.o and static-reloc.os
1640 ($(objpfx)$(start-installed-name)): Also depend on
1641 $(objpfx)static-reloc.o.
1642 ($(objpfx)r$(start-installed-name)): New.
1643 ($(objpfx)g$(start-installed-name)): Also depend on
1644 $(objpfx)static-reloc.os.
1645 ($(objpfx)gr$(start-installed-name)): New.
1646 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
1648 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
1650 * csu/static-reloc.c: New file.
1651 * elf/Makefile (routines): Add dl-reloc-static-pie.
1652 (elide-routines.os): Likewise.
1653 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
1654 (tst-tls1-static-non-pie-no-pie): New.
1655 * elf/dl-reloc-static-pie.c: New file.
1656 * elf/dl-support.c (_dl_get_dl_main_map): New function.
1657 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
1658 STATIC_PIE_BOOTSTRAP.
1659 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1660 * gmon/Makefile (tests): Add tst-gmon-static-pie.
1661 (tests-static): Likewise.
1662 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
1663 (tst-gmon-static-no-pie): New.
1664 (CFLAGS-tst-gmon-static-pie.c): Likewise.
1665 (CRT-tst-gmon-static-pie): Likewise.
1666 (tst-gmon-static-pie-ENV): Likewise.
1667 (tests-special): Likewise.
1668 ($(objpfx)tst-gmon-static-pie.out): Likewise.
1669 (clean-tst-gmon-static-pie-data): Likewise.
1670 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
1671 * gmon/tst-gmon-static-pie.c: New file.
1672 * manual/install.texi: Document --enable-static-pie.
1673 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
1674 (_dl_get_dl_main_map): Likewise.
1675 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
1676 * sysdeps/x86_64/configure.ac: Likewise.
1677 * sysdeps/i386/configure: Regenerated.
1678 * sysdeps/x86_64/configure: Likewise.
1679 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
1680 (ASFLAGS-.op): Likewise.
1682 2017-12-15 Joseph Myers <joseph@codesourcery.com>
1684 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
1685 * posix/tst-mmap-offset.c (fname): Use /tmp.
1686 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
1688 2017-12-15 Steve Ellcey <sellcey@cavium.com>
1690 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
1692 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
1694 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
1697 2017-12-15 Joseph Myers <joseph@codesourcery.com>
1699 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
1700 --with-float=hard for arm-linux-gnueabihf configurations.
1703 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
1704 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
1705 ($(mo-installed)): Use $(objpfx)%.mo.
1706 (realclean): Remove rule.
1708 * po/Makefile (linguas): Remove rule and dependencies.
1709 (linguas.mo): Likewise.
1710 (.PHONY): Do not depend on linguas and linguas.mo.
1711 (podir): Remove variable.
1712 (pofiles): Likewise.
1713 [$(pofiles)] (%.po): Remove rule.
1715 * sysdeps/sparc/sparc32/Makefile
1716 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
1717 start-of-line whitespace in argument of echo.
1718 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
1719 with whitespace. Generate __wrap_.udiv alias.
1720 * sysdeps/sparc/sparc32/rem.S: Regenerated.
1721 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1722 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1723 * sysdeps/sparc/sparc32/urem.S: Likewise.
1725 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1727 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
1730 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1732 * benchtests/bench-strcmp.c: Print output in JSON format.
1734 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
1736 2017-12-14 Florian Weimer <fweimer@redhat.com>
1740 * elf/dl-load.c (_dl_init_paths): Compute number of components in
1741 the expanded path string.
1743 2017-12-14 Florian Weimer <fweimer@redhat.com>
1747 * elf/dl-load.c (system_dirs): Update comment.
1748 (nsystem_dirs_len): Use array_length.
1749 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
1751 2017-12-14 Florian Weimer <fweimer@redhat.com>
1753 Simplify compiling most of support/ outside of glibc.
1754 * support/check_addrinfo.c: Include <string.h>.
1755 * support/check_dns_packet.c: Likewise.
1756 * support/check_hostent.c: Likewise.
1757 * support/support_can_chroot.c: Include <support/xunistd.h>.
1758 * support/support_format_addrinfo.c: Include <stdlib.h>
1759 * support/support_format_dns_packet.c: Include <stdbool.h>.
1760 * support/support_format_hostent.c: Include <stdlib.h>.
1761 * support/support_format_netent.c: Likewise.
1762 * support/support_write_string.c: Include <support/xunistd.h>.
1763 * support/xdlfcn.c: Include <stddef.h>.
1765 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
1767 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
1769 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1770 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1772 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
1773 (sysdeps_routines): Add memset-niagara7.
1774 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
1776 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
1778 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
1779 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
1780 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
1781 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
1782 Add niagara7 option.
1783 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
1786 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
1787 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
1788 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
1790 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
1792 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
1793 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
1794 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
1795 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
1796 and __memmove_niagara7.
1797 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
1798 Add niagara7 option.
1799 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
1800 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
1801 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
1802 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
1803 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
1805 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1807 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
1808 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
1809 * sysdeps/sparc/sparc64/memmove.S: Likewise.
1810 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
1812 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
1813 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
1814 _dl_sparc_cap_flags array.
1815 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
1817 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
1819 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
1820 time whenever possible.
1822 2017-12-12 Carlos O'Donell <carlos@redhat.com>
1824 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
1825 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
1827 2017-12-12 Joseph Myers <joseph@codesourcery.com>
1829 * soft-fp/fmadf4.c: Move to ....
1830 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
1831 * soft-fp/fmasf4.c: Move to ....
1832 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
1833 * soft-fp/fmatf4.c: Move to ....
1834 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
1835 * sysdeps/ieee754/soft-fp/Makefile: New file.
1836 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
1837 * sysdeps/arm/preconfigure: Regenerated.
1838 * sysdeps/arm/nofpu/Implies: New file.
1839 * sysdeps/arm/s_fma.c: Remove file.
1840 * sysdeps/arm/s_fmaf.c: Likewise.
1841 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
1842 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
1843 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
1844 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
1845 * sysdeps/microblaze/s_fma.c: Remove file.
1846 * sysdeps/microblaze/s_fmaf.c: Likewise.
1847 * sysdeps/mips/mips32/nofpu/Implies: New file.
1848 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
1849 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
1850 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
1851 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
1852 * sysdeps/mips/ieee754/s_fma.c: Remove file.
1853 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
1854 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
1856 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
1857 * sysdeps/nios2/s_fma.c: Remove file.
1858 * sysdeps/nios2/s_fmaf.c: Likewise.
1859 * sysdeps/sh/nofpu/Implies: New file.
1860 * sysdeps/sh/s_fma.c: Remove file.
1861 * sysdeps/sh/s_fmaf.c: Likewise.
1862 * sysdeps/tile/Implies: Add ieee754/soft-fp.
1863 * sysdeps/tile/s_fma.c: Remove file.
1864 * sysdeps/tile/s_fmaf.c: Likewise.
1866 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
1868 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1869 Add s_cosf-sse2 and s_cosf-fma.
1870 (CFLAGS-s_cosf-fma.c): New.
1871 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
1872 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
1873 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
1875 2017-12-12 Steve Ellcey <sellcey@cavium.com>
1877 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
1879 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1881 * libio/Makefile (tests): Add tst-bz22415.
1882 (tst-bz22415-ENV): New rule.
1883 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
1884 (tests-special): Add tst-bz22415-mem.out.
1885 ($(objpfx)tst-bz22415-mem.out): New rule.
1886 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
1887 in case of a successful seek operation.
1888 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1889 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
1891 * libio/tst-bz22415.c: New test.
1893 * sysdeps/ia64/fpu/libm-test-ulps: Update.
1895 2017-12-12 James Clarke <jrtc27@jrtc27.com>
1897 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
1898 __IPC_64 to 0 to avoid IPC_64 being set.
1900 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
1903 * math/bits/mathcalls.h (nextafter): Remove const.
1904 (nexttoward): Likewise.
1906 2017-12-12 Joseph Myers <joseph@codesourcery.com>
1908 * configure.ac (--with-fp): Remove configure option.
1909 (with_fp_cond): New variable.
1910 (libc_cv_with_fp): New configure test. Use this variable instead
1912 * configure: Regenerated.
1913 * config.make.in (with-fp): Use @libc_cv_with_fp@.
1914 * manual/install.texi (Configuring and compiling): Remove
1916 * INSTALL: Regenerated.
1917 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
1918 * sysdeps/mips/preconfigure (with_fp_cond): Define.
1919 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
1920 * sysdeps/sh/preconfigure (with_fp_cond): Define.
1921 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
1922 use --without-fp to configure glibc.
1924 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
1926 * manual/locale.texi (nl_langinfo): Fix a typo.
1928 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
1931 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
1933 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
1935 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
1936 (CFLAGS-argp-parse.c): Likewise.
1937 (CFLAGS-argp-fmtstream.c): Likewise.
1938 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
1939 (CPPFLAGS-sha512-crypt.c): Likewise.
1940 (CPPFLAGS-md5-crypt.c): Likewise.
1941 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
1942 (CFLAGS-stack_chk_fail_local.c): Likewise.
1943 (CFLAGS-backtrace.c): Likewise.
1944 (CFLAGS-sprintf_chk.c): Likewise.
1945 (CFLAGS-snprintf_chk.c): Likewise.
1946 (CFLAGS-vsprintf_chk.c): Likewise.
1947 (CFLAGS-vsnprintf_chk.c): Likewise.
1948 (CFLAGS-asprintf_chk.c): Likewise.
1949 (CFLAGS-vasprintf_chk.c): Likewise.
1950 (CFLAGS-obprintf_chk.c): Likewise.
1951 (CFLAGS-dprintf_chk.c): Likewise.
1952 (CFLAGS-vdprintf_chk.c): Likewise.
1953 (CFLAGS-printf_chk.c): Likewise.
1954 (CFLAGS-fprintf_chk.c): Likewise.
1955 (CFLAGS-vprintf_chk.c): Likewise.
1956 (CFLAGS-vfprintf_chk.c): Likewise.
1957 (CFLAGS-gets_chk.c): Likewise.
1958 (CFLAGS-fgets_chk.c): Likewise.
1959 (CFLAGS-fgets_u_chk.c): Likewise.
1960 (CFLAGS-fread_chk.c): Likewise.
1961 (CFLAGS-fread_u_chk.c): Likewise.
1962 (CFLAGS-swprintf_chk.c): Likewise.
1963 (CFLAGS-vswprintf_chk.c): Likewise.
1964 (CFLAGS-wprintf_chk.c): Likewise.
1965 (CFLAGS-fwprintf_chk.c): Likewise.
1966 (CFLAGS-vwprintf_chk.c): Likewise.
1967 (CFLAGS-vfwprintf_chk.c): Likewise.
1968 (CFLAGS-fgetws_chk.c): Likewise.
1969 (CFLAGS-fgetws_u_chk.c): Likewise.
1970 (CFLAGS-read_chk.c): Likewise.
1971 (CFLAGS-pread_chk.c): Likewise.
1972 (CFLAGS-pread64_chk.c): Likewise.
1973 (CFLAGS-recv_chk.c): Likewise.
1974 (CFLAGS-recvfrom_chk.c): Likewise.
1975 (CFLAGS-tst-longjmp_chk.c): Likewise.
1976 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
1977 (CFLAGS-tst-longjmp_chk2.c): Likewise.
1978 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
1979 (CFLAGS-tst-longjmp_chk3.c): Likewise.
1980 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1981 (CFLAGS-tst-chk1.c): Likewise.
1982 (CFLAGS-tst-chk2.c): Likewise.
1983 (CFLAGS-tst-chk3.c): Likewise.
1984 (CFLAGS-tst-chk4.cc): Likewise.
1985 (CFLAGS-tst-chk5.cc): Likewise.
1986 (CFLAGS-tst-chk6.cc): Likewise.
1987 (CFLAGS-tst-lfschk1.c): Likewise.
1988 (CFLAGS-tst-lfschk2.c): Likewise.
1989 (CFLAGS-tst-lfschk3.c): Likewise.
1990 (CFLAGS-tst-lfschk4.cc): Likewise.
1991 (CFLAGS-tst-lfschk5.cc): Likewise.
1992 (CFLAGS-tst-lfschk6.cc): Likewise.
1993 (CFLAGS-tst-ssp-1.c): Likewise.
1994 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
1995 (CFLAGS-scandir64.c): Likewise.
1996 (CFLAGS-scandir-tail.c): Likewise.
1997 (CFLAGS-scandir64-tail.c): Likewise.
1998 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
1999 (CFLAGS-dl-tunables.c): Likewise.
2000 (CFLAGS-dl-runtime.c): Likewise.
2001 (CFLAGS-dl-lookup.c): Likewise.
2002 (CFLAGS-dl-iterate-phdr.c): Likewise.
2003 (CFLAGS-vismain.c): Likewise.
2004 (CFLAGS-tst-linkall-static.c): Likewise.
2005 (CFLAGS-tst-linkall-static.c): Likewise.
2006 (CPPFLAGS-dl-load.c): Likewise.
2007 (CFLAGS-ldconfig.c): Likewise.
2008 (CFLAGS-dl-cache.c): Likewise.
2009 (CFLAGS-cache.c): Likewise.
2010 (CFLAGS-rtld.c): Likewise.
2011 (CFLAGS-multiload.c): Likewise.
2012 (CFLAGS-filtmod1.c): Likewise.
2013 (CFLAGS-tst-align.c): Likewise.
2014 (CFLAGS-tst-align2.c): Likewise.
2015 (CFLAGS-tst-alignmod.c): Likewise.
2016 (CFLAGS-tst-alignmod2.c): Likewise.
2017 (CPPFLAGS-tst-execstack.c): Likewise.
2018 (CFLAGS-tst-ptrguard1-static.c): Likewise.
2019 (CFLAGS-tst-latepthreadmod.c): Likewise.
2020 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
2021 (CFLAGS-getgrnam_r.c): Likewise.
2022 (CFLAGS-getgrent_r.c): Likewise.
2023 (CFLAGS-getgrent.c): Likewise.
2024 (CFLAGS-fgetgrent.c): Likewise.
2025 (CFLAGS-fgetgrent_r.c): Likewise.
2026 (CFLAGS-putgrent.c): Likewise.
2027 (CFLAGS-initgroups.c): Likewise.
2028 (CFLAGS-getgrgid.c): Likewise.
2029 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
2030 (CFLAGS-getsgent.c): Likewise.
2031 (CFLAGS-fgetsgent.c): Likewise.
2032 (CFLAGS-fgetsgent_r.c): Likewise.
2033 (CFLAGS-putsgent.c): Likewise.
2034 (CFLAGS-getsgnam.c): Likewise.
2035 (CFLAGS-getsgnam_r.c): Likewise.
2036 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
2037 (CFLAGS-iconv_charmap.c): Likewise.
2038 (CFLAGS-dummy-repertoire.c): Likewise.
2039 (CFLAGS-charmap.c): Likewise.
2040 (CFLAGS-linereader.c): Likewise.
2041 (CFLAGS-simple-hash.c): Likewise.
2042 (CFLAGS-gconv_conf.c): Likewise.
2043 (CFLAGS-iconvconfig.c): Likewise.
2044 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2045 (CFLAGS-gethstbyad.c): Likewise.
2046 (CFLAGS-gethstbynm_r.c): Likewise.
2047 (CFLAGS-gethstbynm.c): Likewise.
2048 (CFLAGS-gethstbynm2_r.c): Likewise.
2049 (CFLAGS-gethstbynm2.c): Likewise.
2050 (CFLAGS-gethstent_r.c): Likewise.
2051 (CFLAGS-gethstent.c): Likewise.
2052 (CFLAGS-rcmd.c): Likewise.
2053 (CFLAGS-getnetbynm_r.c): Likewise.
2054 (CFLAGS-getnetbynm.c): Likewise.
2055 (CFLAGS-getnetbyad_r.c): Likewise.
2056 (CFLAGS-getnetbyad.c): Likewise.
2057 (CFLAGS-getnetent_r.c): Likewise.
2058 (CFLAGS-getnetent.c): Likewise.
2059 (CFLAGS-getaliasent_r.c): Likewise.
2060 (CFLAGS-getaliasent.c): Likewise.
2061 (CFLAGS-getrpcent_r.c): Likewise.
2062 (CFLAGS-getrpcent.c): Likewise.
2063 (CFLAGS-getservent_r.c): Likewise.
2064 (CFLAGS-getservent.c): Likewise.
2065 (CFLAGS-getprtent_r.c): Likewise.
2066 (CFLAGS-getprtent.c): Likewise.
2067 (CFLAGS-either_ntoh.c): Likewise.
2068 (CFLAGS-either_hton.c): Likewise.
2069 (CFLAGS-getnetgrent.c): Likewise.
2070 (CFLAGS-getnetgrent_r.c): Likewise.
2071 (CFLAGS-tst-checks-posix.c): Likewise.
2072 (CFLAGS-tst-sockaddr.c): Likewise.
2073 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
2074 (CFLAGS-tst-translit.c): Likewise.
2075 (CFLAGS-tst-gettext2.c): Likewise.
2076 (CFLAGS-tst-codeset.c): Likewise.
2077 (CFLAGS-tst-gettext3.c): Likewise.
2078 (CFLAGS-tst-gettext4.c): Likewise.
2079 (CFLAGS-tst-gettext5.c): Likewise.
2080 (CFLAGS-tst-gettext6.c): Likewise.
2081 * io/Makefile (CFLAGS-open.c): Likewise.
2082 (CFLAGS-open64.c): Likewise.
2083 (CFLAGS-creat.c): Likewise.
2084 (CFLAGS-creat64.c): Likewise.
2085 (CFLAGS-fcntl.c): Likewise.
2086 (CFLAGS-poll.c): Likewise.
2087 (CFLAGS-ppoll.c): Likewise.
2088 (CFLAGS-lockf.c): Likewise.
2089 (CFLAGS-statfs.c): Likewise.
2090 (CFLAGS-fstatfs.c): Likewise.
2091 (CFLAGS-statvfs.c): Likewise.
2092 (CFLAGS-fstatvfs.c): Likewise.
2093 (CFLAGS-fts.c): Likewise.
2094 (CFLAGS-fts64.c): Likewise.
2095 (CFLAGS-ftw.c): Likewise.
2096 (CFLAGS-ftw64.c): Likewise.
2097 (CFLAGS-lockf.c): Likewise.
2098 (CFLAGS-posix_fallocate.c): Likewise.
2099 (CFLAGS-posix_fallocate64.c): Likewise.
2100 (CFLAGS-fallocate.c): Likewise.
2101 (CFLAGS-fallocate64.c): Likewise.
2102 (CFLAGS-read.c): Likewise.
2103 (CFLAGS-write.c): Likewise.
2104 (CFLAGS-test-stat.c): Likewise.
2105 (CFLAGS-test-lfs.c): Likewise.
2106 * libio/Makefile (CFLAGS-fileops.c): Likewise.
2107 (CFLAGS-fputc.c): Likewise.
2108 (CFLAGS-fputwc.c): Likewise.
2109 (CFLAGS-freopen64.c): Likewise.
2110 (CFLAGS-freopen.c): Likewise.
2111 (CFLAGS-fseek.c): Likewise.
2112 (CFLAGS-fseeko64.c): Likewise.
2113 (CFLAGS-fseeko.c): Likewise.
2114 (CFLAGS-ftello64.c): Likewise.
2115 (CFLAGS-ftello.c): Likewise.
2116 (CFLAGS-fwide.c): Likewise.
2117 (CFLAGS-genops.c): Likewise.
2118 (CFLAGS-getc.c): Likewise.
2119 (CFLAGS-getchar.c): Likewise.
2120 (CFLAGS-getwc.c): Likewise.
2121 (CFLAGS-getwchar.c): Likewise.
2122 (CFLAGS-iofclose.c): Likewise.
2123 (CFLAGS-iofflush.c): Likewise.
2124 (CFLAGS-iofgetpos64.c): Likewise.
2125 (CFLAGS-iofgetpos.c): Likewise.
2126 (CFLAGS-iofgets.c): Likewise.
2127 (CFLAGS-iofgetws.c): Likewise.
2128 (CFLAGS-iofputs.c): Likewise.
2129 (CFLAGS-iofputws.c): Likewise.
2130 (CFLAGS-iofread.c): Likewise.
2131 (CFLAGS-iofsetpos64.c): Likewise.
2132 (CFLAGS-iofsetpos.c): Likewise.
2133 (CFLAGS-ioftell.c): Likewise.
2134 (CFLAGS-iofwrite.c): Likewise.
2135 (CFLAGS-iogetdelim.c): Likewise.
2136 (CFLAGS-iogetline.c): Likewise.
2137 (CFLAGS-iogets.c): Likewise.
2138 (CFLAGS-iogetwline.c): Likewise.
2139 (CFLAGS-ioputs.c): Likewise.
2140 (CFLAGS-ioseekoff.c): Likewise.
2141 (CFLAGS-ioseekpos.c): Likewise.
2142 (CFLAGS-iosetbuffer.c): Likewise.
2143 (CFLAGS-iosetvbuf.c): Likewise.
2144 (CFLAGS-ioungetc.c): Likewise.
2145 (CFLAGS-ioungetwc.c): Likewise.
2146 (CFLAGS-oldfileops.c): Likewise.
2147 (CFLAGS-oldiofclose.c): Likewise.
2148 (CFLAGS-oldiofgetpos64.c): Likewise.
2149 (CFLAGS-oldiofgetpos.c): Likewise.
2150 (CFLAGS-oldiofsetpos64.c): Likewise.
2151 (CFLAGS-oldiofsetpos.c): Likewise.
2152 (CFLAGS-peekc.c): Likewise.
2153 (CFLAGS-putc.c): Likewise.
2154 (CFLAGS-putchar.c): Likewise.
2155 (CFLAGS-putwc.c): Likewise.
2156 (CFLAGS-putwchar.c): Likewise.
2157 (CFLAGS-rewind.c): Likewise.
2158 (CFLAGS-wfileops.c): Likewise.
2159 (CFLAGS-wgenops.c): Likewise.
2160 (CFLAGS-oldiofopen.c): Likewise.
2161 (CFLAGS-iofopen.c): Likewise.
2162 (CFLAGS-iofopen64.c): Likewise.
2163 (CFLAGS-oldtmpfile.c): Likewise.
2164 (CFLAGS-tst_putwc.c): Likewise.
2165 * locale/Makefile (CFLAGS-md5.c): Likewise.
2166 (CFLAGS-charmap.c): Likewise.
2167 (CFLAGS-locfile.c): Likewise.
2168 (CFLAGS-charmap-dir.c): Likewise.
2169 * login/Makefile (CFLAGS-grantpt.c): Likewise.
2170 (CFLAGS-getpt.c): Likewise.
2171 (CFLAGS-pt_chown.c): Likewise.
2172 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
2173 (CFLAGS-obstack.c): Likewise.
2174 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
2175 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
2176 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
2177 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
2178 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
2179 (CFLAGS-test-tgmath.c): Likewise.
2180 (CFLAGS-test-tgmath2.c): Likewise.
2181 (CFLAGS-test-tgmath-ret.c): Likewise.
2182 (CFLAGS-test-powl.c): Likewise.
2183 (CFLAGS-test-snan.c): Likewise.
2184 (CFLAGS-test-signgam-finite.c): Likewise.
2185 (CFLAGS-test-signgam-finite-c99.c): Likewise.
2186 (CFLAGS-test-signgam-finite-c11.c): Likewise.
2187 (CFLAGS-test-signgam-uchar.c): Likewise.
2188 (CFLAGS-test-signgam-uchar-init.c): Likewise.
2189 (CFLAGS-test-signgam-uchar-static.c): Likewise.
2190 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2191 (CFLAGS-test-signgam-uint.c): Likewise.
2192 (CFLAGS-test-signgam-uint-init.c): Likewise.
2193 (CFLAGS-test-signgam-uint-static.c): Likewise.
2194 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2195 (CFLAGS-test-signgam-ullong.c): Likewise.
2196 (CFLAGS-test-signgam-ullong-init.c): Likewise.
2197 (CFLAGS-test-signgam-ullong-static.c): Likewise.
2198 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2199 (CFLAGS-test-math-cxx11.cc): Likewise.
2200 (CFLAGS-test-math-isinff.cc): Likewise.
2201 (CFLAGS-test-math-iszero.cc): Likewise.
2202 (CFLAGS-test-math-issignaling.cc): Likewise.
2203 (CFLAGS-test-math-iscanonical.cc): Likewise.
2204 (CFLAGS-test-iszero-excess-precision.c): Likewise.
2205 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
2206 (CFLAGS-test-flt-eval-method.c): Likewise.
2207 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
2208 (CFLAGS-test-finite-macros.c): Likewise.
2209 * misc/Makefile (CFLAGS-select.c): Likewise.
2210 (CFLAGS-tsearch.c): Likewise.
2211 (CFLAGS-lsearch.c): Likewise.
2212 (CFLAGS-pselect.c): Likewise.
2213 (CFLAGS-readv.c): Likewise.
2214 (CFLAGS-writev.c): Likewise.
2215 (CFLAGS-preadv.c): Likewise.
2216 (CFLAGS-preadv64.c): Likewise.
2217 (CFLAGS-pwritev.c): Likewise.
2218 (CFLAGS-pwritev64.c): Likewise.
2219 (CFLAGS-preadv2.c): Likewise.
2220 (CFLAGS-preadv64v2.c): Likewise.
2221 (CFLAGS-pwritev2.c): Likewise.
2222 (CFLAGS-pwritev64v2.c): Likewise.
2223 (CFLAGS-usleep.c): Likewise.
2224 (CFLAGS-syslog.c): Likewise.
2225 (CFLAGS-error.c): Likewise.
2226 (CFLAGS-getpass.c): Likewise.
2227 (CFLAGS-mkstemp.c): Likewise.
2228 (CFLAGS-mkstemp64.c): Likewise.
2229 (CFLAGS-getsysstats.c): Likewise.
2230 (CFLAGS-getusershell.c): Likewise.
2231 (CFLAGS-err.c): Likewise.
2232 (CFLAGS-tst-tsearch.c): Likewise.
2233 (CFLAGS-msync.c): Likewise.
2234 (CFLAGS-fdatasync.c): Likewise.
2235 (CFLAGS-fsync.c): Likewise.
2236 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
2237 (CFLAGS-unwind.c): Likewise.
2238 (CFLAGS-unwind-forcedunwind.c): Likewise.
2239 (CFLAGS-pthread_cancel.c): Likewise.
2240 (CFLAGS-pthread_setcancelstate.c): Likewise.
2241 (CFLAGS-pthread_setcanceltype.c): Likewise.
2242 (CFLAGS-cancellation.c): Likewise.
2243 (CFLAGS-libc-cancellation.c): Likewise.
2244 (CFLAGS-pthread_exit.c): Likewise.
2245 (CFLAGS-forward.c): Likewise.
2246 (CFLAGS-pthread_testcancel.c): Likewise.
2247 (CFLAGS-pthread_join.c): Likewise.
2248 (CFLAGS-pthread_timedjoin.c): Likewise.
2249 (CFLAGS-pthread_once.c): Likewise.
2250 (CFLAGS-pthread_cond_wait.c): Likewise.
2251 (CFLAGS-sem_wait.c): Likewise.
2252 (CFLAGS-sem_timedwait.c): Likewise.
2253 (CFLAGS-fcntl.c): Likewise.
2254 (CFLAGS-lockf.c): Likewise.
2255 (CFLAGS-pread.c): Likewise.
2256 (CFLAGS-pread64.c): Likewise.
2257 (CFLAGS-pwrite.c): Likewise.
2258 (CFLAGS-pwrite64.c): Likewise.
2259 (CFLAGS-wait.c): Likewise.
2260 (CFLAGS-waitpid.c): Likewise.
2261 (CFLAGS-sigwait.c): Likewise.
2262 (CFLAGS-msgrcv.c): Likewise.
2263 (CFLAGS-msgsnd.c): Likewise.
2264 (CFLAGS-tcdrain.c): Likewise.
2265 (CFLAGS-open.c): Likewise.
2266 (CFLAGS-open64.c): Likewise.
2267 (CFLAGS-pause.c): Likewise.
2268 (CFLAGS-recv.c): Likewise.
2269 (CFLAGS-send.c): Likewise.
2270 (CFLAGS-accept.c): Likewise.
2271 (CFLAGS-sendto.c): Likewise.
2272 (CFLAGS-connect.c): Likewise.
2273 (CFLAGS-recvfrom.c): Likewise.
2274 (CFLAGS-recvmsg.c): Likewise.
2275 (CFLAGS-sendmsg.c): Likewise.
2276 (CFLAGS-close.c): Likewise.
2277 (CFLAGS-read.c): Likewise.
2278 (CFLAGS-write.c): Likewise.
2279 (CFLAGS-nanosleep.c): Likewise.
2280 (CFLAGS-sigsuspend.c): Likewise.
2281 (CFLAGS-msync.c): Likewise.
2282 (CFLAGS-fdatasync.c): Likewise.
2283 (CFLAGS-fsync.c): Likewise.
2284 (CFLAGS-pt-system.c): Likewise.
2285 (CFLAGS-tst-cleanup2.c): Likewise.
2286 (CFLAGS-tst-cleanupx2.c): Likewise.
2287 (CFLAGS-flockfile.c): Likewise.
2288 (CFLAGS-ftrylockfile.c): Likewise.
2289 (CFLAGS-funlockfile.c): Likewise.
2290 (CFLAGS-tst-initializers1.c): Likewise.
2291 (CFLAGS-tst-initializers1-c89.c): Likewise.
2292 (CFLAGS-tst-initializers1-c99.c): Likewise.
2293 (CFLAGS-tst-initializers1-c11.c): Likewise.
2294 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
2295 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
2296 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2297 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
2298 (CFLAGS-nscd_getgr_r.c): Likewise.
2299 (CFLAGS-nscd_gethst_r.c): Likewise.
2300 (CFLAGS-nscd_getai.c): Likewise.
2301 (CFLAGS-nscd_initgroups.c): Likewise.
2302 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
2303 (CFLAGS-pause.c): Likewise.
2304 (CFLAGS-pread.c): Likewise.
2305 (CFLAGS-pread64.c): Likewise.
2306 (CFLAGS-pwrite.c): Likewise.
2307 (CFLAGS-pwrite64.c): Likewise.
2308 (CFLAGS-sleep.c): Likewise.
2309 (CFLAGS-wait.c): Likewise.
2310 (CFLAGS-waitid.c): Likewise.
2311 (CFLAGS-waitpid.c): Likewise.
2312 (CFLAGS-getopt.c): Likewise.
2313 (CFLAGS-wordexp.c): Likewise.
2314 (CFLAGS-sysconf.c): Likewise.
2315 (CFLAGS-pathconf.c): Likewise.
2316 (CFLAGS-fpathconf.c): Likewise.
2317 (CFLAGS-spawn.c): Likewise.
2318 (CFLAGS-spawnp.c): Likewise.
2319 (CFLAGS-spawni.c): Likewise.
2320 (CFLAGS-glob.c): Likewise.
2321 (CFLAGS-glob64.c): Likewise.
2322 (CFLAGS-getconf.c): Likewise.
2323 (CFLAGS-nanosleep.c): Likewise.
2324 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
2325 (CFLAGS-getpwent.c): Likewise.
2326 (CFLAGS-getpw.c): Likewise.
2327 (CFLAGS-fgetpwent_r.c): Likewise.
2328 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
2329 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
2330 (CFLAGS-mq_timedreceive.c): Likewise.
2331 (CFLAGS-mq_timedsend.c): Likewise.
2332 (CFLAGS-clock_nanosleep.c): Likewise.
2333 (CFLAGS-librt-cancellation.c): Likewise.
2334 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
2335 (CFLAGS-getspent.c): Likewise.
2336 (CFLAGS-fgetspent.c): Likewise.
2337 (CFLAGS-fgetspent_r.c): Likewise.
2338 (CFLAGS-putspent.c): Likewise.
2339 (CFLAGS-getspnam.c): Likewise.
2340 (CFLAGS-getspnam_r.c): Likewise.
2341 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
2342 (CFLAGS-sigsuspend.c): Likewise.
2343 (CFLAGS-sigtimedwait.c): Likewise.
2344 (CFLAGS-sigwait.c): Likewise.
2345 (CFLAGS-sigwaitinfo.c): Likewise.
2346 (CFLAGS-sigreturn.c): Likewise.
2347 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
2348 (CFLAGS-vfwprintf.c): Likewise.
2349 (CFLAGS-tmpfile.c): Likewise.
2350 (CFLAGS-tmpfile64.c): Likewise.
2351 (CFLAGS-tempname.c): Likewise.
2352 (CFLAGS-psignal.c): Likewise.
2353 (CFLAGS-vprintf.c): Likewise.
2354 (CFLAGS-cuserid.c): Likewise.
2355 (CFLAGS-errlist.c): Likewise.
2356 (CFLAGS-siglist.c): Likewise.
2357 (CFLAGS-scanf15.c): Likewise.
2358 (CFLAGS-scanf17.c): Likewise.
2359 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
2360 (CFLAGS-msort.c): Likewise.
2361 (CFLAGS-qsort.c): Likewise.
2362 (CFLAGS-system.c): Likewise.
2363 (CFLAGS-fmtmsg.c): Likewise.
2364 (CFLAGS-strfmon.c): Likewise.
2365 (CFLAGS-strfmon_l.c): Likewise.
2366 (CFLAGS-strfromd.c): Likewise.
2367 (CFLAGS-strfromf.c): Likewise.
2368 (CFLAGS-strfroml.c): Likewise.
2369 (CFLAGS-tst-bsearch.c): Likewise.
2370 (CFLAGS-tst-qsort.c): Likewise.
2371 (CFLAGS-tst-makecontext2.c): Likewise.
2372 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
2373 (CFLAGS-xnlm_prot.c): Likewise.
2374 (CFLAGS-xrstat.c): Likewise.
2375 (CFLAGS-xyppasswd.c): Likewise.
2376 (CFLAGS-xklm_prot.c): Likewise.
2377 (CFLAGS-xrex.c): Likewise.
2378 (CFLAGS-xsm_inter.c): Likewise.
2379 (CFLAGS-xmount.c): Likewise.
2380 (CFLAGS-xrusers.c): Likewise.
2381 (CFLAGS-xspray.c): Likewise.
2382 (CFLAGS-xnfs_prot.c): Likewise.
2383 (CFLAGS-xrquota.c): Likewise.
2384 (CFLAGS-xkey_prot.c): Likewise.
2385 (CFLAGS-auth_unix.c): Likewise.
2386 (CFLAGS-key_call.c): Likewise.
2387 (CFLAGS-pmap_rmt.c): Likewise.
2388 (CFLAGS-clnt_perr.c): Likewise.
2389 (CFLAGS-openchild.c): Likewise.
2390 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
2391 (CFLAGS-msgsnd.c): Likewise.
2392 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
2393 * time/Makefile (CFLAGS-tzfile.c): Likewise.
2394 (CFLAGS-tzset.c): Likewise.
2395 (CFLAGS-getdate.c): Likewise.
2396 (CFLAGS-test_time.c): Likewise.
2397 (CPPFLAGS-tst-tzname.c): Likewise.
2398 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
2399 (CFLAGS-zic.c): Likewise.
2400 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
2401 (CFLAGS-wcswidth.c): Likewise.
2402 (CFLAGS-wcstol.c): Likewise.
2403 (CFLAGS-wcstoul.c): Likewise.
2404 (CFLAGS-wcstoll.c): Likewise.
2405 (CFLAGS-wcstoull.c): Likewise.
2406 (CFLAGS-wcstod.c): Likewise.
2407 (CFLAGS-wcstold.c): Likewise.
2408 (CFLAGS-wcstof128.c): Likewise.
2409 (CFLAGS-wcstof.c): Likewise.
2410 (CFLAGS-wcstol_l.c): Likewise.
2411 (CFLAGS-wcstoul_l.c): Likewise.
2412 (CFLAGS-wcstoll_l.c): Likewise.
2413 (CFLAGS-wcstoull_l.c): Likewise.
2414 (CFLAGS-wcstod_l.c): Likewise.
2415 (CFLAGS-wcstold_l.c): Likewise.
2416 (CFLAGS-wcstof128_l.c): Likewise.
2417 (CFLAGS-wcstof_l.c): Likewise.
2418 (CPPFLAGS-tst-wchar-h.c): Likewise.
2419 (CPPFLAGS-wcstold_l.c): Likewise.
2421 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
2423 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
2425 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2426 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2428 * manual/tunables.texi (Hardware Capability Tunables): Document
2429 glibc.tune.cached_memopt.
2430 * sysdeps/powerpc/cpu-features.c: New file.
2431 * sysdeps/powerpc/cpu-features.h: New file.
2432 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
2433 _dl_powerpc_cpu_features.
2434 * sysdeps/powerpc/dl-tunables.list: New file.
2435 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
2436 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
2437 (INIT_ARCH): Initialize use_aligned_memopt.
2438 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
2439 IS_IN(rtld))]: Restrict dl_platform_init availability and
2440 initialize CPU features used by tunables.
2441 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
2442 Add memcpy-power8-cached.
2443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
2444 __memcpy_power8_cached.
2445 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2446 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
2449 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
2451 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
2452 (CFLAGS-noinl-tester.c): Likewise.
2453 (CFLAGS-tst-strlen.c): Likewise.
2454 (CFLAGS-stratcliff.c): Likewise.
2455 (CFLAGS-test-ffs.c): Likewise.
2456 (CFLAGS-tst-inlcall.c): Likewise.
2457 (CFLAGS-tst-xbzero-opt.c): Likewise.
2458 (CFLAGS-memcpy.c): Likewise.
2459 (CFLAGS-wordcopy.c): Likewise.
2461 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2463 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
2464 Store r15 on stack and add cfi rule.
2465 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2468 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
2471 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
2474 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
2476 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2477 Add s_sinf-sse2 and s_sinf-fma.
2478 (CFLAGS-s_sinf-fma.c): New.
2479 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
2480 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
2481 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
2483 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
2485 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
2487 2017-12-07 Joseph Myers <joseph@codesourcery.com>
2490 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
2491 part of result to imaginary part of argument if it is zero and the
2492 real part of the argument is not finite.
2493 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
2494 of result to real part of argument if it is zero and the imaginary
2495 part of the argument is not finite.
2497 2017-12-07 Mike FABIAN <mfabian@redhat.com>
2500 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
2501 and to the list of locales to be built for testing.
2502 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
2503 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
2504 and build the collation rules upon that.
2506 2017-12-07 Joseph Myers <joseph@codesourcery.com>
2508 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
2509 * manual/math.texi (Mathematics): Document support for _Float32.
2510 * math/Makefile (test-types): Add float32.
2511 * math/Versions (GLIBC_2.27): Add _Float32 functions.
2512 * stdlib/Versions (GLIBC_2.27): Likewise.
2513 * wcsmbs/Versions (GLIBC_2.27): Likewise.
2514 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2515 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2516 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2517 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2518 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2519 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2520 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2521 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2522 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2523 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2524 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2525 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2526 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2527 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2528 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2529 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2530 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2531 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2532 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2533 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2534 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2536 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2537 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2538 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2539 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2540 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2558 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2559 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2560 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2561 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2562 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2563 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2564 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2565 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2566 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2567 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2576 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2577 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2578 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2579 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2580 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2581 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2582 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2583 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2585 2017-12-06 Joseph Myers <joseph@codesourcery.com>
2587 * stdlib/strtof.c: Include <bits/floatn.h>
2588 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
2589 and later undefine as macro. Define as weak alias if
2591 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
2592 and later undefine as macro. Define as weak alias if
2594 * stdlib/strtof_l.c: Include <bits/floatn.h>
2595 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
2596 and later undefine as macro. Define as weak alias if
2598 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
2599 and later undefine as macro. Define as weak alias if
2602 * stdlib/strfromf.c: Include <bits/floatn.h>.
2603 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
2604 and later undefine as macro and define as weak alias.
2606 * math/test-float32.h: New file.
2608 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
2609 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
2610 (libm_alias_float_other_r): Create f32 alias.
2611 (libm_alias_float_r): Use semicolon before call to
2612 libm_alias_float_other_r.
2614 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
2615 second argument to libm_alias_float_other.
2616 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
2617 second argument to libm_alias_float_other.
2618 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
2619 argument to libm_alias_float_other.
2622 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
2623 real part of result for argument 0 + i * NaN.
2624 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
2625 results for tests of 0 + i * NaN.
2627 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2629 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2631 2017-12-06 David S. Miller <davem@davemloft.net>
2633 * sysdeps/sparc/fpu/libm-test-ulps: Update
2634 exp_{downward,towardzero,upward} ulps.
2636 2017-12-06 Joseph Myers <joseph@codesourcery.com>
2638 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
2641 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
2643 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
2645 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
2647 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
2650 2017-12-06 Mike FABIAN <mfabian@redhat.com>
2653 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
2654 and to the list of locales to be built for testing.
2655 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
2656 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
2657 and build the collation rules upon that.
2659 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2661 * NEWS: Add sinf to list of optimized functions.
2663 2017-12-06 Joseph Myers <joseph@codesourcery.com>
2665 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
2666 (__HAVE_FLOAT32X): Likewise.
2667 * manual/math.texi (Mathematics): Document support for _Float64
2669 * math/Makefile (test-types): Add float64 and float32x.
2670 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
2672 * stdlib/Versions (GLIBC_2.27): Likewise.
2673 * wcsmbs/Versions (GLIBC_2.27): Likewise.
2674 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2675 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2676 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2677 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2678 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2679 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2680 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2681 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2682 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2683 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2684 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2685 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2686 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2687 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2688 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2689 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2690 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2691 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2692 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2693 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2694 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2696 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2697 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2698 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2699 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2700 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2717 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2718 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2719 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2720 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2721 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2722 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2723 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2724 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2725 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2726 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2735 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2736 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2737 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2738 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2739 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2740 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2741 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2742 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2744 2017-12-05 Joseph Myers <joseph@codesourcery.com>
2746 * bits/floatn-common.h: Include <bits/long-double.h>.
2747 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
2748 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
2749 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
2750 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
2751 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
2752 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
2753 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
2754 (__builtin_huge_valf64): Use __builtin_huge_vall.
2755 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
2756 (__builtin_inff64): Use __builtin_infl.
2757 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
2758 (__builtin_nanf64): Use __builtin_nanl.
2759 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
2760 (__builtin_nansf64): Use __builtin_nansl.
2762 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>,
2763 Paul E. Murphy <murphyp@linux.vnet.ibm.com>,
2764 Carlos O'Donnell <carlos@redhat.com>
2766 * elf/dl-tunables.list: Add elision parameters.
2767 * manual/tunables.texi: Add entries about elision tunable.
2768 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
2769 Add callback functions to dynamically enable/disable elision.
2770 Add multiple callbacks functions to set elision parameters.
2771 Deleted __libc_enable_secure check.
2772 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
2773 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
2774 * configure: Regenerated.
2775 * configure.ac: Option enable_lock_elision was deleted.
2776 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
2777 * config.make.in: Remove references to enable_lock_elision.
2778 * manual/install.texi: Elision configure option was removed.
2779 * INSTALL: Regenerated to remove enable_lock_elision.
2781 Disable elision so it can verify error case for destroying a mutex.
2782 * sysdeps/powerpc/nptl/elide.h:
2783 Cleanup ENABLE_LOCK_ELISION check.
2784 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
2785 * sysdeps/s390/configure: Regenerated.
2786 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
2787 * nptl/tst-mutex8.c:
2788 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
2789 * sysdeps/powerpc/powerpc32/sysdep.h:
2790 Deleted all ENABLE_LOCK_ELISION checks.
2791 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2792 * sysdeps/powerpc/sysdep.h: Likewise.
2793 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
2794 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
2795 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2796 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2797 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2798 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
2799 enable-lock-elision.
2801 2017-12-05 Joseph Myers <joseph@codesourcery.com>
2803 * stdlib/strtod.c: Include <bits/floatn.h>.
2804 (BUILD_DOUBLE): New macro.
2805 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
2806 (strtof64): Define and later undefine as macro. Define as weak
2807 alias if [!USE_WIDE_CHAR].
2808 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
2809 (wcstof64): Define and later undefine as macro. Define as weak
2810 alias if [USE_WIDE_CHAR].
2811 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
2812 (strtof32x): Define and later undefine as macro. Define as weak
2813 alias if [!USE_WIDE_CHAR].
2814 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
2815 (wcstof32x): Define and later undefine as macro. Define as weak
2816 alias if [USE_WIDE_CHAR].
2817 * stdlib/strtod_l.c: Include <bits/floatn.h>.
2818 (BUILD_DOUBLE): New macro.
2819 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
2820 (strtof64_l): Define and later undefine as macro. Define as weak
2821 alias if [!USE_WIDE_CHAR].
2822 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
2823 (wcstof64_l): Define and later undefine as macro. Define as weak
2824 alias if [USE_WIDE_CHAR].
2825 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
2826 (strtof32x_l): Define and later undefine as macro. Define as weak
2827 alias if [!USE_WIDE_CHAR].
2828 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
2829 (wcstof32x_l): Define and later undefine as macro. Define as weak
2830 alias if [USE_WIDE_CHAR].
2832 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2834 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
2835 (reduced): Use ones as double instead of integer.
2837 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
2839 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
2841 2017-12-05 Joseph Myers <joseph@codesourcery.com>
2843 * stdlib/strfromd.c: Include <bits/floatn.h>.
2844 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
2845 and later undefine as macro and define as weak alias.
2846 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
2849 * math/test-float32x.h: New file.
2850 * math/test-float64.h: Likewise.
2852 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
2853 (libm_alias_double_other_r_f64): New macro.
2854 (libm_alias_double_other_r_f32x): Likewise.
2855 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
2856 libm_alias_double_other_r_f32x.
2857 (libm_alias_double_r): Use semicolon before call to
2858 libm_alias_double_other_r.
2859 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
2861 (libm_alias_double_other_r_f64): New macro.
2862 (libm_alias_double_other_r_f32x): Likewise.
2863 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
2864 libm_alias_double_other_r_f32x.
2866 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
2868 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
2870 (SINF_FUNC): Likewise. Replace floor with simple casts.
2872 2017-12-05 Mike FABIAN <mfabian@redhat.com>
2875 * localedata/Makefile: Add et_EE.UTF-8 to test-input
2876 and to the list of locales to be built for testing.
2877 * localedata/et_EE.UTF-8.in: New file for testing the collation.
2878 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
2879 and build the collation rules upon that.
2881 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
2883 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
2884 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
2885 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
2886 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
2887 instead of __insn__xxx.
2888 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
2889 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
2890 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
2891 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
2892 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
2893 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
2895 2017-12-05 Florian Weimer <fweimer@redhat.com>
2897 Linux: Implement interfaces for memory protection keys
2898 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
2900 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
2901 * support/xunistd.h (xsysconf): Declare.
2902 * support/xraise.c: New file.
2903 * support/xsigaction.c: Likewise.
2904 * support/xsignal.c: Likewise.
2905 * support/xsysconf.c: Likewise.
2906 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
2907 pkey_set, pkey_get, pkey_mprotect.
2908 [misc] (tests): Add tst-pkey.
2909 (tst-pkey): Link with -lpthread.
2910 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
2911 pkey_free, pkey_set, pkey_get, pkey_mprotect.
2912 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
2913 (PKEY_DISABLE_WRITE): Define.
2914 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
2916 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
2918 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
2919 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
2920 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
2921 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
2923 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
2924 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
2925 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
2926 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
2927 * sysdeps/unix/sysv/linux/**.abilist: Update.
2929 2017-12-05 Florian Weimer <fweimer@redhat.com>
2931 * support/tst-test_compare.c (subprocess): Use long long instead
2932 of long argument for consistent type width across 32-bit and
2933 64-bit architectures.
2934 (do_test): Adjust expected output.
2936 2017-12-05 Joseph Myers <joseph@codesourcery.com>
2938 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
2939 (cosf): Define using libm_alias_float.
2940 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
2941 (fabsf): Define using libm_alias_float.
2942 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
2943 (fmaf): Define using libm_alias_float.
2944 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
2945 (rintf): Define using libm_alias_float.
2946 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
2947 (sinf): Define using libm_alias_float.
2948 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
2949 <libm-alias-float.h>.
2950 (modff): Define using libm_alias_float.
2951 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
2952 <libm-alias-float.h>.
2953 (logbf): Define using libm_alias_float.
2954 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
2955 <libm-alias-float.h>.
2956 (ceilf): Define using libm_alias_float.
2957 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
2958 <libm-alias-float.h>.
2959 (copysignf): Define using libm_alias_float.
2960 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
2961 <libm-alias-float.h>.
2962 (floorf): Define using libm_alias_float.
2963 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
2964 <libm-alias-float.h>.
2965 (llrintf): Define using libm_alias_float.
2966 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
2967 <libm-alias-float.h>.
2968 (llroundf): Define using libm_alias_float.
2969 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
2970 <libm-alias-float.h>.
2971 (lrintf): Define using libm_alias_float.
2972 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
2973 <libm-alias-float.h>.
2974 (lroundf): Define using libm_alias_float.
2975 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
2976 <libm-alias-float.h>.
2977 (nearbyintf): Define using libm_alias_float.
2978 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
2979 <libm-alias-float.h>.
2980 (rintf): Define using libm_alias_float.
2981 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
2982 <libm-alias-float.h>.
2983 (roundf): Define using libm_alias_float.
2984 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
2985 <libm-alias-float.h>.
2986 (truncf): Define using libm_alias_float.
2987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
2988 Include <libm-alias-float.h>.
2989 (ceilf): Define using libm_alias_float.
2990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2991 Include <libm-alias-float.h>.
2992 (copysignf): Define using libm_alias_float.
2993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
2994 Include <libm-alias-float.h>.
2995 (floorf): Define using libm_alias_float.
2996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
2997 Include <libm-alias-float.h>.
2998 (llrintf): Define using libm_alias_float.
2999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
3000 Include <libm-alias-float.h>.
3001 (llroundf): Define using libm_alias_float.
3002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
3003 Include <libm-alias-float.h>.
3004 (logbf): Define using libm_alias_float.
3005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
3006 Include <libm-alias-float.h>.
3007 (lrintf): Define using libm_alias_float.
3008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
3009 Include <libm-alias-float.h>.
3010 (lroundf): Define using libm_alias_float.
3011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
3012 Include <libm-alias-float.h>.
3013 (modff): Define using libm_alias_float.
3014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
3015 Include <libm-alias-float.h>.
3016 (roundf): Define using libm_alias_float.
3017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
3018 Include <libm-alias-float.h>.
3019 (truncf): Define using libm_alias_float.
3020 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
3021 <libm-alias-float.h>.
3022 (llrintf): Define using libm_alias_float.
3023 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
3024 <libm-alias-float.h>.
3025 (llroundf): Define using libm_alias_float.
3026 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
3027 <libm-alias-float.h>.
3028 (ceilf): Define using libm_alias_float.
3029 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
3030 <libm-alias-float.h>.
3031 (floorf): Define using libm_alias_float.
3032 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
3033 <libm-alias-float.h>.
3034 (llroundf): Define using libm_alias_float.
3035 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
3036 <libm-alias-float.h>.
3037 (lroundf): Define using libm_alias_float.
3038 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
3039 <libm-alias-float.h>.
3040 (roundf): Define using libm_alias_float.
3041 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
3042 <libm-alias-float.h>.
3043 (truncf): Define using libm_alias_float.
3044 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
3045 <libm-alias-float.h>.
3046 (copysignf): Define using libm_alias_float.
3047 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
3048 <libm-alias-float.h>.
3049 (llrintf): Define using libm_alias_float.
3050 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
3051 <libm-alias-float.h>.
3052 (llroundf): Define using libm_alias_float.
3053 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
3054 <libm-alias-float.h>.
3055 (lrintf): Define using libm_alias_float.
3056 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
3057 <libm-alias-float.h>.
3058 (lroundf): Define using libm_alias_float.
3059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
3060 <libm-alias-float.h>.
3061 (ceilf): Define using libm_alias_float.
3062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
3063 <libm-alias-float.h>.
3064 (copysignf): Define using libm_alias_float.
3065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
3066 <libm-alias-float.h>.
3067 (cosf): Define using libm_alias_float.
3068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
3069 <libm-alias-float.h>.
3070 (floorf): Define using libm_alias_float.
3071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
3072 <libm-alias-float.h>.
3073 (llrintf): Define using libm_alias_float.
3074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
3075 <libm-alias-float.h>.
3076 (llroundf): Define using libm_alias_float.
3077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
3078 <libm-alias-float.h>.
3079 (logbf): Define using libm_alias_float.
3080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
3081 <libm-alias-float.h>.
3082 (modff): Define using libm_alias_float.
3083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
3084 <libm-alias-float.h>.
3085 (roundf): Define using libm_alias_float.
3086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
3087 <libm-alias-float.h>.
3088 (sinf): Define using libm_alias_float.
3089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
3090 <libm-alias-float.h>.
3091 (truncf): Define using libm_alias_float.
3092 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
3093 <libm-alias-float.h>.
3094 (ceilf): Define using libm_alias_float.
3095 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
3096 <libm-alias-float.h>.
3097 (copysignf): Define using libm_alias_float.
3098 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
3099 <libm-alias-float.h>.
3100 (floorf): Define using libm_alias_float.
3101 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
3102 <libm-alias-float.h>.
3103 (llrintf): Define using libm_alias_float.
3104 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
3105 <libm-alias-float.h>.
3106 (llroundf): Define using libm_alias_float.
3107 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
3108 <libm-alias-float.h>.
3109 (nearbyintf): Define using libm_alias_float.
3110 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
3111 <libm-alias-float.h>.
3112 (rintf): Define using libm_alias_float.
3113 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
3114 <libm-alias-float.h>.
3115 (roundf): Define using libm_alias_float.
3116 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
3117 <libm-alias-float.h>.
3118 (truncf): Define using libm_alias_float.
3119 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
3120 <libm-alias-float.h>.
3121 (ceilf): Define using libm_alias_float.
3122 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
3123 <libm-alias-float.h>.
3124 (floorf): Define using libm_alias_float.
3125 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
3126 <libm-alias-float.h>.
3127 (llroundf): Define using libm_alias_float.
3128 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
3129 <libm-alias-float.h>.
3130 (roundf): Define using libm_alias_float.
3131 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
3132 <libm-alias-float.h>.
3133 (truncf): Define using libm_alias_float.
3134 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
3135 <libm-alias-float.h>.
3136 (copysignf): Define using libm_alias_float.
3137 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
3138 <libm-alias-float.h>.
3139 (llrintf): Define using libm_alias_float.
3140 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
3141 <libm-alias-float.h>.
3142 (llroundf): Define using libm_alias_float.
3143 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
3144 <libm-alias-float.h>.
3145 (cosf): Define using libm_alias_float.
3146 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
3147 <libm-alias-float.h>.
3148 (llrintf): Define using libm_alias_float.
3149 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
3150 <libm-alias-float.h>.
3151 (llroundf): Define using libm_alias_float.
3152 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
3153 <libm-alias-float.h>.
3154 (sinf): Define using libm_alias_float.
3156 2017-12-04 Florian Weimer <fweimer@redhat.com>
3158 * support/check.h (TEST_COMPARE): Define.
3159 (support_test_compare_failure): Declare.
3160 * support/Makefile (libsupport-routines): Add
3161 support_test_compare_failure.
3162 (tests): Add tst-test_compare.
3163 * support /support_test_compare_failure.c: New file.
3164 * support/tst-test_compare.c: Likewise.
3166 2017-12-04 Mike FABIAN <mfabian@redhat.com>
3169 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
3170 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
3171 available, this rewrite of the collation rules does reproduce
3172 the test file in the same order.
3174 2017-12-04 Mike FABIAN <mfabian@redhat.com>
3177 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
3178 digraphs in the month and day names. Using single code points for
3179 digraphs is deprecated. While there are dedicated Unicode
3180 codepoints, for the digraphs, these are included for backwards
3181 compatibility and modern texts use a sequence of Basic Latin
3182 characters. See: https://www.unicode.org/faq/ligature_digraph.html
3183 This makes the month and day names agree exactly with CLDR now,
3184 CLDR does not use the single code points for the digraphs either.
3186 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
3188 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
3190 2017-12-04 Joseph Myers <joseph@codesourcery.com>
3192 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
3195 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
3197 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
3198 Define only for libc.so.
3200 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
3202 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3203 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
3204 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
3205 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
3206 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3208 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3211 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
3213 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
3216 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
3217 PREINIT_FUNCTION_WEAK is nonzero.
3218 (gmon_initializer): New function. Put procedure label for it in
3219 .init_array section.
3220 (_init): Don't call PREINIT_FUNCTION.
3221 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
3222 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
3223 value when map argument is null.
3225 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
3226 depi instruction from PIC pc-relative sequence.
3227 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
3228 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
3229 (elf_machine_load_address): Likewise.
3230 (elf_machine_runtime_setup): Likewise.
3232 2017-12-02 Joseph Myers <joseph@codesourcery.com>
3234 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
3235 <libm-alias-double.h>.
3236 (logb): Define using libm_alias_double.
3237 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
3238 <libm-alias-double.h>.
3239 (copysign): Define using libm_alias_double.
3240 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
3241 <libm-alias-double.h>.
3242 (llrint): Define using libm_alias_double.
3243 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
3244 <libm-alias-double.h>.
3245 (llround): Define using libm_alias_double.
3246 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
3247 <libm-alias-double.h>.
3248 (lrint): Define using libm_alias_double.
3249 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
3250 <libm-alias-double.h>.
3251 (lround): Define using libm_alias_double.
3252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3253 Include <libm-alias-double.h>.
3254 (copysign): Define using libm_alias_double.
3255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
3256 Include <libm-alias-double.h>.
3257 (llrint): Define using libm_alias_double.
3258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
3259 Include <libm-alias-double.h>.
3260 (llround): Define using libm_alias_double.
3261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
3262 <libm-alias-double.h>.
3263 (logb): Define using libm_alias_double.
3264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
3265 Include <libm-alias-double.h>.
3266 (lrint): Define using libm_alias_double.
3267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
3268 Include <libm-alias-double.h>.
3269 (lround): Define using libm_alias_double.
3270 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
3271 <libm-alias-double.h>.
3272 (llrint): Define using libm_alias_double.
3273 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
3274 <libm-alias-double.h>.
3275 (llround): Define using libm_alias_double.
3276 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
3277 <libm-alias-double.h>.
3278 (llround): Define using libm_alias_double.
3279 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
3280 <libm-alias-double.h>.
3281 (lround): Define using libm_alias_double.
3282 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
3283 <libm-alias-double.h>.
3284 (copysign): Define using libm_alias_double.
3285 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
3286 <libm-alias-double.h>.
3287 (llrint): Define using libm_alias_double.
3288 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
3289 <libm-alias-double.h>.
3290 (llround): Define using libm_alias_double.
3291 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
3292 <libm-alias-double.h>.
3293 (lrint): Define using libm_alias_double.
3294 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
3295 <libm-alias-double.h>.
3296 (lround): Define using libm_alias_double.
3297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
3298 <libm-alias-double.h>.
3299 (copysign): Define using libm_alias_double.
3300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
3301 <libm-alias-double.h>.
3302 (llrint): Define using libm_alias_double.
3304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
3305 <libm-alias-double.h>.
3306 (llround): Define using libm_alias_double.
3308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
3309 <libm-alias-double.h>.
3310 (logb): Define using libm_alias_double.
3311 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
3312 <libm-alias-double.h>.
3313 (copysign): Define using libm_alias_double.
3314 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
3315 <libm-alias-double.h>.
3316 (llrint): Define using libm_alias_double.
3318 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
3319 <libm-alias-double.h>.
3320 (llround): Define using libm_alias_double.
3322 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
3323 <libm-alias-double.h>.
3324 (llround): Define using libm_alias_double.
3326 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
3327 <libm-alias-double.h>.
3328 (copysign): Define using libm_alias_double.
3329 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
3330 <libm-alias-double.h>.
3331 (llrint): Define using libm_alias_double.
3333 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
3334 <libm-alias-double.h>.
3335 (llround): Define using libm_alias_double.
3337 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
3338 <libm-alias-double.h>.
3339 (llrint): Define using libm_alias_double.
3341 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
3342 <libm-alias-double.h>.
3343 (llround): Define using libm_alias_double.
3346 2017-12-01 Joseph Myers <joseph@codesourcery.com>
3348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3349 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
3350 compat symbol based on llround.
3352 * sysdeps/powerpc/power7/fpu/s_logb.c
3353 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
3354 symbol based on __logb, not on logb.
3355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
3356 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
3357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
3358 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
3360 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
3361 (rint): Define using libm_alias_double.
3362 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
3363 <libm-alias-double.h>.
3364 (modf): Define using libm_alias_double.
3365 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
3366 <libm-alias-double.h>.
3367 (ceil): Define using libm_alias_double.
3368 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
3369 <libm-alias-double.h>.
3370 (floor): Define using libm_alias_double.
3371 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
3372 <libm-alias-double.h>.
3373 (nearbyint): Define using libm_alias_double.
3374 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
3375 <libm-alias-double.h>.
3376 (rint): Define using libm_alias_double.
3377 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
3378 <libm-alias-double.h>.
3379 (round): Define using libm_alias_double.
3380 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
3381 <libm-alias-double.h>.
3382 (trunc): Define using libm_alias_double.
3383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
3384 <libm-alias-double.h>.
3385 (ceil): Define using libm_alias_double.
3386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
3387 Include <libm-alias-double.h>.
3388 (floor): Define using libm_alias_double.
3389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
3390 <libm-alias-double.h>.
3391 (modf): Define using libm_alias_double.
3392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
3393 Include <libm-alias-double.h>.
3394 (round): Define using libm_alias_double.
3395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
3396 Include <libm-alias-double.h>.
3397 (trunc): Define using libm_alias_double.
3398 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
3399 <libm-alias-double.h>.
3400 (ceil): Define using libm_alias_double.
3401 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
3402 <libm-alias-double.h>.
3403 (floor): Define using libm_alias_double.
3404 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
3405 <libm-alias-double.h>.
3406 (round): Define using libm_alias_double.
3407 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
3408 <libm-alias-double.h>.
3409 (trunc): Define using libm_alias_double.
3410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
3411 <libm-alias-double.h>.
3412 (ceil): Define using libm_alias_double.
3413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
3414 <libm-alias-double.h>.
3415 (floor): Define using libm_alias_double.
3416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
3417 <libm-alias-double.h>.
3418 (modf): Define using libm_alias_double.
3419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
3420 <libm-alias-double.h>.
3421 (round): Define using libm_alias_double.
3422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
3423 <libm-alias-double.h>.
3424 (trunc): Define using libm_alias_double.
3425 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
3426 <libm-alias-double.h>.
3427 (ceil): Define using libm_alias_double.
3428 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
3429 <libm-alias-double.h>.
3430 (floor): Define using libm_alias_double.
3431 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
3432 <libm-alias-double.h>.
3433 (nearbyint): Define using libm_alias_double.
3434 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
3435 <libm-alias-double.h>.
3436 (rint): Define using libm_alias_double.
3437 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
3438 <libm-alias-double.h>.
3439 (round): Define using libm_alias_double.
3440 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
3441 <libm-alias-double.h>.
3442 (trunc): Define using libm_alias_double.
3443 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
3444 <libm-alias-double.h>.
3445 (ceil): Define using libm_alias_double.
3446 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
3447 <libm-alias-double.h>.
3448 (floor): Define using libm_alias_double.
3449 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
3450 <libm-alias-double.h>.
3451 (round): Define using libm_alias_double.
3452 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
3453 <libm-alias-double.h>.
3454 (trunc): Define using libm_alias_double.
3456 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
3457 (fabs): Define using libm_alias_double.
3458 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
3459 (fma): Define using libm_alias_double.
3460 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
3461 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
3462 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
3463 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
3465 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3467 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
3469 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
3470 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
3471 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
3473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
3476 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
3478 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
3480 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3482 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
3483 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
3484 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
3485 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
3487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3488 (libm-sysdep_routines): Add s_nearbyintf-generic and
3489 s_nearbyint-generic.
3490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
3492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
3493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
3495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
3497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
3499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
3502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3503 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
3504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
3506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
3507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
3509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
3510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
3511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3514 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
3515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
3517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
3518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
3520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
3521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
3522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
3524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3525 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
3526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
3528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
3529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
3531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
3532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
3533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3536 (sysdep_calls): New rule.
3537 (sysdep_routines): Use sysdep_calls as base.
3538 (libm-sysdep_routines): Add generic rule for symbols shared with
3539 libc. Add s_copysign-generic and s_copysign-generic objects.
3540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
3542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
3543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
3545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
3546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
3547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
3549 2017-12-01 Mike FABIAN <mfabian@redhat.com>
3552 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
3553 the list of locales to be built for testing.
3554 * localedata/is_IS.UTF-8.in: New file.
3555 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
3558 2017-12-01 Joseph Myers <joseph@codesourcery.com>
3560 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
3561 <libm-alias-float.h>.
3562 (fabsf): Define using libm_alias_float.
3564 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
3566 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
3568 2017-11-30 Joseph Myers <joseph@codesourcery.com>
3570 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
3571 <libm-alias-float.h>.
3572 (fabsf): Define using libm_alias_float.
3573 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
3574 <libm-alias-float.h>.
3575 (lrintf): Define using libm_alias_float.
3576 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
3577 <libm-alias-float.h>.
3578 (rintf): Define using libm_alias_float.
3580 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
3581 <libm-alias-double.h>.
3582 (fabs): Define using libm_alias_double.
3583 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
3584 <libm-alias-double.h>.
3585 (lrint): Define using libm_alias_double.
3586 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
3587 <libm-alias-double.h>.
3588 (rint): Define using libm_alias_double.
3590 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
3591 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
3592 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
3593 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
3594 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
3595 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
3596 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
3597 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
3598 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
3599 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
3600 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
3601 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
3602 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
3603 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
3604 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
3605 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
3606 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
3607 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
3609 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
3610 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
3611 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
3613 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
3614 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
3615 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
3617 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
3618 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
3619 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
3621 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
3622 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
3623 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
3625 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
3626 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
3627 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
3629 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
3630 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
3631 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
3633 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
3634 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
3636 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
3637 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
3638 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
3640 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
3641 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
3642 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
3643 s_nearbyint_template.c.
3644 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
3645 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
3646 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
3647 s_remquo_template.c.
3648 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
3649 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
3650 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
3652 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
3653 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
3654 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
3656 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
3657 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
3658 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
3659 s_sincos_template.c.
3660 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
3661 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
3662 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
3664 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
3665 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
3666 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
3668 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
3669 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
3670 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
3672 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
3673 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
3674 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
3675 s_atan.c instead of including s_atan.c.
3676 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
3677 s_atanf.c instead of including s_atanf.c.
3678 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
3679 s_atanl.c instead of including s_atanl.c.
3680 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
3681 instead of s_atan.c.
3682 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
3683 instead of s_atanf.c.
3684 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
3685 instead of s_atanl.c.
3687 * scripts/update-copyrights: Do not handle intl/plural.c
3690 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
3693 * configure.ac (BISON): Require to be present.
3694 * configure: Regenerated.
3695 * intl/Makefile (generated): Add plural.c.
3696 [$(BISON) != no]: Make code unconditional.
3697 (plural.c): Change rule to $(objpfx)plural.c.
3698 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
3699 * intl/plural.c: Remove.
3700 * manual/install.texi (Tools for Compilation): Document bison as
3702 * INSTALL: Regenerated.
3704 2017-11-30 Joseph Myers <joseph@codesourcery.com>
3706 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
3707 <libm-alias-double.h>.
3708 (llrint): Define using libm_alias_double.
3709 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
3710 <libm-alias-float.h>.
3711 (llrintf): Define using libm_alias_float.
3712 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
3713 <libm-alias-ldouble.h>.
3714 (llrintl): Define using libm_alias_ldouble.
3716 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
3717 declare_mgen_alias instead of weak_alias.
3718 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
3719 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
3720 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
3722 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3724 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3726 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
3727 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
3728 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
3730 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3731 Add submul_1-generic.
3732 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
3733 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
3734 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
3736 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3737 Add addmul_1-generic.
3738 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
3739 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
3740 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
3742 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3744 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
3745 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
3746 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
3748 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3750 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
3751 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
3752 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
3754 2017-11-30 Mike FABIAN <mfabian@redhat.com>
3756 According to CLDR, collation rules for Serbian and Bosnian
3757 should be the same as for Croatian.
3760 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
3761 and to the list of locales to be built for testing.
3762 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
3763 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
3764 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
3765 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
3767 2017-11-30 Mike FABIAN <mfabian@redhat.com>
3769 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
3770 to make test case pass.
3771 * localedata/hr_HR.UTF-8.in: Add more test strings.
3773 2017-11-30 Mike FABIAN <mfabian@redhat.com>
3775 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
3777 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
3779 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
3780 the list of locales to built for testing.
3781 * localedata/hr_HR.UTF-8.in: New file.
3783 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
3786 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
3788 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
3789 CLDR (except use ligatures for the digraphs, CLDR does not use
3790 the ligatures), add first_workday, some fixes in the date and time
3792 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
3794 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
3795 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
3796 Add int_p_cs_precedes and int_n_cs_precedes.
3797 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
3798 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
3800 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
3801 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
3803 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
3804 and lang_lib. Change postal_fmt.
3806 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
3808 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
3810 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
3811 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
3812 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
3813 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
3814 * sysdeps/generic/setjmpP.h: New file.
3815 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
3816 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
3817 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
3818 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
3819 Add jmp_buf-ssp.sym.
3820 (tests): Add tst-saved_mask-1.
3822 2017-11-30 Arjun Shankar <arjun@redhat.com>
3826 * malloc/malloc.c (__libc_malloc): Use checked_request2size
3827 instead of request2size.
3829 2017-11-30 Joseph Myers <joseph@codesourcery.com>
3831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
3832 (__lllrint): Remove alias.
3833 (lllrint): Likewise.
3834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
3835 (__lllrintf): Likewise.
3836 (lllrintf): Likewise.
3838 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
3839 <libm-alias-float.h>.
3840 (copysignf): Define using libm_alias_float.
3841 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
3842 <libm-alias-float.h>.
3843 (fabsf): Define using libm_alias_float.
3844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3845 Include <libm-alias-float.h>.
3846 (copysignf): Define using libm_alias_float.
3847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
3848 <libm-alias-float.h>.
3849 (fabsf): Define using libm_alias_float.
3850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
3851 <libm-alias-float.h>.
3852 (fdimf): Define using libm_alias_float.
3853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
3854 <libm-alias-float.h>.
3855 (fmaf): Define using libm_alias_float.
3856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
3857 <libm-alias-float.h>.
3858 (llrintf): Define using libm_alias_float.
3859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
3860 Include <libm-alias-float.h>.
3861 (nearbyintf): Define using libm_alias_float.
3862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
3863 <libm-alias-float.h>.
3864 (rintf): Define using libm_alias_float.
3865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
3866 <libm-alias-float.h>.
3867 (llrintf): Define using libm_alias_float.
3868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
3869 <libm-alias-float.h>.
3870 (lrintf): Define using libm_alias_float.
3871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
3872 <libm-alias-float.h>.
3873 (nearbyintf): Define using libm_alias_float.
3874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
3875 <libm-alias-float.h>.
3876 (rintf): Define using libm_alias_float.
3877 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
3878 <libm-alias-float.h>.
3879 (ceilf): Define using libm_alias_float.
3880 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
3881 <libm-alias-float.h>.
3882 (floorf): Define using libm_alias_float.
3883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
3884 <libm-alias-float.h>.
3885 (fmaf): Define using libm_alias_float.
3886 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
3887 <libm-alias-float.h>.
3888 (lrintf): Define using libm_alias_float.
3889 (llrintf): Likewise.
3890 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
3891 <libm-alias-float.h>.
3892 (nearbyintf): Define using libm_alias_float.
3893 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
3894 <libm-alias-float.h>.
3895 (rintf): Define using libm_alias_float.
3896 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
3897 <libm-alias-float.h>.
3898 (truncf): Define using libm_alias_float.
3899 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
3900 <libm-alias-float.h>.
3901 (copysignf): Define using libm_alias_float.
3902 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
3903 <libm-alias-float.h>.
3904 (fabsf): Define using libm_alias_float.
3905 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
3906 <libm-alias-float.h>.
3907 (lrintf): Define using libm_alias_float.
3908 (llrintf): Likewise.
3909 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
3910 <libm-alias-float.h>.
3911 (nearbyintf): Define using libm_alias_float.
3912 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
3913 <libm-alias-float.h>.
3914 (rintf): Define using libm_alias_float.
3916 2017-11-29 Joseph Myers <joseph@codesourcery.com>
3918 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
3919 <libm-alias-double.h>.
3920 (copysign): Define using libm_alias_double.
3921 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
3922 <libm-alias-double.h>.
3923 (fabs): Define using libm_alias_double.
3924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3925 Include <libm-alias-double.h>.
3926 (copysign): Define using libm_alias_double.
3927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
3928 <libm-alias-double.h>.
3929 (fabs): Define using libm_alias_double.
3930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
3931 <libm-alias-double.h>.
3932 (fdim): Define using libm_alias_double.
3933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
3934 <libm-alias-double.h>.
3935 (fma): Define using libm_alias_double.
3936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
3937 <libm-alias-double.h>.
3938 (llrint): Define using libm_alias_double.
3939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
3940 Include <libm-alias-double.h>.
3941 (nearbyint): Define using libm_alias_double.
3942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
3943 <libm-alias-double.h>.
3944 (rint): Define using libm_alias_double.
3945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
3946 <libm-alias-double.h>.
3947 (fabs): Define using libm_alias_double.
3948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
3949 <libm-alias-double.h>.
3950 (llrint): Define using libm_alias_double.
3951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
3952 <libm-alias-double.h>.
3953 (nearbyint): Define using libm_alias_double.
3954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
3955 <libm-alias-double.h>.
3956 (rint): Define using libm_alias_double.
3957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
3958 <libm-alias-double.h>.
3959 (ceil): Define using libm_alias_double.
3960 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
3961 <libm-alias-double.h>.
3962 (floor): Define using libm_alias_double.
3963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
3964 <libm-alias-double.h>.
3965 (fma): Define using libm_alias_double.
3966 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
3967 <libm-alias-double.h>.
3968 (lrint): Define using libm_alias_double.
3970 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
3971 <libm-alias-double.h>.
3972 (nearbyint): Define using libm_alias_double.
3973 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
3974 <libm-alias-double.h>.
3975 (rint): Define using libm_alias_double.
3976 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
3977 <libm-alias-double.h>.
3978 (trunc): Define using libm_alias_double.
3979 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
3980 <libm-alias-double.h>.
3981 (copysign): Define using libm_alias_double.
3982 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
3983 <libm-alias-double.h>.
3984 (fabs): Define using libm_alias_double.
3985 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
3986 <libm-alias-double.h>.
3987 (lrint): Define using libm_alias_double.
3989 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
3990 <libm-alias-double.h>.
3991 (nearbyint): Define using libm_alias_double.
3992 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
3993 <libm-alias-double.h>.
3994 (rint): Define using libm_alias_double.
3997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
3999 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
4001 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4002 SPARC --disable-multi-arch glibc variants.
4004 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
4005 <libm-alias-float.h>.
4006 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4008 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
4009 <libm-alias-float.h>.
4010 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4012 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
4013 <libm-alias-float.h>.
4014 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4016 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
4017 <libm-alias-float.h>.
4018 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4020 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
4021 <libm-alias-float.h>.
4022 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4024 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
4025 <libm-alias-float.h>.
4026 (ceilf): Define using libm_alias_float.
4027 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
4028 <libm-alias-float.h>.
4029 (floorf): Define using libm_alias_float.
4030 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
4031 <libm-alias-float.h>.
4032 (fmaf): Define using libm_alias_float.
4033 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
4034 <libm-alias-float.h>.
4035 (nearbyintf): Define using libm_alias_float.
4036 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
4037 <libm-alias-float.h>.
4038 (rintf): Define using libm_alias_float.
4039 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
4040 <libm-alias-float.h>.
4041 (truncf): Define using libm_alias_float.
4042 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
4043 (copysignf): Define using libm_alias_float.
4044 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
4045 (cosf): Define using libm_alias_float.
4046 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
4047 (fabsf): Define using libm_alias_float.
4048 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
4049 (fmaxf): Define using libm_alias_float.
4050 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
4051 (fminf): Define using libm_alias_float.
4052 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
4053 (llrintf): Define using libm_alias_float.
4054 [!__ILP32__] (lrintf): Likewise.
4055 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
4056 (sincosf): Define using libm_alias_float.
4057 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
4058 (sinf): Define using libm_alias_float.
4059 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
4060 (lrintf): Define using libm_alias_float.
4062 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
4063 <libm-alias-double.h>.
4064 (atan): Define using libm_alias_double.
4065 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
4066 <libm-alias-double.h>.
4067 (ceil): Define using libm_alias_double.
4068 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
4069 <libm-alias-double.h>.
4070 (floor): Define using libm_alias_double.
4071 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
4072 <libm-alias-double.h>.
4073 (fma): Define using libm_alias_double.
4074 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
4075 <libm-alias-double.h>.
4076 (nearbyint): Define using libm_alias_double.
4077 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
4078 <libm-alias-double.h>.
4079 (rint): Define using libm_alias_double.
4080 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
4081 <libm-alias-double.h>.
4082 (sin): Define using libm_alias_double.
4084 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
4085 <libm-alias-double.h>.
4086 (tan): Define using libm_alias_double.
4087 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
4088 <libm-alias-double.h>.
4089 (trunc): Define using libm_alias_double.
4090 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
4091 (copysign): Define using libm_alias_double.
4092 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
4093 (fabs): Define using libm_alias_double.
4094 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
4095 (fmax): Define using libm_alias_double.
4096 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
4097 (fmin): Define using libm_alias_double.
4098 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
4099 (llrint): Define using libm_alias_double.
4100 [!__ILP32__] (lrint): Likewise.
4101 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
4102 (lrint): Define using libm_alias_double.
4104 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4106 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4107 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
4109 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
4110 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
4111 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
4112 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
4113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
4114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4117 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
4119 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
4120 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
4121 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
4122 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
4123 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
4124 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4126 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4127 (libm-sysdep_routines): Add s_nearbyint-generic and
4128 s_nearbyintf-generic objects.
4129 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
4130 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
4131 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
4132 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
4133 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
4134 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
4136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
4137 Add s_finitef-generic and s_finite-generic objects.
4138 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
4139 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
4140 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
4141 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
4142 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
4143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
4145 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
4146 Add s_isinff-generic and s_isinf-generic objects.
4147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
4148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
4149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
4150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
4151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
4152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4154 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
4155 Add s_isnanf-generic and s_isnan-generic objects.
4156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
4157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
4158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
4159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
4160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
4161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4163 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
4165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
4167 (sysdep_routines): Use sysdep_calls as base.
4168 (libm-sysdep_routines): Add generic rule for symbols shared with
4169 libc. Add s_signbit-generic and s_signbitf-generic objects.
4170 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
4171 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
4172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
4173 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
4174 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
4175 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4177 2017-11-29 Joseph Myers <joseph@codesourcery.com>
4179 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
4180 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
4181 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
4182 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
4183 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
4184 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
4185 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
4186 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
4187 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
4188 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
4189 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
4190 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
4191 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
4193 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
4194 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
4196 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
4197 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
4198 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
4199 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
4200 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
4201 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
4202 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
4203 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
4204 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
4205 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
4207 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
4209 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
4210 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
4211 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
4212 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
4213 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
4214 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
4215 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
4216 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
4217 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
4218 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
4219 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
4220 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
4221 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
4222 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
4223 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
4224 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
4225 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
4226 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
4227 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
4229 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
4230 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
4231 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
4232 * sysdeps/ia64/fpu/w_lgammaf_main.c
4233 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
4234 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
4236 2017-11-28 Mike FABIAN <mfabian@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
4239 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
4240 * localedata/fr_CA.UTF-8.in: New file with test data for backward
4242 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
4244 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
4245 * localedata/locales/de_DE (LC_COLLATE): Likewise.
4246 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
4247 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
4248 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
4249 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
4250 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
4251 instead of “ifdef DIACRIT_BACKWARD”.
4253 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4255 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
4256 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
4257 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
4258 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
4259 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
4260 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
4261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
4266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
4267 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4268 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4269 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
4270 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
4271 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
4272 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
4273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4274 ($(have-as-vis3) == yes): Remove conditional.
4275 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
4277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
4279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
4281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
4283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
4285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
4286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
4287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
4288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
4289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
4290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
4291 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
4292 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
4294 2017-11-29 Joseph Myers <joseph@codesourcery.com>
4296 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
4297 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
4298 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
4299 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
4300 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
4301 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
4302 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
4303 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
4304 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
4305 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
4306 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
4307 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
4308 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
4309 libm_alias_double_r.
4310 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
4312 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
4313 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
4314 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
4315 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
4316 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
4317 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
4318 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
4319 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
4320 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
4321 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
4322 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
4324 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
4326 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
4327 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
4328 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
4329 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
4330 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
4331 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
4332 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
4333 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
4334 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
4335 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
4336 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
4337 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
4338 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
4339 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
4340 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
4341 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
4342 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
4343 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
4345 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
4346 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
4347 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
4348 * sysdeps/ia64/fpu/w_lgamma_main.c
4349 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
4350 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
4352 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
4354 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
4355 address of $global$ into %dp register earlier. Use pc-relative
4356 instruction sequence for PIC case.
4358 2017-11-28 Joseph Myers <joseph@codesourcery.com>
4360 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
4361 (asinhf): Define using libm_alias_float.
4362 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
4363 (atanf): Define using libm_alias_float.
4364 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
4365 (cbrtf): Define using libm_alias_float.
4366 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
4367 (ceilf): Define using libm_alias_float.
4368 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
4369 (copysignf): Define using libm_alias_float.
4370 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
4371 (expm1f): Define using libm_alias_float.
4372 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
4373 (fabsf): Define using libm_alias_float.
4374 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
4375 (floorf): Define using libm_alias_float.
4376 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
4377 (fmaxf): Define using libm_alias_float.
4378 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
4379 (fminf): Define using libm_alias_float.
4380 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
4381 (frexpf): Define using libm_alias_float.
4382 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
4383 (llrintf): Define using libm_alias_float.
4384 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
4385 (logbf): Define using libm_alias_float.
4386 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
4387 (lrintf): Define using libm_alias_float.
4388 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
4389 (nearbyintf): Define using libm_alias_float.
4390 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
4391 (remquof): Define using libm_alias_float.
4392 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
4393 (rintf): Define using libm_alias_float.
4394 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
4395 (truncf): Define using libm_alias_float.
4396 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
4397 <libm-alias-float.h>.
4398 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4400 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
4401 <libm-alias-float.h>.
4402 (expf): Define using libm_alias_float, or libm_alias_float_other
4404 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
4405 <libm-alias-float.h>.
4406 (log2f): Define using libm_alias_float, or libm_alias_float_other
4408 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
4409 <libm-alias-float.h>.
4410 (logf): Define using libm_alias_float, or libm_alias_float_other
4412 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
4413 <libm-alias-float.h>.
4414 (powf): Define using libm_alias_float, or libm_alias_float_other
4416 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
4417 <libm-alias-float.h>.
4418 (cosf): Define using libm_alias_float.
4419 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
4420 <libm-alias-float.h>.
4421 (sincosf): Define using libm_alias_float.
4422 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
4423 <libm-alias-float.h>.
4424 (sinf): Define using libm_alias_float.
4425 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
4426 (fmaxf): Define using libm_alias_float.
4427 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
4428 (fminf): Define using libm_alias_float.
4429 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
4430 <libm-alias-float.h>.
4431 (fmaf): Define using libm_alias_float.
4433 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
4434 (asinh): Define using libm_alias_double.
4435 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
4436 (atan): Define using libm_alias_double.
4437 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
4438 (cbrt): Define using libm_alias_double.
4439 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
4440 (ceil): Define using libm_alias_double.
4441 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
4442 (copysign): Define using libm_alias_double.
4443 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
4444 (expm1): Define using libm_alias_double.
4445 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
4446 (fabs): Define using libm_alias_double.
4447 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
4448 (fdim): Define using libm_alias_double.
4449 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
4450 (floor): Define using libm_alias_double.
4451 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
4452 (fmax): Define using libm_alias_double.
4453 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
4454 (fmin): Define using libm_alias_double.
4455 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
4456 (frexp): Define using libm_alias_double.
4457 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
4458 (llrint): Define using libm_alias_double.
4459 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
4460 (logb): Define using libm_alias_double.
4461 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
4462 (lrint): Define using libm_alias_double.
4463 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
4464 (nearbyint): Define using libm_alias_double.
4465 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
4466 (remquo): Define using libm_alias_double.
4467 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
4468 (rint): Define using libm_alias_double.
4469 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
4470 (trunc): Define using libm_alias_double.
4471 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
4472 (fmax): Define using libm_alias_double.
4473 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
4474 (fmin): Define using libm_alias_double.
4475 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
4476 (fma): Define using libm_alias_double.
4478 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
4481 * elf/dl-hwcaps.c (ROUND): Removed.
4482 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
4483 and ELF_NOTE_NEXT_OFFSET.
4484 * elf/dl-load.c (ROUND): Removed.
4485 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
4486 * elf/readelflib.c (ROUND): Removed.
4487 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
4488 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
4489 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
4490 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
4492 2017-11-28 Joseph Myers <joseph@codesourcery.com>
4494 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
4495 [!__fmaf] (fmaf): Define using libm_alias_float.
4497 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
4498 [!__fma] (fma): Define using libm_alias_double.
4499 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
4501 2017-11-28 Mike FABIAN <mfabian@redhat.com>
4504 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
4505 and implement the collation rules for cs from CLDR on top of that.
4506 * Makefile: Add cs_CZ.UTF-8 to test-input.
4507 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
4509 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
4511 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
4513 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
4514 Icarus Sparry <icarus.w.sparry@intel.com>
4516 * benchtests/Makefile:Add BENCHSET to allow subsets of
4517 benchmarks to be run.
4518 * benchtests/README: Add documentation for: Running subsets of
4521 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
4523 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
4524 range of tests names.
4526 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
4527 result from property and remove "max", min" and "mean" from
4528 required properties based on benchtests/bench-skeleton.c.
4530 2017-11-28 Florian Weimer <fweimer@redhat.com>
4533 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
4534 due to Internet requirement.
4535 * posix/Makefile (tests): Remove tst-getaddrinfo4,
4537 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
4539 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4541 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4542 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
4543 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
4544 (sysdep_routines): Add memset-ultra1.
4545 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
4547 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
4548 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
4549 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
4550 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
4551 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
4552 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
4553 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
4554 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4556 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
4558 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
4559 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
4560 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
4561 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
4562 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
4563 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
4564 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
4566 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4567 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
4568 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
4569 (sysdep_routines): Add memcpy-ultra1.
4570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
4571 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
4573 2017-11-28 Joseph Myers <joseph@codesourcery.com>
4575 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
4576 (cfloat_versions): Take function argument without trailing 'f'.
4577 Call libm_alias_float_other.
4578 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
4579 * sysdeps/alpha/fpu/cargf.c: Likewise.
4580 * sysdeps/alpha/fpu/cimagf.c: Likewise.
4581 * sysdeps/alpha/fpu/conjf.c: Likewise.
4582 * sysdeps/alpha/fpu/crealf.c: Likewise.
4583 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
4584 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
4585 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
4586 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4587 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
4588 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4589 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
4590 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
4591 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
4592 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
4593 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
4594 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
4595 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4596 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4597 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
4598 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4599 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4600 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
4601 (clog10f): Use libm_alias_float_other.
4602 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
4603 (ceilf): Define using libm_alias_float.
4604 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
4605 (copysignf): Define using libm_alias_float.
4606 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
4607 (fabsf): Define using libm_alias_float.
4608 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
4609 (floorf): Define using libm_alias_float.
4610 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
4611 (fmaxf): Define using libm_alias_float.
4612 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
4613 (fminf): Define using libm_alias_float.
4614 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
4615 (lrintf): Define using libm_alias_float.
4616 (llrintf): Likewise.
4617 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
4618 (lroundf): Define using libm_alias_float.
4619 (llroundf): Likewise.
4620 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
4621 (rintf): Define using libm_alias_float.
4622 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
4623 (truncf): Define using libm_alias_float.
4625 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
4626 (ceilf): Define using libm_alias_float.
4627 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
4628 (floorf): Define using libm_alias_float.
4629 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
4630 (fmaf): Define using libm_alias_float.
4631 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
4632 (fmaxf): Define using libm_alias_float.
4633 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
4634 (fminf): Define using libm_alias_float.
4635 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
4636 (llrintf): Define using libm_alias_float.
4637 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
4638 (llroundf): Define using libm_alias_float.
4639 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
4640 (lrintf): Define using libm_alias_float.
4641 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
4642 (lroundf): Define using libm_alias_float.
4643 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
4644 <libm-alias-float.h>.
4645 (nearbyintf): Define using libm_alias_float.
4646 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
4647 (rintf): Define using libm_alias_float.
4648 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
4649 (roundf): Define using libm_alias_float.
4650 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
4651 (truncf): Define using libm_alias_float.
4653 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
4654 (ceil): Define using libm_alias_double.
4655 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
4656 (copysign): Define using libm_alias_double.
4657 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
4658 (fabs): Define using libm_alias_double.
4659 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
4660 (floor): Define using libm_alias_double.
4661 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
4662 (fmax): Define using libm_alias_double.
4663 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
4664 (fmin): Define using libm_alias_double.
4665 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
4666 (lrint): Define using libm_alias_double.
4668 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
4669 (lround): Define using libm_alias_double.
4670 (llround): Likewise.
4671 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
4672 (rint): Define using libm_alias_double.
4673 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
4674 (trunc): Define using libm_alias_double.
4676 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
4677 (libm_alias_double_r): Add semicolon after weak_alias call.
4679 2017-11-27 Joseph Myers <joseph@codesourcery.com>
4681 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
4682 (ceil): Define using libm_alias_double.
4683 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
4684 (floor): Define using libm_alias_double.
4685 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
4686 (fma): Define using libm_alias_double.
4687 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
4688 (fmax): Define using libm_alias_double.
4689 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
4690 (fmin): Define using libm_alias_double.
4691 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
4692 (llrint): Define using libm_alias_double.
4693 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
4694 (llround): Define using libm_alias_double.
4695 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
4696 (lrint): Define using libm_alias_double.
4697 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
4698 (lround): Define using libm_alias_double.
4699 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
4700 (nearbyint): Define using libm_alias_double.
4701 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
4702 (rint): Define using libm_alias_double.
4703 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
4704 (round): Define using libm_alias_double.
4705 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
4706 (trunc): Define using libm_alias_double.
4708 2017-11-27 Florian Weimer <fweimer@redhat.com>
4710 * sysdeps/unix/sysv/linux/mlock2.c: New file.
4711 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
4712 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
4713 (tests): Add tst-mlock2.
4714 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
4715 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
4716 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
4717 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
4718 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
4719 for mlock. Document mlock2.
4721 2017-11-27 Joseph Myers <joseph@codesourcery.com>
4723 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
4724 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
4726 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
4728 * sysdeps/x86/Makeconfig: New file.
4729 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
4730 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4731 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
4732 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4733 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
4734 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4735 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
4737 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4738 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
4739 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4740 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
4741 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4742 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
4743 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4744 * manual/math.texi (Mathematics): Document support for _Float64x.
4745 * math/Versions (GLIBC_2.27): Add _Float64x functions.
4746 * stdlib/Versions (GLIBC_2.27): Likewise.
4747 * wcsmbs/Versions (GLIBC_2.27): Likewise.
4748 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
4749 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4750 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4751 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4752 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4753 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4754 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4755 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4756 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4757 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4758 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4763 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4764 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4765 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4766 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4767 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4768 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4769 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4770 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4771 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4772 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4773 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4774 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4775 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4776 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4778 2017-11-27 Andreas Schwab <schwab@suse.de>
4780 * elf/Makefile (dl-routines): Add dl-sort-maps.
4781 * elf/dl-sort-maps.c: New file.
4782 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
4783 (_dl_sort_maps): Declare.
4784 * elf/dl-fini.c (_dl_sort_fini): Remove.
4785 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
4786 * elf/dl-close.c (_dl_close_worker): Likewise.
4787 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
4789 * elf/dl-open.c (dl_open_worker): Likewise.
4791 2017-11-24 Joseph Myers <joseph@codesourcery.com>
4793 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
4794 using libm_alias_float128.
4795 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
4797 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
4799 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
4800 (setpayloadsigf128): Likewise.
4801 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
4803 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
4806 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
4807 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
4808 -mfloat128 to CFLAGS.
4810 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
4812 (CFLAGS-libm-test-support-float64x.c): New variable.
4813 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
4814 $(f128-loader-link) to gnulib-tests.
4816 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
4817 (libm_alias_float128_other_r): If
4818 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
4820 (libm_alias_float128_r): Add semicolon after weak_alias call.
4821 * sysdeps/generic/libm-alias-ldouble.h
4822 (libm_alias_ldouble_other_r_f128): New macro.
4823 (libm_alias_ldouble_other_r_f64x): Likewise.
4824 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
4825 and libm_alias_ldouble_other_r_f64x.
4826 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
4827 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
4828 (libm_alias_ldouble_other_r_f128): New macro.
4829 (libm_alias_ldouble_other_r_f64x): Likewise.
4830 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
4831 and libm_alias_ldouble_other_r_f64x.
4833 * stdlib/strfroml.c: Always include <stdlib.h>.
4834 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
4835 undefine as macro and define as weak alias.
4836 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
4837 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
4839 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
4840 Define and later undefine as macro and define as weak alias.
4842 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
4843 Define and later undefine as macro. Define as weak alias if
4845 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
4846 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
4847 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
4848 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
4849 Define and later undefine as macro. Define as weak alias if
4851 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
4852 Define and later undefine as macro. Define as weak alias if
4854 * sysdeps/ieee754/float128/strtof128_l.c
4855 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
4856 Define and later undefine as macro. Define as weak alias if
4858 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
4859 Define and later undefine as macro. Define as weak alias if
4861 * sysdeps/ieee754/ldbl-128/strtold_l.c
4862 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
4863 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
4864 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
4865 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
4866 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
4867 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
4868 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
4869 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
4870 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
4871 * sysdeps/ieee754/ldbl-96/strtold_l.c
4872 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
4873 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
4874 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
4875 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
4877 * math/test-float64x.h: New file.
4878 * math/Makefile (type-float64x-yes): New variable.
4879 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
4881 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
4882 function-like macro.
4883 (min_of_type_): Likewise.
4884 (min_of_type_l): Likewise.
4885 (min_of_type_f128): Likewise.
4886 (min_of_type): Pass () as last argument of __MATH_TG.
4888 * stdlib/tst-strtod-round-skeleton.c
4889 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
4892 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
4893 for combinations of long double with _Float64 and _Float64x.
4895 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
4896 (__DECL_SIMD_cosf32): Likewise.
4897 (__DECL_SIMD_cosf64): Likewise.
4898 (__DECL_SIMD_cosf32x): Likewise.
4899 (__DECL_SIMD_cosf64x): Likewise.
4900 (__DECL_SIMD_cosf128x): Likewise.
4901 (__DECL_SIMD_sinf16): Likewise.
4902 (__DECL_SIMD_sinf32): Likewise.
4903 (__DECL_SIMD_sinf64): Likewise.
4904 (__DECL_SIMD_sinf32x): Likewise.
4905 (__DECL_SIMD_sinf64x): Likewise.
4906 (__DECL_SIMD_sinf128x): Likewise.
4907 (__DECL_SIMD_sincosf16): Likewise.
4908 (__DECL_SIMD_sincosf32): Likewise.
4909 (__DECL_SIMD_sincosf64): Likewise.
4910 (__DECL_SIMD_sincosf32x): Likewise.
4911 (__DECL_SIMD_sincosf64x): Likewise.
4912 (__DECL_SIMD_sincosf128x): Likewise.
4913 (__DECL_SIMD_logf16): Likewise.
4914 (__DECL_SIMD_logf32): Likewise.
4915 (__DECL_SIMD_logf64): Likewise.
4916 (__DECL_SIMD_logf32x): Likewise.
4917 (__DECL_SIMD_logf64x): Likewise.
4918 (__DECL_SIMD_logf128x): Likewise.
4919 (__DECL_SIMD_expf16): Likewise.
4920 (__DECL_SIMD_expf32): Likewise.
4921 (__DECL_SIMD_expf64): Likewise.
4922 (__DECL_SIMD_expf32x): Likewise.
4923 (__DECL_SIMD_expf64x): Likewise.
4924 (__DECL_SIMD_expf128x): Likewise.
4925 (__DECL_SIMD_powf16): Likewise.
4926 (__DECL_SIMD_powf32): Likewise.
4927 (__DECL_SIMD_powf64): Likewise.
4928 (__DECL_SIMD_powf32x): Likewise.
4929 (__DECL_SIMD_powf64x): Likewise.
4930 (__DECL_SIMD_powf128x): Likewise.
4932 * stdlib/Versions (libc): Move entries for wcstof128 and
4934 * wcsmbs/Versions (libc): ... here.
4935 Include <float128-abi.h>.
4937 2017-11-24 Florian Weimer <fweimer@redhat.com>
4939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4941 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
4942 <bits/mman-shared.h>.
4943 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
4945 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
4946 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
4947 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
4948 <bits/mman-shared.h>.
4950 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4953 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
4954 posix_memalign/free.
4955 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
4957 2017-11-22 Mike FABIAN <mfabian@redhat.com>
4960 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
4961 and implement the collation rules for pl from CLDR on top of that.
4962 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
4963 of locales to be built for testing.
4964 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
4966 2017-11-23 Joseph Myers <joseph@codesourcery.com>
4968 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
4969 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
4970 libm_alias_ldouble_other.
4971 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
4972 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
4973 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
4974 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
4975 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
4976 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
4977 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
4978 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
4979 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
4980 libm_alias_ldouble_r.
4981 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
4982 libm_alias_ldouble_other.
4983 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
4985 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
4986 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
4987 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
4988 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
4989 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
4990 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
4991 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
4993 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
4994 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
4995 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
4997 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
4999 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
5000 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
5001 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
5003 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
5004 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
5005 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
5006 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
5007 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
5008 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
5009 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
5010 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
5011 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
5012 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
5013 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
5015 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
5016 libm_alias_ldouble_other.
5017 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
5018 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
5019 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
5021 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
5022 libm_alias_ldouble_other.
5023 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
5024 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
5025 * sysdeps/ia64/fpu/w_lgammal_main.c
5026 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
5027 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
5029 2017-11-23 Florian Weimer <fweimer@redhat.com>
5031 * malloc/malloc.c (tcache_thread_shutdown): Rename from
5032 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
5033 alike. Remove freeres marker.
5034 * malloc/arena.c (arena_thread_freeres): Call
5035 tcache_thread_shutdown.
5037 2017-11-23 Florian Weimer <fweimer@redhat.com>
5040 Export nscd hash function as __nss_hash.
5041 * include/nss.h (__nss_hash): Declare.
5042 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
5044 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
5045 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
5047 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
5048 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
5049 * nss/Makefiles (routines): Add nss_hash.
5050 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
5051 * nss/nss_hash.c: Rename from nis/nis_hash.c.
5052 (__nss_hash): Rename from __nis_hash. Define hidden alias.
5053 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
5055 2017-11-23 Florian Weimer <fweimer@redhat.com>
5058 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
5059 Return error code, not -1.
5060 * signal/tst-sigwait-eintr.c: New file.
5061 * signal/Makefile (tests): Add tst-sigwait-eintr.
5063 2017-11-23 Florian Weimer <fweimer@redhat.com>
5065 Linux: Add memfd_create system call wrapper
5066 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
5068 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5069 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
5070 [__USE_GNU] (memfd_create): Declare.
5071 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
5072 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
5073 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
5074 * sysdeps/unix/sysv/linux/**.abilist: Update.
5075 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
5077 2017-11-22 Joseph Myers <joseph@codesourcery.com>
5079 * localedata/gen-locale.sh: Fix typo in variable name.
5081 * resolv/res_debug.c (p_secstodate): Condition definition on
5082 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
5083 directly as __p_secstodate, and as a compat symbol. Do not use
5084 libresolv_hidden_def.
5085 * resolv/resolv.h (p_secstodate): Remove macro and function
5087 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
5089 * include/resolv.h (__p_secstodate): Do not use
5090 libresolv_hidden_proto.
5091 * resolv/Makefile (tests): Move tst-p_secstodate to ....
5092 (tests-internal): ... here.
5093 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
5094 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
5095 and declare and use __p_secstodate and use compat_symbol_reference
5097 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
5098 implementation returning 77.
5101 * resolv/res_debug.c: Include <libc-diag.h>.
5102 (p_secstodate): Assert time_t at least as wide as u_long. On
5103 overflow, use integer seconds since the epoch as output, or use
5104 "<overflow>" as output and set errno to EOVERFLOW if integer
5105 seconds since the epoch would be 14 or more characters.
5106 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
5108 * resolv/tst-p_secstodate.c: New file.
5109 * resolv/Makefile (tests): Add tst-p_secstodate.
5110 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
5112 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
5113 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5114 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
5116 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
5118 * posix/regcomp.c (init_word_char): Add comments.
5120 2017-11-22 Joseph Myers <joseph@codesourcery.com>
5123 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
5124 strlen to compute length of ut_user and set trailing NUL byte of
5127 2017-11-21 Mike FABIAN <mfabian@redhat.com>
5130 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
5131 using “copy "iso14651_t1"” and then implementing the
5132 collation rules for lv from CLDR on top of that.
5133 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
5134 of locales to be built for testing.
5135 * lv_LV.UTF-8.in: New file with test data to test the Latvian
5138 2017-11-21 Joseph Myers <joseph@codesourcery.com>
5140 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
5141 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
5142 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
5143 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
5144 [__USE_MISC] (MADV_HWPOISON): New macro.
5145 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
5147 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5149 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
5150 -Wmissing-braces on GCC 4.9.
5152 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5154 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
5155 * sysdeps/s390/s390-32/start.S (_start): Likewise
5156 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
5157 (thread_start): Likewise.
5158 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
5159 (thread_start): Likewise.
5160 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
5161 (__makecontext_ret): Likewise.
5162 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
5163 (__makecontext_ret): Likewise.
5165 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5167 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
5168 __wcschrnul): Remove attribute_hidden.
5170 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
5172 regex: don't assume uint64_t or uint32_t
5173 This avoids -Werror=overflow errors for 32-bit systems in
5174 the 64-bit case. Problem reported by Joseph Myers in:
5175 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
5176 Also, when this code is used in Gnulib it ports to platforms
5177 that lack uint64_t and uint32_t. The C standard doesn't guarantee
5178 them, and on some 32-bit compilers there is no uint64_t.
5179 Problem reported by Gianluigi Tiesi in:
5180 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
5181 * posix/regcomp.c (init_word_char): Don't assume that the types
5182 uint64_t and uint32_t exist. Adapted from Gnulib patch
5183 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
5184 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
5186 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
5188 * sysdeps/aarch64/memset-reg.h: New file.
5189 * sysdeps/aarch64/memset.S: Use it.
5190 (__memset): Rename to MEMSET macro.
5191 [ZVA_MACRO]: Use zva_macro.
5192 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5193 Add memset_generic and memset_falkor.
5194 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5195 (__libc_ifunc_impl_list): Add memset ifuncs.
5196 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
5197 local variable zva_size.
5198 * sysdeps/aarch64/multiarch/memset.c: New file.
5199 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
5200 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
5201 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
5202 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
5203 (DCZID_DZP_MASK): New macro.
5204 (DCZID_BS_MASK): Likewise.
5205 (init_cpu_features): Read and set zva_size.
5206 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
5207 (struct cpu_features): New member zva_size.
5209 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
5210 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
5211 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
5213 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
5214 backwards. Fix timing computation.
5215 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
5216 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
5217 on memset by N at a time. Fix timing computation.
5219 2017-11-20 Florian Weimer <fweimer@redhat.com>
5221 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
5222 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
5224 2017-11-19 Florian Weimer <fweimer@redhat.com>
5226 manual: Document mprotect
5227 * manual/memory.texi (Memory Protection): New section.
5228 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
5229 documentation of PROT_* flags and reference the Memory Protection
5232 2017-11-19 Florian Weimer <fweimer@redhat.com>
5234 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
5235 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
5236 (Scatter-Gather): ... to here. Remove misleading comment.
5238 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
5240 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
5243 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
5244 when /proc/<pid>/setgroups does not exist.
5246 2017-11-18 Florian Weimer <fweimer@redhat.com>
5248 * sysdeps/unix/sysv/linux/tst-ttyname.c
5249 (become_root_in_mount_ns): Remove.
5250 (do_in_chroot_1): Call support_enter_mount_namespace.
5251 (do_in_chroot_2): Likewise.
5252 (do_test): Call support_become_root early.
5254 2017-11-18 Florian Weimer <fweimer@redhat.com>
5256 * support/namespace.h (support_enter_mount_namespace): Declare.
5257 * support/support_enter_mount_namespace.c: New file.
5258 * support/Makefile (libsupport-routines): Add
5259 support_enter_mount_namespace.
5261 2017-11-18 Florian Weimer <fweimer@redhat.com>
5263 * support/temp_file.c (support_create_temp_directory): Use
5264 test_dir and do not rely on the presence of the XXXXXX suffix.
5265 * support/temp_file.h (support_create_temp_directory): Update
5267 * support/tst-xreadlink.c (do_test): Adjust.
5268 * support/support_chroot.c (support_chroot_create): Likewise.
5270 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5272 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
5274 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
5277 2017-11-17 Joseph Myers <joseph@codesourcery.com>
5279 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
5280 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
5281 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
5282 (ceill): Define using libm_alias_ldouble.
5283 * sysdeps/x86_64/fpu/s_copysignl.S: Include
5284 <libm-alias-ldouble.h>.
5285 (copysignl): Define using libm_alias_ldouble.
5286 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
5287 (fabsl): Define using libm_alias_ldouble.
5288 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
5289 (floorl): Define using libm_alias_ldouble.
5290 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
5291 (fmaxl): Define using libm_alias_ldouble.
5292 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
5293 (fminl): Define using libm_alias_ldouble.
5294 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
5295 (llrintl): Define using libm_alias_ldouble.
5297 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
5298 <libm-alias-ldouble.h>.
5299 (nearbyintl): Define using libm_alias_ldouble.
5300 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
5301 (truncl): Define using libm_alias_ldouble.
5302 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
5303 <libm-alias-ldouble.h>.
5304 (lrintl): Define using libm_alias_ldouble.
5306 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
5307 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
5308 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
5309 (asinhl): Define using libm_alias_ldouble.
5310 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
5311 (atanl): Define using libm_alias_ldouble.
5312 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
5313 (cbrtl): Define using libm_alias_ldouble.
5314 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
5315 (ceill): Define using libm_alias_ldouble.
5316 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
5317 (copysignl): Define using libm_alias_ldouble.
5318 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
5319 (fabsl): Define using libm_alias_ldouble.
5320 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
5321 (floorl): Define using libm_alias_ldouble.
5322 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
5323 (fmaxl): Define using libm_alias_ldouble.
5324 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
5325 (fminl): Define using libm_alias_ldouble.
5326 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
5327 (frexpl): Define using libm_alias_ldouble.
5328 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
5329 (llrintl): Define using libm_alias_ldouble.
5330 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
5331 (logbl): Define using libm_alias_ldouble.
5332 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
5333 (lrintl): Define using libm_alias_ldouble.
5334 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
5335 (nearbyintl): Define using libm_alias_ldouble.
5336 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
5337 (nextafterl): Define using libm_alias_ldouble.
5338 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
5339 (remquol): Define using libm_alias_ldouble.
5340 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
5341 (rintl): Define using libm_alias_ldouble.
5342 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
5343 (truncl): Define using libm_alias_ldouble.
5344 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
5345 (fmaxl): Define using libm_alias_ldouble.
5346 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
5347 (fminl): Define using libm_alias_ldouble.
5349 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
5350 to C syntax instead of availability and properties of types.
5351 * bits/floatn.h [!__ASSEMBLER]: Likewise.
5352 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
5353 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
5354 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
5355 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
5356 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
5358 2017-11-17 Florian Weimer <fweimer@redhat.com>
5360 support_become_root: Enable file creation in namespaces.
5361 * support/support_become_root.c (setup_mapping): New function.
5362 (support_become_root): Call it.
5364 2017-11-17 Joseph Myers <joseph@codesourcery.com>
5366 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
5369 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5371 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
5372 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
5374 2017-11-16 Joseph Myers <joseph@codesourcery.com>
5376 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
5378 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5381 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5383 * INSTALL: Fix botched up regeneration.
5385 * NEWS: Update sourceare link to https.
5386 * configure.ac: Likewise.
5387 * crypt/md5test-giant.c: Likewise.
5388 * dlfcn/bug-atexit1.c: Likewise.
5389 * dlfcn/bug-atexit2.c: Likewise.
5390 * localedata/README: Likewise.
5391 * malloc/tst-mallocfork.c: Likewise.
5392 * manual/install.texi: Likewise.
5393 * nptl/tst-pthread-getattr.c: Likewise.
5394 * stdio-common/tst-fgets.c: Likewise.
5395 * stdio-common/tst-fwrite.c: Likewise.
5396 * sunrpc/Makefile: Likewise.
5397 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
5398 * wcsmbs/tst-mbrtowc2.c: Likewise.
5399 * configure: Regenerate.
5400 * INSTALL: Regenerate.
5402 2017-11-15 Martin Sebor <msebor@redhat.com>
5404 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
5405 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
5406 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
5408 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
5411 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
5412 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
5415 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
5416 Defer is_pty check until end of the function.
5417 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5420 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
5421 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
5422 (ttyname): Likewise.
5423 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
5424 (__ttyname_r): Likewise.
5426 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
5429 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
5431 * manual/terminal.texi (Is It a Terminal):
5432 Mention ENODEV for ttyname and ttyname_r.
5434 2017-11-15 Joseph Myers <joseph@codesourcery.com>
5436 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
5439 * sysdeps/unix/sysv/linux/bits/mman-linux.h
5440 [__USE_MISC] (MADV_WIPEONFORK): New macro.
5441 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5442 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
5443 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5444 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5446 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5448 * signal/sigrelse.c (sigrelse): Optimize implementation.
5450 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
5451 (__sigpause): Rely on __sigsuspend to implement single thread
5452 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
5454 2017-11-15 Joseph Myers <joseph@codesourcery.com>
5456 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5457 kernel version to 4.14.
5459 2017-11-15 Steve Ellcey <sellcey@cavium.com>
5462 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
5463 Check if ifname is too long.
5465 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
5467 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
5469 2017-11-15 Mike FABIAN <mfabian@redhat.com>
5471 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
5472 was accidentally lost.
5474 2017-11-15 Mike FABIAN <mfabian@redhat.com>
5476 * localedata/locales/az_IR: Add standard copyright header.
5478 2017-11-15 Florian Weimer <fweimer@redhat.com>
5481 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
5482 not just the top one. Output a new "subheaps" statistic.
5484 2017-11-15 Florian Weimer <fweimer@redhat.com>
5487 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
5488 under the per-arena lock.
5489 * malloc/Makefile (tests): Add tst-malloc_info.
5490 (tst-malloc_info): Link with libpthread.
5491 * malloc/tst-malloc_info.c: New file.
5493 2017-11-15 Joseph Myers <joseph@codesourcery.com>
5496 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
5497 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
5498 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
5499 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
5500 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
5501 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
5502 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
5503 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
5504 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
5505 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
5506 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
5507 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
5508 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
5509 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
5510 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
5511 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
5512 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
5513 (__floating_type): Likewise.
5514 (__real_integer_type): Likewise.
5515 (__complex_integer_type): Likewise.
5516 (__expr_is_real): Likewise.
5517 (__tgmath_real_type_sub): Likewise.
5518 (__tgmath_real_type): Likewise.
5519 (__tgmath_complex_type_sub): Likewise.
5520 (__tgmath_complex_type): Likewise.
5521 (__TGMATH_F128): Likewise.
5522 (__TGMATH_CF128): Likewise.
5523 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
5525 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
5526 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
5528 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
5530 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
5531 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5532 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5533 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
5535 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5536 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
5538 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
5539 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
5540 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
5542 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
5543 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
5544 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
5548 2017-11-14 Joseph Myers <joseph@codesourcery.com>
5550 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
5551 for stpncpy calls for GCC 8.
5552 (test_strncat): Disable -Wstringop-truncation warning for strncat
5553 calls for GCC 8. Disable -Wstringop-overflow= warning for one
5554 strncat call for GCC 7.
5555 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
5557 (test_memcmp): Use memcpy instead of strncpy for calls not copying
5560 * string/bug-strncat1.c: Include <libc-diag.h>.
5561 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
5563 2017-11-13 Claude Paroz <claude@2xlibre.net>
5566 * localedata/locales/aa_DJ: Improved readibility by replacing
5567 <Uxxxx> sequences in the ASCII printable range by their ASCII
5568 character equivalents.
5569 * localedata/locales/aa_ER: Likewise.
5570 * localedata/locales/aa_ER@saaho: Likewise.
5571 * localedata/locales/aa_ET: Likewise.
5572 * localedata/locales/af_ZA: Likewise.
5573 * localedata/locales/agr_PE: Likewise.
5574 * localedata/locales/ak_GH: Likewise.
5575 * localedata/locales/am_ET: Likewise.
5576 * localedata/locales/anp_IN: Likewise.
5577 * localedata/locales/ar_AE: Likewise.
5578 * localedata/locales/ar_BH: Likewise.
5579 * localedata/locales/ar_DZ: Likewise.
5580 * localedata/locales/ar_EG: Likewise.
5581 * localedata/locales/ar_IN: Likewise.
5582 * localedata/locales/ar_IQ: Likewise.
5583 * localedata/locales/ar_JO: Likewise.
5584 * localedata/locales/ar_KW: Likewise.
5585 * localedata/locales/ar_LB: Likewise.
5586 * localedata/locales/ar_LY: Likewise.
5587 * localedata/locales/ar_MA: Likewise.
5588 * localedata/locales/ar_OM: Likewise.
5589 * localedata/locales/ar_QA: Likewise.
5590 * localedata/locales/ar_SA: Likewise.
5591 * localedata/locales/ar_SD: Likewise.
5592 * localedata/locales/ar_SS: Likewise.
5593 * localedata/locales/ar_SY: Likewise.
5594 * localedata/locales/ar_TN: Likewise.
5595 * localedata/locales/ar_YE: Likewise.
5596 * localedata/locales/as_IN: Likewise.
5597 * localedata/locales/ast_ES: Likewise.
5598 * localedata/locales/ayc_PE: Likewise.
5599 * localedata/locales/az_AZ: Likewise.
5600 * localedata/locales/az_IR: Likewise.
5601 * localedata/locales/be_BY: Likewise.
5602 * localedata/locales/be_BY@latin: Likewise.
5603 * localedata/locales/bem_ZM: Likewise.
5604 * localedata/locales/ber_DZ: Likewise.
5605 * localedata/locales/ber_MA: Likewise.
5606 * localedata/locales/bg_BG: Likewise.
5607 * localedata/locales/bhb_IN: Likewise.
5608 * localedata/locales/bho_IN: Likewise.
5609 * localedata/locales/bi_VU: Likewise.
5610 * localedata/locales/bn_BD: Likewise.
5611 * localedata/locales/bn_IN: Likewise.
5612 * localedata/locales/bo_CN: Likewise.
5613 * localedata/locales/bo_IN: Likewise.
5614 * localedata/locales/br_FR: Likewise.
5615 * localedata/locales/brx_IN: Likewise.
5616 * localedata/locales/bs_BA: Likewise.
5617 * localedata/locales/byn_ER: Likewise.
5618 * localedata/locales/ca_AD: Likewise.
5619 * localedata/locales/ca_ES: Likewise.
5620 * localedata/locales/ca_FR: Likewise.
5621 * localedata/locales/ca_IT: Likewise.
5622 * localedata/locales/ce_RU: Likewise.
5623 * localedata/locales/chr_US: Likewise.
5624 * localedata/locales/cmn_TW: Likewise.
5625 * localedata/locales/crh_UA: Likewise.
5626 * localedata/locales/cs_CZ: Likewise.
5627 * localedata/locales/csb_PL: Likewise.
5628 * localedata/locales/cv_RU: Likewise.
5629 * localedata/locales/cy_GB: Likewise.
5630 * localedata/locales/da_DK: Likewise.
5631 * localedata/locales/de_AT: Likewise.
5632 * localedata/locales/de_BE: Likewise.
5633 * localedata/locales/de_CH: Likewise.
5634 * localedata/locales/de_DE: Likewise.
5635 * localedata/locales/de_IT: Likewise.
5636 * localedata/locales/de_LI: Likewise.
5637 * localedata/locales/de_LU: Likewise.
5638 * localedata/locales/doi_IN: Likewise.
5639 * localedata/locales/dv_MV: Likewise.
5640 * localedata/locales/dz_BT: Likewise.
5641 * localedata/locales/el_CY: Likewise.
5642 * localedata/locales/el_GR: Likewise.
5643 * localedata/locales/en_AG: Likewise.
5644 * localedata/locales/en_AU: Likewise.
5645 * localedata/locales/en_BW: Likewise.
5646 * localedata/locales/en_CA: Likewise.
5647 * localedata/locales/en_DK: Likewise.
5648 * localedata/locales/en_GB: Likewise.
5649 * localedata/locales/en_HK: Likewise.
5650 * localedata/locales/en_IE: Likewise.
5651 * localedata/locales/en_IL: Likewise.
5652 * localedata/locales/en_IN: Likewise.
5653 * localedata/locales/en_NG: Likewise.
5654 * localedata/locales/en_NZ: Likewise.
5655 * localedata/locales/en_PH: Likewise.
5656 * localedata/locales/en_SG: Likewise.
5657 * localedata/locales/en_US: Likewise.
5658 * localedata/locales/en_ZA: Likewise.
5659 * localedata/locales/en_ZM: Likewise.
5660 * localedata/locales/en_ZW: Likewise.
5661 * localedata/locales/eo: Likewise.
5662 * localedata/locales/es_AR: Likewise.
5663 * localedata/locales/es_BO: Likewise.
5664 * localedata/locales/es_CL: Likewise.
5665 * localedata/locales/es_CO: Likewise.
5666 * localedata/locales/es_CR: Likewise.
5667 * localedata/locales/es_CU: Likewise.
5668 * localedata/locales/es_DO: Likewise.
5669 * localedata/locales/es_EC: Likewise.
5670 * localedata/locales/es_ES: Likewise.
5671 * localedata/locales/es_GT: Likewise.
5672 * localedata/locales/es_HN: Likewise.
5673 * localedata/locales/es_MX: Likewise.
5674 * localedata/locales/es_NI: Likewise.
5675 * localedata/locales/es_PA: Likewise.
5676 * localedata/locales/es_PE: Likewise.
5677 * localedata/locales/es_PR: Likewise.
5678 * localedata/locales/es_PY: Likewise.
5679 * localedata/locales/es_SV: Likewise.
5680 * localedata/locales/es_US: Likewise.
5681 * localedata/locales/es_UY: Likewise.
5682 * localedata/locales/es_VE: Likewise.
5683 * localedata/locales/et_EE: Likewise.
5684 * localedata/locales/eu_ES: Likewise.
5685 * localedata/locales/eu_ES@euro: Likewise.
5686 * localedata/locales/fa_IR: Likewise.
5687 * localedata/locales/ff_SN: Likewise.
5688 * localedata/locales/fi_FI: Likewise.
5689 * localedata/locales/fil_PH: Likewise.
5690 * localedata/locales/fo_FO: Likewise.
5691 * localedata/locales/fr_BE: Likewise.
5692 * localedata/locales/fr_CA: Likewise.
5693 * localedata/locales/fr_CH: Likewise.
5694 * localedata/locales/fr_FR: Likewise.
5695 * localedata/locales/fr_LU: Likewise.
5696 * localedata/locales/fur_IT: Likewise.
5697 * localedata/locales/fy_DE: Likewise.
5698 * localedata/locales/fy_NL: Likewise.
5699 * localedata/locales/ga_IE: Likewise.
5700 * localedata/locales/gd_GB: Likewise.
5701 * localedata/locales/gez_ER: Likewise.
5702 * localedata/locales/gez_ET: Likewise.
5703 * localedata/locales/gl_ES: Likewise.
5704 * localedata/locales/gu_IN: Likewise.
5705 * localedata/locales/gv_GB: Likewise.
5706 * localedata/locales/ha_NG: Likewise.
5707 * localedata/locales/hak_TW: Likewise.
5708 * localedata/locales/he_IL: Likewise.
5709 * localedata/locales/hi_IN: Likewise.
5710 * localedata/locales/hif_FJ: Likewise.
5711 * localedata/locales/hne_IN: Likewise.
5712 * localedata/locales/hr_HR: Likewise.
5713 * localedata/locales/hsb_DE: Likewise.
5714 * localedata/locales/ht_HT: Likewise.
5715 * localedata/locales/hu_HU: Likewise.
5716 * localedata/locales/hy_AM: Likewise.
5717 * localedata/locales/i18n: Likewise.
5718 * localedata/locales/ia_FR: Likewise.
5719 * localedata/locales/id_ID: Likewise.
5720 * localedata/locales/ig_NG: Likewise.
5721 * localedata/locales/ik_CA: Likewise.
5722 * localedata/locales/is_IS: Likewise.
5723 * localedata/locales/it_CH: Likewise.
5724 * localedata/locales/it_IT: Likewise.
5725 * localedata/locales/iu_CA: Likewise.
5726 * localedata/locales/ja_JP: Likewise.
5727 * localedata/locales/ka_GE: Likewise.
5728 * localedata/locales/kk_KZ: Likewise.
5729 * localedata/locales/kl_GL: Likewise.
5730 * localedata/locales/kn_IN: Likewise.
5731 * localedata/locales/ko_KR: Likewise.
5732 * localedata/locales/kok_IN: Likewise.
5733 * localedata/locales/ks_IN: Likewise.
5734 * localedata/locales/ks_IN@devanagari: Likewise.
5735 * localedata/locales/ku_TR: Likewise.
5736 * localedata/locales/kw_GB: Likewise.
5737 * localedata/locales/ky_KG: Likewise.
5738 * localedata/locales/lb_LU: Likewise.
5739 * localedata/locales/lg_UG: Likewise.
5740 * localedata/locales/li_BE: Likewise.
5741 * localedata/locales/li_NL: Likewise.
5742 * localedata/locales/lij_IT: Likewise.
5743 * localedata/locales/ln_CD: Likewise.
5744 * localedata/locales/lo_LA: Likewise.
5745 * localedata/locales/lt_LT: Likewise.
5746 * localedata/locales/lv_LV: Likewise.
5747 * localedata/locales/lzh_TW: Likewise.
5748 * localedata/locales/mag_IN: Likewise.
5749 * localedata/locales/mai_IN: Likewise.
5750 * localedata/locales/mg_MG: Likewise.
5751 * localedata/locales/mhr_RU: Likewise.
5752 * localedata/locales/mi_NZ: Likewise.
5753 * localedata/locales/mk_MK: Likewise.
5754 * localedata/locales/ml_IN: Likewise.
5755 * localedata/locales/mn_MN: Likewise.
5756 * localedata/locales/mni_IN: Likewise.
5757 * localedata/locales/mr_IN: Likewise.
5758 * localedata/locales/ms_MY: Likewise.
5759 * localedata/locales/mt_MT: Likewise.
5760 * localedata/locales/my_MM: Likewise.
5761 * localedata/locales/nan_TW: Likewise.
5762 * localedata/locales/nan_TW@latin: Likewise.
5763 * localedata/locales/nb_NO: Likewise.
5764 * localedata/locales/nds_DE: Likewise.
5765 * localedata/locales/nds_NL: Likewise.
5766 * localedata/locales/ne_NP: Likewise.
5767 * localedata/locales/nhn_MX: Likewise.
5768 * localedata/locales/niu_NU: Likewise.
5769 * localedata/locales/niu_NZ: Likewise.
5770 * localedata/locales/nl_AW: Likewise.
5771 * localedata/locales/nl_BE: Likewise.
5772 * localedata/locales/nl_NL: Likewise.
5773 * localedata/locales/nn_NO: Likewise.
5774 * localedata/locales/nr_ZA: Likewise.
5775 * localedata/locales/nso_ZA: Likewise.
5776 * localedata/locales/oc_FR: Likewise.
5777 * localedata/locales/om_ET: Likewise.
5778 * localedata/locales/om_KE: Likewise.
5779 * localedata/locales/or_IN: Likewise.
5780 * localedata/locales/os_RU: Likewise.
5781 * localedata/locales/pa_IN: Likewise.
5782 * localedata/locales/pa_PK: Likewise.
5783 * localedata/locales/pap_AW: Likewise.
5784 * localedata/locales/pap_CW: Likewise.
5785 * localedata/locales/pl_PL: Likewise.
5786 * localedata/locales/ps_AF: Likewise.
5787 * localedata/locales/pt_BR: Likewise.
5788 * localedata/locales/pt_PT: Likewise.
5789 * localedata/locales/quz_PE: Likewise.
5790 * localedata/locales/raj_IN: Likewise.
5791 * localedata/locales/ro_RO: Likewise.
5792 * localedata/locales/ru_RU: Likewise.
5793 * localedata/locales/ru_UA: Likewise.
5794 * localedata/locales/rw_RW: Likewise.
5795 * localedata/locales/sa_IN: Likewise.
5796 * localedata/locales/sat_IN: Likewise.
5797 * localedata/locales/sc_IT: Likewise.
5798 * localedata/locales/sd_IN: Likewise.
5799 * localedata/locales/sd_IN@devanagari: Likewise.
5800 * localedata/locales/se_NO: Likewise.
5801 * localedata/locales/sgs_LT: Likewise.
5802 * localedata/locales/shs_CA: Likewise.
5803 * localedata/locales/si_LK: Likewise.
5804 * localedata/locales/sid_ET: Likewise.
5805 * localedata/locales/sk_SK: Likewise.
5806 * localedata/locales/sl_SI: Likewise.
5807 * localedata/locales/sm_WS: Likewise.
5808 * localedata/locales/so_DJ: Likewise.
5809 * localedata/locales/so_ET: Likewise.
5810 * localedata/locales/so_KE: Likewise.
5811 * localedata/locales/so_SO: Likewise.
5812 * localedata/locales/sq_AL: Likewise.
5813 * localedata/locales/sq_MK: Likewise.
5814 * localedata/locales/sr_ME: Likewise.
5815 * localedata/locales/sr_RS: Likewise.
5816 * localedata/locales/sr_RS@latin: Likewise.
5817 * localedata/locales/ss_ZA: Likewise.
5818 * localedata/locales/st_ZA: Likewise.
5819 * localedata/locales/sv_FI: Likewise.
5820 * localedata/locales/sv_SE: Likewise.
5821 * localedata/locales/sw_KE: Likewise.
5822 * localedata/locales/sw_TZ: Likewise.
5823 * localedata/locales/szl_PL: Likewise.
5824 * localedata/locales/ta_IN: Likewise.
5825 * localedata/locales/ta_LK: Likewise.
5826 * localedata/locales/tcy_IN: Likewise.
5827 * localedata/locales/te_IN: Likewise.
5828 * localedata/locales/tg_TJ: Likewise.
5829 * localedata/locales/th_TH: Likewise.
5830 * localedata/locales/the_NP: Likewise.
5831 * localedata/locales/ti_ER: Likewise.
5832 * localedata/locales/ti_ET: Likewise.
5833 * localedata/locales/tig_ER: Likewise.
5834 * localedata/locales/tk_TM: Likewise.
5835 * localedata/locales/tl_PH: Likewise.
5836 * localedata/locales/tn_ZA: Likewise.
5837 * localedata/locales/to_TO: Likewise.
5838 * localedata/locales/tpi_PG: Likewise.
5839 * localedata/locales/tr_CY: Likewise.
5840 * localedata/locales/tr_TR: Likewise.
5841 * localedata/locales/ts_ZA: Likewise.
5842 * localedata/locales/tt_RU: Likewise.
5843 * localedata/locales/tt_RU@iqtelif: Likewise.
5844 * localedata/locales/ug_CN: Likewise.
5845 * localedata/locales/uk_UA: Likewise.
5846 * localedata/locales/unm_US: Likewise.
5847 * localedata/locales/ur_IN: Likewise.
5848 * localedata/locales/ur_PK: Likewise.
5849 * localedata/locales/uz_UZ: Likewise.
5850 * localedata/locales/uz_UZ@cyrillic: Likewise.
5851 * localedata/locales/ve_ZA: Likewise.
5852 * localedata/locales/vi_VN: Likewise.
5853 * localedata/locales/wa_BE: Likewise.
5854 * localedata/locales/wae_CH: Likewise.
5855 * localedata/locales/wal_ET: Likewise.
5856 * localedata/locales/wo_SN: Likewise.
5857 * localedata/locales/xh_ZA: Likewise.
5858 * localedata/locales/yi_US: Likewise.
5859 * localedata/locales/yo_NG: Likewise.
5860 * localedata/locales/yue_HK: Likewise.
5861 * localedata/locales/yuw_PG: Likewise.
5862 * localedata/locales/zh_CN: Likewise.
5863 * localedata/locales/zh_HK: Likewise.
5864 * localedata/locales/zh_SG: Likewise.
5865 * localedata/locales/zh_TW: Likewise.
5866 * localedata/locales/zu_ZA: Likewise.
5868 2017-11-13 Florian Weimer <fweimer@redhat.com>
5870 * support/next_to_fault.h, support/next_to_fault.c: New files.
5871 * support/Makefile (libsupport-routines): Add next_to_fault.
5872 * resolv/tst-inet_pton.c (struct next_to_fault)
5873 (next_to_fault_allocate, next_to_fault_free): Remove.
5874 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
5876 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
5878 * elf/dl-support.c: Include <dl-procruntime.c>.
5879 * include/link.h: Include <link_map.h>.
5880 * sysdeps/generic/dl-procruntime.c: New file.
5881 * sysdeps/generic/link_map.h: Likewise.
5882 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
5883 the writable ld.so namespace.
5885 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
5887 timezone: pacify GCC -Wstringop-truncation
5888 Problem reported by Martin Sebor in:
5889 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
5890 * timezone/zic.c (writezone): Use memcpy, not strncpy.
5892 2017-11-12 Florian Weimer <fweimer@redhat.com>
5894 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
5896 (tests): Add tst-xreadlink.
5897 * support/support.h (xstrndup): Declare.
5898 * support/xunistd.h (xunlink, xreadlink): Declare.
5899 * support/temp_file.h (support_create_temp_directory): Declare.
5900 * support/temp_file.c (support_create_temp_directory): New function.
5901 * support/support_chroot.c (support_chroot_create): Use it.
5902 * support/xreadlink.c: New file.
5903 * support/xstrndup.c: Likewise.
5904 * support/xunlink.c: Likewise.
5905 * support/tst-xreadlink.c: Likewise.
5907 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
5909 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
5911 2017-11-11 Florian Weimer <fweimer@redhat.com>
5915 * resolv/res_comp.c (printable_string, binary_hnok)
5916 (binary_leading_dash): New functions.
5917 (res_hnok): Reimplement using these functions and ns_name_pton.
5918 (res_ownok): Likewise.
5919 (res_mailok): Reimplement using printable_string, ns_name_pton and
5921 (res_dnok): Reimplement using printable_string and ns_name_pton.
5922 * resolv/tst-res_hnok.c (tests): Add additional tests.
5923 (LETTERDIGITS, PRINTABLE): Define.
5924 (do_test): Adjust one_char results.
5926 2017-11-11 Florian Weimer <fweimer@redhat.com>
5929 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
5930 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
5932 2017-11-11 Florian Weimer <fweimer@redhat.com>
5934 * resolv/tst-ns_name_pton.c: New file.
5935 * resolv/Makefile (tests): Add tst-ns_name_pton.
5936 (tst-ns_name_pton): Link against libresolv.
5938 2017-11-11 Florian Weimer <fweimer@redhat.com>
5940 * resolv/tst-res_hnok.c: New file.
5941 * resolv/Makefile (tests): Add tst-res_hnok.
5942 (tst-res_hnok): Link against libresolv.
5944 2017-11-11 Florian Weimer <fweimer@redhat.com>
5946 * resolv/tst-resolv-network.c: Use test framework instead explicit
5949 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
5951 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
5953 [!_ISOMAC] (STR_HELPER): New.
5954 [!_ISOMAC] (STR): Likewise.
5955 [!_ISOMAC] (TEST_SIZE): Likewise.
5956 [!_ISOMAC] (TEST_ALIGN): Likewise.
5957 [!_ISOMAC] (TEST_OFFSET): Likewise.
5958 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
5959 field offsets of jmp_buf as well as sigjmp_buf.
5960 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
5961 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
5962 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
5963 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
5964 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
5965 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
5966 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
5967 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
5968 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
5969 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
5971 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
5973 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
5974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
5976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
5978 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
5979 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
5980 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
5981 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
5982 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
5983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
5985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
5987 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
5988 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
5989 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
5991 2017-11-07 Joseph Myers <joseph@codesourcery.com>
5994 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5995 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
5996 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5997 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
5998 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
5999 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
6000 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6001 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
6002 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6003 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
6004 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6005 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
6006 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6007 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
6008 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6009 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
6010 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6011 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
6012 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6013 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
6014 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6015 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
6016 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6017 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
6018 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6019 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
6020 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6021 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
6022 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6023 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
6024 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6025 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
6026 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6027 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
6028 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6029 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
6030 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6031 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
6032 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6033 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
6034 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6035 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
6036 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6037 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
6038 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6039 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
6040 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6041 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
6042 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6043 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
6044 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6045 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
6046 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6047 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
6048 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6049 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
6050 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6051 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
6052 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6053 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
6054 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6055 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
6056 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6057 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
6058 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6059 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
6060 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6061 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
6062 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6063 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
6064 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6065 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
6066 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6067 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
6068 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6069 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
6070 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6071 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
6072 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6073 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
6074 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6075 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
6076 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6077 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
6078 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6079 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
6080 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6081 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
6083 * stdlib/tst-strtod.h (F16): New macro.
6089 (IF_FLOAT16): Likewise.
6090 (IF_FLOAT32): Likewise.
6091 (IF_FLOAT64): Likewise.
6092 (IF_FLOAT32X): Likewise.
6093 (IF_FLOAT64X): Likewise.
6094 (IF_FLOAT128X): Likewise.
6095 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
6096 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
6097 (STRTOD_TEST_FOREACH): Likewise.
6098 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
6099 (CHOOSE_f64): Likewise.
6100 (CHOOSE_f32x): Likewise.
6101 (CHOOSE_f64x): Likewise.
6103 2017-11-07 Andreas Schwab <schwab@suse.de>
6105 * nptl/Makefile (tests-internal): Remove tst-typesizes.
6107 2017-11-07 Mike FABIAN <mfabian@redhat.com>
6110 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
6112 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
6115 2017-11-07 Claude Paroz <claude@2xlibre.net>
6118 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
6120 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
6122 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
6125 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6128 * nptl/allocatestack.c (allocate_stack): Check if
6129 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
6130 __PTHREAD_MUTEX_HAVE_PREV is defined.
6131 * nptl/descr.h (pthread): Likewise.
6132 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6134 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
6135 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6136 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
6137 * sysdeps/nptl/bits/thread-shared-types.h
6138 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
6140 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
6141 of __WORDSIZE for internal layout.
6142 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
6143 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
6144 instead of __WORDSIZE whether to use an union for __spins and __list
6146 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
6148 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
6149 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
6151 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
6152 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6154 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
6155 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6157 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
6158 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6160 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
6161 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6163 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
6164 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6166 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
6167 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6169 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
6170 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6172 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
6173 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6175 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
6176 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6178 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
6179 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6181 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
6182 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6184 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
6185 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6187 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
6188 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6190 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
6191 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6194 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
6196 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
6197 checks for expected input type size.
6198 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
6199 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
6201 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6202 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
6203 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6204 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
6205 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
6206 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
6207 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
6208 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
6209 superflous runtime assert check.
6210 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
6212 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
6214 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6216 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
6218 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
6220 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
6222 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
6223 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
6224 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6226 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6228 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6230 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
6232 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6234 * nptl/pthread_attr_setinheritsched.c
6235 (__pthread_attr_setinheritsched): Likewise.
6236 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
6238 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
6240 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
6241 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
6242 __old_pthread_attr_setstack): Likewise.
6243 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6245 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6247 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
6249 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6250 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6252 * nptl/tst-typesizes.c: Remove file.
6254 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
6255 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
6256 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
6257 checks for internal pthread_mutex_t offsets.
6258 * sysdeps/aarch64/nptl/pthread-offsets.h
6259 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
6260 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
6261 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
6262 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
6263 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
6264 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
6265 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
6266 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
6267 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
6268 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
6269 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
6270 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
6271 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
6272 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
6273 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
6274 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
6275 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
6276 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
6278 2017-11-07 Florian Weimer <fweimer@redhat.com>
6280 * bits/mman-linux.h: Move ...
6281 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
6283 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
6286 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6288 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
6289 Redefine STRNLEN as __strnlen_power8.
6291 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6293 * signal/sighold.c (sighold): Optimize implementation.
6295 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
6296 __NR_rt_sigqueueinfo.
6298 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6300 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
6301 assume __NR_rt_sigtimedwait.
6302 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
6303 and add LIBC_CANCEL_HANDLED for cancellation marking.
6304 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6306 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
6307 (sysdeps_routines): Add memchr_noneon.
6308 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
6309 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
6310 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
6311 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
6312 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
6313 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
6314 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
6316 * sysdeps/arm/arm-ifunc.h: New file.
6317 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
6318 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
6319 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
6320 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
6321 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
6322 (__memcpy_neon): Avoid create hidden alias.
6323 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
6324 (__memcpy_vfp): Likewise.
6325 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
6326 (sysdep_routines): Add memcpy_arm.
6327 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
6329 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
6332 * Makerules (make-link-multidir): New.
6333 * config.make.in (multidir): New.
6334 * configure.ac (libc_cv_multidir): New. AC_SUBST.
6335 * configure: Regenerated.
6336 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
6337 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
6338 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
6341 2017-11-06 Joseph Myers <joseph@codesourcery.com>
6344 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
6345 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
6347 2017-11-04 Mike FABIAN <mfabian@redhat.com>
6349 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
6352 2017-11-04 Florian Weimer <fweimer@redhat.com>
6354 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
6356 2017-11-03 Joseph Myers <joseph@codesourcery.com>
6358 * math/math.h [__HAVE_DISTINCT_FLOAT16
6359 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
6360 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
6361 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
6362 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
6363 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
6364 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
6365 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
6366 (__MATH_TG_F32): New macro.
6367 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
6368 (__MATH_TG_F64X): Likewise.
6369 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
6370 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
6372 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
6374 * po/de.po: Update translations.
6375 * po/ru.po: Likewise.
6377 2017-11-03 Florian Weimer <fweimer@redhat.com>
6379 * manual/filesys.texi (Hard Links): Document linkat.
6381 2017-11-03 Joseph Myers <joseph@codesourcery.com>
6383 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
6384 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
6385 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
6386 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
6387 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
6388 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
6389 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
6390 the same as _Float128.
6391 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
6392 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
6393 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
6396 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
6398 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
6400 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
6402 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6403 (strtof32x): Likewise.
6404 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6405 (strtof64x): Likewise.
6406 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6407 (strtof128x): Likewise.
6408 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6409 (strfromf16): Likewise.
6410 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6411 (strfromf32): Likewise.
6412 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6413 (strfromf64): Likewise.
6414 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6415 (strfromf32x): Likewise.
6416 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6417 (strfromf64x): Likewise.
6418 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6419 (strfromf128x): Likewise.
6420 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
6421 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
6422 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
6423 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
6424 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
6425 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
6427 2017-11-03 Richard Henderson <rth@twiddle.net>
6429 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
6431 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6433 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
6435 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6437 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
6438 DT_TLSDESC_GOT initialization.
6439 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
6440 (_dl_tlsdesc_resolve_hold): Likewise.
6441 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
6442 (_dl_tlsdesc_resolve_hold): Likewise.
6443 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
6444 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
6446 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6448 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
6450 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6453 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
6454 non-lazily for R_ARM_TLS_DESC.
6456 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6459 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
6460 R_ARM_TLS_DESC case.
6461 (elf_machine_lazy_rel): Remove the prelink check.
6463 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6465 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
6466 DT_TLSDESC_GOT initialization.
6467 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
6468 (_dl_tlsdesc_resolve_rela): Likewise.
6469 (_dl_tlsdesc_resolve_hold): Likewise.
6470 (_dl_tlsdesc_undefweak): Remove ldar.
6471 (_dl_tlsdesc_dynamic): Likewise.
6472 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
6473 (_dl_tlsdesc_resolve_rela): Likewise.
6474 (_dl_tlsdesc_resolve_hold): Likewise.
6475 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
6476 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
6477 (_dl_tlsdesc_resolve_rela): Likewise.
6478 (_dl_tlsdesc_resolve_hold): Likewise.
6480 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6482 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
6483 binding and initialization non-lazily for R_AARCH64_TLSDESC.
6485 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6487 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
6488 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6490 2017-11-02 Joseph Myers <joseph@codesourcery.com>
6492 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
6494 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
6495 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
6496 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
6497 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
6498 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
6499 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
6500 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
6501 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
6502 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
6503 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
6504 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
6506 2017-11-02 Mike FABIAN <mfabian@redhat.com>
6509 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
6510 * localedata/locales/tpi_PG: Add standard header.
6512 2017-11-02 Florian Weimer <fweimer@redhat.com>
6514 test-errno-linux: quotactl can fail with EPERM in containers.
6515 * sysdeps/unix/sysv/linux/test-errno-linux.c
6516 (LIST, LIST_FORWARD): New macros.
6517 (check_error_in_list): New function.
6518 (test_wrp_rv): Accept list of permitted error codes.
6519 (test_wrp_rv2): Remove.
6520 (test_wrp): Call test_wrp_rv with list of error codes.
6521 (test_wrp2): Accept list of error codes.
6522 (do_test): Adjust. Allow EPERM for quotactl.
6524 2017-11-02 Florian Weimer <fweimer@redhat.com>
6526 * stdio-common/bug16.c (do_test): Use array_length.
6527 * stdio-common/errlist.c (_sys_nerr): Likewise.
6528 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
6529 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
6530 * stdio-common/psiginfo.c (psiginfo): Use array_length.
6531 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
6532 (do_test): Use array_length.
6533 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
6534 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
6535 * stdio-common/tst-printf-round.c (do_test): Likewise.
6536 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
6537 (CHECK): Use array_length.
6538 * stdio-common/tstdiomisc.c (t3, F): Likewise.
6539 * stdio-common/tstscanf.c (main): Likewise.
6540 * stdio-common/vfprintf.c (process_string_arg): Likewise.
6542 2017-11-02 Florian Weimer <fweimer@redhat.com>
6544 Add array_length and array_end macros.
6545 * include/array_length.h: New file.
6547 2017-11-02 Florian Weimer <fweimer@redhat.com>
6550 * posix/tst-glob-tilde.c (do_noescape): New variable.
6551 (one_test): Process it.
6552 (do_test): Set do_noescape. Add unescaping test case.
6554 2017-11-01 Joseph Myers <joseph@codesourcery.com>
6557 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
6558 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
6559 with appropriate macros defined and undefined.
6560 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
6561 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6562 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
6563 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6564 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
6565 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6566 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
6567 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6568 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
6569 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6572 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
6573 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
6574 that for long double. Do not condition define and undefine of
6575 _Mdouble_complex_ on [__CFLOAT128].
6577 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
6579 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
6580 of <sysdeps/generic/sysdep.h>.
6581 (ALIGNARG): Removed.
6582 (ASM_SIZE_DIRECTIVE): Likewise.
6585 (ENTRY_CHK): Likewise.
6586 (END_CHK): Likewise.
6587 (syscall_error): Likewise.
6589 (PSEUDO_END): Likewise.
6591 (atom_text_section): Likewise.
6592 * sysdeps/x86/sysdep.h: New file.
6593 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
6594 of <sysdeps/generic/sysdep.h>.
6595 (ALIGNARG): Removed.
6596 (ASM_SIZE_DIRECTIVE): Likewise.
6599 (ENTRY_CHK): Likewise.
6600 (END_CHK): Likewise.
6601 (syscall_error): Likewise.
6603 (PSEUDO_END): Likewise.
6605 (atom_text_section): Likewise.
6607 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
6609 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
6610 category of LC_CTYPE set to "i18n:2012".
6611 * localedata/locales/i18n_ctype: Regenerate.
6613 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
6615 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
6616 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
6617 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6618 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6620 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
6621 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
6622 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
6623 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
6625 2017-10-31 Joseph Myers <joseph@codesourcery.com>
6628 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
6630 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
6632 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
6634 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6635 (CMPLXF32X): Likewise.
6636 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6637 (CMPLXF64X): Likewise.
6638 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6639 (CMPLXF128X): Likewise.
6642 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
6643 (__MATH_EVAL_FMT2): Define to add 0.0f.
6645 2017-10-31 Alan Modra <amodra@gmail.com>
6647 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
6649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
6650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
6651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
6654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
6655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
6656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
6657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
6658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
6659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
6662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
6663 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
6664 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
6665 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
6666 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6667 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
6668 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
6669 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6670 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6671 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6672 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6673 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6674 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6675 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6676 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6677 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
6678 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
6679 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6680 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6681 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6682 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6683 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
6684 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6685 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6686 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
6687 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
6688 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6689 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
6690 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
6691 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6692 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6693 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6694 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6695 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6696 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
6697 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6698 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6699 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6700 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
6701 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
6702 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6703 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6704 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6705 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6706 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6707 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6708 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6709 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6710 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6711 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6712 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6713 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
6714 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6715 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
6716 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
6717 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
6719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
6720 include sysdep.h and math_ldbl_opt.h.
6722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
6723 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
6724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
6725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
6726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
6727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
6728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
6729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
6730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
6731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
6732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
6733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
6734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
6735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
6736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
6737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
6738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
6739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
6740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
6741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
6742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
6743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
6744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
6745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
6746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
6747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
6749 2017-10-31 Alan Modra <amodra@gmail.com>
6751 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
6752 string/strncase_l.c, not string/strncase.c.
6753 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
6754 (libc_hidden_def): Redefine.
6756 2017-10-31 Alan Modra <amodra@gmail.com>
6758 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
6759 (__STRCMP, STRCMP, __strcasecmp_l): Define.
6760 (__strcasecmp): Don't define.
6762 2017-10-31 Alan Modra <amodra@gmail.com>
6764 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
6766 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6767 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6768 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6770 2017-10-31 Alan Modra <amodra@gmail.com>
6772 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
6775 2017-10-31 Alan Modra <amodra@gmail.com>
6777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
6778 Redefine only when SHARED.
6780 2017-10-30 Joseph Myers <joseph@codesourcery.com>
6782 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
6783 Include <bits/math-finite.h> with appropriate macros defined and
6785 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
6786 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
6787 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
6788 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
6789 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
6791 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
6792 [!_Mlong_double_] (_Mlong_double_): Likewise.
6793 [!_Mfloat16_] (_Mfloat16_): Likewise.
6794 [!_Mfloat32_] (_Mfloat32_): Likewise.
6795 [!_Mfloat64_] (_Mfloat64_): Likewise.
6796 [!_Mfloat128_] (_Mfloat128_): Likewise.
6797 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
6798 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
6799 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
6800 (_Mdouble_): Define without indirection through those macros.
6801 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
6802 [!_Mfloat128_] (_Mfloat128_): Likewise.
6803 [_Mlong_double_] (_Mlong_double_): Likewise.
6804 (_Mdouble_): Define without indirection through those macros.
6805 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
6806 not add -D_Mlong_double_=double.
6807 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
6808 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
6810 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
6812 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
6814 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
6816 * sysdeps/x86/libc-start.c: Reformat.
6818 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
6821 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
6825 (L(Src2)): Likewise.
6826 (L(1)): Renamed to ...
6829 2017-10-30 Joseph Myers <joseph@codesourcery.com>
6831 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
6832 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
6833 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
6834 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
6835 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
6836 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
6837 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
6838 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
6839 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
6840 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
6841 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
6842 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
6843 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
6844 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
6845 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
6846 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
6847 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
6848 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
6849 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
6850 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
6851 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
6852 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
6853 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
6854 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
6855 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
6856 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
6857 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
6858 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
6859 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
6860 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
6861 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
6862 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
6863 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
6864 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
6865 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
6866 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
6867 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
6868 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
6869 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
6870 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
6871 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
6872 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
6873 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
6874 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
6875 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
6876 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
6877 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
6878 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
6879 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
6880 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
6881 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
6882 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
6883 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
6884 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
6885 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
6886 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
6887 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
6888 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
6889 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
6890 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
6891 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
6892 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
6893 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
6894 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
6895 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
6896 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
6898 2017-10-30 Florian Weimer <fweimer@redhat.com>
6900 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
6902 * io/tst-mkdirat.c (do_test): Likewise.
6903 * io/tst-mkfifoat.c (do_test): Likewise.
6904 * io/tst-mknodat.c (do_test): Likewise.
6905 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
6906 * locale/programs/locale.c (select_dirs): Likewise.
6907 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
6908 * posix/bug-glob2.c (my_readdir): Likewise.
6909 * posix/tst-dir.c (main): Likewise.
6910 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
6911 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
6913 2017-10-30 Florian Weimer <fweimer@redhat.com>
6915 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
6918 2017-10-30 Florian Weimer <fweimer@redhat.com>
6920 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
6921 Convert to support/test-driver.c.
6922 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
6923 New macro parameters.
6924 (PRINTF): Remove macro. Use test_verbose conditionals instead.
6925 * posix/tst-gnuglob.c: New file.
6926 * posix/tst-gnuglob64.c: Likewise.
6927 * posix/Makefile (tests): Add tst-gnuglob64.
6929 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
6932 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
6933 and use a better translation for March in “mon”.
6934 * localedata/locales/csb_PL: Use more ASCII to improve the
6935 readability of the source.
6937 2017-10-30 Mike FABIAN <mfabian@redhat.com>
6940 * localedata/locales/km_KH: Use ASCII as much
6941 as possible for better readability of the source and
6942 remove useless comments.
6943 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
6944 was commented out and apparently wrong anyway because it was
6945 using Lao characters. If Buddhist era should be used
6946 for km_KH, a native speaker should write the correct formaat
6948 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
6949 (According to CLDR, the first weekday for Cambodia is Sunday).
6950 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
6951 (These were using Lao characters which must be wrong. If we get
6952 the correct data from a native speaker, we could add it back, until
6953 then it is better not to have name_mr and name_mrs at all than
6956 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
6958 * locale/loadlocale.c: Correct size of
6959 _nl_value_type_LC_<category> arrays.
6961 2017-10-27 Joseph Myers <joseph@codesourcery.com>
6963 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
6964 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
6965 with appropriate macros defined and undefined.
6966 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
6967 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
6968 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
6969 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
6970 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
6972 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
6974 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
6977 2017-10-27 Mike FABIAN <mfabian@redhat.com>
6979 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
6980 with lowercase letters to make it agree with CLDR.
6982 2017-10-27 Mike FABIAN <mfabian@redhat.com>
6985 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
6986 first letters of yesstr and nostr in yesexpr and noexpr,
6987 not for the full words.
6988 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
6989 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
6990 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
6991 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
6992 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
6993 first letters of yesstr and nostr in yesexpr and noexpr,
6994 until now only English was matched in yesexpr and noexpr.
6995 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
6996 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
6997 fil but not for tl. As tl and fil are very similar, using fil
6998 is probably better than using English.
7000 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
7003 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
7004 in yesstr and nostr.
7006 2017-10-26 Joseph Myers <joseph@codesourcery.com>
7008 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
7009 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
7010 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
7012 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
7014 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
7016 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
7018 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7019 (SNANF128X): Likewise.
7021 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
7022 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
7023 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7024 (HUGE_VAL_F32): Likewise.
7025 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7026 (HUGE_VAL_F64): Likewise.
7027 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7028 (HUGE_VAL_F32X): Likewise.
7029 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7030 (HUGE_VAL_F64X): Likewise.
7031 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7032 (HUGE_VAL_F128X): Likewise.
7034 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
7036 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
7037 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
7038 for the br_FR locale.
7040 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
7043 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
7045 2017-10-25 Carlos O'Donell <carlos@redhat.com>
7047 * locale/programs/record-status.h: Define globals, and function
7048 prototypes. Move function bodies...
7049 * locale/programs/record-status.c: ... to here. New file.
7050 * iconv/Makefile (iconv_prog-modules): Add record-status.
7051 * locale/Makefile (lib-modules): Likewise.
7052 * iconv/iconv_prog.c: Remove verbose.
7053 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
7054 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
7055 record a warning about ASCII compatibility.
7056 * locale/programs/ld-monetary.c (monetary_finish): If
7057 warn_int_curr_symbol is true then record a warning about the symbol
7058 not being in our ISO 4217 list.
7059 * locale/programs/locale.c: Include record-status.h. Remove verbose.
7060 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
7061 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
7062 (OPT_NO_WARN): Define.
7064 (options): Add entry for --no-warnings, and --warnings.
7065 (set_warnings): New function to enable/disable warnings.
7066 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
7067 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
7068 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
7069 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
7070 Pass flags to generate_locale.
7071 (generate_locale): Accept new flag argument and pass it to localedef
7073 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
7074 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
7076 * localedata/Makefile (test-input-data): Use full file name.
7077 * localedata/da_DK.in: Rename to...
7078 * localedata/da_DK.ISO-8859-1.in: ...this.
7079 * localedata/de_DE.in: Rename to...
7080 * localedata/de_DE.ISO-8859-1.in: ...this.
7081 * localedata/en_US.in: Rename to...
7082 * localedata/en_US.ISO-8859-1.in: ...this.
7083 * localedata/fr_FR.in: Rename to...
7084 * localedata/fr_FR.UTF-8.in: ... this.
7085 * localedata/hr_HR.in: Rename to...
7086 * localedata/hr_HR.ISO-8859-2.in: ...this.
7087 * localedata/hu_HU.in: Rename to...
7088 * localedata/hu_HU.UTF-8.in: ...this.
7089 * localedata/si_LK.in: Rename to...
7090 * localedata/si_LK.UTF-8.in: ...this.
7091 * localedata/sv_SE.in: Rename to...
7092 * localedata/sv_SE.ISO-8859-1.in: ...this.
7093 * localedata/tr_TR.in: Rename to...
7094 * localedata/tr_TR.UTF-8.in: ...this.
7095 * localedata/uk_UA.in: Rename to...
7096 * localedata/uk_UA.UTF-8.in: ...this.
7097 * localedata/sort-test.sh: Test file is locale name with the
7100 * localedata/unicode-gen/Makefile (check_i18n): Rename to
7101 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
7103 * localedata/locales/i18n_ctype: Regenerate.
7104 * localedata/locales/tr_TR: Likewise.
7105 * localedata/locales/translit_circle: Likewise.
7106 * localedata/locales/translit_cjk_compat: Likewise.
7107 * localedata/locales/translit_combining: Likewise.
7108 * localedata/locales/translit_compat: Likewise.
7109 * localedata/locales/translit_font: Likewise.
7110 * localedata/locales/translit_fraction: Likewise.
7112 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7114 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
7115 lxvd2x/stxvd2x with lvx/stvx.
7116 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
7118 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
7120 * include/alloc_buffer.h: Replace "if if " with "if " in
7122 * sysdeps/mips/memcpy.S: Likkewise.
7123 * sysdeps/mips/memset.S: Likewise.
7124 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
7126 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
7128 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
7131 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7134 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
7136 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
7137 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
7138 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
7139 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
7140 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
7141 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
7142 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
7144 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7146 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
7147 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
7148 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
7149 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
7150 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
7151 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
7152 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
7153 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
7154 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
7155 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
7156 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
7157 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
7159 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7161 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
7162 as possible for better readability of the source.
7163 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
7164 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
7165 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
7166 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
7167 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
7168 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
7169 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
7170 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
7171 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
7172 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
7173 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
7174 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
7175 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
7176 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
7177 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
7178 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
7179 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
7180 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
7181 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
7182 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
7183 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
7184 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
7185 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
7186 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
7187 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
7188 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
7189 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
7190 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
7191 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
7192 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
7193 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
7194 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
7195 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
7196 * localedata/locales/en_US (LC_MESSAGES): Likewise.
7197 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
7198 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
7199 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
7200 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
7201 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
7202 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
7203 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
7204 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
7205 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
7206 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
7207 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
7208 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
7209 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
7210 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
7211 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
7212 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
7213 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
7214 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
7215 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
7216 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
7217 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
7218 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
7219 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
7220 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
7221 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
7222 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
7223 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
7224 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
7225 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
7226 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
7227 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
7228 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
7229 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
7230 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
7231 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
7232 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
7233 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
7234 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
7235 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
7236 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
7237 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
7238 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
7239 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
7240 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
7241 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
7242 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
7243 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
7244 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
7245 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
7246 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
7247 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
7248 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
7249 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
7250 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
7251 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
7252 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
7253 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
7254 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
7255 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
7256 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
7257 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
7258 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
7259 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
7260 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
7261 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
7262 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
7263 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
7264 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
7265 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
7266 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
7267 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
7268 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
7269 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
7270 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
7271 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
7272 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
7273 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
7274 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
7275 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
7276 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
7277 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
7278 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
7279 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
7280 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
7281 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
7282 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
7283 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
7284 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
7285 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
7286 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
7287 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
7288 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
7289 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
7290 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
7291 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
7292 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
7293 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
7294 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
7295 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
7296 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
7297 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
7298 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
7299 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
7300 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
7301 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
7302 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
7303 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
7304 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
7305 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
7306 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
7307 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
7308 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
7309 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
7310 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
7311 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
7312 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
7313 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
7314 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
7315 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
7316 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
7317 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
7318 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
7319 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
7320 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
7321 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
7322 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
7323 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
7324 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
7325 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
7326 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
7327 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
7328 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
7329 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
7330 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
7331 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
7332 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
7333 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
7334 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
7335 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
7336 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
7338 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7340 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
7341 (Use first letters of yesstr and nostr correctly instead of using
7344 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7346 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
7347 (Use first letters of yesstr and nostr correctly).
7349 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7351 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
7352 also check for the first characters of yesstr and nostr.
7353 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
7354 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
7356 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7358 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
7359 also check for Chinese characters.
7361 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7363 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
7364 match also for the contents of yesstr and nostr. As the first letter
7365 of yesstr and nostr is equal, checking only for the first letter
7368 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7370 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
7371 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
7373 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7375 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
7376 of main contributor.
7378 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7380 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
7381 instead of using English.
7383 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7385 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
7386 by including the first letters of nostr and yesexpr in the regexp.
7387 Also make it more readable by using ASCII where possible.
7389 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7391 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
7392 the first letter of nostr in the regexp. It agrees with CLDR now.
7393 Also make it more readable by using ASCII where possible.
7395 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7397 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
7398 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
7399 these strings contain a U+17D6 (which somewhat looks like a colon)
7400 instead of a real colon to separate the full words for “yes”
7401 and “no” from the single letter responses.
7403 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7405 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
7406 it agree with CLDR (include the first letter of yesstr).
7407 Also make it more readable by using ASCII where possible.
7409 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7411 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
7412 and improve yesexpr and noexpr. The yesstr and nostr apparently
7413 came from CLDR. And CLDR has a bug there: these strings contain
7414 a U+0903 (which looks like a colon) instead of a real colon
7415 to separate the full words for “yes” and “no” from the single
7418 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7420 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
7421 letters of the full yesstr and nostr in yesexpr and noexpr.
7423 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7425 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
7426 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
7427 * localedata/locales/an_ES: Make source more readable by using ASCII
7430 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7433 * localedata/locales/yuw_PG: New file.
7434 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
7435 * locale/iso-639.def: Add Yau (Uruwa).
7437 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7439 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
7441 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7443 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
7444 (__libc_realloc): Likewise.
7445 (_mid_memalign): Likewise.
7446 (__libc_calloc): Likewise.
7448 2017-10-23 Mike FABIAN <mfabian@redhat.com>
7450 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
7451 by adding the generic +1 and -0 as in all other locales.
7452 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
7453 day names and make it more readable by using ASCII where possible.
7455 2017-10-24 Joseph Myers <joseph@codesourcery.com>
7457 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
7458 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
7460 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7462 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
7463 WNOHANG in waitpid call.
7465 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
7467 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
7468 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
7470 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
7471 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
7472 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
7473 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
7474 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
7475 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
7476 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
7477 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
7480 2017-10-23 Michael Collison <michael.collison@arm.com>
7482 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
7483 with __builtin_sqrt.
7484 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
7485 with __builtin_sqrtf.
7486 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
7487 with __builtin_ceil.
7488 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
7489 with __builtin_ceilf.
7490 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
7491 with __builtin_floor.
7492 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
7493 with __builtin_floorf.
7494 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
7496 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
7497 with __builtin_fmaf.
7498 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
7499 with __builtin_fmax.
7500 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
7501 with __builtin_fmaxf.
7502 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
7503 with __builtin_fmin.
7504 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
7505 with __builtin_fminf.
7506 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
7507 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
7508 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
7509 with builtin_rint and conversion to int.
7510 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
7511 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
7512 with builtin_llround.
7513 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
7514 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
7515 with builtin_rint and conversion to long int.
7516 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
7517 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
7518 with builtin_lround.
7519 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
7520 with builtin_lroundf.
7521 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
7522 statements with __builtin_nearbyint.
7523 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
7524 statements with __builtin_nearbyintf.
7525 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
7526 with __builtin_rint.
7527 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
7528 with __builtin_rintf.
7529 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
7530 with __builtin_round.
7531 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
7532 with __builtin_roundf.
7533 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
7534 with __builtin_trunc.
7535 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
7536 with __builtin_truncf.
7537 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
7538 and s_l[l]round[f].c too.
7540 2017-10-23 Alan Modra <amodra@gmail.com>
7542 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
7543 Adjust stack after restoring regs. Add missing LR cfi_restore.
7545 2017-10-23 Alan Modra <amodra@gmail.com>
7547 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
7548 Move LR save and frame setup/teardown and LR restore to
7549 immediately around memset call. Provide cfi.
7551 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7553 * sysdeps/i386/fpu/e_powf.S: Removed.
7554 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
7555 * sysdeps/i386/fpu/w_powf.c: Likewise.
7556 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
7557 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7558 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7560 (CFLAGS-e_powf-sse2.c): New.
7561 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
7562 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
7564 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7566 * sysdeps/i386/fpu/e_log2f.S: Removed.
7567 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
7568 * sysdeps/i386/fpu/w_log2f.c: Likewise.
7569 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
7570 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7571 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7573 (CFLAGS-e_log2f-sse2.c): New.
7574 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
7575 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
7577 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7579 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7581 (CFLAGS-e_powf-fma.c): New.
7582 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
7583 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
7585 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7587 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7589 (CFLAGS-e_log2f-fma.c): New.
7590 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
7591 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
7593 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7595 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7597 (CFLAGS-e_logf-fma.c): New.
7598 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
7599 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
7601 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7603 * sysdeps/i386/fpu/e_logf.S: Removed.
7604 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
7605 * sysdeps/i386/fpu/w_logf.c: Likewise.
7606 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
7607 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
7608 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7609 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7611 (CFLAGS-e_logf-sse2.c): New.
7612 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
7613 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
7615 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7617 * sysdeps/i386/fpu/e_exp2f.S: Removed.
7618 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
7619 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
7620 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7621 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7623 (CFLAGS-e_exp2f-sse2.c): New.
7624 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
7625 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
7627 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7629 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7631 (CFLAGS-e_exp2f-fma.c): New.
7632 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
7633 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
7635 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7637 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
7638 * sysdeps/i386/fpu/e_expf.S: Likewise.
7639 * sysdeps/i386/fpu/math_errf.c: Likewise.
7640 * sysdeps/i386/fpu/w_expf.c: Likewise.
7641 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
7642 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7643 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
7644 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
7645 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7646 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7648 (CFLAGS-e_expf-sse2.c): New.
7649 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
7650 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
7652 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7654 * sysdeps/x86_64/fpu/e_expf.S: Removed.
7655 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
7656 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
7657 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
7659 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
7661 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
7662 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
7664 (__redirect_expf): This.
7665 (SYMBOL_NAME): Changed to expf.
7666 (__ieee754_expf): Renamed to ...
7668 (__GI___expf): This.
7669 (__ieee754_expf): Add strong_alias.
7670 (__expf_finite): Likewise.
7672 Include <sysdeps/ieee754/flt-32/e_expf.c>.
7674 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
7677 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
7680 2017-10-21 Florian Weimer <fweimer@redhat.com>
7682 * posix/Makefile (tests): Add tst-glob-tilde.
7683 (tests-special): Add tst-glob-tilde-mem.out
7684 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
7685 (tst-glob-tilde-mem.out): Add mtrace check.
7686 * posix/tst-glob-tilde.c: New file.
7688 2017-10-20 Joseph Myers <joseph@codesourcery.com>
7690 * bits/floatn-common.h: New file.
7691 * math/Makefile (headers): Add bits/floatn-common.h.
7692 * bits/floatn.h: Include <bits/floatn-common.h>.
7693 * sysdeps/ia64/bits/floatn.h: Likewise.
7694 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
7695 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
7696 * sysdeps/powerpc/bits/floatn.h: Likewise.
7697 * sysdeps/x86/bits/floatn.h: Likewise.
7699 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7701 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
7702 indicates whether compiler emits an warning for alias for
7703 functions with incompatible types.
7706 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
7707 the auxiliary process is terminated by a signal before calling _exit
7710 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
7713 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
7715 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
7716 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
7717 and bit_arch_XSAVEC_Usable if needed.
7718 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
7719 and bit_arch_Use_dl_runtime_resolve_opt.
7720 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
7722 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
7723 (bit_arch_Prefer_No_AVX512): Updated.
7724 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
7725 (bit_arch_XSAVEC_Usable): New.
7726 (STATE_SAVE_OFFSET): Likewise.
7727 (STATE_SAVE_MASK): Likewise.
7728 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
7729 (cpu_features): Add xsave_state_size and xsave_state_full_size.
7730 (index_arch_Use_dl_runtime_resolve_opt): Removed.
7731 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
7732 (index_arch_XSAVEC_Usable): New.
7733 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
7734 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
7735 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
7737 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
7738 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
7739 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
7740 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
7741 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
7742 _dl_runtime_resolve_xsavec.
7743 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
7745 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
7746 instead of VEC_SIZE.
7747 (REGISTER_SAVE_BND0): Removed.
7748 (REGISTER_SAVE_BND1): Likewise.
7749 (REGISTER_SAVE_BND3): Likewise.
7750 (REGISTER_SAVE_RAX): Always defined to 0.
7752 (_dl_runtime_resolve_avx): Likewise.
7753 (_dl_runtime_resolve_avx_slow): Likewise.
7754 (_dl_runtime_resolve_avx_opt): Likewise.
7755 (_dl_runtime_resolve_avx512): Likewise.
7756 (_dl_runtime_resolve_avx512_opt): Likewise.
7757 (_dl_runtime_resolve_sse): Likewise.
7758 (_dl_runtime_resolve_sse_vex): Likewise.
7760 (_dl_runtime_resolve_fxsave): Likewise.
7761 (USE_XSAVE): Likewise.
7762 (_dl_runtime_resolve_xsave): Likewise.
7763 (USE_XSAVEC): Likewise.
7764 (_dl_runtime_resolve_xsavec): Likewise.
7765 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
7767 (_dl_runtime_resolve_avx512_opt): Likewise.
7768 (_dl_runtime_resolve_avx): Likewise.
7769 (_dl_runtime_resolve_avx_opt): Likewise.
7770 (_dl_runtime_resolve_sse): Likewise.
7771 (_dl_runtime_resolve_sse_vex): Likewise.
7772 (_dl_runtime_resolve_fxsave): New.
7773 (_dl_runtime_resolve_xsave): Likewise.
7774 (_dl_runtime_resolve_xsavec): Likewise.
7776 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
7780 * posix/glob.c (__glob): Fix one-byte overflow.
7782 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
7784 * malloc/malloc.c (sysdep-cancel.h): Add include.
7786 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
7788 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
7790 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
7792 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
7793 (tests): Remove $(objpfx)ga_test depdendency.
7794 * resolv/ga_test.c: Remove file.
7796 2017-10-20 Mike FABIAN <mfabian@redhat.com>
7799 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
7800 * localedata/locales/kab_DZ: New file.
7802 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
7804 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
7805 _dl_relocate_static_pie instead of _dl_start to compute load
7806 address in static PIE.
7808 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
7810 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
7812 2017-10-20 Mike FABIAN <mfabian@redhat.com>
7815 * localedata/SUPPORTED: Add shn_MM/UTF-8.
7816 * localedata/locales/shn_MM: New file.
7818 2017-10-20 Florian Weimer <fweimer@redhat.com>
7821 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
7822 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
7823 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
7824 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
7825 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
7826 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
7828 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
7830 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7832 2017-10-19 Joseph Myers <joseph@codesourcery.com>
7834 * sysdeps/mips/ieee754/bits/floatn.h: New file.
7837 * sysdeps/mips/bits/long-double.h: Move to ....
7838 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
7840 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
7842 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
7844 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
7845 H.J. Lu <hongjiu.lu@intel.com>
7848 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7849 GLRO(dl_platform) to NULL.
7850 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
7851 (modules-names): Add tst-platformmod-1 and
7852 x86_64/tst-platformmod-2.
7853 (CFLAGS-tst-platform-1.c): New.
7854 (CFLAGS-tst-platformmod-1.c): Likewise.
7855 (CFLAGS-tst-platformmod-2.c): Likewise.
7856 (LDFLAGS-tst-platformmod-2.so): Likewise.
7857 ($(objpfx)tst-platform-1): Likewise.
7858 ($(objpfx)tst-platform-1.out): Likewise.
7859 (tst-platform-1-ENV): Likewise.
7860 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
7861 * sysdeps/x86_64/tst-platform-1.c: New file.
7862 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
7863 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
7865 2017-10-19 Mike FABIAN <mfabian@redhat.com>
7868 * locale/iso-639.def: Add Karbi.
7869 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
7870 * localedata/locales/mjw_IN: New file.
7872 2017-10-18 Joseph Myers <joseph@codesourcery.com>
7874 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
7875 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
7876 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
7877 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
7878 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
7879 (libm_alias_ldouble_other_r): Also create _Float128 alias.
7880 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
7882 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
7883 (libm_alias_ldouble_other_r): Also create _Float128 alias.
7884 * manual/math.texi (Mathematics): Document additional architecture
7885 support for _Float128.
7886 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
7887 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7888 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7889 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7890 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7891 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7892 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7893 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7894 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7895 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7896 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7897 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7898 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7899 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7900 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7902 2017-10-18 Renlin Li <renlin.li@arm.com>
7904 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
7905 _DYNAMIC symbol to calculate load address.
7907 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
7909 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
7910 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
7912 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
7913 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
7915 2017-10-18 Mike FABIAN <mfabian@redhat.com>
7918 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
7919 and improve readability by using more ASCII.
7920 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
7921 and improve readability by using more ASCII.
7923 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
7925 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
7926 not all targets support atomics on bool.
7928 2017-10-17 Joseph Myers <joseph@codesourcery.com>
7930 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
7931 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
7933 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
7934 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
7935 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
7936 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
7937 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
7938 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
7940 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7942 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
7945 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
7948 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
7949 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
7950 (do_check_remalloced_chunk): Fix build bug.
7951 (do_check_malloc_state): Add assert that checks arena->top.
7952 (malloc_consolidate): Remove initialization.
7953 (int_mallinfo): Remove call to malloc_consolidate.
7954 (__libc_mallopt): Clarify why malloc_consolidate is needed.
7956 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
7958 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
7959 (have_fastchunks): Remove.
7960 (clear_fastchunks): Remove.
7961 (set_fastchunks): Remove.
7962 (malloc_state): Add have_fastchunks.
7963 (malloc_init_state): Use have_fastchunks.
7964 (do_check_malloc_state): Remove incorrect invariant checks.
7965 (_int_malloc): Use have_fastchunks.
7966 (_int_free): Likewise.
7967 (malloc_consolidate): Likewise.
7969 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
7971 * malloc/malloc.c (tcache_put): Inline.
7972 (tcache_get): Inline.
7974 2017-10-17 Jordi Mallach <jordi@gnu.org>
7976 Aurelien Jarno <aurelien@aurel32.net>
7978 * localedata/locales/ca_ES@valencia: New file.
7979 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
7981 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
7984 * math/math.h: Let signbit use the builtin in C++ mode with gcc
7987 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7989 * scripts/build-many-glibcs.py (Context.add_all_configs):
7990 Add arm-linux-gnueabihf multiarch extra_glibcs.
7992 * sysdeps/generic/ifunc-init.h: New file.
7993 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
7995 2017-10-17 Mike FABIAN <mfabian@redhat.com>
7998 * localedata/locales/el_GR: Set n_cs_precedes to 0.
7999 * localedata/locales/el_CY: copy "el_GR" because it is identical.
8000 * stdlib/tst-strfmon_l.c: adapt test case.
8002 2017-10-16 Joseph Myers <joseph@codesourcery.com>
8004 * sysdeps/generic/float128-abi.h: New file.
8005 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
8006 non-__prefixed symbols to ....
8007 * math/Versions: ... here. Include <float128-abi.h>.
8008 * stdlib/Versions ... and here. Include <float128-abi.h>
8010 2017-10-16 Florian Weimer <fweimer@redhat.com>
8012 * version.h (VERSION): Switch to ".9000" as the development
8015 2017-10-16 Florian Weimer <fweimer@redhat.com>
8018 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
8019 compat_symbol_reference to access non-default version.
8021 2017-10-16 Florian Weimer <fweimer@redhat.com>
8023 * malloc/Makefile (others-extras): Set to mcheck-init.o.
8025 2017-10-16 Carlos O'Donell <carlos@redhat.com>
8027 * include/shlib-compat.h (compat_symbol_reference): Update
8030 2017-10-16 Joseph Myers <joseph@codesourcery.com>
8032 * math/Makefile (test-types): Add
8033 $(type-float128-$(float128-alias-fcts)).
8034 * math/test-float128.h (TYPE_STR): Define conditional on
8035 [FLT128_MANT_DIG == LDBL_MANT_DIG].
8036 (ULP_IDX): Likewise.
8037 (ULP_I_IDX): Likewise.
8039 * stdlib/strtold.c: Include <bits/floatn.h>
8040 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
8041 and later undefine as macro. Define as weak alias if
8043 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
8044 and later undefine as macro. Define as weak alias if
8046 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
8047 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
8048 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
8049 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
8050 Define and later undefine as macro. Define as weak alias if
8052 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
8054 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
8055 Define and later undefine as macro. Define as weak alias if
8057 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
8058 Define and later undefine as macro. Define as weak alias if
8061 2017-10-15 Carlos O'Donell <carlos@redhat.com>
8063 * localedata/collate-test.c (allocate_arrays): Don't use \n in
8064 record_verbose messages.
8066 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
8069 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
8070 to silence -O3 -Wall warning with GCC 7.
8072 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
8074 * Makeconfig (+link-static-before-libc): Use the first of
8075 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
8076 * gmon/Makefile (tests): Add tst-gmon-static.
8077 (tests-static): Likewise.
8078 (CFLAGS-tst-gmon-static.c): New.
8079 (CRT-tst-gmon-static): Likewise.
8080 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
8081 (tst-gmon-static-ENV): Likewise.
8082 (tests-special): Likewise.
8083 ($(objpfx)tst-gmon-static.out): Likewise.
8084 (clean-tst-gmon-static-data): Likewise.
8085 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
8086 * gmon/tst-gmon-static-gprof.sh: New file.
8087 * gmon/tst-gmon-static.c: Likewise.
8089 2017-10-13 Carlos O'Donell <carlos@redhat.com>
8092 * locale/programs/linereader.c (get_string): Don't warn on
8093 non-symbolic character.
8096 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
8100 * locale/programs/record-status.h: New file
8101 * locale/programs/locale.c: Add comment.
8102 * locale/programs/charmap-dir.c: Don't include error.h.
8103 (charmap_opendir): Use record_error.
8104 * locale/programs/charmap.c: Don't include error.h.
8105 (charmap_read): Use record_error, and record_warning.
8106 (parse_charmap): Likewise.
8107 * locale/programs/ld-address.c: Don't include error.h.
8108 (address_finish): Use record_error, and record_warning.
8109 * locale/programs/ld-collate.c: Don't include error.h.
8110 (collate_finish): Use record_error, and record_error_at_line.
8111 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
8112 (ctype_class_new): Likewise.
8113 (ctype_map_new): Likewise.
8114 (set_one_default): Likewise.
8115 (set_class_defaults): Likewise.
8116 (translit_flatten): Likewise.
8117 (allocate_arrays): Use record_error, and record_verbose.
8118 * locale/programs/ld-identification.c: Don't include error.h.
8119 (indentation_finish): Use record_error and record_warning.
8120 * locale/programs/ld-measurement.c: Don't include error.h.
8121 (measurement_finish): Use record_error.
8122 * locale/programs/ld-messages.c
8123 (message_finish): Likewise.
8124 * locale/programs/ld-monetary.c
8125 (monetary_finish): Likewise.
8126 * locale/programs/ld-name.c (name_finish): Use record_error
8128 * locale/programs/ld-numeric.c
8129 (numeric_finish): Use record_error.
8130 * locale/programs/ld-paper.c: Don't include error.h.
8131 (paper_finish): Use record_error.
8132 * locale/programs/ld-telephone.c: Don't include error.h.
8133 (telephone_finish): Use record_error.
8134 * locale/programs/ld-time.c (time_finish): Likewise.
8135 * locale/programs/linereader.h (lr_error): Make inline func.
8136 * locale/programs/localedef.c: Define recorded_warning_count,
8137 and recorded_error_count.
8138 (main): Use record_error. Use recorded_error_count and
8139 recorded_warning_count to issue correct error returns.
8140 (add_to_readlist): Use record_error.
8141 (find_locale): Likewise.
8142 (load_locale): Likewise.
8143 * locale/programs/localedef.h: Remove be_quiet
8144 and WITH_CUR_LOCALE.
8145 * locale/programs/locarchive.c (compare_from_file): Use
8147 * locale/programs/locfile.c (write_locale_data): Use
8149 * locale/programs/repertoire.c: Dont include error.h.
8150 (repertoire_complain): Use record_error.
8151 * localedata/tst-fmon.sh: Expect failures from localedef.
8152 * localedata/tst-locale.sh: Likewise.
8153 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
8155 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
8156 (REPORTS): Likewise.
8158 (i18n): Rename to...
8159 (i18n_ctype): ...this.
8160 (i18n-report): Rename to...
8161 (i18n_ctype-report): ...this.
8162 * localedata/locales/i18n_ctype: Regenerate.
8163 * localedata/locales/i18n: copy i18n_ctype.
8165 2017-10-13 Joseph Myers <joseph@codesourcery.com>
8167 * stdlib/strfroml.c: Include <bits/floatn.h>.
8168 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
8169 Define before include of <stdlib.h> and undefine afterwards, then
8170 define as weak alias.
8172 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
8173 Undefine and restore default definition. Use
8174 libm_alias_ldouble_other.
8176 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
8179 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
8182 2017-10-13 James Clarke <jrtc27@jrtc27.com>
8184 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8185 Assign sym_map to be map for local symbols, as TLS relocations
8186 use sym_map to determine whether the symbol is defined and to
8187 extract the TLS information.
8188 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8191 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8194 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
8195 (math_force_eval): Add powerpc version.
8198 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
8200 (do_test): Likewise.
8201 * stdio-common/tst-printf.sh: Likewise.
8202 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
8203 ifdef clause in order to set the carry bit right. Replace r0 by
8204 0 without changing the behavior.
8206 2017-10-13 Joseph Myers <joseph@codesourcery.com>
8208 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
8209 <libm-alias-ldouble.h>.
8210 (fabsl): Define using libm_alias_ldouble.
8211 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
8212 <libm-alias-ldouble.h>.
8213 (fabsl): Define using libm_alias_ldouble.
8215 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
8216 Remove conditional code.
8218 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
8219 Rename to __clog10_internal_l.
8220 (__clog10_internal_l): Define aliases using
8221 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
8224 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8226 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
8227 * benchtests/sincosf-inputs: New file.
8228 * benchtests/cosf-inputs: New file.
8229 * benchtests/sinf-inputs: New file.
8231 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8233 * posix/tst-spawn.c (do_test): Wait for both children.
8235 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
8238 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
8239 tests-pie): Add tst-gmon-pie.
8240 (CFLAGS-tst-gmon-pie.c): New.
8241 (CRT-tst-gmon-pie): Likewise.
8242 (tst-gmon-pie-ENV): Likewise.
8243 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
8244 ($(objpfx)tst-gmon-pie.out): Likewise.
8245 (clean-tst-gmon-pie-data): Likewise.
8246 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
8247 * gmon/gmon.c [PIC]: Include <link.h>.
8248 [PIC] (callback): New function.
8249 (write_hist): Add an argument for load address. Subtract load
8251 (write_call_graph): Likewise.
8252 (write_gmon): Call __dl_iterate_phdr to get load address, pass
8253 it to write_hist and write_call_graph.
8254 * gmon/tst-gmon-pie.c: New file.
8256 2017-10-11 Joseph Myers <joseph@codesourcery.com>
8258 * math/Makefile (test-types-basic): New variable.
8259 (test-types): Likewise.
8260 (libm-test-support): Use $(test-types) instead of $(types).
8261 (libm-tests-base-normal): Likewise.
8262 (libm-tests-base-finite): Likewise.
8263 (libm-tests-base-inline): Likewise.
8264 (generated): Likewise.
8265 ($(objpfx)libm-test-support-$(t).c): Likewise.
8266 (libm-tests-for-type iterator): Likewise.
8267 (libm-test-support iterator): Likewise.
8268 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
8269 (ulp_idx): Use ULP_IDX.
8270 * math/test-ldouble.h: Include <float.h>.
8271 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
8272 (ULP_IDX): New macro.
8273 (ULP_I_IDX): Likewise.
8274 * math/test-double.h (ULP_IDX): Likewise.
8275 (ULP_I_IDX): Likewise.
8276 * math/test-float.h (ULP_IDX): Likewise.
8277 (ULP_I_IDX): Likewise.
8278 * math/test-float128.h (ULP_IDX): Likewise.
8279 (ULP_I_IDX): Likewise.
8281 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8283 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
8284 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8285 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8286 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
8287 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8288 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
8289 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
8290 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8291 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8292 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8293 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
8294 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8295 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8296 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8297 (SINGLE_THREAD_BY_GLOBAL): Define.
8298 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8300 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8302 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8304 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8306 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
8307 (SINGLE_THREAD_BY_GLOBAL): Likewise.
8308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8311 2017-10-11 Andreas Schwab <schwab@suse.de>
8313 * nis/Makefile (aux): Remove.
8314 * nscd/Makefile (aux): Add nscd_hash.
8315 (nscd-modules): Likewise.
8316 ($(objpfx)nscd): Don't depend on libnsl.
8317 * nscd/nscd_hash.c: New file.
8318 * nscd/nscd_hash.h: Likewise.
8319 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
8320 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
8321 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
8322 instead of <nis/rpcsvc/nis.h>.
8323 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
8325 2017-10-11 Florian Weimer <fweimer@redhat.com>
8328 Avoid large NSS buffers with many addresses, aliases.
8329 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
8330 using dynarrays and struct alloc_buffer.
8331 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
8332 (tst-nss-files-hosts-multi): Link with -ldl.
8333 * nss/tst-nss-files-hosts-multi.c: New file.
8335 2017-10-11 Florian Weimer <fweimer@redhat.com>
8338 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
8339 scratch_buffer. Eliminate gotos.
8341 2017-10-11 Joseph Myers <joseph@codesourcery.com>
8343 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
8344 libm_alias_ldouble_other.
8345 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
8346 undefine and redefine.
8347 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
8348 (exp10l): Do not define here.
8349 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
8350 (weak_alias): Undefine and redefine.
8351 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
8352 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
8353 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
8354 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
8356 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
8357 [!__fma] (fma): Define using libm_alias_double.
8358 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
8359 [!__fmaf] (fmaf): Define using libm_alias_float.
8360 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
8361 (fmal): Define using libm_alias_ldouble.
8363 2017-10-10 Joseph Myers <joseph@codesourcery.com>
8365 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
8367 (libm_alias_double_other): Likewise.
8368 (libm_alias_double_r): Use libm_alias_double_other_r.
8369 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
8371 (libm_alias_float_other): Likewise.
8372 (libm_alias_float_r): Use libm_alias_float_other_r.
8373 * sysdeps/generic/libm-alias-float128.h
8374 (libm_alias_float128_other_r): New macro.
8375 (libm_alias_float128_other): Likewise.
8376 (libm_alias_float128_r): Use libm_alias_float128_other_r.
8377 * sysdeps/generic/libm-alias-ldouble.h
8378 (libm_alias_ldouble_other_r): New macro.
8379 (libm_alias_ldouble_other): Likewise.
8380 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
8381 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
8382 (libm_alias_double_other_r): New macro.
8383 (libm_alias_double_other): Likewise.
8384 (libm_alias_double_r): Use libm_alias_double_other_r.
8385 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
8386 (libm_alias_ldouble_other_r): New macro.
8387 (libm_alias_ldouble_other): Likewise.
8388 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
8389 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
8390 [!USE_AS_COMPAT]: Use libm_alias_double_other.
8391 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
8392 [!USE_AS_COMPAT]: Use libm_alias_float_other.
8393 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
8394 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
8395 * math/w_exp2f.c: Use libm_alias_float_other.
8396 * math/w_expf.c: Likewise.
8397 * math/w_log2f.c: Likewise.
8398 * math/w_logf.c: Likewise.
8399 * math/w_powf.c: Likewise.
8400 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
8401 [!__exp2f]: Use libm_alias_float_other.
8402 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
8403 [!__expf]: Use libm_alias_float_other.
8404 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
8405 [!__log2f]: Use libm_alias_float_other.
8406 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
8407 [!__logf]: Use libm_alias_float_other.
8408 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
8409 [!__powf]: Use libm_alias_float_other.
8411 2017-10-10 Florian Weimer <fweimer@redhat.com>
8413 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
8415 (_nss_files_gethostbyname3_r): Call it.
8417 2017-10-09 Joseph Myers <joseph@codesourcery.com>
8419 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
8420 error. Remove default definition of declare_mgen_alias.
8421 [!declare_mgen_alias_r]: Likewise.
8422 * sysdeps/generic/math-type-macros-double.h
8423 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
8424 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
8425 (declare_mgen_alias_r): Likewise.
8426 * sysdeps/generic/math-type-macros-float128.h
8427 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
8428 * sysdeps/generic/math-type-macros-ldouble.h
8429 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
8430 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
8432 (declare_mgen_alias_r_s): Likewise.
8433 (declare_mgen_alias_r): Likewise.
8434 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
8435 (lgamma_r): Define using libm_alias_double_r.
8436 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
8437 (lgammaf_r): Define using libm_alias_float_r.
8438 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
8439 (lgammal_r): Define using libm_alias_ldouble_r.
8440 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
8441 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
8443 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8445 * lib/glob.c (__glob_pattern_type): Remove now-spurious
8448 2017-10-09 Joseph Myers <joseph@codesourcery.com>
8450 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
8452 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
8455 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
8456 [__cplusplus >= 201103] (__USE_ISOC99): Define.
8457 * math/Makefile (test-math-cxx11): New test.
8458 * math/test-math-cxx11.cc: New file.
8460 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
8462 * login/openpty.c (openpty): Close slave pty file descriptor on error.
8464 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
8465 call to allocate the slave pty file descriptor.
8467 2017-10-06 Joseph Myers <joseph@codesourcery.com>
8469 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
8470 [!__fma] (fma): Define using libm_alias_double.
8471 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
8472 [!__fma] (fma): Define using libm_alias_double.
8474 * sysdeps/ieee754/float128/float128_private.h: Include
8475 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
8476 (libm_alias_ldouble_r): Undefine and redefine.
8477 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
8478 <libm-alias-ldouble.h>.
8479 (asinhl): Define using libm_alias_ldouble.
8480 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
8481 <libm-alias-ldouble.h>.
8482 (atanl): Define using libm_alias_ldouble.
8483 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
8484 <libm-alias-ldouble.h>.
8485 (cbrtl): Define using libm_alias_ldouble.
8486 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
8487 <libm-alias-ldouble.h>.
8488 (ceill): Define using libm_alias_ldouble.
8489 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
8490 <libm-alias-ldouble.h>.
8491 (copysignl): Define using libm_alias_ldouble.
8492 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
8493 <libm-alias-ldouble.h>.
8494 (cosl): Define using libm_alias_ldouble.
8495 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
8496 <libm-alias-ldouble.h>.
8497 (erfl): Define using libm_alias_ldouble.
8499 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
8500 <libm-alias-ldouble.h>.
8501 (expm1l): Define using libm_alias_ldouble.
8502 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
8503 <libm-alias-ldouble.h>.
8504 (fabsl): Define using libm_alias_ldouble.
8505 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
8506 <libm-alias-ldouble.h>.
8507 (floorl): Define using libm_alias_ldouble.
8508 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
8509 <libm-alias-ldouble.h>.
8510 (fmal): Define using libm_alias_ldouble.
8511 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
8512 <libm-alias-ldouble.h>.
8513 (frexpl): Define using libm_alias_ldouble.
8514 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
8516 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
8517 <libm-alias-ldouble.h>.
8518 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
8520 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
8521 <libm-alias-ldouble.h>.
8522 (getpayloadl): Define using libm_alias_ldouble.
8523 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
8524 <libm-alias-ldouble.h>.
8525 (llrintl): Define using libm_alias_ldouble.
8526 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
8527 <libm-alias-ldouble.h>.
8528 (llroundl): Define using libm_alias_ldouble.
8529 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
8530 <libm-alias-ldouble.h>.
8531 (logbl): Define using libm_alias_ldouble.
8532 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
8533 <libm-alias-ldouble.h>.
8534 (lrintl): Define using libm_alias_ldouble.
8535 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
8536 <libm-alias-ldouble.h>.
8537 (lroundl): Define using libm_alias_ldouble.
8538 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
8539 <libm-alias-ldouble.h>.
8540 (modfl): Define using libm_alias_ldouble.
8541 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
8542 <libm-alias-ldouble.h>.
8543 (nearbyintl): Define using libm_alias_ldouble.
8544 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
8545 <libm-alias-ldouble.h>.
8546 (nextafterl): Define using libm_alias_ldouble.
8547 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
8548 <libm-alias-ldouble.h>.
8549 (nextupl): Define using libm_alias_ldouble.
8550 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
8551 <libm-alias-ldouble.h>.
8552 (remquol): Define using libm_alias_ldouble.
8553 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
8554 <libm-alias-ldouble.h>.
8555 (rintl): Define using libm_alias_ldouble.
8556 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
8557 <libm-alias-ldouble.h>.
8558 (roundevenl): Define using libm_alias_ldouble.
8559 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
8560 <libm-alias-ldouble.h>.
8561 (roundl): Define using libm_alias_ldouble.
8562 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
8563 using libm_alias_ldouble.
8564 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
8565 <libm-alias-ldouble.h>.
8566 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
8567 Define using libm_alias_ldouble.
8568 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
8569 <libm-alias-ldouble.h>.
8570 (sincosl): Define using libm_alias_ldouble.
8571 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
8572 <libm-alias-ldouble.h>.
8573 (sinl): Define using libm_alias_ldouble.
8574 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
8575 <libm-alias-ldouble.h>.
8576 (tanhl): Define using libm_alias_ldouble.
8577 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
8578 <libm-alias-ldouble.h>.
8579 (tanl): Define using libm_alias_ldouble.
8580 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8581 <libm-alias-ldouble.h>.
8582 (totalorderl): Define using libm_alias_ldouble.
8583 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8584 <libm-alias-ldouble.h>.
8585 (totalordermagl): Define using libm_alias_ldouble.
8586 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
8587 <libm-alias-ldouble.h>.
8588 (truncl): Define using libm_alias_ldouble.
8589 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
8591 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
8593 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
8594 <libm-alias-ldouble.h>.
8595 (weak_alias): Do not undefine and redefine.
8596 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
8597 (copysignl): Define with long_double_symbol only if [IS_IN
8599 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
8600 <libm-alias-ldouble.h>.
8601 (weak_alias): Do not undefine and redefine.
8602 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
8603 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
8604 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
8605 <libm-alias-ldouble.h>.
8606 (weak_alias): Do not undefine and redefine.
8607 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
8608 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
8609 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
8610 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
8611 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
8612 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
8613 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
8614 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
8615 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
8616 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
8617 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
8618 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
8619 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
8620 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
8621 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
8622 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
8623 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
8624 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
8625 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
8626 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
8627 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
8628 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
8629 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
8630 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
8631 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
8632 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
8634 2017-10-06 Carlos O'Donell <carlos@redhat.com>
8637 * malloc/malloc.c (tcache_shutting_down): Use bool type.
8638 (tcache_thread_freeres): Set tcache_shutting_down before
8640 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
8641 * malloc/tst-malloc-tcache-leak.c: New file.
8643 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8645 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
8646 back to powerpc32 file.
8647 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
8648 (memrchr): Add __memrchr_power8 to ifunc list.
8649 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
8650 extra bytes for unaligned inputs.
8652 2017-10-06 Joseph Myers <joseph@codesourcery.com>
8654 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
8655 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
8656 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
8657 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8658 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8660 2017-10-05 Joseph Myers <joseph@codesourcery.com>
8662 * sysdeps/arm/libm-test-ulps: Update.
8664 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
8665 <libm-alias-ldouble.h>.
8666 (asinhl): Define using libm_alias_ldouble.
8667 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
8668 <libm-alias-ldouble.h>.
8669 (cbrtl): Define using libm_alias_ldouble.
8670 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
8671 <libm-alias-ldouble.h>.
8672 (copysignl): Define using libm_alias_ldouble.
8673 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
8674 <libm-alias-ldouble.h>.
8675 (cosl): Define using libm_alias_ldouble.
8676 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
8677 <libm-alias-ldouble.h>.
8678 (erfl): Define using libm_alias_ldouble.
8680 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
8681 <libm-alias-ldouble.h>.
8682 (fmal): Define using libm_alias_ldouble.
8683 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
8684 <libm-alias-ldouble.h>.
8685 (frexpl): Define using libm_alias_ldouble.
8686 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
8688 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
8689 <libm-alias-ldouble.h>.
8690 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
8692 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
8693 <libm-alias-ldouble.h>.
8694 (getpayloadl): Define using libm_alias_ldouble.
8695 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
8696 <libm-alias-ldouble.h>.
8697 (llrintl): Define using libm_alias_ldouble.
8698 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
8699 <libm-alias-ldouble.h>.
8700 (llroundl): Define using libm_alias_ldouble.
8701 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
8702 <libm-alias-ldouble.h>.
8703 (lrintl): Define using libm_alias_ldouble.
8704 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
8705 <libm-alias-ldouble.h>.
8706 (lroundl): Define using libm_alias_ldouble.
8707 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
8708 <libm-alias-ldouble.h>.
8709 (modfl): Define using libm_alias_ldouble.
8710 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
8711 <libm-alias-ldouble.h>.
8712 (nextupl): Define using libm_alias_ldouble.
8713 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
8714 <libm-alias-ldouble.h>.
8715 (remquol): Define using libm_alias_ldouble.
8716 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
8717 <libm-alias-ldouble.h>.
8718 (roundevenl): Define using libm_alias_ldouble.
8719 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
8720 <libm-alias-ldouble.h>.
8721 (roundl): Define using libm_alias_ldouble.
8722 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
8723 using libm_alias_ldouble.
8724 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
8725 <libm-alias-ldouble.h>.
8726 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
8727 <libm-alias-ldouble.h>.
8728 (setpayloadsigl): Define using libm_alias_ldouble.
8729 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
8730 <libm-alias-ldouble.h>.
8731 (sincosl): Define using libm_alias_ldouble.
8732 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
8733 <libm-alias-ldouble.h>.
8734 (sinl): Define using libm_alias_ldouble.
8735 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
8736 <libm-alias-ldouble.h>.
8737 (tanhl): Define using libm_alias_ldouble.
8738 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
8739 <libm-alias-ldouble.h>.
8740 (tanl): Define using libm_alias_ldouble.
8741 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8742 <libm-alias-ldouble.h>.
8743 (totalorderl): Define using libm_alias_ldouble.
8744 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8745 <libm-alias-ldouble.h>.
8746 (totalordermagl): Define using libm_alias_ldouble.
8747 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
8749 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
8752 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
8754 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8756 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8757 (__libc_ifunc_impl_list): Likewise.
8758 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
8759 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
8761 * benchtests/bench-memmove-walk.c: New file.
8762 * benchtests/Makefile (string-benchset): Add it.
8764 * benchtests/bench-memset-walk.c: New file.
8765 * benchtests/Makefile (string-benchset): Add it.
8767 * benchtests/bench-memcpy-walk.c: New file.
8768 * benchtests/Makefile (string-benchset): Add it.
8770 2017-10-05 Florian Weimer <fweimer@redhat.com>
8772 nscd: Eliminate compilation time dependency in the build output.
8773 * nscd/nscd_stat.c (STATDATA_VERSION)
8774 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
8775 (STATDATA_VERSION_FULL): New macro definitions.
8776 (compilation): Remove.
8777 (struct statdata): Adjust version member.
8778 (send_stats): Set version from STATDATA_VERSION_FULL.
8779 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
8781 2017-10-05 Joseph Myers <joseph@codesourcery.com>
8783 * configure.ac (--enable-add-ons): Remove option.
8784 (machine): Do not mention add-ons in comment.
8785 (LIBC_PRECONFIGURE): Likewise.
8786 (add_ons): Remove variable and sanity checks and logic to locate
8788 (add_ons_automatic): Remove variable.
8789 (configured_add_ons): Likewise.
8790 (add_ons_sfx): Likewise.
8791 (add_ons_pfx): Likewise.
8792 (add_on_subdirs): Likewise.
8793 (sysnames_add_ons): Likewise. Remove loop over add-ons and
8794 consideration of add-ons in Implies handling.
8795 (sysdeps_add_ons): Likewise.
8796 * configure: Regenerated.
8797 * libidn/configure.ac: Remove.
8798 * libidn/configure: Likewise.
8799 * sysdeps/unix/inet/configure.ac: New file.
8800 * sysdeps/unix/inet/configure: New generated file.
8801 * sysdeps/unix/inet/Subdirs: Add libidn.
8802 * Makeconfig (sysdeps-srcdirs): Remove variable.
8803 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
8804 ($(common-objpfx)config.status): Do not depend on add-on files.
8805 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
8807 (all-subdirs): Do not include $(add-on-subdirs).
8808 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
8809 * config.make.in (add-ons): Remove variable.
8810 (add-on-subdirs): Likewise.
8811 (sysdeps-add-ons): Likewise.
8812 * manual/Makefile (add-chapters): Remove.
8813 ($(objpfx)texis): Do not depend on $(add-chapters).
8814 (nonexamples): Do not handle $(add-chapters).
8815 (examples): Do not handle $(add-ons).
8816 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
8818 * manual/install.texi (Installation): Do not mention add-ons.
8819 (--enable-add-ons): Do not document configure option.
8820 * INSTALL: Regenerated.
8821 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
8822 * manual/maint.texi (Hierarchy Conventions): Do not mention
8824 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
8826 * scripts/gen-sorted.awk: Do not handle Subdirs files from
8828 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
8829 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
8831 2017-10-05 Andreas Schwab <schwab@suse.de>
8834 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
8835 (_IO_flush_all_lockp): Always lock list_all_lock.
8836 (_IO_flush_all_linebuffered): Likewise.
8837 (_IO_unbuffer_all): Likewise.
8839 2017-10-05 Florian Weimer <fweimer@redhat.com>
8842 Do not flush stdio streams on abort.
8843 * stdlib/abort.c (fflush): Remove macro definition.
8844 (abort): Remove stages related to stdio flushing.
8846 2017-10-05 Florian Weimer <fweimer@redhat.com>
8848 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
8850 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
8852 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8854 2017-10-05 Florian Weimer <fweimer@redhat.com>
8856 * support/support_format_hostent.c (support_format_hostent): Add
8857 more error information for NETDB_INTERNAL.
8859 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
8861 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
8862 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
8863 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
8864 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
8865 AC_DEFINE if multi-arch is enabled.
8866 * sysdeps/i386/configure: Regenerated.
8868 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
8870 * Makeconfig (+link-static-before-libc): Use
8871 $(DEFAULT-LDFLAGS-$(@F)).
8872 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
8873 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
8874 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
8876 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
8878 * elf/Makefile (tests): Add tst-main1.
8879 (modules-names): Add tst-main1mod.
8880 ($(objpfx)tst-main1): New.
8881 (CRT-tst-main1): Likewise.
8882 (LDFLAGS-tst-main1): Likewise.
8883 (LDLIBS-tst-main1): Likewise.
8884 (tst-main1mod.so-no-z-defs): Likewise.
8885 * elf/tst-main1.c: New file.
8886 * elf/tst-main1mod.c: Likewise.
8888 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
8890 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
8892 2017-10-04 Joseph Myers <joseph@codesourcery.com>
8894 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
8895 (fma): Define using libm_alias_double.
8896 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
8897 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
8899 (fmal): Do not define as compat symbol here.
8900 * sysdeps/alpha/fpu/s_fma.c: New file.
8902 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
8904 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
8906 2017-10-04 Joseph Myers <joseph@codesourcery.com>
8909 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
8911 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
8913 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
8914 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
8915 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
8916 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
8917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8918 Include <math_ldbl_opt.h>
8919 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
8921 (compat_symbol): Undefine and redefine.
8922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
8924 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
8925 (compat_symbol): Undefine and redefine.
8926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
8927 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
8928 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
8930 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
8931 GLIBC_2.0 copysignl symbol.
8932 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8933 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
8935 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
8937 2017-10-04 Florian Weimer <fweimer@redhat.com>
8939 * scripts/check-local-headers.sh: Ignore nspr4 header file
8940 directory in addition to nspr.
8942 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
8945 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
8946 * configure: Regenerate.
8947 * crypt/Makefile (nss-cpp-flags): New variable.
8948 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
8949 (CPPFLAGS-md5-crypt.c): Use it.
8950 * scripts/check-local-headers.sh: Ignore nspr header file
8953 2017-10-04 Andreas Schwab <schwab@suse.de>
8955 * nis/Makefile (services): Remove compat.
8956 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
8957 ($(objpfx)libnss_compat.so): Remove rule.
8958 * nis/Versions (libnss_compat): Remove.
8959 * nss/Makefile (services): Add compat.
8960 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
8961 * nss/Versions (libnss_compat): Define.
8962 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
8963 Don't include <rpc/types.h>. Replace bool_t by bool.
8964 * nss/nss_compat/compat-initgroups.c: Likewise.
8965 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
8966 instead of <rpcsrv/ypclnt.h>.
8967 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
8968 yp_get_default_domain.
8969 * nss/nss_compat/compat-pwd.c: Likewise.
8970 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
8971 yp_get_default_domain.
8972 * nss/nss_compat/nisdomain.c: New file.
8973 * nss/nss_compat/nisdomain.h: Likewise.
8975 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
8978 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
8979 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8981 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
8984 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
8985 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
8987 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8989 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
8990 "movl main@GOTOFF(%ebx), %eax".
8992 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
8994 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
8995 allow undefined _DYNAMIC in PIE libc.a.
8996 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
8999 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9001 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
9004 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9006 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
9009 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9011 * math/test-math-iscanonical.cc (error): Replace bool with int.
9013 2017-10-03 Joseph Myers <joseph@codesourcery.com>
9015 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
9016 (modf): Define using libm_alias_double, only if [!__modf].
9017 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
9018 <libm-alias-double.h>.
9019 (modf): Define using libm_alias_double, only if [!__modf].
9020 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
9022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
9023 (weak_alias): Do not undefine and redefine.
9024 (strong_alias): Likewise.
9025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
9026 (weak_alias): Likewise.
9027 (strong_alias): Likewise.
9029 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
9030 (logb): Define using libm_alias_double, only if [!__logb].
9031 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
9032 <libm-alias-double.h>.
9033 (logb): Define using libm_alias_double, only if [!__logb].
9034 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
9035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
9036 (weak_alias): Do not undefine and redefine.
9037 (strong_alias): Likewise.
9038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
9039 (weak_alias): Likewise.
9040 (strong_alias): Likewise.
9042 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9044 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
9045 Check SHARED instead PIC.
9047 2017-10-03 Joseph Myers <joseph@codesourcery.com>
9049 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
9050 [!__fmaf] (fmaf): Define using libm_alias_float.
9052 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
9053 (frexp): Define using libm_alias_double.
9054 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
9055 <libm-alias-double.h>.
9056 (frexp): Define using libm_alias_double.
9057 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
9060 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9063 * math/math.h: Trivial fix for unbalanced parentheses in comment.
9064 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
9065 (CFLAGS-test-math-iscanonical.cc): New variable.
9066 * math/test-math-iscanonical.cc: New file.
9067 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
9068 Provide a C++ implementation based on function overloading,
9069 rather than using __MATH_TG, which uses C-only builtins.
9070 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
9072 * sysdeps/powerpc/powerpc64le/Makefile
9073 (CFLAGS-test-math-iscanonical.cc): New variable.
9075 2017-10-03 Joseph Myers <joseph@codesourcery.com>
9077 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
9078 (ceil): Define using libm_alias_double.
9079 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
9080 (floor): Define using libm_alias_double.
9081 * sysdeps/ieee754/dbl-64/s_llround.c: Include
9082 <libm-alias-double.h>.
9083 (llround): Define using libm_alias_double.
9084 * sysdeps/ieee754/dbl-64/s_lround.c: Include
9085 <libm-alias-double.h>.
9086 (lround): Define using libm_alias_double.
9087 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
9088 <libm-alias-double.h>.
9089 (nearbyint): Define using libm_alias_double.
9090 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
9091 <libm-alias-double.h>.
9092 (remquo): Define using libm_alias_double.
9093 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
9094 (rint): Define using libm_alias_double.
9095 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
9096 (round): Define using libm_alias_double.
9097 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
9098 (trunc): Define using libm_alias_double.
9099 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
9100 <libm-alias-double.h>.
9101 (ceil): Define using libm_alias_double.
9102 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
9103 <libm-alias-double.h>.
9104 (floor): Define using libm_alias_double.
9105 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
9106 <libm-alias-double.h>.
9107 (llround): Define using libm_alias_double.
9108 [_LP64] (lround): Likewise.
9109 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
9110 <libm-alias-double.h>.
9111 [!_LP64] (lround): Define using libm_alias_double.
9112 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
9113 <libm-alias-double.h>.
9114 (nearbyint): Define using libm_alias_double.
9115 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
9116 <libm-alias-double.h>.
9117 (remquo): Define using libm_alias_double.
9118 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
9119 <libm-alias-double.h>.
9120 (rint): Define using libm_alias_double.
9121 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
9122 <libm-alias-double.h>.
9123 (round): Define using libm_alias_double.
9124 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
9125 <libm-alias-double.h>.
9126 (trunc): Define using libm_alias_double.
9127 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
9128 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
9129 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
9130 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
9131 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
9132 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
9133 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
9134 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
9135 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
9137 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9139 * math/w_remainder.c: New file.
9140 * math/w_remainderf.c: New file.
9141 * math/w_remainderl.c: New file.
9143 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9145 * elf/rtld.c (BOOTSTRAP_MAP): New.
9146 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
9147 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9149 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9151 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9154 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9156 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
9157 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
9158 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
9159 rtld_hidden_data_ver): Define to empty.
9160 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
9161 __assert_perror_fail): Likewise.
9162 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9163 (__rewinddir): Likewise.
9164 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9165 (__profile_frequency): Likewise.
9166 * include/setjmp.h (__sigsetjmp): Likewise.
9167 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
9168 __libc_sigaction): Likewise.
9169 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
9170 not set hidden attribute.
9171 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
9172 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
9173 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
9174 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
9175 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
9176 __fxstatat64): Likewise.
9177 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9178 (__uname): Likewise.
9179 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9180 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
9181 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
9182 (NO_RTLD_HIDDEN): Set.
9183 * sysdeps/mach/hurd/configure: Refresh.
9184 * config.h.in: Refresh.
9186 2017-10-02 Joseph Myers <joseph@codesourcery.com>
9188 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
9189 (atan): Define using libm_alias_double.
9190 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
9191 (tan): Define using libm_alias_double.
9192 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
9193 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
9195 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
9196 define as weak alias of __atan. Do not define any aliases if
9198 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
9199 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
9200 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
9201 as weak alias of __tan. Do not define any aliases if [__tan].
9202 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
9203 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
9204 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
9206 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
9207 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
9208 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
9209 and define as weak alias of __atan.
9210 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
9212 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
9213 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
9214 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
9215 define as weak alias of __tan.
9217 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9219 * math/w_lgamma.c: New file.
9220 * math/w_lgammaf.c: New file.
9221 * math/w_lgammal.c: New file.
9223 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9225 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
9226 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
9227 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
9228 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
9229 * sysdeps/ieee754/flt-32/w_logf.c: New file.
9230 * sysdeps/ieee754/flt-32/w_powf.c: New file.
9231 * sysdeps/i386/fpu/w_log2f.c: New file.
9232 * sysdeps/i386/fpu/w_logf.c: New file.
9233 * sysdeps/i386/fpu/w_powf.c: New file.
9234 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
9235 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
9236 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
9238 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9239 H.J. Lu <hongjiu.lu@intel.com>
9241 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
9242 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
9243 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
9244 * sysdeps/ieee754/flt-32/w_expf.c: New file.
9245 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
9247 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
9248 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
9249 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
9250 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
9251 * sysdeps/i386/fpu/w_exp2f.c: New file.
9252 * sysdeps/i386/fpu/w_expf.c: New file.
9253 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
9254 * sysdeps/x86_64/fpu/w_expf.c: New file.
9256 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9258 * math/Versions (logf): New libm symbol at GLIBC_2.27.
9261 * math/w_log2f.c: New file.
9262 * math/w_logf.c: New file.
9263 * math/w_powf.c: New file.
9264 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
9265 * math/w_logf_compat.c (__logf_compat): Likewise.
9266 * math/w_powf_compat.c (__powf_compat): Likewise.
9267 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
9268 * sysdeps/ia64/fpu/e_logf.S: Likewise.
9269 * sysdeps/ia64/fpu/e_powf.S: Likewise.
9270 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9271 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9272 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9273 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9274 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9275 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9276 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9277 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9278 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9279 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9280 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9281 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9290 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9291 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9292 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9293 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9294 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9299 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9300 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9301 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9303 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9305 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9306 (sysdep_routines): Add memrchr_power8.
9307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9308 (memrchr): Add __memrchr_power8 to list of memrchr functions.
9309 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
9311 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
9312 (memrchr): Add __memrchr_power8 to ifunc list.
9313 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
9315 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9318 * sysdeps/unix/sysv/linux/posix_fadvise64.c
9319 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
9321 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9322 (__posix_fallocate64_l64): Likewise.
9324 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9327 * sysdeps/unix/sysv/linux/sched_setaffinity.c
9328 (__sched_setaffinity_new): Add libc_hidden_proto and
9331 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9334 * include/glob.h (__glob64): Add libc_hidden_proto.
9335 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
9338 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9341 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
9344 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9347 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
9349 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9352 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
9355 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9358 * csu/version.c (__libc_print_version): Add attribute_hidden.
9360 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9363 * include/libc-internal.h (__init_misc): Add attribute_hidden.
9365 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9368 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
9370 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9373 * nscd/nscd_helper.c (__nis_hash): New prototype.
9375 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9378 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
9379 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
9381 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9382 * termios/tcgetattr.c (__tcgetattr): Likewise.
9384 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9387 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
9388 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
9389 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
9390 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
9391 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
9393 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9396 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
9398 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9401 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
9402 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
9404 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9407 * intl/hash-string.h (__hash_string): Add attribute_hidden.
9409 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9412 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
9413 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
9415 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9418 * include/ifreq.h: New file.
9419 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
9420 (__ifreq): Likewise.
9421 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
9422 (__ifreq): Likewise.
9424 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9427 * include/idna.h: New file.
9428 * inet/getnameinfo.c: Include <idna.h> instead of
9430 (__idna_to_unicode_lzlz): Removed.
9431 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
9433 (__idna_to_ascii_lz): Removed.
9434 (__idna_to_unicode_lzlz): Likewise.
9436 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9439 * include/plural-exp.h: New file.
9440 * intl/plural-exp.c: Include <plural-exp.h> instead of
9443 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9446 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
9447 "getsourcefilter.h".
9448 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
9449 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
9450 "getsourcefilter.h".
9451 (__get_sol): Removed.
9453 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9456 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
9458 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
9460 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9463 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
9466 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9469 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
9471 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9474 * include/search.h (__tdestroy): Add libc_hidden_proto.
9475 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
9477 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9480 * include/assert.h (__assert_fail_base): Add attribute_hidden.
9482 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9485 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
9488 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9491 * include/signal.h (__kill): Add libc_hidden_proto.
9492 (__sigblock): Likewise.
9493 (__sigprocmask): Likewise.
9494 (__sigaltstack): Likewise.
9495 * signal/kill.c (__kill): Add libc_hidden_def.
9496 * signal/sigblock.c (__sigblock): Likewise.
9497 * signal/sigprocmask.c (__sigprocmask): Likewise.
9498 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
9499 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9500 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9501 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9502 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
9504 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9506 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9507 (__sigprocmask): Likewise.
9508 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
9510 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9511 (__sigprocmask): Likewise.
9512 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9515 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9518 * include/string.h (__strsep): Add libc_hidden_proto.
9519 * string/strsep.c (__strsep): Add libc_hidden_def.
9521 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9524 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
9526 (__spawni): Likewise.
9528 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9531 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
9532 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
9535 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9538 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
9540 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9543 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
9544 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
9545 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
9546 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
9547 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
9549 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
9550 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
9552 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9555 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
9556 (__dcigettext): Likewise.
9558 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9561 * include/sys/sysinfo.h (__get_nprocs_conf): Add
9563 (__get_nprocs): Likewise.
9564 (__get_phys_pages): Likewise.
9565 (__get_avphys_pages): Likewise.
9566 (__get_child_max): Add attribute_hidden.
9567 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
9568 (__get_nprocs): Likewise.
9569 (__get_phys_pages): Likewise.
9570 (__get_avphys_pages): Likewise.
9571 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
9573 (__get_nprocs): Likewise.
9574 (__get_phys_pages): Likewise.
9575 (__get_avphys_pages): Likewise.
9576 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
9578 (__get_nprocs_conf): Likewise.
9579 (__get_phys_pages): Likewise.
9580 (__get_avphys_pages): Likewise.
9582 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9585 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
9587 (__netlink_close): Likewise.
9588 (__netlink_free_handle): Likewise.
9589 (__netlink_request): Likewise.
9591 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9594 * include/rpc/rpc.h (__rpc_thread_variables): Add
9596 (__rpc_thread_svc_cleanup): Likewise.
9597 (__rpc_thread_clnt_cleanup): Likewise.
9598 (__rpc_thread_key_cleanup): Likewise.
9600 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9603 * include/sys/uio.h (__readv): Add libc_hidden_proto.
9604 (__writev): Likewise.
9605 * misc/readv.c (__readv): Add libc_hidden_def.
9606 * misc/writev.c (__writev): Likewise.
9607 * sysdeps/posix/readv.c (__readv): Likewise.
9608 * sysdeps/posix/writev.c (__writev): Likewise.
9609 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
9610 (__readv): Likewise.
9611 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
9612 (__writev): Likewise.
9614 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9617 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
9618 (__regcomp): Add libc_hidden_proto.
9619 (__regexec): Likewise.
9620 (__regfree): Likewise.
9621 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
9622 (__regfree): Likewise.
9623 * posix/regexec.c (__regexec): Likewise.
9625 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9628 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
9629 (__getutent): Likewise.
9630 (__getutid): Likewise.
9631 (__getutline): Likewise.
9632 (__pututline): Likewise.
9633 (__getutent_r): Likewise.
9634 (__getutid_r): Likewise.
9635 (__getutline_r): Likewise.
9636 (__utmpname): Add attribute_hidden.
9637 (__setutent): Likewise.
9638 (__endutent): Likewise.
9639 * login/getutent.c (__getutent): Add libc_hidden_def.
9640 * login/getutent_r.c (__getutent_r): Likewise.
9641 (__pututline): Likewise.
9642 * login/getutid.c (__getutid): Likewise.
9643 * login/getutid_r.c (__getutid_r): Likewise.
9644 * login/getutline.c (__getutline): Likewise.
9645 * login/getutline_r.c (__getutline_r): Likewise.
9646 * login/updwtmp.c (__updwtmp): Likewise.
9648 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9651 * include/dirent.h (__opendir): Always add attribute_hidden.
9652 (__fdopendir): Likewise.
9653 (__closedir): Likewise.
9654 (__readdir): Likewise.
9655 (__readdir64): Add libc_hidden_proto.
9656 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
9657 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
9658 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
9659 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
9662 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9665 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
9666 * include/netdb.h (__gethostbyaddr_r): Likewise.
9667 (__gethostbyname_r): Likewise.
9668 (__gethostbyname2_r): Likewise.
9669 (__getnetbyaddr_r): Likewise.
9670 (__getnetbyname_r): Likewise.
9671 (__getservbyname_r): Likewise.
9672 (__getservbyport_r): Likewise.
9673 (__getprotobyname_r): Likewise.
9674 (__getprotobynumber_r): Likewise.
9675 (__getnetgrent_r): Likewise.
9676 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
9677 (__getrpcbynumber_r): Likewise.
9678 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
9680 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9683 * include/stdio.h (__fcloseall): Add attribute_hidden.
9684 (__getline): Likewise.
9685 (__path_search): Likewise.
9686 (__gen_tempname): Likewise.
9687 (__libc_message): Likewise.
9688 (__flockfile): Likewise.
9689 (__funlockfile): Likewise.
9690 (__fxprintf): Likewise.
9691 (__fxprintf_nocancel): Likewise.
9693 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9696 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
9697 (__sgetsgent_r): Likewise.
9699 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9702 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
9703 (__statfs64): Likewise.
9704 (__fstatfs64): Likewise.
9705 * include/sys/statvfs.h (__statvfs64): Likewise.
9706 (__fstatvfs64): Likewise.
9707 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
9708 (__statfs_filesize_max): Likewise.
9709 (__statfs_symlinks): Likewise.
9710 (__statfs_chown_restricted): Likewise.
9712 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9715 * include/time.h (__tzstring): Add attribute_hidden.
9716 (__tzfile_read): Likewise.
9717 (__tzfile_compute): Likewise.
9718 (__tzfile_default): Likewise.
9719 (__tzset_parse_tz): Likewise.
9720 (__offtime): Likewise.
9721 (__asctime_r): Likewise.
9722 (__tzset): Likewise.
9723 (__tz_convert): Likewise.
9724 (__getdate_r): Likewise.
9725 (__getclktck): Likewise.
9727 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9730 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
9731 (__nscd_unmap): Likewise.
9732 (__nscd_cache_search): Likewise.
9733 (__nscd_get_nl_timestamp): Likewise.
9734 (__nscd_getpwnam_r): Likewise.
9735 (__nscd_getpwuid_r): Likewise.
9736 (__nscd_getgrnam_r): Likewise.
9737 (__nscd_getgrgid_r): Likewise.
9738 (__nscd_gethostbyname_r): Likewise.
9739 (__nscd_gethostbyname2_r): Likewise.
9740 (__nscd_gethostbyaddr_r): Likewise.
9741 (__nscd_getai): Likewise.
9742 (__nscd_getgrouplist): Likewise.
9743 (__nscd_getservbyname_r): Likewise.
9744 (__nscd_getservbyport_r): Likewise.
9745 (__nscd_innetgr): Likewise.
9746 (__nscd_setnetgrent): Likewise.
9748 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9751 * include/gmp.h: Declare internal functions only if _ISOMAC is
9753 (__mpn_extract_double): Add attribute_hidden.
9754 (__mpn_extract_long_double): Likewise.
9755 (__mpn_extract_float128): Likewise.
9756 (__mpn_construct_float): Likewise.
9757 (__mpn_construct_double): Likewise.
9758 (__mpn_construct_long_double): Likewise.
9759 (__mpn_construct_float128): Likewise.
9760 (mpn_add_1): Likewise.
9761 (mpn_addmul_1): Likewise.
9762 (mpn_add_n): Likewise.
9763 (mpn_cmp): Likewise.
9764 (mpn_divrem): Likewise.
9765 (mpn_lshift): Likewise.
9766 (mpn_mul): Likewise.
9767 (mpn_mul_1): Likewise.
9768 (mpn_rshift): Likewise.
9769 (mpn_sub_1): Likewise.
9770 (mpn_submul_1): Likewise.
9771 (mpn_sub_n): Likewise.
9773 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9776 * include/wchar.h (__wcsnlen): Add attribute_hidden.
9777 (__wcscat): Likewise.
9778 (__btowc): Likewise.
9779 (__wcrtomb): Likewise.
9780 (__mbsrtowcs): Likewise.
9781 (__wcsrtombs): Likewise.
9782 (__mbsnrtowcs): Likewise.
9783 (__wcsnrtombs): Likewise.
9784 (__wcsncpy): Likewise.
9785 (__wcpncpy): Likewise.
9786 (__wmemcpy): Likewise.
9787 (__wmempcpy): Likewise.
9788 (__wmemmove): Likewise.
9789 (__wcschrnul): Likewise.
9790 (__vfwscanf): Likewise.
9791 (__vswprintf): Likewise.
9792 (__fwprintf): Likewise.
9793 (__vfwprintf): Likewise.
9795 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9798 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
9799 (__getgrgid_r): Likewise.
9800 (__getgrnam_r): Likewise.
9801 * include/pwd.h (__getpwuid_r): Likewise.
9802 (__getpwnam_r): Likewise.
9803 (__fgetpwent_r): Likewise.
9804 * include/shadow.h (__getspnam_r): Likewise.
9805 (__sgetspent_r): Likewise.
9806 (__fgetspent_r): Likewise.
9808 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9811 * include/unistd.h (__access): Add attribute_hidden.
9812 (__lseek64): Likewise.
9813 (__libc_pread64): Likewise.
9814 (__pipe2): Likewise.
9815 (__sleep): Likewise.
9816 (__chdir): Likewise.
9817 (__fchdir): Likewise.
9818 (__getcwd): Likewise.
9819 (__rmdir): Likewise.
9820 (__execvpe): Likewise.
9821 (__execve): Likewise.
9822 (__setsid): Likewise.
9823 (__getuid): Likewise.
9824 (__geteuid): Likewise.
9825 (__getgid): Likewise.
9826 (__getegid): Likewise.
9827 (__getgroups): Likewise.
9828 (__group_member): Likewise.
9829 (__ttyname_r): Likewise.
9830 (__isatty): Likewise.
9831 (__readlink): Likewise.
9832 (__unlink): Likewise.
9833 (__gethostname): Likewise.
9834 (__profil): Likewise.
9835 (__getdtablesize): Likewise.
9837 (__ftruncate): Likewise.
9838 (__ftruncate64): Likewise.
9840 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9843 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
9844 * argp/argp-fs-xinl.c: Likewise.
9845 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
9846 * argp/argp-parse.c: Include <argp.h>.
9847 * argp/argp-xinl.c: Likewise.
9848 * include/argp-fmtstream.h: New file.
9849 * include/argp.h (__argp_error): Add attribute_hidden.
9850 (__argp_failure): Likewise.
9851 (__argp_input): Likewise.
9852 (__argp_state_help): Likewise.
9854 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9857 * include/wchar.h (____wcstof_l_internal): New prototype.
9858 (____wcstod_l_internal): Likewise.
9859 (____wcstold_l_internal): Likewise.
9860 (____wcstol_l_internal): Likewise.
9861 (____wcstoul_l_internal): Likewise.
9862 (____wcstoll_l_internal): Likewise.
9863 (____wcstoull_l_internal): Likewise.
9864 (____wcstof128_l_internal): Likewise.
9865 * sysdeps/ieee754/float128/wcstof128.c
9866 (____wcstof128_l_internal): Removed.
9867 * sysdeps/ieee754/float128/wcstof128_l.c
9868 (____wcstof128_l_internal): Likewise.
9869 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
9870 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
9871 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
9872 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
9873 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
9874 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
9875 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
9876 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
9877 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
9878 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
9880 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9883 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
9884 instead of <sys/statvfs.h>.
9885 (__internal_statvfs): Removed.
9886 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
9887 instead of <sys/statvfs.h>.
9888 (__internal_statvfs64): Removed.
9889 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
9890 "internal_statvfs.h" instead of <sys/statvfs.h>.
9891 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
9892 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
9893 instead of <sys/statvfs.h>.
9894 (__internal_statvfs): Removed.
9895 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
9896 instead of <sys/statvfs.h>.
9897 (__internal_statvfs64): Removed.
9899 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9902 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
9903 (__gconv_close): Likewise.
9904 (__gconv): Likewise.
9905 (__gconv_find_transform): Likewise.
9906 (__gconv_lookup_cache): Likewise.
9907 (__gconv_compare_alias_cache): Likewise.
9908 (__gconv_load_cache): Likewise.
9909 (__gconv_get_path): Likewise.
9910 (__gconv_close_transform): Likewise.
9911 (__gconv_release_cache): Likewise.
9912 (__gconv_find_shlib): Likewise.
9913 (__gconv_release_shlib): Likewise.
9914 (__gconv_get_builtin_trans): Likewise.
9915 (__gconv_compare_alias): Likewise.
9916 * include/dlfcn.h (_dlerror_run): Likewise.
9917 * include/stdio.h (__fortify_fail_abort): Likewise.
9918 * include/time.h (__tz_compute): Likewise.
9919 (__strptime_internal): Likewise.
9920 * intl/gettextP.h (_nl_find_domain): Likewise.
9921 (_nl_load_domain): Likewise.
9922 (_nl_find_msg): Likewise.
9923 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
9924 (EXTRACT_PLURAL_EXPRESSION): Likewise.
9925 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
9926 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
9927 (__gai_find_request): Likewise.
9928 (__gai_remove_request): Likewise.
9929 (__gai_notify): Likewise.
9930 (__gai_notify_only): Likewise.
9931 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
9932 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
9933 (_dl_non_dynamic_init): Likewise.
9934 (_dl_aux_init): Likewise.
9935 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
9936 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
9938 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
9939 (__wcsmbs_clone_conv): Likewise.
9940 (__wcsmbs_named_conv): Likewise.
9942 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9945 * include/stdlib.h (__random): Add attribute_hidden.
9946 (__random_r): Likewise.
9947 (__srandom_r): Likewise.
9948 (__initstate_r): Likewise.
9949 (__setstate_r): Likewise.
9950 (__erand48_r): Likewise.
9951 (__nrand48_r): Likewise.
9952 (__jrand48_r): Likewise.
9953 (__srand48_r): Likewise.
9954 (__seed48_r): Likewise.
9955 (__lcong48_r): Likewise.
9956 (__drand48_iterate): Likewise.
9957 (__setenv): Likewise.
9958 (__unsetenv): Likewise.
9959 (__clearenv): Likewise.
9960 (__ptsname_r): Likewise.
9961 (__posix_openpt): Likewise.
9962 (__add_to_environ): Likewise.
9963 (__realpath): Add libc_hidden_proto.
9964 (__ecvt_r): Likewise.
9965 (__fcvt_r): Likewise.
9966 (__qecvt_r): Likewise.
9967 (__qfcvt_r): Likewise.
9968 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
9969 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
9971 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9974 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
9975 * include/time.h (__mktime_internal): Likewise.
9976 * libio/iolibio.h (__fopen_internal): Likewise.
9978 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
9980 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
9982 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
9983 Correct offset used to restore PIC register.
9985 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
9988 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
9989 code to load address of __getcontext_ret when generating PIC code.
9991 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
9993 * elf/Makefile (tests-static-internal): Add
9994 tst-tls1-static-non-pie.
9995 (LDFLAGS-tst-tls1-static-non-pie): New.
9996 * elf/tst-tls1-static-non-pie.c: New file.
9998 2017-09-29 Joseph Myers <joseph@codesourcery.com>
10000 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
10001 (asinh): Define using libm_alias_double.
10002 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
10003 (cbrt): Define using libm_alias_double.
10004 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
10005 <libm-alias-double.h>.
10006 (copysign): Define using libm_alias_double.
10007 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
10008 (erf): Define using libm_alias_double.
10010 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
10011 (expm1): Define using libm_alias_double.
10012 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
10013 (fabs): Define using libm_alias_double.
10014 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
10016 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
10017 <libm-alias-double.h>.
10018 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
10020 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
10021 <libm-alias-double.h>.
10022 (getpayload): Define using libm_alias_double.
10023 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
10024 <libm-alias-double.h>.
10025 (llrint): Define using libm_alias_double.
10026 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
10027 (lrint): Define using libm_alias_double.
10028 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
10029 <libm-alias-double.h>.
10030 (nextup): Define using libm_alias_double.
10031 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
10032 <libm-alias-double.h>.
10033 (roundeven): Define using libm_alias_double.
10034 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
10036 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
10037 <libm-alias-double.h>.
10038 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
10039 using libm_alias_double.
10040 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
10041 (cos): Define using libm_alias_double.
10043 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
10044 <libm-alias-double.h>.
10045 (sincos): Define using libm_alias_double.
10046 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
10047 (tanh): Define using libm_alias_double.
10048 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
10049 <libm-alias-double.h>.
10050 (totalorder): Define using libm_alias_double.
10051 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
10052 <libm-alias-double.h>.
10053 (totalordermag): Define using libm_alias_double.
10054 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
10056 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
10058 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
10059 <libm-alias-double.h>.
10060 (getpayload): Define using libm_alias_double.
10061 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
10062 <libm-alias-double.h>.
10063 (roundeven): Define using libm_alias_double.
10064 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
10065 <libm-alias-double.h>.
10066 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
10067 <libm-alias-double.h>.
10068 (totalorder): Define using libm_alias_double.
10069 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
10070 <libm-alias-double.h>.
10071 (totalordermag): Define using libm_alias_double.
10072 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
10073 libc compat symbol here.
10074 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
10075 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
10076 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
10077 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
10078 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
10079 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
10080 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
10081 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
10082 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
10083 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
10085 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
10087 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
10088 _dl_relocate_static_pie instead of _dl_start to compute load
10089 address in static PIE. Return 0 if _DYNAMIC is undefined for
10092 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
10094 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
10095 _DYNAMIC is undefined for static executable.
10097 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
10099 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
10101 2017-09-29 Joseph Myers <joseph@codesourcery.com>
10103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10105 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
10107 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10108 (__ieee754_lgamma_r): Use fabs rather than __fabs.
10109 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10110 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10111 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10112 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
10113 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
10114 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
10115 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
10116 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
10117 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
10118 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10119 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
10120 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
10121 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10122 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10123 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
10125 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
10127 * math/bits/cmathcalls.h (cimag): Remove inline.
10128 (creal): Remove inline.
10129 (conj): Remove inline.
10131 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
10133 * math/Makefile (type-float-routines): Add e_powf_log2_data.
10134 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
10135 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
10136 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
10137 (issignalingf_inline): Likewise.
10138 (POWF_LOG2_TABLE_BITS): Likewise.
10139 (POWF_LOG2_POLY_ORDER): Likewise.
10140 (POWF_SCALE_BITS): Likewise.
10141 (POWF_SCALE): Likewise.
10142 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
10143 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
10144 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
10146 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
10148 * math/Makefile (type-float-routines): Add e_log2f_data.
10149 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
10150 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
10151 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
10152 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
10153 * sysdeps/i386/fpu/e_log2f_data.c: New file.
10154 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
10155 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
10157 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
10159 * math/Makefile (type-float-routines): Add e_logf_data.
10160 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
10161 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
10162 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
10163 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
10164 * sysdeps/i386/fpu/e_logf_data.c: New file.
10165 * sysdeps/ia64/fpu/e_logf_data.c: New file.
10166 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
10168 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
10170 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
10171 undefined _DYNAMIC in PIE libc.a.
10172 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
10175 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
10177 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
10178 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
10179 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
10180 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
10181 (__signbit): Remove.
10182 (__signbitl): Remove.
10183 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
10184 (__signbit): Remove.
10185 (__signbitl): Remove.
10186 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
10187 (__signbit): Remove.
10188 (__signbitl): Remove.
10189 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
10190 (__signbit): Remove.
10191 (__signbitl): Remove.
10192 * sysdeps/tile/bits/mathinline.h: Delete file.
10193 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
10194 (__signbit): Remove.
10195 (__signbitl): Remove.
10197 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
10199 * math/math.h: Improve handling of C99 isgreater macros.
10200 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
10201 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
10202 * sysdeps/powerpc/bits/mathinline.h: Likewise.
10203 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10204 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
10206 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10208 * sysdeps/aarch64/libm-test-ulps: Update.
10210 2017-09-28 Joseph Myers <joseph@codesourcery.com>
10213 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10214 math_opt_barrier on argument when doing arithmetic on it.
10215 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10216 Likewise. Use math_force_eval not math_opt_barrier after
10218 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
10219 math_opt_barrier on argument when doing arithmetic on it.
10220 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10223 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
10225 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
10227 (__freeifaddrs): Likewise.
10229 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10231 * include/dirent.h (__dirfd): New declaration.
10232 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
10234 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
10235 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
10236 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
10237 * include/unistd.h (__revoke): New declaration.
10238 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
10240 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10241 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
10243 * include/dirent.h (__seekdir): New declaration.
10244 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
10245 redefine as weak alias.
10246 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
10248 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
10249 and use libc_hidden_def on them.
10250 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
10252 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
10253 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
10254 instead of getifaddrs and freeifaddrs.
10256 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
10259 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
10260 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
10261 (__dso_handle): Remove declaration.
10262 * dlfcn/tstatexit.c (__dso_handle): Removed.
10263 (main): Don't check __dso_handle.
10264 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
10265 (main): Don't check __dso_handle.
10266 * include/dso_handle.h: New file.
10267 * malloc/mtrace.c: Include <dso_handle.h>.
10268 (mtrace): Pass __dso_handle directly.
10269 * nptl/pthread_atfork.c: Include <dso_handle.h>.
10270 (__dso_handle): Remove declaration.
10271 (__pthread_atfork): Pass __dso_handle directly.
10272 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
10273 (__dso_handle): Removed.
10274 * posix/wordexp-test.c: Include <dso_handle.h>.
10275 (__dso_handle): Remove declaration.
10276 (__app_register_atfork): Pass __dso_handle directly.
10277 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
10278 (__dso_handle): Remove declaration.
10279 (at_quick_exit): Pass __dso_handle directly.
10280 * stdlib/atexit.c: Include <dso_handle.h>.
10281 (__dso_handle): Remove declaration.
10282 (atexit): Pass __dso_handle directly.
10283 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
10284 (__dso_handle): Removed.
10286 2017-09-26 Joseph Myers <joseph@codesourcery.com>
10288 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
10291 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
10293 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
10294 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
10295 values to correct default value for given type.
10297 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
10300 * elf/Makefile (tests): Add tst-debug1.
10301 ($(objpfx)tst-debug1): New.
10302 ($(objpfx)tst-debug1.out): Likewise.
10303 ($(objpfx)tst-debug1mod1.so): Likewise.
10304 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
10305 with p_filesz == 0.
10306 * elf/tst-debug1.c: New file.
10308 2017-09-26 Joseph Myers <joseph@codesourcery.com>
10310 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
10311 Define using __ifunc.
10313 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10315 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
10318 2017-09-26 Joseph Myers <joseph@codesourcery.com>
10321 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
10323 2017-09-26 Florian Weimer <fweimer@redhat.com>
10325 * resolv/Makefile (tests-internal): Fix typo in comment.
10327 2017-09-26 Florian Weimer <fweimer@redhat.com>
10329 * resolv/nss_dns/dns-host.c: Fix typo in comment.
10331 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10333 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
10334 Use an union instead of a max_align_t array for __space,
10335 so that __space is the same size on all platforms.
10336 * malloc/scratch_buffer_grow_preserve.c
10337 (__libc_scratch_buffer_grow_preserve): Likewise.
10340 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
10342 * posix/Makefile (routines): Add glob-lstat-compat and
10343 glob64-lstat-compat.
10344 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
10345 * posix/glob-lstat-compat.c: New file.
10346 * posix/glob64-lstat-compat.c: Likewise.
10347 * posix/tst-glob_lstat_compat.c: Likewise.
10348 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
10349 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
10350 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
10351 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
10353 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
10354 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
10355 * posix/glob.c (glob_lstat): New function.
10356 (glob): Rename to __glob and add versioned symbol to 2.27.
10357 (glob_in_dir): Use glob_lstat.
10358 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
10359 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10360 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
10362 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
10363 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
10364 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
10365 gl_lstat on glob call.
10366 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
10367 and glob64 symbols.
10368 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10369 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10370 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10371 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10372 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10373 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10374 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10375 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10376 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10377 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10378 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10379 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10382 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10384 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10385 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10386 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10387 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10388 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10391 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10392 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10393 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10395 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
10397 * configure.ac (AS): Require binutils 2.25 or later.
10398 * configure: Regenerated.
10400 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10403 * stdlib/test-atexit-race-common.c (do_test): Minimize required
10406 2017-09-25 DJ Delorie <dj@redhat.com>
10409 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
10412 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10414 * sysdeps/ieee754/dbl-64/sincos32.h
10415 [SINCCOS32_H]: Remove define.
10416 [SINCOS32_H]: Define.
10418 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
10420 * math/Versions (expf): New libm symbol at GLIBC_2.27.
10422 * math/w_exp2f.c: New file.
10423 * math/w_expf.c: New file.
10424 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
10425 * math/w_expf_compat.c (__expf_compat): Likewise.
10426 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
10427 * sysdeps/ia64/fpu/e_expf.S: Likewise.
10428 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10429 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10430 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10431 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10432 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10433 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10434 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10435 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10436 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10437 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10438 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10439 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10448 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10449 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10450 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10451 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10452 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10457 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10458 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10459 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10461 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
10463 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
10464 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
10465 (roundtoint, converttoint): Likewise.
10466 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
10467 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
10468 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
10469 * sysdeps/ieee754/flt-32/math_config.h: New file.
10470 * sysdeps/ieee754/flt-32/math_errf.c: New file.
10471 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
10472 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
10473 * sysdeps/i386/fpu/math_errf.c: New file.
10474 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
10475 * sysdeps/ia64/fpu/math_errf.c: New file.
10476 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
10477 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
10479 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
10481 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
10482 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
10483 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
10484 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
10485 to make sure that these symbols are defined.
10486 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
10488 (__need_NULL): Do not define.
10489 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
10491 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
10492 CMGROUP_MAX, cmsgcred): Do not define.
10493 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
10495 * bits/socket.h: Likewise.
10496 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
10497 __gettimeofday instead of gettimeofday.
10498 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
10499 instead of settimeofday.
10501 2017-09-22 Joseph Myers <joseph@codesourcery.com>
10503 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
10504 (asinhf): Define using libm_alias_float.
10505 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
10506 (atanf): Define using libm_alias_float.
10507 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
10508 (cbrtf): Define using libm_alias_float.
10509 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
10510 (ceilf): Define using libm_alias_float.
10511 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
10512 <libm-alias-float.h>.
10513 (copysignf): Define using libm_alias_float.
10514 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
10515 (cosf): Define using libm_alias_float.
10516 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
10517 (erff): Define using libm_alias_float.
10519 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
10520 (expm1f): Define using libm_alias_float.
10521 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
10522 (fabsf): Define using libm_alias_float.
10523 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
10524 (floorf): Define using libm_alias_float.
10525 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
10526 (frexpf): Define using libm_alias_float.
10527 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
10529 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
10530 <libm-alias-float.h>.
10531 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
10533 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
10534 <libm-alias-float.h>.
10535 (getpayloadf): Define using libm_alias_float.
10536 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
10537 <libm-alias-float.h>.
10538 (llrintf): Define using libm_alias_float.
10539 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
10540 <libm-alias-float.h>.
10541 (llroundf): Define using libm_alias_float.
10542 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
10543 (logbf): Define using libm_alias_float.
10544 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
10545 (lrintf): Define using libm_alias_float.
10546 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
10547 (lroundf): Define using libm_alias_float.
10548 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
10549 (modff): Define using libm_alias_float.
10550 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
10551 <libm-alias-float.h>.
10552 (nearbyintf): Define using libm_alias_float.
10553 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
10554 <libm-alias-float.h>.
10555 (nextafterf): Define using libm_alias_float.
10556 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
10557 <libm-alias-float.h>.
10558 (nextupf): Define using libm_alias_float.
10559 * sysdeps/ieee754/flt-32/s_remquof.c: Include
10560 <libm-alias-float.h>.
10561 (remquof): Define using libm_alias_float.
10562 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
10563 (rintf): Define using libm_alias_float.
10564 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
10565 <libm-alias-float.h>.
10566 (roundevenf): Define using libm_alias_float.
10567 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
10568 (roundf): Define using libm_alias_float.
10569 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
10570 using libm_alias_float.
10571 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
10572 <libm-alias-float.h>.
10573 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
10574 Define using libm_alias_float.
10575 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
10576 <libm-alias-float.h>.
10577 (sincosf): Define using libm_alias_float.
10578 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
10579 (sinf): Define using libm_alias_float.
10580 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
10581 (tanf): Define using libm_alias_float.
10582 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
10583 (tanhf): Define using libm_alias_float.
10584 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
10585 <libm-alias-float.h>.
10586 (totalorderf): Define using libm_alias_float.
10587 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
10588 <libm-alias-float.h>.
10589 (totalordermagf): Define using libm_alias_float.
10590 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
10591 (truncf): Define using libm_alias_float.
10592 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
10594 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
10597 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10600 math/math.h: Let fpclassify use the builtin in C++ mode, even
10601 when optimazing for size.
10603 2017-09-22 Joseph Myers <joseph@codesourcery.com>
10605 * csu/Makefile (generated): Do not add version-info.h.
10606 (before-compile): Likewise.
10607 (all-Banner-files): Remove variable.
10608 ($(objpfx)version-info.h): Remove rule.
10609 * csu/version.c (banner): Do not include "version-info.h".
10610 * libidn/Banner: Remove.
10611 * manual/contrib.texi (Simon Josefsson): New entry.
10613 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10615 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10616 Remove conditionals on LDBL_MANT_DIG.
10617 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
10618 (__ieee754_lgammal_r): Likewise.
10620 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10622 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
10624 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
10625 _Float128 and L(). Replace _Float128 with long double and L(x)
10626 with xL, throughout the file.
10627 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10628 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10629 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10630 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
10632 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10634 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
10635 sysdeps/ieee754/ldbl-128ibm.
10636 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
10637 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
10638 of including it. Keep _Float128 and L() intact. These will be
10639 reviewed by a separate patch.
10640 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10641 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10642 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10643 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
10645 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
10648 (__finitef128): Define to __redirect___finitef128.
10649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
10650 (__isinff128): Define to __redirect___isinff128.
10651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
10652 (__isnanf128): Define to __redirect___isnanf128.
10654 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10656 * sysdeps/powerpc/powerpc64le/Makefile
10657 (CFLAGS-tst-strtod-nan-locale.c): New variable.
10658 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
10660 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
10661 Carlos O'Donell <carlos@redhat.com>
10664 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
10665 * stdlib/test-dlclose-exit-race.c: New file.
10666 * stdlib/test-dlclose-exit-race-helper.c: New file.
10667 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
10669 2017-09-21 Joseph Myers <joseph@codesourcery.com>
10671 * crypt/Banner: Remove file.
10672 * nptl/Banner: Likewise.
10673 * resolv/Banner: Likewise.
10674 * soft-fp/Banner: Likewise.
10675 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
10676 ($(objpfx)version.d): Remove dependency on banner.h.
10677 ($(objpfx)version.os): Likewise.
10678 * nptl/version.c (banner): Do not include banner.h.
10679 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
10680 Jelinek and BIND code.
10682 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
10683 Carlos O'Donell <carlos@redhat.com>
10685 * support/xdlfcn.h: New file.
10686 * support/xdlfcn.c: New file.
10687 * support/Makefile (libsupport-routines): Add xdlfcn.
10688 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
10690 2017-09-20 Joseph Myers <joseph@codesourcery.com>
10693 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10694 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
10695 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
10696 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
10697 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10698 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
10699 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
10700 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10702 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
10703 Ricky Zhou <rickyz@google.com>
10704 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
10707 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
10709 (__new_exitfn): Fail registration when we finished at_exit processing.
10710 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10711 * stdlib/on_exit.c (__on_exit): Likewise.
10712 * stdlib/exit.c (__exit_funcs_done): New variable.
10713 (__run_exit_handlers): Use __exit_funcs_lock.
10714 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
10716 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
10717 (test-cxa_atexit-race, test-on_exit-race): New tests.
10718 * stdlib/test-atexit-race-common.c: New file.
10719 * stdlib/test-atexit-race.c: New file.
10720 * stdlib/test-at_quick_exit-race.c: New file.
10721 * stdlib/test-cxa_atexit-race.c: New file.
10722 * stdlib/test-on_exit-race.c: New file.
10724 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
10726 * benchtests/Makefile: Add exp2f and log2f benchmarks.
10727 * benchtests/exp2f-inputs: Copy of expf-inputs.
10728 * benchtests/log2f-inputs: Copy of logf-inputs.
10730 2017-09-19 Joseph Myers <joseph@codesourcery.com>
10732 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
10733 Explicitly take address of first element of array arguments in
10734 call to INLINE_SYSCALL.
10736 2017-09-19 Andreas Schwab <schwab@suse.de>
10739 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
10741 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
10743 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
10744 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
10745 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10746 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
10747 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10748 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
10749 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10750 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
10751 * posix/Makefile (tests): Add tst-fexecve.
10752 * posix/tst-fexecve.c: New file.
10754 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10756 * benchtests/Makefile: Add logf benchmark.
10757 * benchtests/logf-inputs: Add reduced trace from wrf_r.
10759 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10761 * benchtests/Makefile: Add expf benchmark.
10762 * benchtests/expf-inputs: Add reduced trace from wrf_r.
10764 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10766 * csu/Makefile: Add -funwind-tables to libc-start.c.
10767 * debug/Makefile: Add -funwind-tables to backtrace.c.
10768 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
10769 * sysdeps/arm/Makefile: Likewise.
10770 * sysdeps/i386/Makefile: Likewise.
10771 * sysdeps/m68k/Makefile: Likewise.
10772 * sysdeps/mips/Makefile: Likewise.
10773 * sysdeps/nios2/Makefile: Likewise.
10774 * sysdeps/sh/Makefile: Likewise.
10775 * sysdeps/sparc/Makefile: Likewise.
10777 2017-09-19 Joseph Myers <joseph@codesourcery.com>
10779 * benchtests/Makefile (bench-math): Add trunc and truncf.
10780 (CFLAGS-bench-trunc.c): New variable.
10781 (CFLAGS-bench-truncf.c): Likewise.
10782 * benchtests/trunc-inputs: New file.
10783 * benchtests/truncf-inputs: Likewise.
10785 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10787 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
10789 2017-09-18 Joseph Myers <joseph@codesourcery.com>
10791 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
10792 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
10794 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
10795 (exp10l): Define as weak alias.
10796 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
10797 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
10799 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
10800 (remainderl): Define as weak alias.
10802 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
10803 (fmal): Define using libm_alias_ldouble.
10804 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
10805 (acoshl): Define using libm_alias_ldouble.
10806 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
10807 (acosl): Define using libm_alias_ldouble.
10808 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
10809 (asinl): Define using libm_alias_ldouble.
10810 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
10811 (atan2l): Define using libm_alias_ldouble.
10812 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
10813 (atanhl): Define using libm_alias_ldouble.
10814 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
10815 (coshl): Define using libm_alias_ldouble.
10816 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
10817 (exp10l): Define using libm_alias_ldouble.
10818 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
10819 (exp2l): Define using libm_alias_ldouble.
10820 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
10821 (expl): Define using libm_alias_ldouble.
10822 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
10823 (fmodl): Define using libm_alias_ldouble.
10824 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
10825 (hypotl): Define using libm_alias_ldouble.
10826 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
10827 (j0l): Define using libm_alias_ldouble.
10829 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
10830 (j1l): Define using libm_alias_ldouble.
10832 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
10833 (jnl): Define using libm_alias_ldouble.
10835 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
10836 (log10l): Define using libm_alias_ldouble.
10837 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
10838 (log2l): Define using libm_alias_ldouble.
10839 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
10840 (logl): Define using libm_alias_ldouble.
10841 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
10842 (powl): Define using libm_alias_ldouble.
10843 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
10844 (remainderl): Define using libm_alias_ldouble.
10845 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
10846 (sinhl): Define using libm_alias_ldouble.
10847 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
10848 (sqrtl): Define using libm_alias_ldouble.
10849 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
10850 (tgammal): Define using libm_alias_ldouble.
10851 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
10852 (exp10l): Do not use long_double_symbol here.
10853 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
10854 [LIBM_SVID_COMPAT] (remainderl): Likewise.
10855 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
10856 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10857 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10858 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10859 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10860 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10861 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10862 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
10863 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10864 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10865 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10866 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10867 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10868 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10869 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10870 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10871 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10872 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10873 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10874 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10876 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
10878 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
10879 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
10881 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
10883 * io/read.c (read): Add libc_hidden_weak.
10884 * sysdeps/mach/hurd/read.c (read): Likewise.
10885 * io/write.c (write): Likewise.
10886 * sysdeps/mach/hurd/write.c (write): Likewise.
10887 * io/pread64.c (__pread64): Likewise.
10888 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
10889 * posix/pread64.c (__pread64): Add libc_hidden_def.
10891 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10893 * benchtests/scripts/compare_strings.py: New option -g.
10894 (draw_graph): Print a message that a graph is being generated.
10895 (process_results): Generate graph only if -g is passed.
10896 (main): Process option -g.
10898 * benchtests/scripts/compare_strings.py (process_results):
10899 Better spacing for output.
10901 * benchtests/scripts/compare_strings.py: Use argparse.
10902 * benchtests/README: Document existence of compare_strings.py.
10904 2017-09-15 Joseph Myers <joseph@codesourcery.com>
10906 * math/s_fma.c: Include <libm-alias-double.h>.
10907 (fma): Define using libm_alias_double.
10908 * math/s_nextafter.c: Include <libm-alias-double.h>.
10909 (nextafter): Define using libm_alias_double.
10910 * math/w_acos_compat.c: Include <libm-alias-double.h>.
10911 (acos): Define using libm_alias_double.
10912 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
10913 (aocsh): Define using libm_alias_double.
10914 * math/w_asin_compat.c: Include <libm-alias-double.h>.
10915 (asin): Define using libm_alias_double.
10916 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
10917 (atan2): Define using libm_alias_double.
10918 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
10919 (atanh): Define using libm_alias_double.
10920 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
10921 (cosh): Define using libm_alias_double.
10922 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
10923 (exp10): Define using libm_alias_double.
10924 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
10925 (exp2): Define using libm_alias_double.
10926 * math/w_exp_compat.c: Include <libm-alias-double.h>.
10927 (exp): Define using libm_alias_double.
10928 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
10929 (fmod): Define using libm_alias_double.
10930 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
10931 (hypot): Define using libm_alias_double.
10932 * math/w_j0_compat.c: Include <libm-alias-double.h>.
10933 (j0): Define using libm_alias_double.
10935 * math/w_j1_compat.c: Include <libm-alias-double.h>.
10936 (j1): Define using libm_alias_double.
10938 * math/w_jn_compat.c: Include <libm-alias-double.h>.
10939 (jn): Define using libm_alias_double.
10941 * math/w_log10_compat.c: Include <libm-alias-double.h>.
10942 (log10): Define using libm_alias_double.
10943 * math/w_log2_compat.c: Include <libm-alias-double.h>.
10944 (log2): Define using libm_alias_double.
10945 * math/w_log_compat.c: Include <libm-alias-double.h>.
10946 (log): Define using libm_alias_double.
10947 * math/w_pow_compat.c: Include <libm-alias-double.h>.
10948 (pow): Define using libm_alias_double.
10949 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
10950 (remainder): Define using libm_alias_double.
10951 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
10952 (sinh): Define using libm_alias_double.
10953 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
10954 (sqrt): Define using libm_alias_double.
10955 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
10956 (tgamma): Define using libm_alias_double.
10957 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
10958 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
10959 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
10960 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
10961 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
10962 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
10963 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
10964 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
10965 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
10966 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
10967 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
10968 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
10969 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
10970 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
10971 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
10972 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
10973 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
10974 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
10975 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
10976 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
10977 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
10978 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
10979 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
10980 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
10981 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
10983 * math/e_acoshl.c: Remove.
10984 * math/e_acosl.c: Likewise.
10985 * math/e_asinl.c: Likewise.
10986 * math/e_atan2l.c: Likewise.
10987 * math/e_atanhl.c: Likewise.
10988 * math/e_coshl.c: Likewise.
10989 * math/e_expl.c: Likewise.
10990 * math/e_fmodl.c: Likewise.
10991 * math/e_gammal_r.c: Likewise.
10992 * math/e_hypotl.c: Likewise.
10993 * math/e_j0l.c: Likewise.
10994 * math/e_j1l.c: Likewise.
10995 * math/e_jnl.c: Likewise.
10996 * math/e_lgammal_r.c: Likewise.
10997 * math/e_log10l.c: Likewise.
10998 * math/e_log2l.c: Likewise.
10999 * math/e_logl.c: Likewise.
11000 * math/e_powl.c: Likewise.
11001 * math/e_rem_pio2l.c: Likewise.
11002 * math/e_sinhl.c: Likewise.
11003 * math/e_sqrtf128.c: Likewise.
11004 * math/e_sqrtl.c: Likewise.
11005 * math/k_cosl.c: Likewise.
11006 * math/k_sinl.c: Likewise.
11007 * math/k_tanl.c: Likewise.
11008 * math/s_asinhl.c: Likewise.
11009 * math/s_atanl.c: Likewise.
11010 * math/s_cbrtl.c: Likewise.
11011 * math/s_erfl.c: Likewise.
11012 * math/s_expm1l.c: Likewise.
11013 * math/s_log1pl.c: Likewise.
11014 * math/s_tanhl.c: Likewise.
11016 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11019 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
11020 [$(subdir) = math] (sysdep_calls): New variable. Has the
11021 previous contents of sysdep_routines, but re-sorted..
11022 [$(subdir) = math] (sysdep_routines): Re-use the contents from
11024 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
11025 defined in sysdep_calls and replace by the respective m_* names.
11026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
11027 (compat_symbol): Undefine to avoid duplicated compat symbols in
11030 2017-09-15 Joseph Myers <joseph@codesourcery.com>
11032 * math/s_fmaf.c: Include <libm-alias-float.h>.
11033 (fmaf): Define using libm_alias_float.
11034 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
11035 (acosf): Define using libm_alias_float.
11036 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
11037 (acoshf): Define using libm_alias_float.
11038 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
11039 (asinf): Define using libm_alias_float.
11040 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
11041 (atan2f): Define using libm_alias_float.
11042 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
11043 (atanhf): Define using libm_alias_float.
11044 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
11045 (coshf): Define using libm_alias_float.
11046 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
11047 (exp10f): Define using libm_alias_float.
11048 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
11049 (fmodf): Define using libm_alias_float.
11050 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
11051 (hypotf): Define using libm_alias_float.
11052 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
11053 (j0f): Define using libm_alias_float.
11055 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
11056 (j1f): Define using libm_alias_float.
11058 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
11059 (jnf): Define using libm_alias_float.
11061 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
11062 (log10f): Define using libm_alias_float.
11063 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
11064 (log2f): Define using libm_alias_float.
11065 * math/w_logf_compat.c: Include <libm-alias-float.h>.
11066 (logf): Define using libm_alias_float.
11067 * math/w_powf_compat.c: Include <libm-alias-float.h>.
11068 (powf): Define using libm_alias_float.
11069 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
11070 (remainderf): Define using libm_alias_float.
11071 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
11072 (sinhf): Define using libm_alias_float.
11073 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
11074 (sqrtf): Define using libm_alias_float.
11075 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
11076 (tgammaf): Define using libm_alias_float.
11078 2017-09-14 Joseph Myers <joseph@codesourcery.com>
11080 * include/math.h (roundeven): Change hidden_proto call to
11082 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
11084 [NO_LONG_DOUBLE] (__j0l): New strong alias.
11085 (y0): Rename to __y0 and define as weak alias.
11086 [NO_LONG_DOUBLE] (__y0l): New strong alias.
11087 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
11089 (y0f): Rename to __y0f and define as weak alias.
11090 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
11092 [NO_LONG_DOUBLE] (__j1l): New strong alias.
11093 (y1): Rename to __y1 and define as weak alias.
11094 [NO_LONG_DOUBLE] (__y1l): New strong alias.
11095 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
11097 (y1f): Rename to __y1f and define as weak alias.
11098 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
11100 [NO_LONG_DOUBLE] (__jnl): New strong alias.
11101 (yn): Rename to __yn and define as weak alias.
11102 [NO_LONG_DOUBLE] (__ynl): New strong alias.
11103 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
11105 (ynf): Rename to __ynf and define as weak alias.
11106 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
11107 (fromfp): Define as weak alias.
11108 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
11109 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
11110 (fromfpx): Define as weak alias.
11111 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
11112 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
11113 __getpayload and define as weak alias.
11114 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
11115 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
11116 __roundeven and define as weak alias.
11117 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
11118 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
11120 (setpayload): Define as weak alias.
11121 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
11122 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
11124 (setpayloadsig): Define as weak alias.
11125 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
11126 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
11127 __totalorder and define as weak alias.
11128 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
11129 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
11130 to __totalordermag and define as weak alias.
11131 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
11132 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
11133 (ufromfp): Define as weak alias.
11134 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
11135 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
11137 (ufromfpx): Define as weak alias.
11138 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
11139 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
11140 Rename to __getpayload and define as weak alias.
11141 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
11142 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
11143 Rename to __roundeven and define as weak alias.
11144 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
11145 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
11146 Rename to __totalorder and define as weak alias.
11147 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
11148 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
11149 (totalordermag): Rename to __totalordermag and define as weak
11151 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
11152 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
11154 (__roundevenl): Likewise.
11155 (__totalorderl): Likewise.
11156 (__totalordermagl): Likewise
11157 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
11159 (fromfpf128): Define as weak alias.
11160 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
11162 (fromfpxf128): Define as weak alias.
11163 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
11165 (setpayloadf128): Define as weak alias.
11166 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
11167 __setpayloadsigf128.
11168 (setpayloadsigf128): Define as weak alias.
11169 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
11171 (ufromfpf128): Define as weak alias.
11172 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
11174 (ufromfpxf128): Define as weak alias.
11175 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
11176 (fromfpf): Define as weak alias.
11177 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
11179 (fromfpxf): Define as weak alias.
11180 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
11181 __getpayloadf and define as weak alias.
11182 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
11183 __roundevenf and define as weak alias.
11184 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
11186 (setpayloadf): Define as weak alias.
11187 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
11189 (setpayloadsigf): Define as weak alias.
11190 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
11191 __totalorderf and define as weak alias.
11192 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
11193 Rename to __totalordermagf and define as weak alias.
11194 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
11196 (ufromfpf): Define as weak alias.
11197 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
11199 (ufromfpxf): Define as weak alias.
11200 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
11202 (fromfpl): Define as weak alias.
11203 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
11205 (fromfpxl): Define as weak alias.
11206 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
11207 to __getpayloadl and define as weak alias.
11208 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
11209 __roundevenl and define as weak alias.
11210 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
11212 (setpayloadl): Define as weak alias.
11213 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
11215 (setpayloadsigl): Define as weak alias.
11216 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
11217 to __totalorderl and define as weak alias.
11218 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
11219 Rename to __totalordermagl and define as weak alias.
11220 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
11222 (ufromfpl): Define as weak alias.
11223 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
11225 (ufromfpxl): Define as weak alias.
11226 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
11228 (fromfpl): Define as weak alias.
11229 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
11231 (fromfpxl): Define as weak alias.
11232 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
11233 Rename to __getpayloadl and define as weak alias.
11234 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
11235 to __roundevenl and define as weak alias. Call __roundeven
11236 instead of roundeven.
11237 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
11239 (setpayloadl): Define as weak alias.
11240 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
11242 (setpayloadsigl): Define as weak alias.
11243 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
11244 Rename to __totalorderl and define as weak alias.
11245 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
11246 Rename to __totalordermagl and define as weak alias.
11247 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
11249 (ufromfpl): Define as weak alias.
11250 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
11252 (ufromfpxl): Define as weak alias.
11253 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
11255 (fromfpl): Define as weak alias.
11256 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
11258 (fromfpxl): Define as weak alias.
11259 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
11260 __getpayloadl and define as weak alias.
11261 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
11262 __roundevenl and define as weak alias.
11263 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
11265 (setpayloadl): Define as weak alias.
11266 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
11268 (setpayloadsigl): Define as weak alias.
11269 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
11270 __totalorderl and define as weak alias.
11271 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
11272 Rename to __totalordermagl and define as weak alias.
11273 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
11275 (ufromfpl): Define as weak alias.
11276 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
11278 (ufromfpxl): Define as weak alias.
11280 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
11282 * benchtests/bench-string.h (realloc_bufs): New function.
11283 (test_init): Call it.
11284 * benchtests/bench-memset-large.c (do_test): Likewise.
11285 * benchtests/bench-memset.c (do_test): Likewise.
11287 * benchtests/bench-memset-large.c: Print output in JSON
11289 * benchtests/bench-memset.c: Likewise.
11291 2017-09-14 Mike FABIAN <mfabian@redhat.com>
11294 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
11295 * iconvdata/Makefile: Add IBM858.
11296 * iconvdata/gconv-modules: Likewise.
11297 * iconvdata/tst-tables.sh: Likewise.
11298 * iconvdata/ibm858.c: New file.
11299 * localedata/charmaps/IBM858: Likewise.
11301 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
11304 * locales/niu_NZ (LC_TIME): copy "niu_NU".
11305 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
11307 2017-09-14 Mike FABIAN <mfabian@redhat.com>
11310 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
11311 and add tel_int_fmt.
11313 2017-09-14 Joseph Myers <joseph@codesourcery.com>
11315 * sysdeps/generic/libm-alias-float128.h: New file.
11316 * sysdeps/generic/math-type-macros-float128.h: Include
11317 <libm-alias-float128.h>.
11318 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
11320 2017-09-13 Joseph Myers <joseph@codesourcery.com>
11322 * sysdeps/generic/libm-alias-ldouble.h: New file.
11323 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
11324 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
11325 * sysdeps/generic/math-type-macros-ldouble.h: Include
11326 <libm-alias-ldouble.h>.
11327 [!declare_mgen_alias] (declare_mgen_alias): Define to use
11328 libm_alias_ldouble.
11330 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
11332 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
11333 * math/w_exp_compat.c: ... here.
11334 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
11335 * math/w_expf_compat.c: ... here.
11336 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
11337 * math/w_expl_compat.c: ... here.
11338 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
11339 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
11340 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
11341 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
11343 2017-09-13 Joseph Myers <joseph@codesourcery.com>
11345 * math/w_scalbln_template.c (strong_alias): Do not undefine and
11347 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
11349 (ldexpl): Only define as compat symbol for libc, not libm.
11350 (scalbnl): Define as compat symbol for libc here.
11351 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
11352 define for [IS_IN (libc)].
11353 (__ldexpl_2): Remove alias.
11354 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
11355 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
11356 name in long_double_symbol call.
11357 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
11358 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11359 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11360 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
11361 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
11363 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
11364 Define as compat symbol.
11366 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11368 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
11369 * sysdeps/unix/sysv/linux/alpha/Makefile
11370 [$(subdir) = csu] (sysdep_routines): Remove rule.
11372 2017-09-13 Joseph Myers <joseph@codesourcery.com>
11374 * sysdeps/generic/libm-alias-double.h: New file.
11375 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
11376 * sysdeps/generic/math-type-macros-double.h: Include
11377 <libm-alias-double.h>.
11378 [declare_mgen_alias] (declare_mgen_alias): Define to use
11380 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
11381 (M_LIBM_NEED_COMPAT): Remove macro.
11382 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
11383 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
11384 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
11386 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11387 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11388 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11389 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11390 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11391 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11392 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11393 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11394 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11395 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11396 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11397 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11398 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11399 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11400 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11401 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11402 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11403 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11404 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11405 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11406 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11407 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11408 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11409 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11410 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11411 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11412 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11413 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
11414 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
11416 (declare_mgen_alias): New macro.
11417 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
11418 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
11419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
11420 (M_LIBM_NEED_COMPAT): Remove macro.
11421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
11422 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
11423 <first-versions.h>.
11424 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
11425 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
11427 2017-09-12 Joseph Myers <joseph@codesourcery.com>
11429 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
11430 (declare_mgen_alias_2): Remove.
11431 * sysdeps/generic/math-type-macros-double.h
11432 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
11434 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
11436 (ldexp): Define with declare_mgen_alias.
11437 (scalbn): Likewise.
11439 2017-09-12 Steve Ellcey <sellcey@cavium.com>
11441 * grp/initgroups.c: Include config.h.
11442 (DEFAULT_CONFIG): New macro.
11443 (internal_getgrouplist): Use DEFAULT_CONFIG.
11444 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11445 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
11446 (DEFAULT_DEFCONFIG): New macro.
11447 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
11448 * nss/grp-lookup.c: Include config.h
11449 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
11450 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
11451 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
11452 * manual/nss.texi: Update default values section.
11454 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
11457 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
11459 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
11460 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11461 Handle MathVec_Prefer_No_AVX512.
11462 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
11463 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
11466 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
11468 * posix/sched_primax.c (__sched_get_priority_max): Add
11470 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
11471 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
11472 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
11473 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
11474 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
11475 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
11476 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
11477 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
11480 2017-09-11 Joseph Myers <joseph@codesourcery.com>
11482 * sysdeps/generic/libm-alias-float.h: New file.
11483 * sysdeps/generic/math-type-macros-float.h: Include
11484 <libm-alias-float.h>.
11485 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
11487 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
11490 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
11491 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
11492 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
11493 (HWCAP_IMPORTANT): Likewise.
11494 (HWCAP_X86_64): New enum.
11495 (HWCAP_X86_AVX512_1): Updated.
11496 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
11497 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
11498 (modules-names): Add x86_64/tst-x86_64mod-1.
11499 (LDFLAGS-tst-x86_64mod-1.so): New.
11500 ($(objpfx)tst-x86_64-1): Likewise.
11501 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
11502 (tst-x86_64-1-clean): Likewise.
11503 * sysdeps/x86_64/tst-x86_64-1.c: New file.
11504 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
11506 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11508 * po/sv.po: Update translations.
11509 * po/fr.po: Likewise.
11511 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11513 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
11515 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
11517 * elf/rtld-Rules: Fix $(error) use.
11519 2017-09-09 Mike FABIAN <mfabian@redhat.com>
11522 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
11523 * locale/iso-639.def: Change “Bengali” to “Bangla”.
11524 * localedata/locales/bn_BD: “Bengali” was still used in some
11525 comments. Change it to “Bangla”.
11527 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
11529 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
11531 2017-09-08 Steve Ellcey <sellcey@cavium.com>
11533 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
11534 thunderx2t99p1 to list of cpu names.
11535 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
11536 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
11538 2017-09-08 Steve Ellcey <sellcey@cavium.com>
11540 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
11541 Use strcmp instead of tunable_is_name.
11543 2017-09-08 Joseph Myers <joseph@codesourcery.com>
11545 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11546 (F_GET_RW_HINT): New macro.
11547 [__USE_GNU] (F_SET_RW_HINT): Likewise.
11548 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
11549 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
11550 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
11551 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
11552 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
11553 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
11554 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
11555 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
11557 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11558 (F_ADD_SEALS): New macro.
11559 [__USE_GNU] (F_GET_SEALS): Likewise.
11560 [__USE_GNU] (F_SEAL_SEAL): Likewise.
11561 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
11562 [__USE_GNU] (F_SEAL_GROW): Likewise.
11563 [__USE_GNU] (F_SEAL_WRITE): Likewise.
11565 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11567 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
11568 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
11569 * posix/glob_internal.h (__glob_pattern_type):
11570 * posix/glob.c (glob):
11571 * posix/glob_pattern_p.c (__glob_pattern_p):
11574 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
11575 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11576 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
11577 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
11578 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
11579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
11580 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
11581 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
11582 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
11583 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11584 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
11585 * sysdeps/wordsize-64/glob.c: Likewise.
11586 * sysdeps/wordsize-64/glob64.c: Likewise.
11587 * sysdeps/wordsize-64/globfree.c: Likewise.
11588 * sysdeps/wordsize-64/globfree64.c: Likewise.
11589 * sysdeps/unix/sysv/linux/glob.c: New file.
11590 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
11591 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
11592 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
11593 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
11594 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
11595 adds !GLOB_NO_OLD_VERSION as an extra condition.
11596 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
11597 using relative path instead of absolute one.
11598 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11599 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11600 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11601 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11602 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
11603 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
11606 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
11607 (glob): Use the same scratch buffer for both getlogin_r and
11608 getpwnam_r. Don’t require preallocation of the login name. This
11609 simplifies storage allocation, and corrects the handling of
11613 * posix/glob.c (glob): Port recent patches to platforms
11614 lacking getpwnam_r.
11615 (glob): Fix longstanding misuse of errno after getpwnam_r, which
11616 returns an error number rather than setting errno.
11618 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
11619 instead of GCC extension.
11620 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
11621 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
11622 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
11626 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
11627 * posix/bug-glob1.c: Remove file.
11628 * posix/tst-glob_symlinks.c: New file.
11629 * posix/glob.c (__lstat64): New macro.
11630 (is_dir): New function.
11631 (glob, glob_in_dir): Match symlinks even if they are dangling.
11632 (link_stat, link_exists_p): Remove. All uses removed.
11636 * posix/glob.c (struct readdir_result): Remove skip_entry member.
11637 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
11642 * posix/Makefile (routines): Add globfree, globfree64, and
11644 * posix/flexmember.h: New file.
11645 * posix/glob_internal.h: Likewise.
11646 * posix/glob_pattern_p.c: Likewise.
11647 * posix/globfree.c: Likewise.
11648 * posix/globfree64.c: Likewise.
11649 * sysdeps/gnu/globfree64.c: Likewise.
11650 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
11651 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
11652 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
11653 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
11654 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
11655 * sysdeps/wordsize-64/globfree.c: Likewise.
11656 * sysdeps/wordsize-64/globfree64.c: Likewise.
11657 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
11658 [NDEBUG): Remove comments.
11659 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
11660 (dirent_type): New type. Use uint_fast8_t not
11661 uint8_t, as C99 does not require uint8_t.
11662 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
11663 (struct readdir_result): Use dirent_type. Do not define skip_entry
11664 unless it is needed; this saves a byte on platforms lacking d_ino.
11665 (readdir_result_type, readdir_result_skip_entry):
11666 New functions, replacing ...
11667 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
11668 these functions, which were removed. This makes the callers
11669 easier to read. All callers changed.
11670 (D_INO_TO_RESULT): Now empty if there is no d_ino.
11671 (size_add_wrapv, glob_use_alloca): New static functions.
11672 (glob, glob_in_dir): Check for size_t overflow in several places,
11673 and fix some size_t checks that were not quite right.
11674 Remove old code using SHELL since Bash no longer
11676 (glob, prefix_array): Separate MS code better.
11677 (glob_in_dir): Remove old Amiga and VMS code.
11678 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
11680 (glob_in_dir): Do not rely on undefined behavior in accessing
11681 struct members beyond their bounds. Use a flexible array member
11683 (link_stat): Rename from link_exists2_p and return -1/0 instead of
11684 0/1. Caller changed.
11685 (glob): Fix memory leaks.
11686 * posix/glob64 (globfree64): Move to separate file.
11687 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
11688 (globfree64): Remove hidden alias.
11689 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
11691 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
11693 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
11695 Move compat code to separate file.
11696 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
11699 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
11701 * resolv/tst-resolv-qtypes.c (domain): Changed to
11702 "const char domain[] =".
11704 2017-09-07 Joseph Myers <joseph@codesourcery.com>
11706 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
11709 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
11710 (TCP_MD5SIG_EXT): Likewise.
11711 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
11712 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
11713 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
11715 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
11717 2017-09-07 Mike FABIAN <mfabian@redhat.com>
11719 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
11721 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
11724 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
11726 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
11728 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
11729 before assuming that the file is empty. Avoid testing buffer content
11732 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11735 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
11737 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
11739 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
11741 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
11743 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
11745 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
11747 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
11750 2017-09-06 Florian Weimer <fweimer@redhat.com>
11752 * malloc/dynarray_emplace_enlarge.c
11753 (__libc_dynarray_emplace_enlarge): Add missing else.
11755 2017-09-06 Florian Weimer <fweimer@redhat.com>
11758 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
11759 case of failure to obtain the global conf object.
11761 2017-09-06 Florian Weimer <fweimer@redhat.com>
11764 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
11765 dynarray allocation failure.
11767 2017-09-06 Florian Weimer <fweimer@redhat.com>
11769 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
11770 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
11771 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
11773 (response): Call them. Add 'p', '6' flag processing.
11774 (test_reverse): New function.
11775 (test_get2_any): Call it.
11776 (test_no_inet6): Add 'p' test.
11777 (test_inet6): Likewise.
11779 2017-09-06 Florian Weimer <fweimer@redhat.com>
11781 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
11782 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
11784 (test_gai): Adjust query names. Add additional tests.
11785 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
11786 test_get2. Adjust query names. Add additional tests.
11787 (test_no_inet6): New function, extracted from threadfunc.
11788 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
11789 Add additional tests.
11791 2017-09-06 Mike FABIAN <mfabian@redhat.com>
11794 * localedata/unicode-gen/utf8_gen.py: Set the width for
11795 characters with Prepended_Concatenation_Mark property to 1
11796 * localedata/charmaps/UTF-8: Updated using the improved script.
11798 2017-09-06 Mike FABIAN <mfabian@redhat.com>
11801 * localedata/unicode-gen/utf8_gen.py: Improve the script to
11802 use the range notation for all ranges of neighbouring characters
11803 with the same width.
11805 2017-09-05 Joseph Myers <joseph@codesourcery.com>
11807 * sysdeps/generic/math-type-macros-double.h: Include
11808 <math-svid-compat.h>.
11809 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
11810 * sysdeps/generic/math-type-macros-float.h: Include
11811 <math-svid-compat.h>.
11812 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
11813 * sysdeps/generic/math-type-macros-ldouble.h: Include
11814 <math-svid-compat.h>.
11815 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
11816 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
11818 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
11819 * math/w_acosf_compat.c: Likewise.
11820 * math/w_acosh_compat.c: Likewise.
11821 * math/w_acoshf_compat.c: Likewise.
11822 * math/w_acoshl_compat.c: Likewise.
11823 * math/w_acosl_compat.c: Likewise.
11824 * math/w_asin_compat.c: Likewise.
11825 * math/w_asinf_compat.c: Likewise.
11826 * math/w_asinl_compat.c: Likewise.
11827 * math/w_atan2_compat.c: Likewise.
11828 * math/w_atan2f_compat.c: Likewise.
11829 * math/w_atan2l_compat.c: Likewise.
11830 * math/w_atanh_compat.c: Likewise.
11831 * math/w_atanhf_compat.c: Likewise.
11832 * math/w_atanhl_compat.c: Likewise.
11833 * math/w_cosh_compat.c: Likewise.
11834 * math/w_coshf_compat.c: Likewise.
11835 * math/w_coshl_compat.c: Likewise.
11836 * math/w_exp10_compat.c: Likewise.
11837 * math/w_exp10f_compat.c: Likewise.
11838 * math/w_exp10l_compat.c: Likewise.
11839 * math/w_exp2_compat.c: Likewise.
11840 * math/w_exp2f_compat.c: Likewise.
11841 * math/w_exp2l_compat.c: Likewise.
11842 * math/w_fmod_compat.c: Likewise.
11843 * math/w_fmodf_compat.c: Likewise.
11844 * math/w_fmodl_compat.c: Likewise.
11845 * math/w_hypot_compat.c: Likewise.
11846 * math/w_hypotf_compat.c: Likewise.
11847 * math/w_hypotl_compat.c: Likewise.
11848 * math/w_j0_compat.c: Likewise.
11849 * math/w_j0f_compat.c: Likewise.
11850 * math/w_j0l_compat.c: Likewise.
11851 * math/w_j1_compat.c: Likewise.
11852 * math/w_j1f_compat.c: Likewise.
11853 * math/w_j1l_compat.c: Likewise.
11854 * math/w_jn_compat.c: Likewise.
11855 * math/w_jnf_compat.c: Likewise.
11856 * math/w_jnl_compat.c: Likewise.
11857 * math/w_lgamma_r_compat.c: Likewise.
11858 * math/w_lgammaf_r_compat.c: Likewise.
11859 * math/w_lgammal_r_compat.c: Likewise.
11860 * math/w_log10_compat.c: Likewise.
11861 * math/w_log10f_compat.c: Likewise.
11862 * math/w_log10l_compat.c: Likewise.
11863 * math/w_log2_compat.c: Likewise.
11864 * math/w_log2f_compat.c: Likewise.
11865 * math/w_log2l_compat.c: Likewise.
11866 * math/w_log_compat.c: Likewise.
11867 * math/w_logf_compat.c: Likewise.
11868 * math/w_logl_compat.c: Likewise.
11869 * math/w_pow_compat.c: Likewise.
11870 * math/w_powf_compat.c: Likewise.
11871 * math/w_powl_compat.c: Likewise.
11872 * math/w_remainder_compat.c: Likewise.
11873 * math/w_remainderf_compat.c: Likewise.
11874 * math/w_remainderl_compat.c: Likewise.
11875 * math/w_sinh_compat.c: Likewise.
11876 * math/w_sinhf_compat.c: Likewise.
11877 * math/w_sinhl_compat.c: Likewise.
11878 * math/w_sqrt_compat.c: Likewise.
11879 * math/w_sqrtf_compat.c: Likewise.
11880 * math/w_sqrtl_compat.c: Likewise.
11881 * math/w_tgamma_compat.c: Likewise.
11882 * math/w_tgammaf_compat.c: Likewise.
11883 * math/w_tgammal_compat.c: Likewise.
11884 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
11885 [LIBM_SVID_COMPAT].
11886 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
11887 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
11888 [LIBM_SVID_COMPAT].
11889 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
11890 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
11891 [LIBM_SVID_COMPAT].
11892 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
11893 * sysdeps/i386/fpu/w_sqrt.c: New file.
11894 * sysdeps/ia64/fpu/w_acos.c: Likewise.
11895 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
11896 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11897 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11898 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11899 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
11900 * sysdeps/ia64/fpu/w_asin.c: Likewise.
11901 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11902 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11903 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11904 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11905 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11906 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11907 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11908 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11909 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11910 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
11911 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
11912 * sysdeps/ia64/fpu/w_exp.c: Likewise.
11913 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
11914 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
11915 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
11916 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
11917 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
11918 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
11919 * sysdeps/ia64/fpu/w_expf.c: Likewise.
11920 * sysdeps/ia64/fpu/w_expl.c: Likewise.
11921 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
11922 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
11923 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
11924 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
11925 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
11926 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
11927 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
11928 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
11929 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
11930 * sysdeps/ia64/fpu/w_log.c: Likewise.
11931 * sysdeps/ia64/fpu/w_log10.c: Likewise.
11932 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
11933 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
11934 * sysdeps/ia64/fpu/w_log2.c: Likewise.
11935 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
11936 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
11937 * sysdeps/ia64/fpu/w_logf.c: Likewise.
11938 * sysdeps/ia64/fpu/w_logl.c: Likewise.
11939 * sysdeps/ia64/fpu/w_pow.c: Likewise.
11940 * sysdeps/ia64/fpu/w_powf.c: Likewise.
11941 * sysdeps/ia64/fpu/w_powl.c: Likewise.
11942 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
11943 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
11944 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
11945 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
11946 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
11947 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
11948 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
11949 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
11950 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
11951 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
11952 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
11953 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
11954 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
11955 [LIBM_SVID_COMPAT].
11956 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
11957 * sysdeps/ieee754/k_standard.c: Likewise.
11958 * sysdeps/ieee754/k_standardf.c: Likewise.
11959 * sysdeps/ieee754/k_standardl.c: Likewise.
11960 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
11961 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
11962 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
11963 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
11964 long_double_symbol call on [LIBM_SVID_COMPAT].
11965 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11966 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11967 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11968 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11969 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11970 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11971 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11972 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11973 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11974 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11975 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11976 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
11977 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11978 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11979 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11980 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11981 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11982 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11983 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11984 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11985 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
11986 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
11988 2017-09-05 Steve Ellcey <sellcey@cavium.com>
11990 * include/shlib-compat.h (TEST_COMPAT): New Macro.
11991 * malloc/tst-mallocstate.c: Convert from test-skeleton
11992 to test-driver. Ifdef code using TEST_COMPAT macro.
11993 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
11994 * math/test-matherr.c: Likewise.
11996 2017-09-05 Joseph Myers <joseph@codesourcery.com>
11999 * debug/pcprofiledump.c (main): Use byte-swapped mask when
12000 comparing word with byte-swapped constant.
12002 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
12005 * locale/iso-639.def: add Miskito.
12006 * localedata/SUPPORTED: Add miq_NI/UTF-8.
12007 * localedata/locales/miq_NI: New file.
12009 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
12012 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
12013 (__mkdir): Likewise.
12014 * io/chmod.c (__chmod): Add libc_hidden_def.
12015 * io/mkdir.c (__mkdir): Likewise.
12016 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12017 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12018 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
12019 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
12021 2017-09-04 Joseph Myers <joseph@codesourcery.com>
12023 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12027 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
12028 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12030 2017-09-04 Florian Weimer <fweimer@redhat.com>
12032 * math/math.h: Issue warning if log is defined.
12034 2017-09-04 Joseph Myers <joseph@codesourcery.com>
12036 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12037 kernel version to 4.13.
12039 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12041 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
12042 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
12044 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
12045 just <bits/types.h>.
12046 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
12047 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
12048 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
12049 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
12050 * misc/preadv2.c: Include <errno.h>.
12051 * misc/preadv64v2.c: Include <errno.h>.
12052 * misc/pwritev2.c: Include <errno.h>.
12053 * misc/pwritev64v2.c: Include <errno.h>.
12054 * sysdeps/posix/preadv2.c: Include <errno.h>.
12055 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
12056 Fix <unistd.h> inclusion.
12057 * sysdeps/posix/pwritev2.c: Include <errno.h>.
12058 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
12059 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
12060 __strtoul_internal): New functions.
12061 * sysdeps/posix/pause.c: Include <sigsetops.h>.
12062 * sysdeps/posix/system.c: Include <sigsetops.h>.
12063 * sysdeps/mach/hurd/i386/Makefile
12064 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
12065 [$(subdir) = csu] (sysdep-only-routines): Likewise.
12066 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
12067 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
12068 __feraiseexcept_renamed to feraiseexcept instead of
12069 __GI_feraiseexcept.
12070 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
12071 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
12072 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
12073 RWF_NOWAIT): Define to 0 if undefined already.
12074 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
12076 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
12077 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
12079 2017-09-01 Joseph Myers <joseph@codesourcery.com>
12081 * manual/math.texi (pow10): Do not document.
12082 (pow10f): Likewise.
12083 (pow10l): Likewise.
12084 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
12085 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
12086 * math/libm-test-exp10.inc (pow10_test): Remove.
12087 (do_test): Do not call pow10.
12088 * math/w_exp10_compat.c (pow10): Make into compat symbol.
12089 [NO_LONG_DOUBLE] (pow10l): Likewise.
12090 * math/w_exp10f_compat.c (pow10f): Likewise.
12091 * math/w_exp10l_compat.c (pow10l): Likewise.
12092 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
12093 (pow10): Make into compat symbol.
12094 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
12095 (pow10f): Make into compat symbol.
12096 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
12097 (pow10l): Make into compat symbol.
12098 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
12100 (CFLAGS-nldbl-pow10.c): Remove variable..
12101 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
12102 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
12103 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
12104 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
12105 Undefine and redefine.
12106 (pow10l): Make into compat symbol.
12107 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
12108 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12109 * sysdeps/arm/libm-test-ulps: Likewise.
12110 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
12111 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12112 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12113 * sysdeps/microblaze/libm-test-ulps: Likewise.
12114 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12115 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12116 * sysdeps/nios2/libm-test-ulps: Likewise.
12117 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12118 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12119 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12120 * sysdeps/sh/libm-test-ulps: Likewise.
12121 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12122 * sysdeps/tile/libm-test-ulps: Likewise.
12123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12125 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
12127 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
12129 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
12131 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
12132 "../ChangeLog.old/ChangeLog.8".
12133 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
12134 "../ChangeLog.old/ChangeLog.14".
12136 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
12138 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
12141 2017-09-01 Joseph Myers <joseph@codesourcery.com>
12143 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
12145 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
12147 * csu/version.c (banner): Remove "by Roland McGrath et al.".
12148 * nptl/Banner: Remove "by Ulrich Drepper et al.".
12150 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
12152 * stdlib/tst-atexit-common.c (do_test): Test support for at least
12153 32 atexit handlers.
12155 2017-09-01 Zack Weinberg <zackw@panix.com>
12157 * math/math.h (HUGE_VAL): Improve commentary.
12159 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12160 Andreas Schwab <schwab@suse.de>
12163 * include/stdio.h (__gen_tempfd): New function.
12164 * stdio-common/Makefile (routines): Add gentempfd.
12165 * stdio-common/gentempfd.c: New file.
12166 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
12167 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
12168 unnamed file first.
12170 2017-09-01 Florian Weimer <fweimer@redhat.com>
12174 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
12175 result to determine success or failure, not the errno value.
12176 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
12177 (tst-nss-files-hosts-erange): Link with -ldl.
12178 * nss/tst-nss-files-hosts-erange.c: New file.
12179 * nss/tst-resolv-basic.c (response): Handle nodata.example.
12180 (do_test): Add NO_DATA tests.
12181 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
12182 (do_test): Call it.
12184 2017-09-01 Florian Weimer <fweimer@redhat.com>
12187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
12188 coming from gethostbyname2_r.
12190 2017-09-01 Florian Weimer <fweimer@redhat.com>
12192 * support/namespace.h (struct support_chroot_configuration): Add
12194 (struct support_chroot): Add path_hosts, path_host_conf.
12195 * support/support_chroot.c (write_file): New function.
12196 (support_chroot_create): Call it to process /etc/resolv.conf,
12197 /etc/hosts, /etc/host.conf.
12198 (support_chroot_free): Update.
12200 2017-09-01 Florian Weimer <fweimer@redhat.com>
12202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
12203 status indicates it is set.
12205 2017-09-01 Florian Weimer <fweimer@redhat.com>
12208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
12209 function lookup failures more reliable.
12211 2017-09-01 Florian Weimer <fweimer@redhat.com>
12213 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
12214 (getcanonname): Likewise.
12215 (gaih_inet): Likewise.
12217 2017-09-01 Florian Weimer <fweimer@redhat.com>
12219 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
12220 (getcanonname): Likewise.
12221 (gaih_inet): Likewise.
12223 2017-08-31 Steve Ellcey <sellcey@cavium.com>
12224 Richard Henderson <rth@twiddle.net>
12226 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
12227 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
12228 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
12229 (IREG_SIZE, OREG_SIZE): New macros.
12230 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
12231 (IREG_SIZE, OREG_SIZE): New macros.
12232 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
12233 (IREG_SIZE): New macro.
12234 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
12235 (IREG_SIZE): New macro.
12236 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
12238 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
12239 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
12240 (__CONCATX): Handle exceptions correctly on large values that may
12242 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
12243 Initialize if not already set.
12244 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
12246 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12248 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
12249 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
12251 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
12253 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
12255 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
12257 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
12259 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
12261 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
12263 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
12264 (NO_CANCELLATION): Likewise.
12265 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
12267 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
12269 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
12271 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
12272 (NO_CANCELLATION): Likewise.
12273 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
12274 (NO_CANCELLATION): Likewise.
12275 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
12277 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
12279 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
12281 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
12283 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
12285 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
12286 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
12288 2017-08-31 Steve Ellcey <sellcey@cavium.com>
12290 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
12293 2017-08-31 Florian Weimer <fweimer@redhat.com>
12295 * include/libc-symbols.h (internal_function): Remove.
12297 2017-08-31 Florian Weimer <fweimer@redhat.com>
12299 * stdlib/fmtmsg.c (internal_addseverity): Remove
12302 2017-08-31 Florian Weimer <fweimer@redhat.com>
12304 * stdio-common/printf_fp.c (group_number): Remove
12306 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
12308 2017-08-31 Florian Weimer <fweimer@redhat.com>
12310 * posix/fnmatch.c (internal_function): Remove definition.
12311 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
12312 * posix/regcomp.c (peek_token, init_word_char)
12313 (duplicate_node_closure, fetch_token, peek_token)
12314 (peek_token_bracket, build_range_exp, build_collating_symbol):
12316 * posix/regex_internal.c (re_string_construct_common)
12317 (create_ci_newstate, create_cd_newstate, re_string_allocate)
12318 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
12319 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
12320 (re_string_translate_buffer, re_string_reconstruct)
12321 (re_string_peek_byte_case, re_string_fetch_byte_case)
12322 (re_string_destruct, re_string_context_at, re_node_set_alloc)
12323 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
12324 (re_node_set_add_intersect, re_node_set_init_union)
12325 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
12326 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
12327 (re_dfa_add_node, calc_state_hash, re_acquire_state)
12328 (re_acquire_state_context): Likewise.
12329 * posix/regex_internal.h (internal_function): Remove definition.
12330 (re_string_realloc_buffers, build_wcs_buffer)
12331 (build_wcs_upper_buffer, build_upper_buffer)
12332 (re_string_translate_buffer, re_string_context_at)
12333 (re_string_char_size_at, re_string_wchar_at)
12334 (re_string_elem_size_at): Likewise.
12335 * posix/regexec.c (match_ctx_init, match_ctx_clean)
12336 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
12337 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
12338 (re_search_internal, re_search_2_stub, re_search_stub)
12339 (re_copy_regs, prune_impossible_nodes, check_matching)
12340 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
12341 (free_fail_stack_return, sift_states_iter_mb)
12342 (sift_states_backward, build_sifted_states)
12343 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
12344 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
12345 (check_subexp_limits, sift_states_bkref, merge_state_array)
12346 (find_recover_state, transit_state, merge_state_with_log)
12347 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
12348 (transit_state_mb, transit_state_bkref, get_subexp)
12349 (get_subexp_sub, find_subexp_node, check_arrival)
12350 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
12351 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
12352 (check_node_accept_bytes, find_collation_sequence_value)
12353 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
12354 (acquire_init_state_context, check_halt_node_context)
12355 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
12356 (sub_epsilon_src_nodes): Likewise.
12357 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
12358 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
12359 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
12360 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
12361 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
12362 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
12363 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
12364 * sysdeps/posix/ttyname.c (getttyname): Likewise.
12365 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12366 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
12367 (PREADV): Likewise.
12368 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
12369 (PREADV): Likewise.
12370 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
12371 (PWRITEV): Likewise.
12372 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
12373 (PWRITEV): Likewise.
12374 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
12375 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
12377 2017-08-31 Florian Weimer <fweimer@redhat.com>
12379 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
12380 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
12381 Remove internal_function.
12382 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12383 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
12384 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
12385 (__deallocate_stack, __libc_pthread_init)
12386 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
12387 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
12388 (__libc_disable_asynccancel, __librt_disable_asynccancel):
12390 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
12391 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
12392 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
12394 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
12395 (__pthread_mutex_unlock_usercnt): Likewise.
12397 2017-08-31 Florian Weimer <fweimer@redhat.com>
12399 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
12400 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
12401 (fts_safe_changedir): Remove internal_function.
12402 * io/ftw.c (internal_function): Remove definition.
12403 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
12405 2017-08-31 Florian Weimer <fweimer@redhat.com>
12407 * inet/deadline.c (__deadline_current_time)
12408 (__deadline_from_timeval, __deadline_to_ms): Remove
12410 * inet/getnameinfo.c (nrl_domainname): Likewise.
12411 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
12412 * inet/inet6_option.c (add_pad): Likewise.
12413 * inet/net-internal.h (__deadline_current_time)
12414 (__deadline_from_timeval, __deadline_to_ms): Likewise.
12415 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
12416 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
12417 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
12419 2017-08-31 Joseph Myers <joseph@codesourcery.com>
12421 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
12422 include <bits/nan.h>.
12423 * math/Makefile (headers): Remove bits/nan.h.
12424 * bits/nan.h: Remove.
12425 * sysdeps/ieee754/bits/nan.h: Likewise.
12426 * sysdeps/mips/bits/nan.h: Likewise.
12428 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
12429 not include <bits/inf.h>.
12430 * math/Makefile (headers): Remove bits/inf.h.
12431 * bits/inf.h: Remove.
12432 * sysdeps/ieee754/bits/inf.h: Likewise.
12434 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
12435 bits/huge_vall.h or bits/huge_val_flt128.h.
12436 (HUGE_VAL): Define directly here.
12437 [__USE_ISOC99] (HUGE_VALF): Likewise.
12438 [__USE_ISOC99] (HUGE_VALL): Likewise.
12439 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
12440 (HUGE_VAL_F128): Likewise.
12441 * math/Makefile (headers): Remove bits/huge_val.h,
12442 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
12443 * bits/huge_val.h: Remove.
12444 * bits/huge_val_flt128.h: Likewise.
12445 * bits/huge_valf.h: Likewise.
12446 * bits/huge_vall.h: Likewise.
12447 * sysdeps/ia64/bits/huge_vall.h: Likewise.
12448 * sysdeps/ieee754/bits/huge_val.h: Likewise.
12449 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
12450 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
12451 * sysdeps/sh/bits/huge_val.h: Likewise.
12452 * sysdeps/sparc/bits/huge_vall.h: Likewise.
12453 * sysdeps/x86/bits/huge_vall.h: Likewise.
12455 2017-08-31 Florian Weimer <fweimer@redhat.com>
12457 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
12459 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
12461 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
12462 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12463 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
12464 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
12465 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12466 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12467 * elf/dl-libc.c (dlerror_run): Likewise.
12468 * elf/dl-load.c (add_name_to_object, decompose_rpath)
12469 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
12470 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
12471 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
12473 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
12474 (_dl_higher_prime_number, _dl_strtoul): Likewise.
12475 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
12476 * elf/dl-profile.c (_dl_start_profile): Likewise.
12477 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
12478 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
12480 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
12481 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
12482 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
12483 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
12484 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
12485 (_dl_allocate_tls_storage): Likewise.
12486 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
12487 (_dl_check_all_versions): Likewise.
12488 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12489 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
12490 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
12491 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
12492 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
12493 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
12494 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
12495 internal_function from __dl_start.
12496 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
12497 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12498 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
12499 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
12500 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
12501 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
12502 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
12503 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
12504 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
12505 (_dl_next_ld_env_entry, _dl_important_hwcaps)
12506 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
12507 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
12508 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
12509 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
12510 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
12512 (struct rtld_global_ro): Remove internal_function from the
12513 _dl_lookup_symbol_x member.
12514 (_dl_symbol_value): Remove. No longer defined anywhere.
12515 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
12517 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
12518 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12519 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
12520 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
12521 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
12522 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
12523 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
12524 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
12525 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
12526 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12527 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
12528 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12530 2017-08-31 Florian Weimer <fweimer@redhat.com>
12532 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
12533 Remove internal_function.
12534 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
12536 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
12539 2017-08-31 Florian Weimer <fweimer@redhat.com>
12541 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
12542 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
12543 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
12545 2017-08-31 Florian Weimer <fweimer@redhat.com>
12547 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
12548 (__gai_enqueue_request): Remove internal_function.
12549 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
12550 (__gai_remove_request, __gai_notify, __gai_notify_only)
12551 (__gai_sigqueue): Likewise.
12552 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
12553 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12554 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
12555 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12558 2017-08-31 Florian Weimer <fweimer@redhat.com>
12560 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
12561 * include/dirent.h (__opendirat, __getdents, __getdents64)
12562 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
12563 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
12564 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
12565 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
12567 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
12569 2017-08-31 Florian Weimer <fweimer@redhat.com>
12571 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
12573 (GETCWD_RETURN_TYPE): Likewise.
12575 2017-08-31 Florian Weimer <fweimer@redhat.com>
12577 * include/time.h (__tz_compute, __strptime_internal): Remove
12579 * time/strptime_l.c (__strptime_internal): Likewise.
12580 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
12582 2017-08-31 Florian Weimer <fweimer@redhat.com>
12584 * iconv/gconv.c (__gconv): Remove internal_function.
12585 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
12586 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
12587 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
12588 (__gconv_release_cache): Likewise.
12589 * iconv/gconv_close.c (__gconv_close): Likewise.
12590 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
12591 (read_conf_file, __gconv_get_path): Likewise.
12592 * iconv/gconv_db.c (derivation_lookup, add_derivation)
12593 (__gconv_release_step, gen_steps, increment_counter)
12594 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
12595 (__gconv_close_transform, free_modules_db): Likewise.
12596 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
12598 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
12599 (__gconv_find_transform, __gconv_lookup_cache)
12600 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
12601 (__gconv_close_transform, __gconv_release_cache)
12602 (__gconv_loaded_object, __gconv_release_shlib)
12603 (__gconv_compare_alias): Likewise.
12604 * iconv/gconv_open.c (__gconv_open): Likewise.
12605 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
12606 * iconv/iconvconfig.c (add_module): Likewise.
12607 * intl/dcigettext.c (plural_lookup, guess_category_value)
12608 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
12609 * intl/eval-plural.h (plural_eval): Likewise.
12610 * intl/finddomain.c (_nl_find_domain): Likewise.
12611 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
12612 (_nl_load_domain, _nl_find_msg): Likewise.
12613 (internal_function): Remove definition.
12614 * intl/loadinfo.h (internal_function): Likewise.
12615 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
12617 * intl/localealias.c (internal_function): Remove definition.
12618 (read_alias_file): Remove internal_function.
12619 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
12620 * intl/plural-exp.h (internal_function): Remove definition.
12621 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
12623 * intl/plural.c: Regenerate.
12624 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
12625 * locale/coll-lookup.c (__collidx_table_lookup)
12626 (__collseq_table_lookup): Likewise.
12627 * locale/coll-lookup.h (__collidx_table_lookup)
12628 (__collseq_table_lookup): Likewise.
12629 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
12630 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12631 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
12632 (_nl_unload_locale): Likewise.
12633 * locale/localeinfo.h (struct __locale_data): Remove
12634 internal_function from cleanup member.
12635 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
12636 (_nl_remove_locale, _nl_load_locale_from_archive)
12637 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
12638 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
12639 (_nl_cleanup_time): Remove internal_function.
12640 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
12641 (_nl_parse_alt_digit): Likewise.
12642 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
12643 (_nl_select_era_entry): Likewise.
12644 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
12645 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
12646 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
12647 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
12648 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
12650 2017-08-31 Florian Weimer <fweimer@redhat.com>
12652 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
12653 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
12654 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
12655 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
12657 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
12658 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
12659 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
12660 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
12662 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
12664 2017-08-31 Florian Weimer <fweimer@redhat.com>
12666 * misc/getttyent.c (skip, value): Remove internal_function.
12667 * misc/syslog.c (openlog_internal): Likewise.
12668 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
12670 2017-08-31 Florian Weimer <fweimer@redhat.com>
12672 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
12673 (__nss_rewrite_field): Remove internal_function.
12674 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12675 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
12676 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12677 * nss/nsswitch.c (nss_parse_file, nss_getline)
12678 (nss_parse_service_list, nss_new_service): Likewise.
12679 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
12680 * nss/valid_field.c (__nss_valid_field): Likewise.
12681 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
12683 2017-08-31 Florian Weimer <fweimer@redhat.com>
12685 * malloc/arena.c (__malloc_fork_lock_parent)
12686 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
12687 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
12688 internal_function from defintions.
12689 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
12690 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
12691 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
12692 internal_function from declarations.
12693 * malloc/malloc.c (internal_function): Do not define.
12694 (mem2mem_check): Remove internal_function from declaration.
12695 (munmap_chunk, mremap_chunk): Remove internal_function.
12696 * malloc/mtrace.c (tr_where): Likewise.
12698 2017-08-31 Florian Weimer <fweimer@redhat.com>
12700 * include/rpc/pmap_clnt.h (__get_socket): Remove
12702 * sunrpc/auth_des.c (synchronize): Likewise.
12703 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
12704 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
12705 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
12706 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
12707 (key_call): Likewise.
12708 * sunrpc/pm_getport.c (__get_socket): Likewise.
12709 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
12710 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
12711 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
12712 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
12713 (invalidate): Likewise.
12714 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
12715 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
12716 (set_input_fragment, get_input_bytes): Likewise.
12718 2017-08-31 Florian Weimer <fweimer@redhat.com>
12720 * malloc/malloc.c (_int_free): Remove locked variable and related
12723 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
12726 * Makerules (build-module-helper-objlist): Filter out
12727 $(elf-objpfx)sofini.os.
12728 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
12731 2017-08-31 Florian Weimer <fweimer@redhat.com>
12733 * libio/fcloseall.c: Assume weak_alias is defined.
12734 * libio/feof.c: Likewise.
12735 * libio/fileno.c: Likewise.
12736 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
12737 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
12739 (_IO_file_open): Call __open directly.
12740 (_IO_new_file_sync): Assume ESPIPE is defined.
12741 (_IO_file_seekoff_maybe_mmap): Call __read directly.
12742 (_IO_new_file_write): Call __write directly.
12743 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
12744 * libio/ftello64.c (__ftello64): Assume EIO is defined.
12745 * libio/genops.c: Assume _LIBC is defined.
12746 (save_for_backup): Remove internal_function.
12747 * libio/getc.c: Assume weak_alias is defined.
12748 * libio/getwc.c: Likewise.
12749 * libio/iofclose.c: Assume _LIBC is defined.
12750 * libio/iofdopen.c: Likewise.
12751 (_IO_fcntl): Remove macro definition.
12752 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
12753 Call __fcntl directly.
12754 * libio/iofflush.c: Assume weak_alias is defined.
12755 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
12757 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
12758 * libio/iofgets.c: Likewise.
12759 * libio/iofopen.c: Assume _LIBC is defined.
12760 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
12761 * libio/iofputs.c: Assume weak_alias is defined.
12762 * libio/iofread.c: Likewise.
12763 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
12764 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12765 * libio/ioftell.c: Assume weak_alias is defined.
12766 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
12767 * libio/iofwide.c: Assume _LIBC is defined.
12768 (_IO_fwide): Drop SHARED conditional because it is implied by
12770 * libio/iofwrite.c: Assume weak_alias is defined.
12771 * libio/iogetdelim.c: Likewise.
12772 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
12773 * libio/iogetwline.c (wmemcpy): Remove macro definition.
12774 (_IO_getwline): Call __wmemcpy directly.
12775 * libio/iopopen.c: Assume _LIBC is defined.
12776 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
12777 (_IO_close): Remove macro definitions.
12778 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
12780 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
12782 * libio/ioputs.c: Assume weak_alias is defined.
12783 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
12784 * libio/iosetbuffer.c: Assume weak_alias is defined.
12785 * libio/iosetvbuf.c: Likewise.
12786 * libio/ioungetc.c: Likewise.
12787 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
12788 libc_hidden_def, libc_hidden_weak, NULL are defined.
12789 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
12790 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
12792 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
12794 (_IO_old_file_init_internal): Drop SHARED conditional because it
12795 is implied by SHLIB_COMPAT.
12796 (_IO_old_file_fopen): Call __open directly.
12797 (_IO_old_file_sync): Assume ESPIPE is defined.
12798 (_IO_old_file_write): Call __write directly.
12799 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
12800 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
12801 Call __fcntl directly.
12802 * libio/oldiofgetpos.c: Assume weak_alias is defined.
12803 (_IO_old_fgetpos): Assume EIO is defined.
12804 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
12805 (_IO_old_fgetpos64): Assume EIO is defined.
12806 * libio/oldiofsetpos.c: Assume weak_alias is defined.
12807 (_IO_old_fsetpos): Assume EIO is defined.
12808 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
12809 (_IO_old_fsetpos64): Assume EIO is defined.
12810 * libio/oldiopopen.c: Assume _LIBC is defined.
12811 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
12812 (_IO_close): Remove macro definitions.
12813 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
12815 (_IO_old_proc_close): Call __close, __waitpid directly.
12816 * libio/put.c: Assume weak_alias is defined.
12817 * libio/stdfiles.c: Assume _LIBC is defined.
12818 * libio/stdio.c: Likewise.
12819 * libio/wfileops.c: Likewise.
12820 (_IO_wfile_sync): Assume ESPIPE is defined.
12821 * libio/wgenops.c: Assume _LIBC is defined.
12822 (save_for_wbackup): Remove internal_function.
12824 2017-08-31 Florian Weimer <fweimer@redhat.com>
12826 * malloc/malloc.c (top_check): Change return type to void. Remove
12828 * malloc/hooks.c (top_check): Likewise.
12829 (malloc_check, realloc_check, memalign_check): Adjust.
12831 2017-08-30 Joseph Myers <joseph@codesourcery.com>
12834 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
12835 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
12836 sigcontext and namespace requirements.
12837 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
12838 * sysdeps/m68k/sys/ucontext.h: Likewise.
12839 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
12840 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
12841 <bits/sigcontext.h>.
12842 (__ctx): Define earlier.
12843 (mcontext_t): Define structure contents rather than using struct
12845 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
12846 __glibc_reserved1 instead of __reserved.
12847 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
12848 <bits/sigcontext.h>.
12849 (__ctx): Define earlier.
12850 (mcontext_t): Define structure contents rather than using struct
12852 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
12853 mcontext_t instead of struct sigcontext.
12854 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
12855 <bits/sigcontext.h>.
12856 (__ctx): Define earlier.
12857 (mcontext_t): Define structure contents rather than using struct
12859 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
12860 <bits/sigcontext.h>.
12861 (__ctx): Define earlier.
12862 (mcontext_t): Define structure contents rather than using struct
12864 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
12865 mcontext_t instead of struct sigcontext.
12866 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
12867 mcontext_t instead of struct sigcontext.
12868 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
12869 <bits/sigcontext.h>.
12870 (__ctx): New macro.
12871 (struct __ia64_fpreg_mcontext): New type.
12872 (mcontext_t): Define structure contents rather than using struct
12874 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
12875 (uc_sigmask): Define using __ctx.
12876 (uc_stack): Likewise.
12877 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
12878 <bits/sigcontext.h>.
12879 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12880 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
12881 <bits/sigcontext.h>.
12882 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
12883 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
12884 <bits/sigcontext.h>.
12885 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
12886 <bits/sigcontext.h>.
12887 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
12888 <bits/sigcontext.h>.
12889 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
12890 <bits/sigcontext.h>.
12891 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
12892 <bits/sigcontext.h>.
12893 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
12894 <bits/sigcontext.h>.
12895 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
12896 <bits/sigcontext.h>.
12897 (__ctx): Define earlier.
12898 (mcontext_t): Define structure contents rather than using struct
12900 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
12901 <bits/sigcontext.h>. Include <bits/types.h>.
12902 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
12903 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
12904 (test-xfail-XPG42/ucontext.h/conform): Likewise.
12905 (test-xfail-UNIX98/signal.h/conform): Likewise.
12906 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12907 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12908 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12909 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12910 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12911 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12912 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12913 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12914 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12916 2017-08-30 Florian Weimer <fweimer@redhat.com>
12918 * malloc/dynarray_emplace_enlarge.c
12919 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
12920 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
12921 * malloc/tst-dynarray.c (test_long_overflow): New function.
12922 (do_test): Call it.
12924 2017-08-30 Florian Weimer <fweimer@redhat.com>
12926 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
12927 (set_arena_corrupt): Remove definitions.
12928 (mtrim): Do not check for corrupt arena.
12929 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
12932 2017-08-30 Florian Weimer <fweimer@redhat.com>
12935 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
12937 (ptmalloc_init): Do not set or use check_action.
12938 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
12939 call to malloc_printerr. Remove return statement.
12940 (free_check): Likewise. Remove arena unlock.
12941 (top_check): Update comment. Adjust call to malloc_printerr.
12942 Remove heap repair code.
12943 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
12944 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
12945 (sysmalloc): Adjust call to malloc_printerr.
12946 (munmap_chunk, __libc_realloc): Likewise. Remove return
12948 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
12949 Remove errout label and corresponding gotos.
12950 (_int_free): Likewise. Remove arena unlock.
12951 (do_set_mallopt_check): Do not set check_action.
12952 (malloc_printerr): Adjust parameter list. Do not mark arena as
12954 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
12956 * manual/probes.texi (Memory Allocation Probes): Remove
12957 memory_mallopt_check_action.
12959 2017-08-30 Steve Ellcey <sellcey@cavium.com>
12961 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
12962 Use pointer to uint64_t instead of long int for sp.
12964 2017-08-30 Florian Weimer <fweimer@redhat.com>
12967 * malloc/malloc.c (malloc_printerr): Always terminate the process,
12968 without printing a backtrace. Do not leak any information in the
12970 * manual/memory.texi (Heap Consistency Checking): Update.
12971 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
12973 2017-08-30 Florian Weimer <fweimer@redhat.com>
12975 Do not scale NPTL tests with available number of CPUs.
12976 * nptl/tst-cond16.c (count): Set to constant value of 8.
12977 * nptl/tst-cond18.c (count): Likewise.
12979 2017-08-29 Joseph Myers <joseph@codesourcery.com>
12982 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
12983 Define to take a second argument that is a macro that
12984 concatentates a suffix, not the suffix itself.
12985 (__CONCAT_d): New macro.
12986 (__CONCAT_f): Likewise.
12987 (__CONCAT_l): Likewise.
12989 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
12991 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
12994 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12995 Aurelien Jarno <aurelien@aurel32.net>
12996 Maciej W. Rozycki <macro@imgtec.com>
12999 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
13000 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
13001 `mips16-syscall6' and `mips16-syscall7'.
13002 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
13003 (CFLAGS-mips16-syscall7.c): Remove.
13004 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
13005 Remove `__mips16_syscall5', `__mips16_syscall6' and
13006 `__mips16_syscall7'.
13007 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
13008 (__mips16_syscall0): Rename `__mips16_syscall_return' to
13009 `__mips_syscall_return'.
13010 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
13011 (__mips16_syscall1): Likewise.
13012 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
13013 (__mips16_syscall2): Likewise.
13014 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
13015 (__mips16_syscall3): Likewise.
13016 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
13017 (__mips16_syscall4): Likewise.
13018 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
13020 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
13022 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
13024 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
13025 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
13026 `__mips16_syscall5'. Remove prototype.
13027 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
13028 `__mips16_syscall6'. Remove prototype.
13029 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
13030 `__mips16_syscall7'. Remove prototype.
13031 (__nomips16, __mips16_syscall_return): Move to...
13032 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
13033 (__nomips16, __mips_syscall_return): ... here.
13034 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
13035 `__mips16_syscall_return' to `__mips_syscall_return'.
13036 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
13037 `internal_syscall##nr'.
13038 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
13039 `internal_syscall##nr'.
13040 (FORCE_FRAME_POINTER): Remove.
13041 (__mips_syscall5): New prototype.
13042 (internal_syscall5): Rewrite to call `__mips_syscall5'.
13043 (__mips_syscall6): New prototype.
13044 (internal_syscall6): Rewrite to call `__mips_syscall6'.
13045 (__mips_syscall7): New prototype.
13046 (internal_syscall7): Rewrite to call `__mips_syscall7'.
13047 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
13048 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
13049 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
13050 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
13051 (sysdep_routines): Add libc-do-syscall.
13052 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
13053 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
13055 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13058 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
13059 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
13060 (advise_stack_range): New function.
13061 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
13062 stack non required to advise_stack_range at allocatestack.c
13064 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
13066 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
13068 2017-08-29 Florian Weimer <fweimer@redhat.com>
13071 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
13072 __end_fct. Mangle __end_fct after setting it to NULL.
13073 * iconv/Makefile (tests): Add tst-gconv-init-failure.
13074 (modules-names, modules-names-tests): Add
13075 tst-gconv-init-failure-mod.
13076 (gconv-modules): New target.
13077 (tst-gconv-init-failure-mod.so): Link against libsupport.
13078 (tst-gconv-init-failure): Depend on gconv-modules,
13079 tst-gconv-init-failure-mod.so.
13080 * iconv/tst-gconv-init-failure-mod.c: New file.
13081 * iconv/tst-gconv-init-failure.c: Likewise.
13082 * iconv/test-gconv-modules: Likewise.
13084 2017-08-29 Florian Weimer <fweimer@redhat.com>
13087 * iconv/gconv_db.c (free_derivation): Remove redundant
13089 (gen_steps): Unconditionally mangle __btowc_fct after
13091 (increment_counter): Likewise. Do not call init_fct for internal
13094 2017-08-29 Joseph Myers <joseph@codesourcery.com>
13097 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
13098 (_MSUF_): Remove macro.
13099 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
13101 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
13102 (__REDIRFROM_X): New macro.
13103 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
13105 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
13106 (__REDIRTO_X): Likewise.
13107 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
13109 (__MATH_REDIRCALL_2): Likewise.
13110 (__MATH_REDIRCALL_INTERNAL): Likewise.
13111 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
13112 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
13113 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
13114 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
13115 * math/test-finite-macros.c: New file.
13116 * math/Makefile (tests): Add test-finite-macros.
13117 (CFLAGS-test-finite-macros.c): New variable.
13119 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
13120 Jeff Law <law@redhat.com>
13123 Mangle NULL pointers in iconv/gconv.
13124 * iconv/gconv_cache.c (find_module): Demangle init_fct before
13125 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
13126 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
13127 is non-NULL before demangling the end_fct. Check for NULL
13128 end_fct after demangling.
13129 (__gconv_release_step): Demangle the end_fct before checking
13130 it for NULL. Remove assert on __shlibc_handle != NULL.
13131 (gen_steps): Don't check btowc_fct for NULL before mangling.
13132 Demangle init_fct before checking for NULL.
13133 (increment_counter): Likewise.
13134 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
13135 end_fct for NULL before mangling.
13136 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
13139 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
13142 * locale/iso-639.def: add Morisyen.
13144 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13147 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
13148 (iszero): New C++ implementation that does not use
13149 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
13150 signaling nans are enabled, since __builtin_types_compatible_p
13151 is a C-only feature.
13152 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
13153 defined, include ieee754_float128.h for access to the union and
13154 member ieee854_float128.ieee.
13155 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
13156 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
13157 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
13158 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
13159 options of test-math-zero on powerpc64le.
13161 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
13163 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
13164 Change double to float.
13166 2017-08-28 Joseph Myers <joseph@codesourcery.com>
13168 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
13170 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
13171 conditional code; define contents only for [LIBM_SVID_COMPAT].
13173 2017-08-28 Florian Weimer <fweimer@redhat.com>
13175 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
13176 (abi-lp64_be-options): Remove.
13177 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
13178 (abi-hard-options): Likewise.
13179 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
13180 (abi-o32_hard-options, abi-o32_soft_2008-options)
13181 (abi-o32_hard_2008-options, abi-n32_soft-options)
13182 (abi-n32_hard-options, abi-n32_soft_2008-options)
13183 (abi-n32_hard_2008-options, abi-n64_soft-options)
13184 (abi-n64_hard-options, abi-n64_soft_2008-options)
13185 (abi-n64_hard_2008-options): Likewise.
13186 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
13187 (abi-64-v1-options, abi-64-v2-options): Likewise.
13188 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
13189 (abi-64-options): Likewise.
13190 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
13191 (abi-64-options): Likewise.
13192 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
13193 (abi-64-options): Likewise.
13194 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
13195 (abi-64-options, abi-x32-options): Likewise.
13197 2017-08-28 Florian Weimer <fweimer@redhat.com>
13199 Store supported list of SYS_* system calls in the source tree.
13200 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
13201 (bits/syscall.h): Generate from list file.
13202 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
13203 [$(subdir) = misc] (tests): Add tst-syscall-list.
13204 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
13205 [$(subdir) = misc] (tst-syscall-list-macros.list)
13206 [$(subdir) = misc] (tst-syscall-list-nr.list)
13207 (tst-syscall-list-sys.list): Helper targets for new
13208 tst-syscall-list test.
13209 [$(subdir) = misc] (tst-syscall-list.out): Run test script
13210 tst-syscall-list.sh.
13211 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
13212 target. Do not include bits/syscall.d.
13213 [$(subdir) = misc] (generated): Do not update.
13214 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
13215 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
13216 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
13217 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
13219 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13221 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
13222 (tst-cxa_atexit, tst-on_exit): Likewise.
13223 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
13224 tst-cxa_atexit, and tst-on_exit.
13225 * stdlib/tst-atexit-common.c: New file.
13226 * stdlib/tst-atexit.c: New file.
13227 * stdlib/tst-at_quick_exit.c: New file.
13228 * stdlib/tst-cxa_atexit.c: New file.
13229 * stdlib/tst-on_exit.c: New file.
13231 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13233 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
13234 * mach/stack_chk_fail_local.c: New file.
13235 * hurd/stack_chk_fail_local.c: New file.
13236 * mach/Machrules ($(interface-library)-routines): Add
13237 stack_chk_fail_local.
13238 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
13239 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
13240 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
13241 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
13242 * hurd/Makefile (CFLAGS-hurdstartup.o,
13243 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
13245 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
13247 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
13248 (index_cpu_*, index_arch_*): Removed.
13250 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
13252 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
13253 Use uint64_t instead of unsigned long.
13255 2017-08-25 Joseph Myers <joseph@codesourcery.com>
13257 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
13258 [__HAVE_DISTINCT_FLOAT128].
13260 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
13261 of <bits/math-finite.h>.
13262 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
13263 inclusion of <bits/math-finite.h>.
13264 * math/bits/math-finite.h (__REDIRTO_X): Do not define
13265 conditionally on [__MATH_DECLARING_LDOUBLE && defined
13266 __NO_LONG_DOUBLE_MATH].
13267 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
13268 (__MATH_REDIRCALL_2): Likewise.
13269 (__MATH_REDIRCALL_INTERNAL): Likewise.
13270 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
13271 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
13272 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
13274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
13276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
13278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
13280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
13282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
13284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
13286 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
13287 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
13288 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
13289 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
13290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13291 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
13292 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
13293 w_sqrtf_compat-ppc32.
13295 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13297 * math/math.h [defined __cplusplus] (issignaling): In the long
13298 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
13299 is not defined. Call __issignaling, otherwise.
13301 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13303 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
13304 syscall definitions and replace __builtin_expect with __glibc_likely.
13305 * sysdeps/unix/syscall-template.S: Update comment about cancellable
13307 (SYSCALL_CANCELLABLE): Removedefinition
13308 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
13310 (PSEUDO_END): Likewise.
13311 [IS_IN (libpthread)] (CENABLE): Likewise.
13312 [IS_IN (libpthread)] (CDISABLE): Likewise.
13313 [IS_IN (libc)] (CENABLE): Likewise.
13314 [IS_IN (libc)] (CENABLE): Likewise.
13315 [IS_IN (librt)] (CDISABLE): Likewise.
13316 [IS_IN (librt)] (CDISABLE): Likewise.
13317 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13318 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
13320 (PSEUDO_END): Likewise.
13321 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
13322 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
13323 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
13324 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
13325 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
13326 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
13327 (CENABLE): Likewise.
13328 (CDISABLE): Likewise.
13329 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13330 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
13332 (PSEUDO_END): Likewise.
13333 [IS_IN (libpthread)] (CENABLE): Likewise.
13334 [IS_IN (libpthread)] (CDISABLE): Likewise.
13335 [IS_IN (libc)] (CENABLE): Likewise.
13336 [IS_IN (libc)] (CENABLE): Likewise.
13337 [IS_IN (librt)] (CDISABLE): Likewise.
13338 [IS_IN (librt)] (CDISABLE): Likewise.
13339 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13340 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
13342 (PSEUDO_END): Likewise.
13343 [IS_IN (libpthread)] (CENABLE): Likewise.
13344 [IS_IN (libpthread)] (CDISABLE): Likewise.
13345 [IS_IN (libc)] (CENABLE): Likewise.
13346 [IS_IN (libc)] (CENABLE): Likewise.
13347 [IS_IN (librt)] (CDISABLE): Likewise.
13348 [IS_IN (librt)] (CDISABLE): Likewise.
13349 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13350 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
13352 (PSEUDO_END): Likewise.
13353 [IS_IN (libpthread)] (CENABLE): Likewise.
13354 [IS_IN (libpthread)] (CDISABLE): Likewise.
13355 [IS_IN (libc)] (CENABLE): Likewise.
13356 [IS_IN (libc)] (CENABLE): Likewise.
13357 [IS_IN (librt)] (CDISABLE): Likewise.
13358 [IS_IN (librt)] (CDISABLE): Likewise.
13359 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13360 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
13362 (PSEUDO_END): Likewise.
13363 [IS_IN (libpthread)] (CENABLE): Likewise.
13364 [IS_IN (libpthread)] (CDISABLE): Likewise.
13365 [IS_IN (libc)] (CENABLE): Likewise.
13366 [IS_IN (libc)] (CENABLE): Likewise.
13367 [IS_IN (librt)] (CDISABLE): Likewise.
13368 [IS_IN (librt)] (CDISABLE): Likewise.
13369 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13370 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
13372 (PSEUDO_END): Likewise.
13373 [IS_IN (libpthread)] (CENABLE): Likewise.
13374 [IS_IN (libpthread)] (CDISABLE): Likewise.
13375 [IS_IN (libc)] (CENABLE): Likewise.
13376 [IS_IN (libc)] (CENABLE): Likewise.
13377 [IS_IN (librt)] (CDISABLE): Likewise.
13378 [IS_IN (librt)] (CDISABLE): Likewise.
13379 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13380 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
13382 (PSEUDO_END): Likewise.
13383 [IS_IN (libpthread)] (CENABLE): Likewise.
13384 [IS_IN (libpthread)] (CDISABLE): Likewise.
13385 [IS_IN (libc)] (CENABLE): Likewise.
13386 [IS_IN (libc)] (CENABLE): Likewise.
13387 [IS_IN (librt)] (CDISABLE): Likewise.
13388 [IS_IN (librt)] (CDISABLE): Likewise.
13389 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13390 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
13392 (PSEUDO_END): Likewise.
13393 [IS_IN (libpthread)] (CENABLE): Likewise.
13394 [IS_IN (libpthread)] (CDISABLE): Likewise.
13395 [IS_IN (libc)] (CENABLE): Likewise.
13396 [IS_IN (libc)] (CENABLE): Likewise.
13397 [IS_IN (librt)] (CDISABLE): Likewise.
13398 [IS_IN (librt)] (CDISABLE): Likewise.
13399 (SINGLE_THREAD_P): Likewise.
13400 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
13402 (PSEUDO_END): Likewise.
13403 [IS_IN (libpthread)] (CENABLE): Likewise.
13404 [IS_IN (libpthread)] (CDISABLE): Likewise.
13405 [IS_IN (libc)] (CENABLE): Likewise.
13406 [IS_IN (libc)] (CENABLE): Likewise.
13407 [IS_IN (librt)] (CDISABLE): Likewise.
13408 [IS_IN (librt)] (CDISABLE): Likewise.
13409 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13410 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
13412 (PSEUDO_END): Likewise.
13413 [IS_IN (libpthread)] (CENABLE): Likewise.
13414 [IS_IN (libpthread)] (CDISABLE): Likewise.
13415 [IS_IN (libc)] (CENABLE): Likewise.
13416 [IS_IN (libc)] (CENABLE): Likewise.
13417 [IS_IN (librt)] (CDISABLE): Likewise.
13418 [IS_IN (librt)] (CDISABLE): Likewise.
13419 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13420 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
13421 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13422 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
13423 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
13425 (PSEUDO_END): Likewise.
13426 [IS_IN (libpthread)] (CENABLE): Likewise.
13427 [IS_IN (libpthread)] (CDISABLE): Likewise.
13428 [IS_IN (libc)] (CENABLE): Likewise.
13429 [IS_IN (libc)] (CENABLE): Likewise.
13430 [IS_IN (librt)] (CDISABLE): Likewise.
13431 [IS_IN (librt)] (CDISABLE): Likewise.
13432 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13433 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
13435 (PSEUDO_END): Likewise.
13436 [IS_IN (libpthread)] (CENABLE): Likewise.
13437 [IS_IN (libpthread)] (CDISABLE): Likewise.
13438 [IS_IN (libc)] (CENABLE): Likewise.
13439 [IS_IN (libc)] (CENABLE): Likewise.
13440 [IS_IN (librt)] (CDISABLE): Likewise.
13441 [IS_IN (librt)] (CDISABLE): Likewise.
13442 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13443 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
13445 (PSEUDO_END): Likewise.
13446 [IS_IN (libpthread)] (CENABLE): Likewise.
13447 [IS_IN (libpthread)] (CDISABLE): Likewise.
13448 [IS_IN (libc)] (CENABLE): Likewise.
13449 [IS_IN (libc)] (CENABLE): Likewise.
13450 [IS_IN (librt)] (CDISABLE): Likewise.
13451 [IS_IN (librt)] (CDISABLE): Likewise.
13452 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13453 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
13454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13455 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
13456 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
13458 (PSEUDO_END): Likewise.
13459 [IS_IN (libpthread)] (CENABLE): Likewise.
13460 [IS_IN (libpthread)] (CDISABLE): Likewise.
13461 [IS_IN (libc)] (CENABLE): Likewise.
13462 [IS_IN (libc)] (CENABLE): Likewise.
13463 [IS_IN (librt)] (CDISABLE): Likewise.
13464 [IS_IN (librt)] (CDISABLE): Likewise.
13465 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13466 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
13468 (PSEUDO_END): Likewise.
13469 [IS_IN (libpthread)] (CENABLE): Likewise.
13470 [IS_IN (libpthread)] (CDISABLE): Likewise.
13471 [IS_IN (libc)] (CENABLE): Likewise.
13472 [IS_IN (libc)] (CENABLE): Likewise.
13473 [IS_IN (librt)] (CDISABLE): Likewise.
13474 [IS_IN (librt)] (CDISABLE): Likewise.
13475 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13477 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
13479 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
13481 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
13483 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13485 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
13488 * string/stratcliff.c (do_test): Declare size, nchars, inner,
13489 middle and outer with size_t instead of int. Repleace %d and
13490 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
13491 "MAX (outer, nchars - 64)" to support unsigned outer and
13492 nchars. Also exit loop when outer == 0.
13494 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13496 * include/fcntl.h (__fcntl_nocancel): Remove definition.
13497 * include/signal.h (__sigsuspend_nocancel): Likewise.
13498 * include/time.h (__nanosleep_nocancel): Likewise.
13499 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
13500 * login/utmp_file.c: Include non cancellable syscall header.
13501 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
13504 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
13506 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
13507 .byte sequences with AVX512F instructions.
13508 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
13509 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13510 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13511 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
13513 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13516 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
13517 Steve Ellcey <sellcey@cavium.com>
13519 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
13520 Use PTR_REG macro in cmp instruction.
13522 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13524 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
13525 Change the return type of the ifunc resolver to match the return
13526 type of the target function.
13528 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13530 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
13531 (preadv64): Likewise.
13532 (pwrite64(: Likewise.
13533 (pwritev64): Likewise.
13535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13536 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
13537 (LOAD_ARGS_0): Likewise.
13538 (LOAD_ARGS_1): Likewise.
13539 (LOAD_ARGS_2): Likewise.
13540 (LOAD_ARGS_3): Likewise.
13541 (LOAD_ARGS_4): Likewise.
13542 (LOAD_ARGS_5): Likewise.
13543 (LOAD_ARGS_6): Likewise.
13544 (LOAD_REGS_0): Likewise.
13545 (LOAD_REGS_1): Likewise.
13546 (LOAD_REGS_2): Likewise.
13547 (LOAD_REGS_3): Likewise.
13548 (LOAD_REGS_4): Likewise.
13549 (LOAD_REGS_5): Likewise.
13550 (LOAD_REGS_6): Likewise.
13551 (ASM_ARGS_0): Likewise.
13552 (ASM_ARGS_1): Likewise.
13553 (ASM_ARGS_2): Likewise.
13554 (ASM_ARGS_3): Likewise.
13555 (ASM_ARGS_4): Likewise.
13556 (ASM_ARGS_5): Likewise.
13557 (ASM_ARGS_6): Likewise.
13558 (LOAD_ARGS_TYPES_1): Likewise.
13559 (LOAD_ARGS_TYPES_2): Likewise.
13560 (LOAD_ARGS_TYPES_3): Likewise.
13561 (LOAD_ARGS_TYPES_4): Likewise.
13562 (LOAD_ARGS_TYPES_5): Likewise.
13563 (LOAD_ARGS_TYPES_6): Likewise.
13564 (LOAD_REGS_TYPES_1): Likewise.
13565 (LOAD_REGS_TYPES_2): Likewise.
13566 (LOAD_REGS_TYPES_3): Likewise.
13567 (LOAD_REGS_TYPES_4): Likewise.
13568 (LOAD_REGS_TYPES_5): Likewise.
13569 (LOAD_REGS_TYPES_6): Likewise.
13570 (TYPEFY): New define.
13571 (ARGIFY): Likewise.
13572 (internal_syscall0): Likewise.
13573 (internal_syscall1): Likewise.
13574 (internal_syscall2): Likewise.
13575 (internal_syscall3): Likewise.
13576 (internal_syscall4): Likewise.
13577 (internal_syscall5): Likewise.
13578 (internal_syscall6): Likewise.
13579 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
13580 (INTERNAL_SYSCALL_NCS): Remove define.
13581 (internal_syscall1): Add define.
13583 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13585 * math/w_remainder_compat.c: Remove duplicate inclusion of
13586 math-svid-compat.h.
13587 * math/w_remainderf_compat.c: Likewise.
13588 * math/w_remainderl_compat.c: Likewise.
13590 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13594 2017-08-22 Joseph Myers <joseph@codesourcery.com>
13597 * math/tgmath.h (__floating_type): Simplify definitions.
13598 (__real_integer_type): New macro.
13599 (__complex_integer_type): Likewise.
13600 (__expr_is_real): Likewise.
13601 (__tgmath_real_type_sub): Update comment to describe handling of
13603 (__tgmath_complex_type_sub): New macro.
13604 (__tgmath_complex_type): Likewise.
13605 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13606 (__TGMATH_CF128): Use __expr_is_real.
13607 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
13609 (__TGMATH_BINARY_REAL_IMAG): Likewise.
13610 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
13611 * math/gen-tgmath-tests.py (Type.create_type): Create complex
13614 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13616 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
13618 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
13620 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
13623 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
13624 nanosleep_not_cancel with __nanosleep_nocancel.
13625 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
13626 (__nanosleep_nocancel): New macro.
13627 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
13629 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
13631 (__nanosleep_nocancel): New prototype.
13633 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
13634 pause_not_cancel with __pause_nocancel.
13635 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
13636 (__pause_nocancel): New macro.
13637 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
13639 (__pause_nocancel): New prototype.
13640 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
13642 2017-08-22 Martin Sebor <msebor@redhat.com>
13644 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
13645 to return a pointer to the same type as the target function.
13647 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
13651 * include/printf.h (__printf_fphex): Add attribute_hidden.
13652 (__guess_grouping): New prototype.
13653 * stdio-common/printf_fp.c (__guess_grouping): Removed.
13654 * stdio-common/reg-printf.c (__register_printf_specifier): Add
13655 libc_hidden_proto and libc_hidden_def.
13656 * stdlib/strfmon_l.c (__guess_grouping): Removed.
13657 (__vstrfmon_l): Remove the third argument passed to
13660 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13662 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
13663 definition for issignaling that does not rely on __MATH_TG,
13664 since __MATH_TG uses __builtin_types_compatible_p, which is only
13665 available in C mode.
13666 (CFLAGS-test-math-issignaling.cc): New variable.
13667 * math/Makefile [CXX] (tests): Add test-math-issignaling.
13668 * math/test-math-issignaling.cc: New test for C++ implementation
13669 of type-generic issignaling.
13670 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
13671 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
13672 options of test-math-issignaling on powerpc64le.
13674 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
13676 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
13678 (hidden_proto): Likewise.
13679 (hidden_tls_proto): Likewise.
13680 (__hidden_proto): Likewise.
13682 2017-08-22 Florian Weimer <fweimer@redhat.com>
13684 math: Statically link tests of internal functionality.
13685 * math/Makefile (tests): Remove atest-exp, atest-sincos,
13687 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
13688 (gmp-objs): Remove assignment.
13689 (atest-exp, atest-sincos, atest-exp2): Remove targets.
13691 2017-08-22 Joseph Myers <joseph@codesourcery.com>
13694 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
13696 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
13698 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
13701 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
13702 variable definitions above inclusion of ../Rules.
13704 2017-08-21 Joseph Myers <joseph@codesourcery.com>
13706 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
13707 case calling __builtin_unreachable.
13709 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13711 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
13712 __waitpid_nocancel.
13713 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
13714 (__waitpid_nocancel): New macro.
13715 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
13717 (__waitpid_nocancel): Replace macro with a function.
13718 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
13721 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
13723 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
13724 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
13726 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
13727 __writev_nocancel_nostatus.
13728 (write_call_graph): Likewise.
13729 (write_bb_counts): Likewise.
13730 * resolv/herror.c (herror): Likewise.
13731 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
13733 (__writev_nocancel_nostatus): New macro.
13734 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
13736 (__writev_nocancel_nostatus): New function.
13738 2017-08-21 Joseph Myers <joseph@codesourcery.com>
13741 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13743 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
13745 (hidden_proto): Likewise.
13746 (hidden_tls_proto): Likewise.
13747 (__hidden_proto): Likewise.
13750 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
13751 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
13752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
13754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
13756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
13758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
13760 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
13761 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
13762 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
13763 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
13764 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13765 GLIBC_2.0 sqrtl symbol.
13767 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
13768 [__USE_MISC] (_LIB_VERSION): Likewise.
13769 [__USE_MISC] (struct exception): Likewise.
13770 [__USE_MISC] (matherr): Likewise.
13771 [__USE_MISC] (DOMAIN): Likewise.
13772 [__USE_MISC] (SING): Likewise.
13773 [__USE_MISC] (OVERFLOW): Likewise.
13774 [__USE_MISC] (UNDERFLOW): Likewise.
13775 [__USE_MISC] (TLOSS): Likewise.
13776 [__USE_MISC] (PLOSS): Likewise.
13777 [__USE_MISC] (HUGE): Likewise.
13778 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
13779 * math/math-svid-compat.h: New file.
13780 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
13782 * include/math.h [!_ISOMAC] (__matherr): Remove.
13783 * manual/arith.texi (FP Exceptions): Do not document matherr.
13784 * math/Makefile (tests): Change test-matherr to test-matherr-3.
13785 (tests-internal): New variable.
13786 (install-lib): Do not add libieee.a.
13787 (non-lib.a): Likewise.
13788 (extra-objs): Do not add libieee.a and ieee-math.o.
13789 (CPPFLAGS-s_lib_version.c): Remove variable.
13790 ($(objpfx)libieee.a): Remove rule.
13791 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
13792 * math/ieee-math.c: Remove.
13793 * math/libm-test-support.c (matherr): Remove.
13794 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
13795 and license notices. Include <math-svid-compat.h> and
13797 (matherr): Undefine as macro. Use compat_symbol_reference.
13798 (_LIB_VERSION): Likewise.
13799 * math/test-matherr-2.c: New file.
13800 * math/test-matherr-3.c: Likewise.
13801 * sysdeps/generic/math_private.h (__kernel_standard): Remove
13803 (__kernel_standard_f): Likewise.
13804 (__kernel_standard_l): Likewise.
13805 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
13806 <math_private.h>. Include <math-svid-compat.h>.
13807 (_LIB_VERSION): Undefine as macro.
13808 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
13809 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
13810 [LIBM_SVID_COMPAT], use compat_symbol.
13811 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
13812 <math_private.h>. Include <math-svid-compat.h>.
13813 (matherr): Undefine as macro.
13814 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
13816 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
13817 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
13818 compat_symbol_reference.
13819 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
13820 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
13821 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
13822 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
13823 (MATHERR_D): Remove declaration.
13824 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
13825 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
13826 [LIBM_BUILD] (pmatherrf): Likewise.
13827 [LIBM_BUILD] (pmatherr): Likewise.
13828 [LIBM_BUILD] (pmatherrl): Likewise.
13829 (DOMAIN): Likewise.
13831 (OVERFLOW): Likewise.
13832 (UNDERFLOW): Likewise.
13835 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
13836 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
13838 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
13839 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
13841 * math/lgamma-compat.h: Include <math-svid-compat.h>.
13842 * math/w_acos_compat.c: Likewise.
13843 * math/w_acosf_compat.c: Likewise.
13844 * math/w_acosh_compat.c: Likewise.
13845 * math/w_acoshf_compat.c: Likewise.
13846 * math/w_acoshl_compat.c: Likewise.
13847 * math/w_acosl_compat.c: Likewise.
13848 * math/w_asin_compat.c: Likewise.
13849 * math/w_asinf_compat.c: Likewise.
13850 * math/w_asinl_compat.c: Likewise.
13851 * math/w_atan2_compat.c: Likewise.
13852 * math/w_atan2f_compat.c: Likewise.
13853 * math/w_atan2l_compat.c: Likewise.
13854 * math/w_atanh_compat.c: Likewise.
13855 * math/w_atanhf_compat.c: Likewise.
13856 * math/w_atanhl_compat.c: Likewise.
13857 * math/w_cosh_compat.c: Likewise.
13858 * math/w_coshf_compat.c: Likewise.
13859 * math/w_coshl_compat.c: Likewise.
13860 * math/w_exp10_compat.c: Likewise.
13861 * math/w_exp10f_compat.c: Likewise.
13862 * math/w_exp10l_compat.c: Likewise.
13863 * math/w_exp2_compat.c: Likewise.
13864 * math/w_exp2f_compat.c: Likewise.
13865 * math/w_exp2l_compat.c: Likewise.
13866 * math/w_fmod_compat.c: Likewise.
13867 * math/w_fmodf_compat.c: Likewise.
13868 * math/w_fmodl_compat.c: Likewise.
13869 * math/w_hypot_compat.c: Likewise.
13870 * math/w_hypotf_compat.c: Likewise.
13871 * math/w_hypotl_compat.c: Likewise.
13872 * math/w_j0_compat.c: Likewise.
13873 * math/w_j0f_compat.c: Likewise.
13874 * math/w_j0l_compat.c: Likewise.
13875 * math/w_j1_compat.c: Likewise.
13876 * math/w_j1f_compat.c: Likewise.
13877 * math/w_j1l_compat.c: Likewise.
13878 * math/w_jn_compat.c: Likewise.
13879 * math/w_jnf_compat.c: Likewise.
13880 * math/w_jnl_compat.c: Likewise.
13881 * math/w_lgamma_main.c: Likewise.
13882 * math/w_lgamma_r_compat.c: Likewise.
13883 * math/w_lgammaf_main.c: Likewise.
13884 * math/w_lgammaf_r_compat.c: Likewise.
13885 * math/w_lgammal_main.c: Likewise.
13886 * math/w_lgammal_r_compat.c: Likewise.
13887 * math/w_log10_compat.c: Likewise.
13888 * math/w_log10f_compat.c: Likewise.
13889 * math/w_log10l_compat.c: Likewise.
13890 * math/w_log2_compat.c: Likewise.
13891 * math/w_log2f_compat.c: Likewise.
13892 * math/w_log2l_compat.c: Likewise.
13893 * math/w_log_compat.c: Likewise.
13894 * math/w_logf_compat.c: Likewise.
13895 * math/w_logl_compat.c: Likewise.
13896 * math/w_pow_compat.c: Likewise.
13897 * math/w_powf_compat.c: Likewise.
13898 * math/w_powl_compat.c: Likewise.
13899 * math/w_remainder_compat.c: Likewise.
13900 * math/w_remainderf_compat.c: Likewise.
13901 * math/w_remainderl_compat.c: Likewise.
13902 * math/w_scalb_compat.c: Likewise.
13903 * math/w_scalbf_compat.c: Likewise.
13904 * math/w_scalbl_compat.c: Likewise.
13905 * math/w_sinh_compat.c: Likewise.
13906 * math/w_sinhf_compat.c: Likewise.
13907 * math/w_sinhl_compat.c: Likewise.
13908 * math/w_sqrt_compat.c: Likewise.
13909 * math/w_sqrtf_compat.c: Likewise.
13910 * math/w_sqrtl_compat.c: Likewise.
13911 * math/w_tgamma_compat.c: Likewise.
13912 * math/w_tgammaf_compat.c: Likewise.
13913 * math/w_tgammal_compat.c: Likewise.
13914 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
13915 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
13916 * sysdeps/ieee754/k_standard.c: Likewise.
13917 * sysdeps/ieee754/k_standardf.c: Likewise.
13918 * sysdeps/ieee754/k_standardl.c: Likewise.
13919 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
13920 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
13921 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
13922 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
13923 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
13924 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
13925 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
13926 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
13927 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
13928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
13930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
13932 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
13933 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
13934 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
13935 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
13937 2017-08-21 Florian Weimer <fweimer@redhat.com>
13940 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
13941 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
13942 Move before inclusion of ../Rules.
13944 2017-08-21 Florian Weimer <fweimer@redhat.com>
13947 * assert/assert.h (assert): Use static_cast (bool) for C++.
13948 Use the ternary operator in the warning branch for GNU C.
13949 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
13950 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
13951 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
13952 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
13953 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
13955 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13958 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13959 (__syscall_clock_gettime): Add attribute_hidden.
13960 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
13961 (__start_context): Likewise.
13963 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13965 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
13967 (hidden_proto): Likewise.
13968 (hidden_tls_proto): Likewise.
13969 (__hidden_proto): Likewise.
13971 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13973 * include/libc-symbols.h (attribute_hidden): Enable hidden
13974 visibility in libc.a compiled with PIE.
13976 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13979 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
13980 Add attribute_hidden.
13982 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13985 * Makerules (all-nonlib): Add $(others-extras).
13986 * catgets/Makefile (others-extras): New.
13987 * elf/Makefile (others-extras): Likewise.
13988 * nss/Makefile (others-extras): Likewise.
13990 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13993 * csu/libc-start.c (__libc_multiple_libcs): Removed.
13994 * elf/dl-open.c: Include <libc-internal.h>.
13995 (__libc_multiple_libcs): Removed.
13996 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
13998 * include/libc-internal.h (__libc_multiple_libcs): New.
13999 * misc/sbrk.c: Include <libc-internal.h>.
14000 (__libc_multiple_libcs): Removed.
14002 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14005 * grp/initgroups.c (__nss_group_database): Removed.
14006 (__nss_initgroups_database): Likewise.
14007 * nscd/gai.c (__nss_hosts_database): Likewise.
14008 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
14009 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14010 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14011 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14012 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
14013 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
14015 * nss/nsswitch.c (__nss_database_custom): Define only if
14016 USE_NSCD is defined.
14017 (__nss_configure_lookup): Use __nss_database_custom only if
14018 USE_NSCD is defined.
14019 * nss/nsswitch.h (__nss_database_custom): Declare only if
14020 USE_NSCD is defined. Add attribute_hidden.
14021 (__nss_setent): Add attribute_hidden.
14022 (__nss_endent): Likewise.
14023 (__nss_getent_r): Likewise.
14024 (__nss_getent): Likewise.
14025 (DEFINE_DATABASE): Declare __nss_##arg##_database.
14027 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
14030 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
14031 libc_hidden_proto and libc_hidden_def.
14033 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
14036 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
14037 Add libc_hidden_proto.
14038 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
14039 Add libc_hidden_def.
14041 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
14044 * gmon/Makefile (routines): Remove bb_init_func and
14046 (elide-routines.os): Removed.
14047 * gmon/bb_exit_func.c: Likewise.
14048 * gmon/bb_init_func.c: Likewise.
14049 * include/sys/gmon.h (__bb): Likewise.
14050 (__bb_init_func): Likewise.
14051 (__bb_exit_func): Likewise.
14052 * sysdeps/alpha/bb_init_func.S: Likewise.
14054 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
14056 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
14057 * include/setjmp.h (____longjmp_chk): Here. Add
14060 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
14063 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
14065 (__strspn_sse2): Likewise.
14067 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14069 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
14070 (close_not_cancel_no_status): Likewise.
14071 (__close_nocancel): New macro.
14072 (__close_nocancel_nostatus): Likewise.
14073 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
14075 (close_not_cancel): Likewise.
14076 (close_not_cancel_no_status): Likewise.
14077 (__close_nocancel): New prototype.
14078 (__close_nocancel_nostatus): New function.
14079 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
14080 * catgets/open_catalog.c (__open_catalog): Replace
14081 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
14082 * gmon/gmon.c (write_gmon): Likewise.
14083 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14084 * intl/loadmsgcat.c (close): Likewise.
14085 * io/ftw.c (open_dir_stream): Likewise.
14086 (ftw_startup): Likewise.
14087 * libio/fileops.c (_IO_file_open): Likewise.
14088 (_IO_file_close_mmap): Likewise.
14089 (_IO_file_close): Likewise.
14090 * libio/iopopen.c (_IO_dup2): Likewise.
14091 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14092 * locale/loadlocale.c (_nl_load_locale): Likewise.
14093 * login/utmp_file.c (pututline_file): Likewise.
14094 (endutent_file): Likewise.
14095 * misc/daemon.c (daemon): Likewise.
14096 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14097 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14098 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
14099 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14100 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14101 * nscd/nscd_helper.c (open_socket): Likewise.
14102 (__nscd_open_socket): Likewise.
14103 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14104 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
14105 (__nscd_innetgr): Likewise.
14106 * nss/nss_db/db-open.c (internal_setent): Likewise.
14107 * resolv/res-close.c (__res_iclose): Likewise.
14108 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
14109 * sysdeps/posix/closedir.c (__closedir): Likewise.
14110 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
14111 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14112 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
14113 (opendir_tail): Likewise.
14114 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
14115 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
14116 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14117 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14118 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
14119 (gethostid): Likewise.
14120 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
14121 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14123 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14124 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
14125 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
14126 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
14128 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
14129 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
14130 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
14132 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
14133 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14135 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14137 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
14138 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
14139 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
14142 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
14143 (openat_not_cancel_3): Likewise.
14144 (openat64_not_cancel_3): Likewise).
14145 (openat_not_cancel_3): Likewise).
14146 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
14148 (openat_not_cancel_3): Likewise.
14149 (openat64_not_cancel): Likewise.
14150 (openat64_not_cancel_3): Likewise.
14151 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
14152 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
14153 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
14154 __open{64}_nocancel.
14155 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
14156 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14157 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14159 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
14162 * include/argz.h (__argz_create_sep): New function prototype.
14163 (__argz_append): Likewise.
14164 (__argz_add): Likewise.
14165 (__argz_add_sep): Likewise.
14166 (__argz_delete): Likewise.
14167 (__argz_insert): Likewise.
14168 (__argz_replace): Likewise.
14169 * string/argz.h (__argz_create_sep): Removed.
14170 (__argz_append): Likewise.
14171 (__argz_add): Likewise.
14172 (__argz_add_sep): Likewise.
14173 (__argz_delete): Likewise.
14174 (__argz_insert): Likewise.
14175 (__argz_replace): Likewise.
14177 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
14179 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
14180 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
14181 (GNU_PROPERTY_STACK_SIZE): Likewie.
14182 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
14183 (GNU_PROPERTY_LOPROC): Likewise.
14184 (GNU_PROPERTY_HIPROC): Likewise.
14185 (GNU_PROPERTY_LOUSER): Likewise.
14186 (GNU_PROPERTY_HIUSER): Likewise.
14187 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
14188 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
14189 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
14190 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
14191 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
14192 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
14193 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
14194 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
14195 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
14196 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
14197 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
14198 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
14199 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
14200 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
14201 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
14202 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
14203 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
14204 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
14205 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
14206 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
14207 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
14208 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
14209 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
14211 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14213 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
14216 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14219 * math/math.h (isinf): Check if in C or C++ mode before using
14220 __builtin_types_compatible_p, since this is a C mode feature.
14222 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14224 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
14225 (__write_nocancel): New macro.
14226 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
14227 Rewrite as a function prototype.
14228 (write_not_cancel): Remove macro.
14229 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
14230 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
14231 (write_gmon): Likewise.
14232 * libio/fileops.c (_IO_new_file_write): Likewise.
14233 * login/utmp_file.c (pututline_file): Likewise.
14234 (updwtmp_file): Likewise.
14235 * stdio-common/psiginfo.c (psiginfo): Likewise.
14236 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
14237 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
14238 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
14240 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14243 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
14244 (__read_nocancel): New macro.
14245 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
14247 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
14249 (__read_nocancel): New prototype.
14250 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
14251 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
14252 with __read_nocancel.
14253 * intl/loadmsgcat.c (read): Likewise.
14254 * libio/fileops.c (_IO_file_read): Likewise.
14255 * locale/loadlocale.c (_nl_load_locale): Likewise.
14256 * login/utmp_file.c (getutent_r_file): Likewise.
14257 (internal_getut_r): Likewise.
14258 (getutline_r_file): Likewise.
14259 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
14260 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14261 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
14262 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14264 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
14265 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
14266 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
14268 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
14270 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
14272 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14274 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
14276 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
14279 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
14280 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
14283 2017-08-17 DJ Delorie <dj@redhat.com>
14285 * bug17079.c: Update to new test harness.
14286 * test-digits-dots.c: Likewise.
14287 * test-netdb.c: Likewise.
14288 * tst-field.c: Likewise.
14289 * tst-nss-getpwent.c: Likewise.
14290 * tst-nss-static.c: Likewise.
14291 * tst-nss-test1.c: Likewise.
14292 * tst-nss-test2.c: Likewise.
14293 * tst-nss-test3.c: Likewise.
14294 * tst-nss-test4.c: Likewise.
14295 * tst-nss-test5.c: Likewise.
14297 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14299 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
14300 (open_not_cancel_2): Likewise.
14301 (open_nocancel): New macro.
14302 (open64_nocancel): Likewise.
14303 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
14304 (open_not_cancel_2): Likewise.
14305 (__open_nocancel): New prototype.
14306 (__open64_nocancel): Likewise.
14307 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
14309 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
14310 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
14311 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
14312 with __open_nocancel.
14313 * csu/check_fds.c (check_one_fd): Likewise.
14314 * gmon/gmon.c (write_gmon): Likewise.
14315 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
14316 * intl/loadmsgcat.c (open): Likewise.
14317 * libio/fileops.c (_IO_file_open): Likewise.
14318 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14319 * locale/loadlocale.c (_nl_load_locale): Likewise.
14320 * login/utmp_file.c (setutent_file): Likewise.
14321 * misc/daemon.c (daemon): Likewise.
14322 * nss/nss_db/db-open.c (internal_setent): Likewise.
14323 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
14324 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
14325 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
14326 (__opendir): Likewise.
14327 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
14328 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
14329 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
14330 (gethostid): Likewise.
14331 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
14332 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14334 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14335 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
14336 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
14337 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
14339 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
14341 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
14343 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14345 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14347 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14349 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
14350 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
14352 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
14354 * benchtests/bench-skeleton.c (main): Add support for
14355 latency benchmarking.
14356 * benchtests/scripts/bench.py: Add support for latency benchmarking.
14358 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
14360 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
14361 the startup object.
14363 2017-08-17 Florian Weimer <fweimer@redhat.com>
14365 * include/sys/socket.h (__opensock): Remove internal_function.
14366 * socket/opensock.c (__opensock): Likewise.
14367 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
14369 2017-08-16 Joseph Myers <joseph@codesourcery.com>
14372 * signal/bits/types/__sigval_t.h: New file.
14373 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
14374 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
14375 and define sigval_t using __sigval_t.
14376 * include/bits/types/__sigval_t.h: New file.
14377 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
14378 instead of <bits/types/__sigval_t.h>.
14379 (struct sigevent): Use __sigval_t instead of sigval_t.
14380 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
14381 instead of <bits/types/__sigval_t.h>.
14382 (siginfo_t): Use __sigval_t instead of sigval_t.
14383 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
14384 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
14385 (struct sigevent): Use __sigval_t instead of sigval_t.
14386 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
14387 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
14388 (siginfo_t): Use __sigval_t instead of sigval_t.
14389 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
14391 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
14393 * NEWS: Remove "[Add new features here]" for 2.27.
14395 2017-08-16 Joseph Myers <joseph@codesourcery.com>
14397 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
14400 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
14402 * NEWS: Mention x86-64 FMA optimization.
14404 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
14407 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14409 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
14410 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
14411 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
14413 2017-08-16 Andreas Schwab <schwab@suse.de>
14417 * elf/ldd.bash.in: Never run file directly.
14419 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
14422 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
14423 (L(SP_INF_0)): Likewise.
14425 2017-08-15 Florian Weimer <fweimer@redhat.com>
14427 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
14430 2017-08-15 Florian Weimer <fweimer@redhat.com>
14432 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
14433 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
14434 BROKEN_THREAD_SIGNALS code.
14435 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
14436 request_list): Remove caller_pid member used for
14437 BROKEN_THREAD_SIGNALS.
14438 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
14439 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
14440 Remove BROKEN_THREAD_SIGNALS support.
14441 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14442 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
14444 2017-08-15 Florian Weimer <fweimer@redhat.com>
14446 * gmon/Makefile (tests): Add tst-gmon.
14447 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
14449 (tests-special): Add tst-gmon-prof.out.
14450 (tst-gmon.out): Depend on clean-tst-gmon-data.
14451 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
14452 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
14453 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
14455 * aclocal.m4 (GPROF): Set and substitute.
14456 * config.amke.in (GPROF): Set.
14457 * configure: Regenerate.
14459 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
14461 * elf/elf.h A (NT_PPC_TAR): New macro.
14462 (NT_PPC_PPR): Likewise.
14463 (NT_PPC_DSCR): Likewise.
14464 (NT_PPC_EBB): Likewise.
14465 (NT_PPC_PMU): Likewise.
14466 (NT_PPC_TM_CGPR): Likewise.
14467 (NT_PPC_TM_CFPR): Likewise.
14468 (NT_PPC_TM_CVMX): Likewise.
14469 (NT_PPC_TM_CVSX): Likewise.
14470 (NT_PPC_TM_SPR): Likewise.
14471 (NT_PPC_TM_CTAR): Likewise.
14472 (NT_PPC_TM_CPPR): Likewise.
14473 (NT_PPC_TM_CDSCR): Likewise.
14475 2017-08-15 Florian Weimer <fweimer@redhat.com>
14477 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
14478 regparm (2) instead of internal_function.
14479 (_MCOUNT_DECL): Adjust.
14481 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14483 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
14484 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14486 2017-08-14 Joseph Myers <joseph@codesourcery.com>
14488 * conform/data/sys/wait.h-data (si_value): Do not expect for
14491 2017-08-14 Florian Weimer <fweimer@redhat.com>
14494 NSS: Create stubs for accidentally exported lookup functions.
14495 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
14496 Remove declaration.
14497 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
14498 (ether_hostton): Call __nss_ethers_lookup2 instead.
14499 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
14500 (ether_ntohost): Call __nss_ethers_lookup2 instead.
14501 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
14502 (setup): Call __nss_netgroup_lookup2 instead.
14503 * nss/Makefile (routines): Add compat-lookup.
14504 * nss/Versions (GLIBC_2.27): Add symbol version.
14505 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
14506 (DB_COMPAT_FCT): Remove.
14507 * nss/compat-lookup.c: New file.
14508 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
14509 from databases.def.
14510 * nss/service-lookup.c (NO_COMPAT): Remove definition.
14511 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
14512 (netname2user): Call __nss_publickey_lookup2 instead.
14513 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
14514 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
14517 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14518 Sergei Trofimovich <slyfox@inbox.ru>
14521 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
14522 Rename to MMAP2_PAGE_UNIT.
14523 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
14524 __OFF_T_MATCHES_OFF64_T is not defined.
14525 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
14527 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
14528 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
14530 2017-08-14 Florian Weimer <fweimer@redhat.com>
14532 i386: Do not set internal_function.
14533 * config.h.in (USE_REGPARMS, internal_function): Remove.
14534 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
14535 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
14537 2017-08-14 Florian Weimer <fweimer@redhat.com>
14539 * elf/dl-init.c (_dl_init): Remove internal_function.
14540 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
14541 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
14543 2017-08-14 Florian Weimer <fweimer@redhat.com>
14545 * elf/rtld.c (_dl_start): Remove internal_function.
14546 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
14549 2017-08-14 Florian Weimer <fweimer@redhat.com>
14551 * elf/dl-fini.c (_dl_fini): Remove internal_function
14552 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
14554 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
14556 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
14557 (bit_cpu_SHSTK): Likewise.
14558 (index_cpu_IBT): Likewise.
14559 (index_cpu_SHSTK): Likewise.
14560 (reg_IBT): Likewise.
14561 (reg_SHSTK): Likewise.
14562 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14563 Handle index_cpu_IBT and index_cpu_SHSTK.
14565 2017-08-14 Mike FABIAN <mfabian@redhat.com>
14568 * po/fr.po: Fix spelling mistake.
14570 2017-08-13 Florian Weimer <fweimer@redhat.com>
14572 * elf/dl-addr.c (_dl_addr): Remove internal_function.
14573 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
14574 (_dl_catch_error, _dl_receive_error): Likewise.
14575 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
14576 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
14577 (_dl_deallocate_tls): Likewise.
14578 * include/dlfcn.h (_dl_addr): Likewise.
14579 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
14580 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
14581 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
14584 2017-08-13 Florian Weimer <fweimer@redhat.com>
14586 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
14587 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
14589 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
14591 2017-08-13 Florian Weimer <fweimer@redhat.com>
14593 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
14595 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
14596 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
14597 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
14598 internal_function from _dl_make_stack_executable_hook member.
14599 (_dl_make_stack_executable): Remove internal_function.
14600 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
14602 * sysdeps/unix/sysv/linux/dl-execstack.c
14603 (_dl_make_stack_executable): Likewise.
14605 2017-08-13 Florian Weimer <fweimer@redhat.com>
14607 * sysdeps/unix/sysv/linux/netlinkaccess.h
14608 (__netlink_assert_response): Remove internal_function.
14609 * sysdeps/unix/sysv/linux/netlink_assert_response.c
14610 (__netlink_assert_response): Likewise.
14612 2017-08-13 Florian Weimer <fweimer@redhat.com>
14614 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
14616 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
14618 2017-08-13 Florian Weimer <fweimer@redhat.com>
14620 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
14622 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
14623 * inet/netgroup.h (__internal_setnetgrent)
14624 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
14625 * inet/getnetgrent_r.c (__internal_setnetgrent)
14626 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
14627 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
14628 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
14629 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
14630 * nss/nsswitch.h (db_lookup_function): Likewise.
14632 2017-08-13 Florian Weimer <fweimer@redhat.com>
14634 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
14635 Remove internal_function.
14636 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
14637 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
14638 message argument on the stack.
14639 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
14642 2017-08-12 Mike FABIAN <mfabian@redhat.com>
14644 Adapt test case data to the changes in the thousands
14648 * localedata/tst-langinfo.sh: Adapt test case data.
14649 * stdlib/tst-strfmon_l.c: Likewise.
14650 * stdlib/tst-strtod4.c: Likewise.
14651 * stdlib/tst-strtod5i.c: Likewise.
14653 2017-08-11 Florian Weimer <fweimer@redhat.com>
14656 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
14657 Suppress pedantic warning resulting from statement expression.
14658 (__ASSERT_FUNCTION): Add missing __extension__.
14660 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14662 * benchtests/bench-memmove-large.c: Print output in JSON
14664 * benchtests/bench-memmove.c: Likewise.
14666 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
14667 * benchtests/bench-memchr.c (do_one_test): Likewise.
14668 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
14669 * benchtests/bench-memcpy.c (do_one_test): Likewise.
14670 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
14671 * benchtests/bench-memmove.c (do_one_test): Likewise.
14672 * benchtests/bench-memset-large.c (do_one_test): Likewise.
14673 * benchtests/bench-memset.c (do_one_test): Likewise.
14674 * benchtests/bench-string.h (test_init): Remove memsets.
14676 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
14679 (Computing the Width of an Integer Data Type): Rename section to
14680 "Width of an Integer Type". Remove inaccurate statement regarding
14681 lack of C language facilities for determining width of integer
14682 types, and reorder content to improve flow and context of
14685 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
14687 * lang.texi (va_copy): Change standard from ISO to C99.
14688 (__va_copy): Add standard and header annotation.
14689 Update description for clarity of origins and current use.
14691 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14694 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
14695 xssqrtqp requires operands to be in Vector Registers
14696 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
14697 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
14698 (__ieee754_sqrtf128): Likewise.
14700 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14702 * sysdeps/aarch64/memcmp.S (memcmp):
14703 Rewrite of optimized memcmp.
14705 2017-08-10 Florian Weimer <fweimer@redhat.com>
14707 Introduce ld.so exceptions.
14708 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
14709 (_dl_exception_create, _dl_exception_create_format)
14710 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
14711 (_dl_catch_exception): Declare.
14712 (_dl_catch_error): Update comment.
14713 * elf/dl-error-skeleton.c (struct catch): Replace objname,
14714 errstring, malloced members with exception member.
14715 (_dl_out_of_memory): Remove.
14716 (fatal_error): New function, extracted from _dl_signal_error.
14717 (_dl_signal_exception, _dl_signal_cexception): New functions.
14718 (_dl_signal_error): Call _dl_exception_create to allocate an
14720 (_dl_catch_exception): New function, based on _dl_catch_error.
14721 (_dl_catch_error): Implement using _dl_catch_exception.
14722 * elf/dl-exception.c: New file.
14723 * elf/Makefile (dl-routines): Add dl-exception.
14724 (elide-routines.os): Likewise.
14725 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
14726 _dl_exception_create_format, _dl_exception_free.
14727 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
14728 _dl_signal_exception.
14729 * elf/dl-lookup.c (make_string): Remove.
14730 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
14731 _dl_signal_cexception, _dl_exception_free.
14732 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
14733 _dl_signal_exception.
14734 * elf/dl-sym.c (do_sym): Likewise.
14735 * elf/dl-version.c (make_string): Remove.
14736 (match_symbol): Use _dl_exception_create_format,
14737 _dl_signal_cexception, _dl_exception_free.
14738 (_dl_check_map_versions): Likewise.
14739 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
14740 _dl_catch_exception.
14741 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
14742 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
14743 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
14744 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
14745 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
14746 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
14747 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
14748 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
14750 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
14751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
14753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
14757 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
14758 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
14759 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
14761 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
14763 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
14765 2017-08-10 Florian Weimer <fweimer@redhat.com>
14767 * inet/net-internal.h (__inet6_scopeid_pton): Remove
14768 attribute_hidden, internal_function.
14769 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
14772 2017-08-10 Florian Weimer <fweimer@redhat.com>
14774 * malloc/malloc.c (get_max_fast): Reimplement as an inline
14775 function which calls __builtin_unreachable.
14777 2017-08-10 Mike FABIAN <mfabian@redhat.com>
14779 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
14780 Indian monetary formatting
14781 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
14784 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
14786 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
14787 Fix typo in comment.
14790 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
14791 PTRACE_SEIZE_DEVEL): Remove.
14792 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
14793 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14794 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14795 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14796 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14798 2017-08-09 Joseph Myers <joseph@codesourcery.com>
14800 * posix/bits/types.h (__qaddr_t): Remove.
14803 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
14804 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
14806 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
14807 (ucontext_t): Use __ctx with uc_flags.
14808 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
14809 (__ctxt): Likewise.
14810 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
14812 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
14813 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
14815 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
14816 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
14818 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
14820 (ucontext_t): Use __ctx with uc_flags.
14821 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
14822 (ucontext_t): Use __ctx with uc_flags.
14823 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
14824 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
14825 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
14826 (ucontext_t): Use __ctx with uc_flags.
14827 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
14828 undefine further down.
14829 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
14831 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
14832 undefine further down.
14833 (ucontext_t): Use __ctx with uc_flags.
14834 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
14835 undefine further down.
14836 (ucontext_t): Use __ctx with uc_flags.
14837 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
14838 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
14839 Rename uc_pad to __glibc_reserved1.
14840 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
14841 undefine further down.
14842 (ucontext_t): Use __ctx with uc_flags.
14843 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
14845 (ucontext_t): Use __ctx with uc_flags.
14846 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
14847 __ctx with uc_flags.
14848 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
14849 (ucontext_t): Use __ctx with uc_flags.
14850 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
14851 __ctx with uc_flags.
14853 2017-08-09 Florian Weimer <fweimer@redhat.com>
14856 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
14857 before early return.
14859 2017-08-09 Andreas Schwab <schwab@suse.de>
14862 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
14866 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
14867 tst-compat-forwarder.
14868 (modules-names): Add tst-compat-forwarder-mod.
14869 ($(objpfx)tst-compat-forwarder): Depend on
14870 $(objpfx)tst-compat-forwarder-mod.so.
14871 * nptl/tst-compat-forwarder.c: New file.
14872 * nptl/tst-compat-forwarder-mod.c: New file.
14874 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
14876 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
14879 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
14880 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
14882 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14884 (__libc_ifunc_impl_list): Add __memcpy_falkor.
14885 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
14886 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
14887 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
14889 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
14892 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14895 * manual/setjmp.texi (getcontex): Document uc_stack value
14896 compatibility differences.
14898 2017-08-08 Joseph Myers <joseph@codesourcery.com>
14900 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
14901 (old_malloc_hook): Likewise.
14902 (old_memalign_hook): Likewise.
14903 (old_realloc_hook): Likewise.
14904 (struct hdr): Likewise.
14906 (freehook): Likewise.
14907 (mallochook): Likewise.
14908 (memalignhook): Likewise.
14909 (reallochook): Likewise.
14910 (mprobe): Likewise.
14911 * malloc/mtrace.c (mallwatch): Likewise.
14912 (tr_old_free_hook): Likewise.
14913 (tr_old_malloc_hook): Likewise.
14914 (tr_old_realloc_hook): Likewise.
14915 (tr_old_memalign_hook): Likewise.
14916 (tr_where): Likewise.
14917 (lock_and_info): Likewise.
14918 (tr_freehook): Likewise.
14919 (tr_mallochook): Likewise.
14920 (tr_reallochook): Likewise.
14921 (tr_memalignhook): Likewise.
14922 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
14923 * misc/mmap.c (__mmap): Likewise.
14924 * misc/mmap64.c (__mmap64): Likewise.
14925 * misc/mprotect.c (__mprotect): Likewise.
14926 * misc/msync.c (msync): Likewise.
14927 * misc/munmap.c (__munmap): Likewise.
14928 * posix/posix_madvise.c (posix_madvise): Likewise.
14929 * socket/send.c (__send): Likewise.
14930 * socket/sendto.c (__sendto): Likewise.
14931 * socket/setsockopt.c (__setsockopt): Likewise.
14932 * string/memcmp.c (__ptr_t): Remove macro.
14933 (MEMCMP): Use void * instead of ptr_t.
14934 * string/memrchr.c (__ptr_t): Remove macro.
14935 (__memrchr): Use void * instead of ptr_t.
14936 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
14937 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
14938 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
14939 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
14940 * sysdeps/mach/msync.c (msync): Likewise.
14941 * sysdeps/mach/munmap.c (__munmap): Likewise.
14942 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
14944 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14945 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
14946 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
14947 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
14948 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
14949 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
14950 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
14951 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
14953 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
14954 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
14955 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
14956 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
14957 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
14958 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
14959 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
14960 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
14961 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
14963 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
14964 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
14965 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
14966 (MEMCMP): Use void * instead of ptr_t.
14967 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
14968 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
14970 2017-08-08 Florian Weimer <fweimer@redhat.com>
14972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
14975 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
14978 * csu/libc-tls.c: Include <startup.h> first.
14979 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
14980 * elf/dl-tunables.c: Include <startup.h> first.
14981 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
14982 * sysdeps/generic/startup.h: New file.
14983 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
14984 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
14985 (I386_USE_SYSENTER): New. Defined to 0.
14987 2017-08-08 Andreas Schwab <schwab@suse.de>
14990 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
14991 * nptl/pt-system.c (system): Likewise.
14993 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14996 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
14998 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
14999 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15000 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
15001 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15002 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15003 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15004 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
15006 2017-08-07 Joseph Myers <joseph@codesourcery.com>
15009 * bits/sigaction.h (struct sigaction): Define sa_handler and
15010 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
15011 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15012 [__USE_XOPEN_EXTENDED].
15013 (SA_RESTART): Likewise.
15014 (SA_NODEFER): Likewise.
15015 (SA_RESETHAND): Likewise.
15016 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
15017 (struct sigaction): Define sa_handler and sa_sigaction using union
15018 also for [__USE_XOPEN_EXTENDED].
15019 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15020 [__USE_XOPEN_EXTENDED].
15021 (SA_RESTART): Likewise.
15022 (SA_NODEFER): Likewise.
15023 (SA_RESETHAND): Likewise.
15024 * sysdeps/unix/sysv/linux/bits/sigaction.h
15025 (struct sigaction): Define sa_handler and sa_sigaction using union
15026 also for [__USE_XOPEN_EXTENDED].
15027 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15028 [__USE_XOPEN_EXTENDED].
15029 (SA_RESTART): Likewise.
15030 (SA_NODEFER): Likewise.
15031 (SA_RESETHAND): Likewise.
15032 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
15033 (struct sigaction): Define sa_handler and sa_sigaction using union
15034 also for [__USE_XOPEN_EXTENDED].
15035 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15036 [__USE_XOPEN_EXTENDED].
15037 (SA_RESTART): Likewise.
15038 (SA_NODEFER): Likewise.
15039 (SA_RESETHAND): Likewise.
15040 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
15041 (struct sigaction): Define sa_handler and sa_sigaction using union
15042 also for [__USE_XOPEN_EXTENDED].
15043 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15044 [__USE_XOPEN_EXTENDED].
15045 (SA_RESTART): Likewise.
15046 (SA_NODEFER): Likewise.
15047 (SA_RESETHAND): Likewise.
15048 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
15049 (struct sigaction): Define sa_handler and sa_sigaction using union
15050 also for [__USE_XOPEN_EXTENDED].
15051 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15052 [__USE_XOPEN_EXTENDED].
15053 (SA_RESTART): Likewise.
15054 (SA_NODEFER): Likewise.
15055 (SA_RESETHAND): Likewise.
15056 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15057 (struct sigaction): Define sa_handler and sa_sigaction using union
15058 also for [__USE_XOPEN_EXTENDED].
15059 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15060 [__USE_XOPEN_EXTENDED].
15061 (SA_RESTART): Likewise.
15062 (SA_NODEFER): Likewise.
15063 (SA_RESETHAND): Likewise.
15064 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15065 (struct sigaction): Define sa_handler and sa_sigaction using union
15066 also for [__USE_XOPEN_EXTENDED].
15067 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15068 [__USE_XOPEN_EXTENDED].
15069 (SA_RESTART): Likewise.
15070 (SA_NODEFER): Likewise. Define directly rather than as alias.
15071 (SA_RESETHAND): Likewise.
15072 (SA_INTERRUPT): Define only for [__USE_MISC].
15073 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
15074 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
15076 (SA_STACK): Define only for [__USE_MISC].
15077 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
15078 (struct sigaction): Define sa_handler and sa_sigaction using union
15079 also for [__USE_XOPEN_EXTENDED].
15080 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15081 [__USE_XOPEN_EXTENDED].
15082 (SA_RESTART): Likewise.
15083 (SA_NODEFER): Likewise.
15084 (SA_RESETHAND): Likewise.
15085 (SA_NOPTRACE): Define only for [__USE_MISC].
15087 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
15088 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
15089 (struct catalog_info): Likewise.
15090 * inet/htontest.c (lo): Likewise.
15092 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15093 * inet/inet_net.c (inet_network): Likewise.
15094 * inet/inet_netof.c (inet_netof): Likewise.
15095 * inet/rcmd.c (__ivaliduser): Likewise.
15096 (iruserok): Likewise.
15097 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
15098 * locale/programs/locale-spec.c (locale_special): Likewise.
15099 * nis/nis_findserv.c (struct findserv_req): Likewise.
15100 (__nis_findfastest_with_timeout): Likewise.
15101 * nss/test-netdb.c (test_network): Likewise.
15102 * resolv/inet_neta.c (inet_neta): Likewise.
15103 * resolv/ns_date.c (ns_datetosecs): Likewise.
15104 (SECS_PER_DAY): Likewise.
15105 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
15107 * resolv/res_comp.c (__putlong): Likewise.
15108 (__putshort): Likewise.
15109 (_getlong): Likewise.
15110 (_getshort): Likewise.
15111 * resolv/res_debug.c (p_time): Likewise.
15112 (precsize_ntoa): Likewise.
15113 (precsize_aton): Likewise.
15114 (latlon2ul): Likewise.
15115 (loc_aton): Likewise.
15116 (loc_ntoa): Likewise.
15117 * resolv/res_hconf.c (struct netaddr): Likewise.
15118 (_res_hconf_reorder_addrs): Likewise.
15119 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
15120 (clnttcp_control): Likewise.
15121 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15122 (clntudp_control): Likewise.
15123 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
15124 (clntunix_control): Likewise.
15125 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
15126 * sunrpc/rpc/auth.h (union des_block): Likewise.
15127 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
15128 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
15129 (xdrrec_create): Likewise.
15130 (xdrrec_endofrecord): Likewise.
15131 (flush_out): Likewise.
15132 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
15133 (xdrstdio_putlong): Likewise.
15134 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
15137 * misc/sys/cdefs.h (__long_double_t): Remove.
15138 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
15139 instead of __long_double_t,
15140 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
15142 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15144 * benchtests/scripts/compare_strings.py: Avoid display error when
15145 running on a text terminal.
15147 * benchtests/scripts/compare_strings.py (main): Add an
15148 optional -base option.
15149 (process_results): New argument base_func.
15151 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
15153 * benchtests/bench-memcpy-large.c (test_name): Likewise.
15154 * benchtests/bench-memcpy-random.c (test_name): Likewise.
15156 2017-08-07 Andreas Schwab <schwab@suse.de>
15158 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
15159 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15160 * intl/Makefile ($(objpfx)tst-gettext.out)
15161 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
15162 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
15163 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15164 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15165 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
15166 * posix/Makefile ($(objpfx)globtest.out)
15167 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
15168 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
15169 ($(objpfx)tst-printf.out): Likewise.
15170 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
15171 ($(objpfx)tst-setcontext3.out): Likewise.
15173 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
15175 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15176 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
15177 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
15178 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
15179 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
15181 (CFLAGS-doasin-fma.c): New.
15182 (CFLAGS-dosincos-fma.c): Likewise.
15183 (CFLAGS-e_asin-fma.c): Likewise.
15184 (CFLAGS-e_atan2-fma.c): Likewise.
15185 (CFLAGS-e_exp-fma.c): Likewise.
15186 (CFLAGS-e_log-fma.c): Likewise.
15187 (CFLAGS-e_pow-fma.c): Likewise.
15188 (CFLAGS-halfulp-fma.c): Likewise.
15189 (CFLAGS-mpa-fma.c): Likewise.
15190 (CFLAGS-mpatan-fma.c): Likewise.
15191 (CFLAGS-mpatan2-fma.c): Likewise.
15192 (CFLAGS-mpexp-fma.c): Likewise.
15193 (CFLAGS-mplog-fma.c): Likewise.
15194 (CFLAGS-mpsqrt-fma.c): Likewise.
15195 (CFLAGS-mptan-fma.c): Likewise.
15196 (CFLAGS-s_atan-fma.c): Likewise.
15197 (CFLAGS-sincos32-fma.c): Likewise.
15198 (CFLAGS-slowexp-fma.c): Likewise.
15199 (CFLAGS-slowpow-fma.c): Likewise.
15200 (CFLAGS-s_sin-fma.c): Likewise.
15201 (CFLAGS-s_tan-fma.c): Likewise.
15202 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
15203 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
15204 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
15205 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
15206 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
15207 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15208 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
15209 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
15210 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
15211 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
15212 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
15213 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
15214 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
15215 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15216 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15217 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
15218 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
15219 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
15220 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
15221 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
15222 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
15223 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
15224 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15225 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
15226 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15227 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15228 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15229 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15230 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15231 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15232 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15234 2017-08-04 Joseph Myers <joseph@codesourcery.com>
15236 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
15237 (min_of_type_f): New macro.
15238 (min_of_type_): Likewise.
15239 (min_of_type_l): Likewise.
15240 (min_of_type_f128): Likewise.
15241 (min_of_type): Define using __MATH_TG and taking an expression
15243 (math_check_force_underflow): Pass expression instead of type to
15245 (math_check_force_underflow_nonneg): Likewise.
15247 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15249 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
15250 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
15251 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
15253 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15255 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15256 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
15257 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
15258 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
15259 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
15260 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
15261 memcpy_chk-nonshared, mempcpy_chk-nonshared,
15262 memmove_chk-nonshared and memset_chk-nonshared
15263 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
15264 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
15265 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
15266 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
15267 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
15268 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
15269 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
15270 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
15271 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
15272 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
15273 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
15274 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
15275 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
15276 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
15277 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
15278 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
15279 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
15280 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
15281 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
15282 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
15283 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
15284 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
15285 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
15286 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
15287 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
15288 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
15289 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
15290 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
15291 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
15292 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
15293 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
15294 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
15295 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
15296 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
15297 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
15298 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
15299 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
15300 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
15301 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
15302 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
15303 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
15304 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
15305 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
15306 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
15307 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
15308 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
15309 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
15310 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
15311 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
15312 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
15313 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
15314 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
15315 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
15316 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
15317 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
15318 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
15319 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
15320 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
15321 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
15322 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
15323 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
15324 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
15325 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
15326 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
15327 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
15328 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
15329 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
15330 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
15331 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
15332 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
15333 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
15334 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15335 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15336 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15337 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15338 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15339 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15340 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15341 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15342 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15343 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15344 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15345 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15346 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15347 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15348 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15349 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15350 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15351 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15352 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15353 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15354 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15355 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15356 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15357 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15358 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15359 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15360 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15361 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15362 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15363 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15364 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15365 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15366 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15367 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15368 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15369 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15370 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15372 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15374 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
15375 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
15376 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
15377 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
15378 svml_d_log2_core-sse2, svml_d_log4_core-sse,
15379 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
15380 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
15381 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
15382 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
15383 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
15384 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
15385 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
15386 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
15387 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
15388 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
15389 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
15390 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
15391 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
15392 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
15393 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
15394 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
15395 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
15396 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
15397 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
15398 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
15399 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
15400 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
15401 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
15402 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
15403 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
15404 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
15405 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
15406 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
15407 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
15408 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
15409 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
15410 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
15411 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
15412 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
15413 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
15414 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
15415 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
15416 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
15417 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
15418 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
15419 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
15420 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
15421 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
15422 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
15423 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
15424 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
15425 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
15426 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
15427 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
15428 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
15429 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
15430 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
15431 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
15432 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
15434 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
15435 Don't include <sysdep.h> nor <init-arch.h>.
15436 (_ZGVbN2v_cos): Removed.
15437 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
15439 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
15440 Don't include <sysdep.h> nor <init-arch.h>.
15441 (_ZGVdN4v_cos): Removed.
15442 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
15444 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
15445 Don't include <sysdep.h> nor <init-arch.h>.
15446 (_ZGVeN8v_cos): Removed.
15447 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
15449 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
15450 Don't include <sysdep.h> nor <init-arch.h>.
15451 (_ZGVbN2v_exp): Removed.
15452 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
15454 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
15455 Don't include <sysdep.h> nor <init-arch.h>.
15456 (_ZGVdN4v_exp): Removed.
15457 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
15459 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
15460 Don't include <sysdep.h> nor <init-arch.h>.
15461 (_ZGVeN8v_exp): Removed.
15462 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
15464 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
15465 Don't include <sysdep.h> nor <init-arch.h>.
15466 (_ZGVbN2v_log): Removed.
15467 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
15469 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
15470 Don't include <sysdep.h> nor <init-arch.h>.
15471 (_ZGVdN4v_log): Removed.
15472 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
15474 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
15475 Don't include <sysdep.h> nor <init-arch.h>.
15476 (_ZGVeN8v_log): Removed.
15477 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
15479 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
15480 Don't include <sysdep.h> nor <init-arch.h>.
15481 (_ZGVbN2vv_pow): Removed.
15482 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
15484 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
15485 Don't include <sysdep.h> nor <init-arch.h>.
15486 (_ZGVdN4vv_pow): Removed.
15487 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
15489 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
15490 Don't include <sysdep.h> nor <init-arch.h>.
15491 (_ZGVeN8vv_pow): Removed.
15492 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
15494 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
15495 Don't include <sysdep.h> nor <init-arch.h>.
15496 (_ZGVbN2v_sin): Removed.
15497 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
15499 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
15500 Don't include <sysdep.h> nor <init-arch.h>.
15501 (_ZGVbN4v_sin): Removed.
15502 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
15504 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
15505 Don't include <sysdep.h> nor <init-arch.h>.
15506 (_ZGVbN8v_sin): Removed.
15507 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
15509 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
15510 Don't include <sysdep.h> nor <init-arch.h>.
15511 (_ZGVbN2vvv_sincos): Removed.
15512 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
15514 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
15515 Don't include <sysdep.h> nor <init-arch.h>.
15516 (_ZGVdN4vvv_sincos): Removed.
15517 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
15519 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
15520 Don't include <sysdep.h> nor <init-arch.h>.
15521 (_ZGVeN8vvv_sincos): Removed.
15522 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
15524 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
15525 Don't include <sysdep.h> nor <init-arch.h>.
15526 (_ZGVeN16v_cosf): Removed.
15527 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
15529 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
15530 Don't include <sysdep.h> nor <init-arch.h>.
15531 (_ZGVbN4v_cosf): Removed.
15532 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
15534 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
15535 Don't include <sysdep.h> nor <init-arch.h>.
15536 (_ZGVdN8v_cosf): Removed.
15537 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
15539 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
15540 Don't include <sysdep.h> nor <init-arch.h>.
15541 (_ZGVeN16v_expf): Removed.
15542 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
15544 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
15545 Don't include <sysdep.h> nor <init-arch.h>.
15546 (_ZGVbN4v_expf): Removed.
15547 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
15549 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
15550 Don't include <sysdep.h> nor <init-arch.h>.
15551 (_ZGVdN8v_expf): Removed.
15552 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
15554 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
15555 Don't include <sysdep.h> nor <init-arch.h>.
15556 (_ZGVeN16v_logf): Removed.
15557 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
15559 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
15560 Don't include <sysdep.h> nor <init-arch.h>.
15561 (_ZGVbN4v_logf): Removed.
15562 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
15564 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
15565 Don't include <sysdep.h> nor <init-arch.h>.
15566 (_ZGVdN8v_logf): Removed.
15567 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
15569 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
15570 Don't include <sysdep.h> nor <init-arch.h>.
15571 (_ZGVeN16vv_powf): Removed.
15572 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
15574 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
15575 Don't include <sysdep.h> nor <init-arch.h>.
15576 (_ZGVbN4vv_powf): Removed.
15577 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
15579 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
15580 Don't include <sysdep.h> nor <init-arch.h>.
15581 (_ZGVdN8vv_powf): Removed.
15582 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
15584 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
15585 Don't include <sysdep.h> nor <init-arch.h>.
15586 (_ZGVeN16vvv_sincosf): Removed.
15587 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
15589 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
15590 Don't include <sysdep.h> nor <init-arch.h>.
15591 (_ZGVbN4vvv_sincosf): Removed.
15592 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
15594 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
15595 Don't include <sysdep.h> nor <init-arch.h>.
15596 (_ZGVdN8vvv_sincosf): Removed.
15597 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
15599 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
15600 Don't include <sysdep.h> nor <init-arch.h>.
15601 (_ZGVeN16v_sinf): Removed.
15602 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
15604 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
15605 Don't include <sysdep.h> nor <init-arch.h>.
15606 (_ZGVbN4v_sinf): Removed.
15607 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
15609 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
15610 Don't include <sysdep.h> nor <init-arch.h>.
15611 (_ZGVdN8v_sinf): Removed.
15613 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15615 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15616 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
15617 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
15618 s_rint-sse4_1 and s_rintf-sse4_1.
15619 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
15620 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
15621 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
15622 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
15623 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
15624 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
15625 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
15626 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
15627 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
15628 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
15629 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
15630 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15632 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
15633 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
15634 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15635 (__ceilf): Removed.
15636 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
15637 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
15638 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15639 (__floor): Removed.
15640 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
15641 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
15642 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15643 (__floorf): Removed.
15644 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
15645 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
15646 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15647 (__nearbyint): Removed.
15648 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
15649 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
15650 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15651 (__nearbyintf): Removed.
15652 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
15653 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
15654 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15656 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
15657 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
15658 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15659 (__rintf): Removed.
15661 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15663 * sysdeps/i386/start.S (_start): Check Check PIC instead of
15664 SHARED. Avoid dynamic relocation against main in static PIE.
15666 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15669 * elf/Makefile (CFLAGS-tst-prelink.c): New.
15670 (LDFLAGS-tst-prelink): Likewise.
15672 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15674 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
15675 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
15676 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
15677 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
15678 (INTERNAL_SYSCALL_NCS): Likewise.
15679 (LOADARGS_1): Likewise.
15680 (LOADARGS_5): Likewise.
15681 (RESTOREARGS_1): Likewise.
15682 (RESTOREARGS_5): Likewise.
15684 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15686 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
15687 (MEMPCPY_SYMBOL): Likewise.
15688 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15689 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
15690 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
15692 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15693 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
15695 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
15696 (__hidden_ver1): Don't use in libc.a.
15697 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
15698 (__mempcpy): Don't create a weak alias in libc.a.
15699 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
15701 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
15702 (__hidden_ver1): Don't use in libc.a.
15704 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15706 * config.make.in (have-insert): New.
15707 * configure.ac (libc_cv_insert): New. Set to yes if linker
15708 supports INSERT in linker script.
15709 (AC_SUBST(libc_cv_insert): New.
15710 * configure: Regenerated.
15711 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
15712 if $(have-insert) == yes.
15714 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15716 * elf/Makefile (tests): Add vismain only if
15717 $(have-protected-data) == yes.
15718 (tests-pie): Likewise.
15720 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15723 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15724 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
15726 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15729 * sysdeps/i386/i586/memset.S
15730 (__memset_zero_constant_len_parameter): Removed.
15731 * sysdeps/i386/i686/memset.S
15732 (__memset_zero_constant_len_parameter): Likewise.
15733 * sysdeps/i386/i686/multiarch/memset_chk.S
15734 (__memset_zero_constant_len_parameter): Likewise.
15735 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
15738 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
15740 * stdlib/getentropy.c (getentropy): Change return type to int.
15742 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
15744 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15746 2017-08-03 Joseph Myers <joseph@codesourcery.com>
15748 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
15750 * math/s_nexttowardf.c (__nexttowardf): Likewise.
15751 * sysdeps/generic/math_private.h (ieee_double_shape_type):
15753 (ieee_float_shape_type): Likewise.
15754 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
15755 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
15756 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15757 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15758 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15759 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
15760 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
15761 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15762 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15764 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15765 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15766 (__ieee754_yn): Likewise.
15767 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15768 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15769 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
15771 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15772 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
15773 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
15774 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
15775 (__erfc): Likewise.
15776 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15777 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
15778 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
15779 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
15780 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
15781 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
15783 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15784 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
15785 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15786 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
15787 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15788 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
15789 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
15790 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
15791 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
15792 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
15793 (__issignaling): Likewise.
15794 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
15795 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
15796 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15798 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15799 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
15800 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15801 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
15803 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
15805 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
15806 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
15807 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
15808 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15809 (__erfcf): Likewise.
15810 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15811 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15812 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
15813 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
15815 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
15816 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
15818 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15819 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
15820 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15821 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
15822 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
15823 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15824 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
15825 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
15827 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
15829 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15831 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
15832 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15834 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15836 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15837 (__ieee754_ynl): Likewise.
15838 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15839 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
15841 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
15843 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15844 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
15845 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15847 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15848 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
15849 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
15850 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
15851 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
15852 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15853 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
15854 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
15856 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
15857 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
15858 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
15860 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
15861 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
15862 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15863 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
15864 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
15865 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15867 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15869 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15871 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15873 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
15874 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15875 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15876 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
15877 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15878 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
15879 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
15881 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15883 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15884 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15886 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15887 (__ieee754_remainderl): Likewise.
15888 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15889 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15890 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15891 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15893 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15894 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15896 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15897 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
15898 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15899 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15900 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15901 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15903 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15904 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15905 (__ieee754_y0l): Likewise.
15908 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15909 (__ieee754_y1l): Likewise.
15912 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15913 (__ieee754_ynl): Likewise.
15914 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
15915 (__ieee754_lgammal_r): Likewise.
15916 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
15918 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15919 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
15920 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15921 (__erfcl): Likewise.
15922 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
15923 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
15925 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
15926 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
15927 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15928 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
15929 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
15930 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15931 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15933 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
15934 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15935 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
15936 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
15937 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15939 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
15940 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
15942 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
15943 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
15944 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
15945 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15946 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
15948 2017-08-03 Florian Weimer <fweimer@redhat.com>
15951 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
15952 on memory allocation failure.
15954 2017-08-03 Alan Modra <amodra@gmail.com>
15956 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
15957 tst-tlsopt-powerpc.c with function name change and no test harness.
15958 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
15959 Call tls_get_addr_opt_test.
15960 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
15961 (modules-names): Add mod-tlsopt-powerpc.
15962 (mod-tlsopt-powerpc.so-no-z-defs): Define.
15963 (tst-tlsopt-powerpc): Depend on .so.
15964 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
15965 define. Expand use in TLS_GD and TLS_LD.
15967 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15969 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
15971 * sysdeps/posix/shm_open.c: Include <pthread.h>.
15973 2017-08-02 Joseph Myers <joseph@codesourcery.com>
15976 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
15977 comparing size with that of double.
15978 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
15979 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
15980 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
15981 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
15982 (__TGMATH_BINARY_REAL_IMAG): Likewise.
15983 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
15984 unsigned __int128 types.
15986 2017-08-02 Steve Ellcey <sellcey@cavium.com>
15988 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
15989 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
15990 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
15991 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
15992 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
15994 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
15996 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
15998 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
16000 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
16002 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
16003 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16004 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16005 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16006 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16007 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16008 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16010 2017-08-02 Joseph Myers <joseph@codesourcery.com>
16013 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
16014 bit-field expressions passed to sizeof or typeof.
16015 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16016 (__TGMATH_F128): Likewise.
16017 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16018 (__TGMATH_CF128): Likewise.
16019 (__TGMATH_UNARY_REAL_ONLY): Likewise.
16020 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
16021 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
16022 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
16023 (__TGMATH_BINARY_REAL_ONLY): Likewise.
16024 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
16025 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
16026 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
16027 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
16028 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
16029 (__TGMATH_UNARY_REAL_IMAG): Likewise.
16030 (__TGMATH_UNARY_IMAG): Likewise.
16031 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
16032 (__TGMATH_BINARY_REAL_IMAG): Likewise.
16033 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
16035 (define_vars_for_type): Handle bit_field type specially.
16036 (Tests.__init__): Declare structure with bit-field element.
16038 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
16041 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
16042 (MEMCPY_CHK): Define only if SHARED is defined.
16043 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
16045 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
16048 See ChangeLog.18 for earlier changes.