1 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
5 2019-05-27 Florian Weimer <fweimer@redhat.com>
7 * nptl/nptl-init.c: Add comment.
9 2019-05-24 Florian Weimer <fweimer@redhat.com>
11 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
12 struct in_addr/struct in6_addr alignment.
14 2019-05-23 Joseph Myers <joseph@codesourcery.com>
16 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17 (F_SEAL_FUTURE_WRITE): New macro.
19 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
21 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
22 * elf/tst-ldconfig-bad-aux-cache.c: New file.
23 * elf/tst-ldconfig_aux-cache.root: New directory.
24 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
25 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
26 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
28 2019-05-22 Zack Weinberg <zackw@panix.com>
30 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
32 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
33 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
35 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
36 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
37 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
40 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
41 Issue an #error if used with a compiler in SPE-float mode.
42 * sysdeps/powerpc/powerpc32/__longjmp_common.S
43 * sysdeps/powerpc/powerpc32/setjmp_common.S
44 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
45 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
46 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
47 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
48 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
49 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
50 Remove code to preserve SPE register state.
52 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
53 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
54 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
55 Remove __SPE__ ifndefs.
57 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
59 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
60 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
61 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
62 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
63 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
64 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
65 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
66 (INNER_LOOP_ITERS_MEDIUM): New define.
67 (INNER_LOOP_ITERS_SMALL): New define.
68 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
69 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
70 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
71 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
72 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
74 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
76 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
78 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
79 (SEMTIMEDOP_IPC_ARGS): Likewise.
81 2019-05-21 Florian Weimer <fweimer@redhat.com>
84 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
85 before updating __counter field and release it afterwards. Add
87 * iconv/gconv.h (struct __gconv_step): Mention synchronization
88 requirement for __counter member.
90 2019-05-21 Florian Weimer <fweimer@redhat.com>
93 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
94 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
95 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
96 instead of __gconv_release_step.
97 * libio/Makefile (tests): Add tst-wfile-gconv.
98 (tests-container): Add tst-wfile-ascii.
99 (tst-wfile-gconv-ENV): Enable mtrace.
100 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
101 (tests-special): Add tst-wfile-gconv-mem.out.
102 (tst-wfile-gconv.out): Depend on locales.
103 (tst-wfile-gconv-mem.out): Add mtrace rule.
104 * libio/tst-wfile-ascii.c: New file.
105 * libio/tst-wfile-gconv.c: Likewise.
107 2019-05-20 Florian Weimer <fweimer@redhat.com>
110 libio: Remove codecvt vtable.
111 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
113 * libio/iofgetpos.c (_IO_new_fgetpos): Call
114 __libio_codecvt_encoding.
115 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
116 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
117 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
118 * libio/iofwide.c (__libio_codecvt): Remove variable.
119 (_IO_fwide): Do not copy __libio_codecvt.
120 (__libio_codecvt_out): Rename from do_out and export.
121 (do_unshift): Remove function.
122 (__libio_codecvt_in): Rename from do_in and export.
123 (__libio_codecvt_encoding): Rename from do_encoding and export.
124 (do_always_noconv): Remove function.
125 (__libio_codecvt_length): Rename from do_length and export.
126 (do_max_length): Remove function.
127 * libio/libio.h (enum __codecvt_result): Remove definition; moved
129 (struct _IO_codecvt): Remove fields __codecvt_destr,
130 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
131 __codecvt_do_encoding, __codecvt_do_always_noconv,
132 __codecvt_do_length, __codecvt_do_max_length.
133 * libio/libioP.h (enum __codecvt_result): Define; moved from
135 (__libio_codecvt_out, __libio_codecvt_in)
136 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
138 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
139 (_IO_wfile_underflow): Call __libio_codecvt_in.
140 (_IO_wfile_underflow): Likewise.
141 (_IO_wfile_underflow_mmap): Likewise.
142 (_IO_wfile_sync): Call __libio_codecvt_encoding,
143 __libio_codecvt_length.
144 (adjust_wide_data): Call __libio_codecvt_encoding,
146 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
147 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
148 __libio_codecvt_length.
150 2019-05-20 Florian Weimer <fweimer@redhat.com>
152 * support/support.h (support_sbindir_prefix): Declare.
153 (support_install_rootsbindir): Update comment.
154 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
155 * support/support_paths.c (support_sbindir_prefix): Define.
157 2019-05-20 Mike Crowe <mac@mcrowe.com>
159 * support/timespec.c: Add backslash to correct newline in failure
162 * support/timespec.h: Correct confusing comment.
164 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
166 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
168 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
169 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
170 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
171 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
174 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
177 2019-05-20 Joseph Myers <joseph@codesourcery.com>
179 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
180 (NT_ARM_PACG_KEYS): Likewise.
182 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
184 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
185 (tcache_put): Remove redundant assert.
186 (tcache_get): Remove redundant asserts.
187 (__libc_malloc): Check tcache count is not zero.
188 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
190 2019-05-17 Florian Weimer <fweimer@redhat.com>
192 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
194 2019-05-16 Joseph Myers <joseph@codesourcery.com>
196 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
197 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
199 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
201 * sysdeps/unix/sysv/linux/sh/kernel-features.h
202 (__ASSUME_STATX): Likewise.
204 2019-05-16 Florian Weimer <fweimer@redhat.com>
206 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
208 (LINE_PARSER): Do not map IPv4 addresses.
209 (internal_nis_gethostent_r): Remove flags argument. Adjust call
211 (_nss_nis_gethostent_r): Always pass AF_INET to
212 internal_nis_gethostent_r.
213 (internal_gethostbyname2_r): Remove flags argument. Adjust call
215 (_nss_nis_gethostbyname2_r): Adjust call to
216 internal_nis_gethostent_r.
217 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
218 call to internal_nis_gethostent_r.
219 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
221 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
222 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
223 Remove flags argument. Do not map IPv4 addresses.
224 (internal_nisplus_gethostent_r): Adjust call to
225 _nss_nisplus_parse_hostent.
226 (internal_gethostbyname2_r): Remove flags argument. Adjust call
227 to _nss_nisplus_parse_hostent.
228 (_nss_nisplus_gethostbyname2_r): Adjust call to
229 internal_gethostbyname2_r.
230 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
231 Adjust call to internal_gethostbyname2_r.
232 (_nss_nisplus_gethostbyaddr_r): Adjust call to
233 _nss_nisplus_parse_hostent.
234 (_nss_nisplus_gethostbyname4_r): Adjust call to
235 internal_gethostbyname2_r.
237 2019-05-16 Florian Weimer <fweimer@redhat.com>
239 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
241 (LINE_PARSER): Remove address mapping.
242 (EXTRA_ARGS_VALUE): Remove flags argument.
243 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
244 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
245 gethostbyname3_multi.
246 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
247 _nss_files_gethostbyname3_r.
248 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
250 2019-05-16 Florian Weimer <fweimer@redhat.com>
252 * support/support_test_compare_blob.c (report_blob): Report
253 incorrect NULL blobs.
255 2019-05-15 Mark Wielaard <mark@klomp.org>
258 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
259 __libc_once_get (once) and static_buf == NULL.
260 (__dlerror): Check we have a valid key, set result to static_buf
263 2019-05-15 Andreas Schwab <schwab@suse.de>
266 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
268 * libio/Makefile (tests): Add tst-wfile-sync.
269 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
270 * libio/tst-wfile-sync.c: New file.
271 * libio/tst-wfile-sync.input: New file.
273 2019-05-15 Florian Weimer <fweimer@redhat.com>
275 nss: Turn __nss_database_lookup into a compatibility symbol.
276 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
277 __nss_database_lookup.
278 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
279 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
280 __nss_database_lookup.
281 (__nss_next): Move to …
282 * nss/compat-lookup.c (nss_next): … here. Change it to fail
284 (__nss_database_lookup): New function.
285 * nss/Versions (GLIBC_2.0): Update comment.
286 (GLIBC_PRIVATE): Export __nss_database_lookup2.
287 * grp/initgroups.c (internal_getgrouplist): Call
288 __nss_database_lookup2 instead of __nss_database_lookup.
289 * nscd/aicache.c (addhstaiX): Likewise.
290 * nscd/initgrcache.c (addinitgroupsX): Likewise.
291 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
292 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
293 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
294 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
296 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
297 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
300 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
302 * support/support.h (support_install_rootsbindir): New variable.
303 * support/support_paths.c: Likewise.
304 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
306 2019-05-15 Florian Weimer <fweimer@redhat.com>
308 * iconv/gconv.h (__gconv_transliterate): Move declaration …
309 * iconv/gconv_int.h (__gconv_transliterate): … here.
310 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
311 * iconv/skeleton.c: Likewise.
313 2019-05-14 Florian Weimer <fweimer@redhat.com>
315 Linux: Add the tgkill function.
316 * bits/signal_ext.h: New file.
317 * manual/signal.texi (Signaling Another Process): Document tgkill.
318 * signal/Makefile (headers): Add bits/signal_ext.h.
319 * signal/signal.h: Include <bits/signal_ext.h>.
320 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
321 (tst-tgkill): Link with libpthread.
322 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
323 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
324 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
325 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
327 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
328 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
329 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
330 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
331 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
332 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
333 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
334 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
335 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
336 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
337 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
339 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
340 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
341 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
350 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
351 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
352 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
353 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
354 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
355 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
356 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
357 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
359 2019-05-14 Carlos O'Donell <carlos@redhat.com>
361 * manual/search.texi (Tree Search Function): Adjust twalk_r
364 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
367 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
370 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
371 * support/support.h (support_bindir_prefix): New variable.
372 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
374 * config.make.in (bindir): New variable.
376 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
377 (lll_trylock): Call __lll_trylock.
378 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
379 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
380 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
381 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
382 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
383 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
384 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
385 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
386 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
387 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
388 lowlevellock-futex.h.
390 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
391 initialization for LLL_LOCK_INITIALIZER different than 0.
392 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
393 Assume LLL_LOCK_INITIALIZER being 0.
394 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
395 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
397 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
398 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
400 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
401 Optimize futex call and add systemtap probe.
403 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
404 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
405 __libc_disable_asynccancel, __librt_enable_asynccancel,
406 __libc_disable_asynccancel, __librt_enable_asynccancel,
407 __librt_disable_asynccancel): Move to ...
408 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
409 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
410 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
411 * sysdeps/generic/single-thread.h: New file.
412 * sysdeps/unix/sysdep.h: Include single-thread.h.
413 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
414 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
416 2019-05-08 Mike FABIAN <mfabian@redhat.com>
419 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
420 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
422 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
423 * localedata/unicode-gen/PropList.txt: Likewise.
424 * localedata/unicode-gen/UnicodeData.txt: Likewise.
425 * localedata/charmaps/UTF-8: Regenerate.
426 * localedata/locales/i18n_ctype: Likewise.
427 * localedata/locales/tr_TR: Likewise.
428 * localedata/locales/translit_circle: Likewise.
429 * localedata/locales/translit_cjk_compat: Likewise.
430 * localedata/locales/translit_combining: Likewise.
431 * localedata/locales/translit_compat: Likewise.
432 * localedata/locales/translit_font: Likewise.
433 * localedata/locales/translit_fraction: Likewise.
435 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
438 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
439 (do_set_tcache_count): Only update if count is small enough.
440 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
442 2019-05-10 Florian Weimer <fweimer@redhat.com>
444 * nptl/sem_close.c (struct walk_closure): Define.
445 (walker): Adjust for __twalk_r.
446 (sem_close): Call __twalk_r.
448 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
450 * support/timespec.c (test_timespec_before_impl,
451 test_timespec_equal_or_after_impl): print timespec member as intmax_t
454 2019-05-09 Mike Crowe <mac@mcrowe.com>
456 * nptl/tst-abstime.c: Use libsupport.
458 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
459 small bug where only tv.tv_usec was checked which could cause an
460 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
463 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
466 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
467 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
469 * nptl/tst-cond11.c: Use libsupport.
471 * support/timespec.h: New file. Provide timespec helper functions
472 along with macros in the style of those in check.h.
473 * support/timespec.c: New file. Implement check functions declared
474 in support/timespec.h.
475 * support/timespec-add.c: New file from gnulib containing
476 timespec_add implementation that handles overflow.
477 * support/timespec-sub.c: New file from gnulib containing
478 timespec_sub implementation that handles overflow.
479 * support/README: Mention timespec.h.
481 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
484 * nptl/Makefile: Move tst-eintr1 to xtests.
486 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
488 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
490 (round_mode): Add definition for TRUNC.
491 * sysdeps/powerpc/fpu/s_trunc.c: New file.
492 * sysdeps/powerpc/fpu/s_truncf.c: New file.
493 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
494 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
495 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
497 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
499 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
501 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
503 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
505 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
507 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
509 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
511 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
512 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
513 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
514 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
515 s_truncf-power5+, and s_truncf-ppc64.
516 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
517 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
519 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
521 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
522 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
524 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
527 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
529 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
530 s_truncf-power5+, and s_truncf-ppc64.
531 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
533 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
534 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
536 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
537 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
538 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
539 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
540 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
542 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
544 (round_mode): Add definition for ROUND.
545 (round_to_integer_float): Likewise.
546 * sysdeps/powerpc/fpu/s_round.c: New file.
547 * sysdeps/powerpc/fpu/s_roundf.c: New file.
548 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
549 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
550 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
552 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
554 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
556 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
558 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
560 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
562 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
564 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
566 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
567 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
568 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
569 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
570 s_roundf-power5+, and s_roundf-ppc64.
571 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
572 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
574 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
576 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
577 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
579 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
582 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
583 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
584 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
585 s_roundf-power5+, and s_roundf-ppc64.
586 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
588 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
589 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
591 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
592 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
593 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
594 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
595 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
597 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
599 (round_mode): Add definition for FLOOR.
600 * sysdeps/powerpc/fpu/s_floor.c: New file.
601 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
602 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
603 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
620 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
621 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
622 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
623 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
624 s_floorf-power5+, and s_floorf-ppc64.
625 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
626 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
628 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
630 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
631 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
633 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
636 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
637 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
638 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
639 s_floorf-power5+, and s_floorf-ppc64.
640 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
648 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
649 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
650 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
651 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
653 2019-05-08 Mike Crowe <mac@mcrowe.com>
655 * support/xclock_gettime.c (xclock_gettime): New file. Provide
656 clock_gettime wrapper for use in tests that fails the test rather
657 than returning failure.
659 * support/xtime.h: New file to declare xclock_gettime.
661 * support/Makefile: Add xclock_gettime.c.
663 * support/README: Mention xtime.h.
665 2019-05-08 Florian Weimer <fweimer@redhat.com>
667 malloc/tst-mallocfork2: Use process-shared barriers.
668 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
669 (signal_count, sigusr1_sender_pid): Remove.
670 (iterations): Define constant.
671 (shared): New variable.
672 (sigusr1_received): Update comment.
673 (sigusr1_handler): Do not send SIGSTOP to the sender process.
674 (signal_sender): Optional use barriers to avoid sending signals
675 during irrelevant times.
676 (do_it): Initialize variable shared. Use xfork for error
677 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
678 the iteration count, independent of signal delivery. Check for
679 deadlocks in fork. Introduce barriers for reducing signal
680 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
681 replaced by the barriers. Count signals during fork/free/malloc
683 * malloc/Makefile (tst-mallocfork): Link with libpthread.
685 2019-05-07 Joseph Myers <joseph@codesourcery.com>
687 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
689 (clock_adjtime64) New syscall.
690 (clock_getres_time64) Likewise.
691 (clock_gettime64) Likewise.
692 (clock_nanosleep_time64) Likewise.
693 (clock_settime64) Likewise.
694 (futex_time64) Likewise.
695 (io_pgetevents_time64) Likewise.
696 (io_uring_enter) Likewise.
697 (io_uring_register) Likewise.
698 (io_uring_setup) Likewise.
699 (mq_timedreceive_time64) Likewise.
700 (mq_timedsend_time64) Likewise.
701 (pidfd_send_signal) Likewise.
702 (ppoll_time64) Likewise.
703 (pselect6_time64) Likewise.
704 (recvmmsg_time64) Likewise.
705 (rt_sigtimedwait_time64) Likewise.
706 (sched_rr_get_interval_time64) Likewise.
707 (semtimedop_time64) Likewise.
708 (timer_gettime64) Likewise.
709 (timer_settime64) Likewise.
710 (timerfd_gettime64) Likewise.
711 (timerfd_settime64) Likewise.
712 (utimensat_time64) Likewise.
714 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
717 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
719 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
720 __memmove_thunderx2 to the list of implementations
721 * sysdeps/aarch64/multiarch/memmove.c: Likewise
722 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
723 (__memmove_thunderx2): Rewritten using SIMD ld/st
724 (__memcpy_thunderx2): Fixed handling overlapping cases.
725 Used ldp/stp instead of ldr/str if possible. Made loops
728 2019-05-03 Florian Weimer <fweimer@redhat.com>
730 * misc/tst-tsearch.c (walk_tree): Add more error checking.
732 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
735 * elf/tst-pldd.c (in_str_list): New function.
736 (do_test): Add default names for ld and libc as one option.
738 2019-05-02 Florian Weimer <fweimer@redhat.com>
740 misc: Add twalk_r function.
741 * include/search.h (__twalk_r): Declare.
742 * manual/examples/twalk.c: New file.
743 * manual/search.texi (Tree Search Function): Document twalk_r.
744 * misc/Versions (2.30): Export twalk_r.
745 (GLIBC_PRIVATE): Export __twalk_r.
746 * misc/search.h [__USE_GNU] (twalk_r): Declare.
747 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
748 (twalk_r): Add weak alias.
749 * misc/tst-tsearch.c (struct walk_trace_element): Define.
750 (walk_trace): New variable.
751 (struct twalk_with_twalk_r_closure): Define.
752 (twalk_with_twalk_r_action): New function.
753 (twalk_with_twalk_r): Likewise.
754 (walk_action): Call walk_trace_add.
755 (walk_tree_with): Rename from walk_tree. Add walk argument.
756 (walk_tree): New function.
757 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
758 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
760 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
762 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
763 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
764 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
765 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
766 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
767 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
769 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
771 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
773 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
774 (GLIBC_2.30): Likewise.
775 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
776 (GLIBC_2.30): Likewise.
777 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
778 (GLIBC_2.30): Likewise.
779 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
780 (GLIBC_2.30): Likewise.
781 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
784 (GLIBC_2.30): Likewise.
785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
786 (GLIBC_2.30): Likewise.
787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
788 (GLIBC_2.30): Likewise.
789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
790 (GLIBC_2.30): Likewise.
791 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
793 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
795 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
797 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
798 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
800 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
802 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
804 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
807 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
809 Make mktime etc. compatible with __time64_t
810 Keep these functions compatible with Gnulib while adding
811 __time64_t support. The basic idea is to move private API
812 declarations from include/time.h to time/mktime-internal.h, since
813 the former file cannot easily be shared with Gnulib whereas the
815 Also, do some other minor cleanup while in the neighborhood.
816 * include/time.h: Include stdbool.h, time/mktime-internal.h.
817 (__mktime_internal): Move this prototype to time/mktime-internal.h,
818 since Gnulib needs it.
819 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
820 Move these macros to time/mktime-internal.h, since Gnulib needs them.
821 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
822 (in_time_t_range): New static function.
823 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
824 so that glibc users are not tempted to use __time64_t.
825 * time/mktime-internal.h: Rewrite so that it does both glibc
826 and Gnulib work. Include time.h if not _LIBC.
827 (mktime_offset_t) [!_LIBC]: Define for gnulib.
828 (__time64_t): New type or macro, moved here from
830 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
831 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
833 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
834 New macros, taken from GNulib.
835 (__mktime_internal): New prototype, moved here from include/time.h.
836 * time/mktime.c (mktime_min, mktime_max, convert_time)
837 (ranged_convert, __mktime_internal, __mktime64):
838 * time/timegm.c (__timegm64):
839 Use __time64_t, not time_t.
840 * time/mktime.c: Stop worrying about whether time_t is floating-point.
841 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
843 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
844 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
847 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
849 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
851 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
854 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
855 from `-Wmaybe-uninitialized'.
856 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
858 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
860 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
862 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
863 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
864 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
865 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
866 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
868 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
885 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
886 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
887 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
888 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
890 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
893 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
894 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
896 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
899 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
901 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
902 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
903 s_ceilf-power5+, and s_ceilf-ppc64.
904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
909 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
910 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
911 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
912 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
914 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
915 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
916 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
918 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
920 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
921 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
922 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
923 (sem_getvalue): Likewise.
925 2019-04-26 Florian Weimer <fweimer@redhat.com>
927 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
928 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
930 2019-04-26 Florian Weimer <fweimer@redhat.com>
932 Makeconfig: Move -Wl,-rpath-link options before library references.
933 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
934 (link-libc): Remove $(link-libc-rpath-link).
936 2019-04-25 Florian Weimer <fweimer@redhat.com>
938 * Makeconfig (+link-pie-before-libc): Remove $(CC).
939 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
940 (+link-static-before-libc): Remove $(CC).
941 (+link-static, +link-static-tests): Add $(CC).
942 (+link-before-libc): Remove $(CC).
943 (+link, +link-pie, +link-pie-printers): Add $(CC).
945 2019-04-26 Florian Weimer <fweimer@redhat.com>
947 * Makeconfig (+link-pie-before-libc): Remove $(CC).
948 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
949 (+link-static-before-libc): Remove $(CC).
950 (+link-static, +link-static-tests): Add $(CC).
951 (+link-before-libc): Remove $(CC).
952 (+link, +link-pie, +link-pie-printers): Add $(CC).
954 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
957 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
959 2019-04-25 Florian Weimer <fweimer@redhat.com>
961 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
962 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
963 (bench-link-targets): New variable.
964 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
966 2019-04-25 Florian Weimer <fweimer@redhat.com>
968 Also enable BIND_NOW for programs if --enable-bind-now.
969 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
970 (+link-pie): Use $(link-extra-flags).
971 (+link-static): Likewise.
972 [! $(build-pie-default)] (+link): Likewise.
973 * manual/install.texi (Configuring and compiling): Update
974 --enable-bind-now description.
975 * INSTALL: Regenerated.
977 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
979 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
980 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
982 2019-04-24 Mike Frysinger <vapier@gentoo.org>
985 * malloc/Makefile (others): Add memusagestat.
986 ($(objpfx)memusagestat): Delete rule.
987 (LDLIBS-memusagestat): New variable.
989 2019-04-24 Florian Weimer <fweimer@redhat.com>
991 * locale/Makefile (tests-special): Guard setting by
992 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
993 to run while cross-compiling.
995 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
998 * elf/Makefile (tests-container): Add tst-pldd.
999 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1000 (E(find_maps)): Avoid use alloca, use default read file operations
1001 instead of explicit LFS names, and fix infinite loop.
1002 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1003 (get_process_info): Use _Static_assert instead of assert, use default
1004 directory operations instead of explicit LFS names, and free some
1006 * elf/tst-pldd.c: New file.
1008 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1010 * malloc/arena.c (do_set_mallopt_check): Removed.
1012 2019-04-23 Florian Weimer <fweimer@redhat.com>
1014 locale: Add LOCPATH diagnostics to the locale program.
1015 * locale/programs/locale.c (setlocale_failed): New variable.
1016 (try_setlocale): New function.
1017 (quote_string): Likewise.
1018 (setlocale_diagnostics): Likewise.
1019 (main): Call try_setlocale instead of setlocale. Call
1020 setlocale_diagnostics.
1021 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1022 (tst-locale-locpath.out): New target.
1023 * locale/tst-locale-locpath.sh: New file.
1025 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1027 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1030 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1033 * malloc/hooks.c (malloc_check, realloc_check): Use
1034 __builtin_add_overflow on overflow check and adapt to
1035 checked_request2size change.
1036 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1037 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1038 allocation size to PTRDIFF_MAX.
1039 (REQUEST_OUT_OF_RANGE): Remove macro.
1040 (checked_request2size): Change to inline function and limit maximum
1041 requested size to PTRDIFF_MAX.
1042 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1043 maximum allocation size to PTRDIFF_MAX.
1044 (_mid_memalign): Use _int_memalign call for overflow check.
1045 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1046 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1047 limit maximum requested size to PTRDIFF_MAX.
1048 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1049 valloc, pvalloc): Add __attribute_alloc_size__.
1050 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1051 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1052 larger than PTRDIFF_MAX.
1053 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1054 around tests of malloc with negative sizes.
1055 * malloc/tst-posix_memalign.c (do_test): Likewise.
1056 * malloc/tst-pvalloc.c (do_test): Likewise.
1057 * malloc/tst-valloc.c (do_test): Likewise.
1058 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1059 with resulting size allocation larger than PTRDIFF_MAX with
1060 reallocarray_nowarn.
1061 (reallocarray_nowarn): New function.
1062 * NEWS: Mention the malloc function semantic change.
1064 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1066 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1067 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1069 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1070 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1071 * sysdeps/powerpc/fpu/s_fma.c: New file.
1072 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1074 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1075 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1077 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1078 the magic flag store.
1079 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1081 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1083 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1084 Remove rt_sigreturn call.
1086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1087 Remove rt_sigreturn call.
1088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1093 * support/Makefile (libsupport-routines): Add support_subprocess,
1094 xposix_spawn, xposix_spawn_file_actions_addclose, and
1095 xposix_spawn_file_actions_adddup2.
1096 (tst-support_capture_subprocess-ARGS): New rule.
1097 * support/capture_subprocess.h (support_capture_subprogram): New
1099 * support/support_capture_subprocess.c (support_capture_subprocess):
1100 Refactor to use support_subprocess and support_capture_poll.
1101 (support_capture_subprogram): New function.
1102 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1103 str_to_write_mode, test_common, parse_int, handle_restart,
1104 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1105 (do_test): Add support_capture_subprogram tests.
1106 * support/subprocess.h: New file.
1107 * support/support_subprocess.c: Likewise.
1108 * support/xposix_spawn.c: Likewise.
1109 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1110 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1111 * support/xspawn.h: Likewise.
1113 2019-04-17 Mike Gerow <gerow@google.com>
1115 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1118 2019-04-11 Florian Weimer <fweimer@redhat.com>
1120 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1121 domain with empty string.
1122 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1124 2019-04-11 Florian Weimer <fweimer@redhat.com>
1126 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1128 (alloc_buffer_next): Change return type to non-const. Update
1131 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1133 * manual/time.texi (Formatting Calendar Time): Add missing percent
1134 sign to conversion specifier.
1136 2019-04-09 Carlos O'Donell <carlos@redhat.com>
1137 Kwok Cheung Yeung <kcy@codesourcery.com>
1140 * malloc/mtrace.c: Define prototypes for all hooks.
1141 (set_default_hooks): New function.
1142 (set_trace_hooks): Likewise.
1143 (save_default_hooks): Likewise.
1144 (tr_freehook): Use new s*_hooks functions.
1145 (tr_mallochook): Likewise.
1146 (tr_reallochook): Likewise.
1147 (tr_memalignhook): Likewise.
1149 (muntrace): Likewise.
1151 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1153 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1154 (generic_stpcpy): New function.
1155 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1156 (generic_stpncpy): New function.
1157 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1158 (generic_strcat): New function.
1159 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1160 (generic_strcpy): New function.
1161 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1162 (STUPID_STRNCAT): Remove function.
1163 (generic_strncat): New function.
1164 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1165 (STUPID_STRNCPY): Remove function.
1166 (generic_strncpy): New function.
1167 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1168 (generic_strnlen): New function.
1169 (memchr_strnlen): New function.
1170 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1171 (memchr_strlen): Likewise.
1173 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1175 * benchtests/bench-strstr.c (input): Add realistic input text.
1176 (stupid_strstr): Remove function.
1177 (basic_strstr): Add function.
1178 (twoway_strstr): Add function.
1179 (do_one_test): Add result checking.
1180 (do_test): Use new input text. Remove accidental early matches.
1181 (test_main): Improve range of tests, reduce unaligned cases.
1183 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1185 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1186 (basic_memmem): Add function.
1187 (twoway_memmem): Add function.
1189 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1191 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1192 * benchtests/bench-malloc-thread.c: Likewise.
1193 * benchtests/bench-skeleton.c: Likewise.
1194 * benchtests/bench-strtod.c: Likewise.
1195 * benchtests/bench-timing.h: Likewise.
1197 2019-04-08 Florian Weimer <fweimer@redhat.com>
1199 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1201 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1202 RES_INSECURE2 security checks.
1203 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1204 RES_INSECURE2 handling.
1206 2019-04-08 Florian Weimer <fweimer@redhat.com>
1208 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1209 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1210 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1212 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1213 (tests-internal): Update justification for tst-resolv-res_init,
1214 tst-resolv-res_init-thread.
1215 (tst-res_use_inet6): Remove target.
1216 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1217 * resolv/res_debug.c (p_option): Remove "inet6" support.
1218 * resolv/res_init.c (res_setoptions): Likewise.
1219 * resolv/res_use_inet6.h: Remove file.
1220 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1222 (res_use_inet6): Always return false.
1223 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1224 * resolv/resolv_context.h: Adjust file comment.
1225 (struct resolv_context): Update comment on __next field.
1226 (__resolv_context_put): Update comment.
1227 * resolv/tst-res_use_inet6.c: Remove file.
1228 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1230 (test_cases): Adjust test case.
1231 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1232 (thread_byname2_af_inet6): Use old byname_inet6 code.
1233 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1234 (gai): Remove do_inet6 argument.
1235 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1236 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1237 (thread_gai_unspec_inet6): Remove functions.
1238 (do_test): Adjust thread_funcs.
1239 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1241 (gaih_inet): Do not disable RES_USE_INET6 flag.
1243 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1245 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1246 and remove redundant code.
1248 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1250 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1252 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1253 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1260 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1261 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1262 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1263 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1264 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1266 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1268 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1271 Remove wcsrchr optimizations.
1272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1274 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1277 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1279 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1280 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1287 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1288 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1289 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1290 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1291 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1292 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1293 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1295 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1298 Remove wcschr optimizations.
1299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1301 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1304 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1306 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1307 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1309 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1311 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1313 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1314 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1315 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1316 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1317 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1318 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1320 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1322 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1325 Remove wcscpy optimizations.
1326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1328 * include/loop_unroll.h: New file.
1329 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1330 besides generic implementation.
1332 2019-04-03 DJ Delorie <dj@redhat.com>
1334 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1335 snprintf truncating output.
1337 2019-04-02 DJ Delorie <dj@redhat.com>
1339 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1342 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1345 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1347 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1348 (mkreftable): Add rules for the new Japanese era and the new dates.
1350 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1351 Rafal Luzynski <digitalfreak@lingonborough.com>
1353 * time/tst-strftime2.c (date_t): Explicitly define the type.
1354 (dates): Use natural month and year numbers to express a date.
1355 (is_before): New function to compare dates.
1356 (mkreftable): Minor improvements to simplify maintenance.
1357 (do_test): Reflect the changes in dates array.
1360 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1361 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1362 * time/tst-strftime2.c (locales): Likewise.
1363 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1364 2010-04-01, and 2011-04-01.
1365 (mkreftable): Add rules for the new locales and the new dates.
1367 2019-04-01 Carlos O'Donell <carlos@redhat.com>
1369 * localedata/locales/ja_JP: Add comments to era entries.
1371 2019-04-01 DJ Delorie <dj@redhat.com>
1374 * time/strptime_l.c (%Ey): Fix fencepost error.
1375 * time/tst-strftime3.c: New.
1376 * time/Makefile (tests): Add tst-strftime3.
1378 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
1380 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1381 conditional branch to DIVBYZERO. Fix unwind info.
1382 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1383 excb after conditional branch to $powerof2. Add missing unop
1384 instructions and .align directives and reorder instructions to
1387 2019-04-01 Richard Henderson <rth@twiddle.net>
1389 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1391 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1394 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
1396 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1397 $libc_cv_riscv_float_abi in `test' invocation.
1398 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1400 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
1402 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1404 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1406 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1407 (_GET_SI_FPSCR): Likewise.
1408 (_SET_SI_FPSCR): Likewise.
1410 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1412 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1414 (signbit): Use builtin for clang 3.3.
1415 (isinf): Use builtin for clang 3.7.
1417 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1419 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1421 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1423 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1426 2019-03-25 Mike Crowe <mac@mcrowe.com>
1428 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1429 pthread_rwlock_timedrdlock with calls to
1430 pthread_rwlock_timedwrlock to ensure that the latter is tested
1431 too. Use new function name in diagnostic messages too.
1433 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1434 (do_test) Use libsupport test macros rather than hand-coded
1435 conditionals and error messages. Ensure that sem_init returns zero
1436 rather than not -1. Use <support/test-driver.c> rather than
1439 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1440 test macros rather than hand-coded conditionals and error messages.
1441 Use <support/test-driver.c> rather than test-skeleton.c.
1443 2019-03-25 Joseph Myers <joseph@codesourcery.com>
1445 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1447 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1448 (NT_MIPS_MSA): Likewise.
1450 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1452 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1453 * benchtests/README: Update description.
1454 * benchtests/bench-timing.h: Default to hp-timing.
1455 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1456 HP_TIMING_PRINT): Remove.
1457 (HP_TIMING_NOW): Add generic implementation.
1458 (hp_timing_t): Change to uint64_t.
1460 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1462 * nptl/descr.h: Likewise.
1463 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1464 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1465 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1466 Abstract hp-timing usage with RTLD_* macros.
1467 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1468 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1469 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1470 HP_TIMING_NONAVAIL): Likewise.
1471 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1473 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1474 HP_SMALL_TIMING_AVAIL): Likewise.
1475 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1476 HP_SMALL_TIMING_AVAIL): Likewise.
1477 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1478 HP_SMALL_TIMING_AVAIL): Likewise.
1479 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1480 HP_SMALL_TIMING_AVAIL): Likewise.
1481 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1483 * sysdeps/generic/hp-timing-common.h: Update comment with
1484 HP_TIMING_AVAIL removal.
1486 * include/random-bits.h: New file.
1487 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1488 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1490 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1491 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1494 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1495 * rt/Makefile (clock-routines): Remove get_clockfreq.
1496 * rt/get_clockfreq.c: Remove file.
1497 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1498 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1499 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1500 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1501 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1503 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1504 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1505 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1506 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1507 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1509 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1510 pthread_clock_settime.
1511 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1512 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1513 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1514 * elf/rtld.c (_dl_start_final): Likewise.
1515 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1516 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1518 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1519 (_dl_cpuclock_offset): Remove.
1520 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1521 cpuclock_offset_ununsed.
1522 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1523 cpuclock_offset set.
1524 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1525 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1526 * nptl/pthread_clock_gettime.c: Remove file.
1527 * nptl/pthread_clock_settime.c: Likewise.
1528 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1529 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1530 and CLOCK_PROCESS_CPUTIME_ID support.
1531 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1532 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1533 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1534 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1535 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1537 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1539 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1541 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1542 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1543 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1545 * sysdeps/s390/memmem-arch13.S: New file.
1546 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1547 if it is only used as fallback.
1548 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1549 * sysdeps/s390/multiarch/ifunc-impl-list.c
1550 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1552 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1554 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1555 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1556 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1558 * sysdeps/s390/multiarch/ifunc-impl-list.c
1559 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1560 * sysdeps/s390/strstr-arch13.S: New file.
1561 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1562 if it is only used as fallback.
1563 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1565 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1567 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1568 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1569 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1570 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1572 * sysdeps/s390/multiarch/ifunc-impl-list.c
1573 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1574 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1575 S390_IS_ARCH13_MIE3): New defines.
1577 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1579 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1580 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1581 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1582 * sysdeps/s390/configure: Regenerated.
1584 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1586 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1587 Add vxe2, vxp, dflt, sort flags.
1588 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1589 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1591 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1592 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1593 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1594 HWCAP_S390_DFLT): Define.
1596 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1599 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1600 of compiler warning.
1601 * locale/programs/ld-collate.c (collate_output): Likewise.
1603 2019-03-21 DJ Delorie <dj@redhat.com>
1606 * iconv/iconvconfig.c (write_output): Replace floating point math
1607 with integer math to avoid imprecise results.
1608 * locale/programs/ld-collate.c (collate_output): Likewise.
1610 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
1612 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1613 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1615 2019-03-20 mansayk <6688000@gmail.com>
1618 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1619 (abday): Likewise, but remove the trailing dots.
1621 2019-03-19 Joseph Myers <joseph@codesourcery.com>
1623 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1625 (HWCAP_PACA): Likewise.
1626 (HWCAP_PACG): Likewise.
1627 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1629 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1631 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1633 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1636 2019-03-15 Joseph Myers <joseph@codesourcery.com>
1638 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1640 (old_getpagesize): New syscall.
1642 2019-03-15 Felix Yan <felixonmars@archlinux.org>
1645 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1646 * localedata/locales/cmn_TW (era): Likewise.
1647 * localedata/locales/hak_TW (era): Likewise.
1648 * localedata/locales/lzh_TW (era): Likewise.
1649 * localedata/locales/nan_TW (era): Likewise.
1651 2019-03-14 Adam Maris <amaris@redhat.com>
1653 * malloc/malloc.c (_int_malloc): Check for large bin list
1654 corruption when inserting unsorted chunk.
1656 2019-03-14 Florian Weimer <fweimer@redhat.com>
1658 Remove obsolete, never-implemented XSI STREAMS declarations.
1659 * manual/terminal.texi (Allocation): Remove portability note and
1661 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1663 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1664 * sysdeps/unix/inet/Subdirs (streams): Remove.
1665 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1666 (conformtest-headers-UNIX98): Likewise.
1667 (conformtest-headers-XOPEN2K): Likewise.
1668 (conformtest-headers-POSIX2008): Likewise.
1669 * posix/compat-streams.c: New file.
1670 * posix/Makefile (routines): Add it.
1671 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1672 getpmsg, isastream, putmsg, putpmsg.
1673 (GLIBC_2.30): New section.
1674 * bits/stropts.h: Remove file.
1675 * bits/xtitypes.h: Likewise.
1676 * conform/data/stropts.h-data: Likewise.
1677 * include/stropts.h: Likewise.
1678 * include/sys/stropts.h: Likewise.
1679 * include/xtitypes.h: Likewise.
1680 * streams/Makefile: Likewise.
1681 * streams/fattach.c: Likewise.
1682 * streams/fdetach.c: Likewise.
1683 * streams/getmsg.c: Likewise.
1684 * streams/getpmsg.c: Likewise.
1685 * streams/isastream.c: Likewise.
1686 * streams/putmsg.c: Likewise.
1687 * streams/putpmsg.c: Likewise.
1688 * streams/stropts.h: Likewise.
1689 * streams/sys/stropts.h: Likewise.
1690 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1691 * sysdeps/s390/bits/xtitypes.h: Likewise.
1692 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1693 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1694 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1695 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1696 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1697 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1698 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1699 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1700 * sysdeps/x86/bits/xtitypes.h: Likewise.
1702 2019-03-14 Florian Weimer <fweimer@redhat.com>
1704 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1706 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1707 but not with libnss_files.
1708 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1710 2019-03-14 Zack Weinberg <zackw@panix.com>
1712 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1713 Specify encoding="utf-8" when opening headers to check.
1715 2019-03-13 Joseph Myers <joseph@codesourcery.com>
1717 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1719 (Context.checkout_tar): Handle variable major version for Linux
1722 2019-03-13 Florian Weimer <fweimer@redhat.com>
1725 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1727 2019-03-13 Zack Weinberg <zackw@panix.com>
1729 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1731 * include/inttypes.h: Adjust to match.
1732 * include/stdint.h: New wrapper.
1734 2019-03-13 Zack Weinberg <zackw@panix.com>
1736 * scripts/check-obsolete-constructs.py: New test script.
1737 * scripts/check-installed-headers.sh: Remove tests for
1738 obsolete typedefs, superseded by check-obsolete-constructs.py.
1739 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1740 as a special test. Update commentary.
1741 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1742 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1744 * posix/sys/types.h (__u_intN_t): Remove.
1745 (u_int8_t): Typedef using __uint8_t.
1746 (u_int16_t): Typedef using __uint16_t.
1747 (u_int32_t): Typedef using __uint32_t.
1748 (u_int64_t): Typedef using __uint64_t.
1750 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1752 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1754 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1755 Ignore types other than AT_HWCAP.
1756 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1757 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1759 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1760 in the case of falling back to generic output mechanism.
1761 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1764 2019-03-12 Florian Weimer <fweimer@redhat.com>
1766 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1768 2019-03-12 Florian Weimer <fweimer@redhat.com>
1771 resolv: Enable full ICMP errors for UDP DNS sockets
1772 * resolv/res_enable_icmp.c: New file.
1773 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1774 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1775 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1778 2019-03-11 Mao Han <han_mao@c-sky.com>
1780 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1781 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1783 2019-03-11 Mao Han <han_mao@c-sky.com>
1785 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1786 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1787 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1789 2019-03-11 Mao Han <han_mao@c-sky.com>
1791 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1793 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1796 2019-03-11 Mao Han <han_mao@c-sky.com>
1798 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1799 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1802 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1805 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1806 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1808 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1809 * localedata/unicode-gen/PropList.txt: Likewise.
1810 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1811 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1812 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1813 * localedata/charmaps/UTF-8: Regenerate.
1814 * localedata/locales/i18n_ctype: Likewise.
1815 * localedata/locales/tr_TR: Likewise.
1816 * localedata/locales/translit_circle: Likewise.
1817 * localedata/locales/translit_cjk_compat: Likewise.
1818 * localedata/locales/translit_combining: Likewise.
1819 * localedata/locales/translit_compat: Likewise.
1820 * localedata/locales/translit_font: Likewise.
1821 * localedata/locales/translit_fraction: Likewise.
1823 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1825 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1826 than after operators.
1827 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1828 (setitimer_locked): Likewise.
1829 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1830 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1831 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1832 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1833 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1834 (PPC_CPU_SUPPORTED): Likewise.
1835 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1836 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1837 (stat_overflow): Likewise.
1838 (statfs_overflow): Likewise.
1839 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1840 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1841 (eq_ttyname_r): Likewise.
1842 (run_chroot_tests): Likewise.
1844 2019-03-07 Florian Weimer <fweimer@redhat.com>
1846 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1849 2019-03-07 Martin Liska <mliska@suse.cz>
1851 * math/Makefile: Change location where math-vector-fortran.h is
1853 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1854 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1855 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1856 * scripts/check-installed-headers.sh: Skip Fortran header files.
1857 * scripts/check-wrapper-headers.py: Likewise.
1859 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1861 * nptl/nptl-init.c (__have_futex_clock_realtime,
1862 __have_futex_clock_realtime): Remove definition.
1863 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1864 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1865 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1866 __ASSUME_FUTEX_CLOCK_REALTIME support.
1867 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1868 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1869 * sysdeps/unix/sysv/linux/kernel-features.h
1870 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1871 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1874 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1876 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1877 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1878 __GI___wcscpy and wcscpy.
1880 2019-03-04 Florian Weimer <fweimer@redhat.com>
1882 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1884 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1887 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1889 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1890 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1892 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1895 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1896 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1898 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1900 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1902 (do_test): Likewise.
1903 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1904 (do_test_call_varg): Likewise.
1905 (do_test_call_rarg): Likewise.
1906 * sysdeps/ieee754/ldbl-opt/Makefile
1907 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1909 ($(objpfx)tst-nldbl-warn.c): New rule.
1910 ($(objpfx)tst-nldbl-error.c): Likewise.
1911 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1914 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1917 * include/bits/error-ldbl.h: New file.
1918 * include/error.h: Include stdarg.h. Declare internal functions
1919 __error_internal and __error_at_line_internal.
1920 * misc/Makefile (headers): Add bits/error-ldbl.h.
1921 * misc/bits/error-ldbl.h: New file.
1922 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1923 avoid the inclusion of bits/error.h.
1924 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1925 and __nldbl_error_at_line.
1926 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1927 (__nldbl_error, __ndlbl_error_at_line): New functions.
1928 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1929 Redirect error and error_at_line.
1930 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1939 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1940 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1941 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1943 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1946 * include/bits/err-ldbl.h: New file.
1947 * include/err.h: Add prototypes for the internal functions:
1948 __vwarnx_internal and __vwarn_internal.
1949 * misc/Makefile (headers): Add bits/err-ldbl.h.
1950 * misc/bits/err-ldbl.h: New file.
1951 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1952 defined, i.e.: when -mlong-double-64 is in use.
1953 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1954 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1955 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1956 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1957 (VA_CALL): New macro.
1958 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1959 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1961 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1962 declare prototypes for the new functions.
1963 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1972 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1973 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1974 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1976 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1978 * sysdeps/ieee754/ldbl-opt/Makefile
1979 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1980 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1981 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1983 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1986 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1987 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1988 * argp/bits/argp-ldbl.h: New file.
1989 * include/argp.h: Include stdarg.h. Add prototypes for internal
1990 functions: __argp_error_internal and __argp_failure_internal.
1991 * include/bits/argp-ldbl.h: New file.
1992 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1993 __nldbl_argp_error and __nldbl_argp_failure.
1994 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1995 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1996 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1997 Redirect argp_error and argp_failure calls.
1998 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2007 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2008 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2009 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2011 2019-03-01 Florian Weimer <fweimer@redhat.com>
2014 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2015 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2016 code, to avoid creating an ABI tag note.
2017 (modules-names-nobuild): Add tst-big-note-lib.
2019 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
2021 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2022 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2024 2019-03-01 Florian Weimer <fweimer@redhat.com>
2027 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2028 (__netlink_assert_response): Add additional missing newlines.
2030 2019-02-28 Joseph Myers <joseph@codesourcery.com>
2032 * sysdeps/powerpc/powerpc32/dl-machine.c
2033 (__elf_machine_fixup_plt): Use space before '('.
2034 (__process_machine_rela): Likewise.
2035 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2037 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2039 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2041 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2042 (pattern): Likewise.
2044 (check_result): Likewise.
2045 (check_excepts): Likewise.
2046 (check_op): Likewise.
2047 (fail_xr): Likewise.
2048 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2049 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2051 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2054 (__makecontext): Likewise.
2055 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2058 2019-02-28 Florian Weimer <fweimer@redhat.com>
2061 elf: Add test with a local IFUNC resolver.
2062 * elf/ifuncmain9.c: New file.
2063 * elf/ifuncmain9pic.c: Likewise.
2064 * elf/ifuncmain9picstatic.c: Likewise.
2065 * elf/ifuncmain9pie.c: Likewise.
2066 * elf/ifuncmain9static.c: Likewise.
2067 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2068 ifuncmain9static, ifuncmain9picstatic.
2069 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2070 Add ifuncmain9, ifuncmain9pic.
2071 * elf/Makefile [multi-arch && build-shared && have-fpie]
2072 (ifunc-pie-tests): Add ifuncmain9pie.
2073 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2074 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2075 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2077 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2079 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2080 * configure: Regenerated.
2081 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2083 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2085 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2086 symbol as __wcspcy instead of wcscpy.
2088 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2090 * include/stdio.h (__renameat2): New hidden prototype.
2091 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2092 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2093 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2094 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2096 2019-02-27 Joseph Myers <joseph@codesourcery.com>
2098 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2101 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2102 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2103 * benchtests/bench-strlen.c (do_test): Likewise.
2104 (test_main): Likewise.
2105 * catgets/gencat.c (read_old): Likewise.
2106 * elf/cache.c (load_aux_cache): Likewise.
2107 * iconvdata/bug-iconv8.c (do_test): Likewise.
2108 * math/test-tgmath-ret.c (do_test): Likewise.
2109 * nis/nis_call.c (rec_dirsearch): Likewise.
2110 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2111 * nptl/tst-audit-threads.c (do_test): Likewise.
2112 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2113 * nss/nss_test1.c (init): Likewise.
2114 * nss/test-netdb.c (test_hosts): Likewise.
2115 * posix/execvpe.c (maybe_script_execute): Likewise.
2116 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2117 * stdio-common/tst-printf.c (do_test): Likewise.
2118 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2119 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2120 * stdlib/qsort.c (STACK_SIZE): Likewise.
2121 * stdlib/test-canon.c (do_test): Likewise.
2122 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2123 * string/memcmp.c (OPSIZ): Likewise.
2124 * string/test-strcpy.c (do_test): Likewise.
2125 (do_random_tests): Likewise.
2126 * string/test-strlen.c (do_test): Likewise.
2127 (test_main): Likewise.
2128 * string/test-strrchr.c (do_test): Likewise.
2129 (do_random_tests): Likewise.
2130 * string/tester.c (test_memrchr): Likewise.
2131 (test_memchr): Likewise.
2132 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2133 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2134 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2135 (read_encoded_value_with_base): Likewise.
2136 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2137 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2138 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2139 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2140 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2141 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2143 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2145 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2146 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2147 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2149 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2151 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2153 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2155 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2156 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2157 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2158 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2159 * time/test_time.c (main): Likewise.
2161 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2163 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2165 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2168 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2171 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2173 * include/wchar.h (__wcscpy): New prototype.
2174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2175 (__wcscpy): Route internal symbol to generic implementation.
2176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2177 Add internal __wcscpy alias.
2178 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2179 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2180 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2181 * wcsmbs/wcscpy.c (wcscpy): Add
2182 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2183 use generic implementation.
2184 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2186 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2189 * sysdeps/m68k/wcpcpy.c: Remove file.
2190 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2192 2019-02-26 Joseph Myers <joseph@codesourcery.com>
2194 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2195 than after operators.
2196 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2197 * sysdeps/mach/hurd/getcwd.c
2198 (__hurd_canonicalize_directory_name_internal): Likewise.
2199 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2200 (pthread_mutex_consistent): Likewise.
2201 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2203 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2204 (__pthread_mutex_transfer_np): Likewise.
2205 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2206 (__pthread_mutex_unlock): Likewise.
2207 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2208 (mtx_owned_p): Likewise.
2209 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2210 (pthread_mutexattr_getrobust): Likewise.
2211 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2212 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2214 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2215 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2216 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2217 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2218 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2220 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2222 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2224 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2225 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2226 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2227 (____longjmp_chk): Likewise.
2228 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2230 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2231 (INTERNAL_SYSCALL): Likewise.
2232 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2233 (INTERNAL_SYSCALL): Likewise.
2234 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2235 (__get_clockfreq_via_cpuinfo): Likewise.
2237 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2239 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2240 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2241 (WORD_COPY_BWD): Likewise.
2242 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2243 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2245 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2246 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2248 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2250 2019-02-25 Joseph Myers <joseph@codesourcery.com>
2252 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2253 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2254 rather than after operators.
2255 * elf/cache.c (print_cache): Likewise.
2256 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2257 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2258 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2259 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2260 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2261 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2262 (reauth_proc): Likewise.
2263 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2264 (__file_name_split_at): Likewise.
2265 (__directory_name_split_at): Likewise.
2266 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2267 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2268 * iconv/gconv_dl.c (do_print): Likewise.
2269 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2270 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2271 * locale/setlocale.c (new_composite_name): Likewise.
2272 * malloc/memusagestat.c (main): Likewise.
2273 * misc/fstab.c (fstab_convert): Likewise.
2274 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2276 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2277 (getgrent_next_file): Likewise.
2278 (internal_getgrnam_r): Likewise.
2279 (internal_getgrgid_r): Likewise.
2280 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2282 (internal_getgrent_r): Likewise.
2283 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2284 (getpwent_next_nss): Likewise.
2285 (getpwent_next_file): Likewise.
2286 (internal_getpwnam_r): Likewise.
2287 (internal_getpwuid_r): Likewise.
2288 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2290 (getspent_next_nss): Likewise.
2291 (internal_getspnam_r): Likewise.
2292 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2293 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2294 * string/strchr.c (STRCHR): Likewise.
2295 * string/strchrnul.c (STRCHRNUL): Likewise.
2296 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2297 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2298 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2299 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2300 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2302 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2303 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2304 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2305 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2306 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2307 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2308 (open_file): Likewise.
2309 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2310 (pthread_mutexattr_setprotocol): Likewise.
2311 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2312 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2313 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2314 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2315 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2317 (elf_machine_rela): Likewise.
2318 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2319 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2320 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2321 * sysdeps/posix/rename.c (rename): Likewise.
2322 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2323 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2324 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2325 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2326 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2327 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2328 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2330 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2332 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2333 * time/tzfile.c (__tzfile_compute): Likewise.
2335 2019-02-22 Joseph Myers <joseph@codesourcery.com>
2337 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2338 rather than after operators.
2339 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2340 * crypt/md5.c (md5_finish_ctx): Likewise.
2341 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2342 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2343 * elf/cache.c (load_aux_cache): Likewise.
2344 * elf/dl-load.c (open_verify): Likewise.
2345 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2346 * elf/readelflib.c (process_elf_file): Likewise.
2347 * elf/rtld.c (dl_main): Likewise.
2348 * elf/sprof.c (generate_call_graph): Likewise.
2349 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2350 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2351 * hurd/dtable.c (reauth_dtable): Likewise.
2352 * hurd/getdport.c (__getdport): Likewise.
2353 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2354 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2355 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2357 * hurd/hurdioctl.c (fioctl): Likewise.
2358 * hurd/hurdselect.c (_hurd_select): Likewise.
2359 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2360 (STOPSIGS): Likewise.
2361 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2362 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2363 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2364 * hurd/msgportdemux.c (msgport_server): Likewise.
2365 * hurd/setauth.c (_hurd_setauth): Likewise.
2366 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2367 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2368 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2369 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2370 * login/tst-utmp.c (do_check): Likewise.
2371 (simulate_login): Likewise.
2372 * mach/lowlevellock.h (lll_lock): Likewise.
2373 (lll_trylock): Likewise.
2374 * math/test-fenv.c (ALL_EXC): Likewise.
2375 * math/test-fenvinline.c (ALL_EXC): Likewise.
2376 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2377 * nis/nis_call.c (__do_niscall3): Likewise.
2378 * nis/nis_callback.c (cb_prog_1): Likewise.
2379 * nis/nis_defaults.c (searchaccess): Likewise.
2380 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2381 * nis/nis_ismember.c (internal_ismember): Likewise.
2382 * nis/nis_local_names.c (nis_local_principal): Likewise.
2383 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2384 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2386 * nis/ypclnt.c (yp_match): Likewise.
2387 (yp_first): Likewise.
2388 (yp_next): Likewise.
2389 (yp_master): Likewise.
2390 (yp_order): Likewise.
2391 * nscd/hstcache.c (cache_addhst): Likewise.
2392 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2393 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2394 (internal_getpwuid_r): Likewise.
2395 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2396 * posix/glob.h (__GLOB_FLAGS): Likewise.
2397 * posix/regcomp.c (peek_token): Likewise.
2398 (peek_token_bracket): Likewise.
2399 (parse_expression): Likewise.
2400 * posix/regexec.c (sift_states_iter_mb): Likewise.
2401 (check_node_accept_bytes): Likewise.
2402 * posix/tst-spawn3.c (do_test): Likewise.
2403 * posix/wordexp-test.c (testit): Likewise.
2404 * posix/wordexp.c (parse_tilde): Likewise.
2405 (exec_comm): Likewise.
2406 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2407 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2408 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2409 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2410 * stdio-common/tst-fileno.c (do_test): Likewise.
2411 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2412 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2413 * stdlib/strtod_l.c (round_and_return): Likewise.
2414 (____STRTOF_INTERNAL): Likewise.
2415 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2416 * string/strcspn.c (STRCSPN): Likewise.
2417 * string/test-memmem.c (simple_memmem): Likewise.
2418 * termios/tcsetattr.c (tcsetattr): Likewise.
2419 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2420 * time/asctime.c (asctime_internal): Likewise.
2421 * time/strptime_l.c (__strptime_internal): Likewise.
2422 * time/sys/time.h (timercmp): Likewise.
2423 * time/tzfile.c (__tzfile_compute): Likewise.
2425 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2428 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
2430 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2432 * argp/argp-help.c (__argp_error_internal): New function,
2433 renamed from __argp_error, but that takes a 'mode_flags'
2434 parameter to control the format of long double parameters.
2435 (__argp_error): Converted into a call __argp_error_internal.
2436 (__argp_failure_internal): New function, renamed from
2437 __argp_failure, but that takes a 'mode_flags' parameter.
2438 (__argp_failure): Converted into a call __argp_failure_internal.
2439 * misc/err.c (__vwarnx_internal): New function, renamed from
2440 vwarnx, but that takes a 'mode_flags' parameter.
2441 (vwarnx): Converted into a call to __vwarnx_internal.
2442 (__vwarn_internal): New function, renamed from vwarn, but that
2443 takes a 'mode_flags' parameter.
2444 (vwarn): Converted into a call to __vwarn_internal.
2445 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2446 call to __vfxprintf with 'mode_flags'.
2447 (__error_internal): New function, renamed from error, but that
2448 takes a 'mode_flags' parameter.
2449 (error): Converted into a call to __error_internal.
2450 (__error_at_line_internal): New function, renamed from
2451 error_at_line, but that takes a 'mode_flags' parameter.
2452 (error_at_line): Converted into a call to
2453 __error_at_line_internal.
2454 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2455 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2458 2019-02-20 Martin Liska <mliska@suse.cz>
2460 * math/Makefile: Install math-vector-fortran.h.
2461 * bits/math-vector-fortran.h: New file.
2462 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2464 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2466 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2467 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2469 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2471 * nptl/pthread_mutex_trylock.c: Fix comment.
2473 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2475 * nptl/pthread_tryjoin.c: Fix comment.
2477 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2480 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2481 after R_SPARC_H34 case.
2483 2019-02-18 Florian Weimer <fweimer@redhat.com>
2485 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2486 (getanswer): Do not call Dprintf.
2487 (res_gethostbyname2_context): Likewise.
2488 (res_gethostbyaddr_context): Likewise.
2490 2019-02-18 Florian Weimer <fweimer@redhat.com>
2492 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2494 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2496 * libio/stdfiles.c: Update comment.
2497 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2498 set _IO_stdin, _IO_stdout, _IO_stderr.
2499 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2500 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2502 (_IO_deallocate_file): New inline function.
2503 * libio/iolibio.h (_IO_vprintf): Remove definition.
2504 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2505 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2506 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2508 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2509 __builtin_expect. Use _IO_legacy_file.
2511 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2513 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2514 Initialize ctid with a known value and remove update of ctid
2516 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2517 as assumed current value of ctid_ptr.
2519 2019-02-16 Florian Weimer <fweimer@redhat.com>
2521 Check that non-sysdeps headers have wrapper headers.
2522 * scripts/check-wrapper-headers.py: New file.
2523 * Makefile (tests-special): Add check-wrapper-headers.out.
2524 (check-wrapper-headers.out): New target.
2525 * Rules (tests-special): Add check-wrapper-headers.out.
2526 (check-wrapper-headers.out): New target.
2528 2019-02-16 Florian Weimer <fweimer@redhat.com>
2530 Add missing header wrappers under include/.
2531 * include/ar.h: New file.
2532 * include/bits/mqueue2.h: Likewise.
2533 * include/bits/stdio.h: Likewise.
2534 * include/bits/stdio2.h: Likewise.
2535 * include/fstab.h: Likewise.
2536 * include/fts.h: Likewise.
2537 * include/lastlog.h: Likewise.
2538 * include/netinet/icmp6.h: Likewise.
2539 * include/netinet/igmp.h: Likewise.
2540 * include/netinet/ip6.h: Likewise.
2541 * include/re_comp.h: Likewise.
2542 * include/regexp.h: Likewise.
2543 * include/rpcsvc/bootparam.h: Likewise.
2544 * include/rpcsvc/yp_prot.h: Likewise.
2545 * include/sys/random.h: Likewise.
2546 * include/sys/stropts.h: Likewise.
2547 * include/sys/ttychars.h: Likewise.
2548 * include/sys/vfs.h: Likewise.
2549 * include/wait.h: Likewise.
2551 2019-02-16 Florian Weimer <fweimer@redhat.com>
2553 * nptl_db/proc_service.h: Move to ...
2554 * sysdeps/nptl/proc_service.h: ... here.
2555 * nptl_db/thread_db.h: Move to ...
2556 * sysdeps/nptl/thread_db.h: ... here.
2557 * nptl/descr.h: Include <thread_db.h>.
2559 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2561 * io/Makefile (tests): Add tst-lockf.
2562 * io/lockf.c (lockf): Use __fcntl and only define for
2563 !__OFF_T_MATCHES_OFF64_T.
2564 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2565 __OFF_T_MATCHES_OFF64_T case.
2566 * io/tst-lockf.c: New file.
2567 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2568 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2569 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2570 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2571 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2573 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2574 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2575 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2577 2019-02-15 Florian Weimer <fweimer@redhat.com>
2580 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2581 pd->result after the thread descriptor has been freed.
2583 2019-02-15 Joseph Myers <joseph@codesourcery.com>
2585 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2586 from function return type.
2588 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2590 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2592 * scripts/test_printers_common.py: Set TERM to a known harmless
2595 2019-02-14 Joseph Myers <joseph@codesourcery.com>
2597 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2598 (xdr_u_int): Likewise.
2599 (xdr_enum): Likewise.
2600 (xdr_bytes): Reword fall-through comment.
2601 (xdr_string): Likewise.
2603 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2606 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2607 (tests): Add tst-join8 tst-join9.
2608 * nptl/lll_timedwait_tid.c: Remove file.
2609 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2610 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2611 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2612 * nptl/pthread_join_common.c (timedwait_tid): New function.
2613 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2615 * nptl/tst-join5.c (thread_join): New function.
2616 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2618 * nptl/tst-join8.c: New file.
2619 * nptl/tst-join9.c: Likewise.
2620 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2621 lll_futex_timed_wait_cancel): Add generic macros.
2622 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2624 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2625 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2626 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2627 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2629 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2631 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2632 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2633 (lll_futex_timed_wait_cancel): New macro.
2635 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2637 * benchtests/Makefile: Add malloc-simple benchmark.
2638 * benchtests/bench-malloc-simple.c: New benchmark.
2640 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2642 * benchtests/bench-memmove.c (do_one_test): Remove unused
2645 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2649 2019-01-13 Jim Wilson <jimw@sifive.com>
2652 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2653 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2655 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2657 * nptl/Makefile (tests): Add tst-unwind-thread.
2658 (CFLAGS-tst-unwind-thread.c): Define.
2659 * nptl/tst-unwind-thread.c: New file.
2660 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2663 2019-02-13 Joseph Myers <joseph@codesourcery.com>
2665 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2667 * nis/nis_call.c (__do_niscall3): Likewise.
2669 * catgets/gencat.c (normalize_line): Use braces around empty
2671 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2672 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2673 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2674 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2675 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2676 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2677 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2680 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2683 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2685 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2686 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2687 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2688 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2689 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2690 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2691 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2692 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2693 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2694 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2695 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2696 * benchtests/bench-bcopy.c: Delete file.
2697 * benchtests/bench-bzero.c: Likewise.
2698 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2699 (simple_memccpy): Remove.
2700 (generic_memccpy): Add function.
2701 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2702 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2703 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2704 (generic_mempcpy): Add new function.
2705 * benchtests/bench-memset.c (simple_bzero): Remove.
2706 (builtin_bzero): Remove.
2707 (builtin_memset): Remove.
2708 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2709 (generic_rawmemchr): Add new function.
2711 2019-02-12 Florian Weimer <fweimer@redhat.com>
2713 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2715 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2718 * elf/Makefile (tests): Add tst-audit13.
2719 (modules-names): Add tst-audit13mod1.
2720 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2722 * elf/tst-audit13.c: New file.
2723 * elf/tst-audit13mod1.c: Likewise.
2725 2019-02-12 Florian Weimer <fweimer@redhat.com>
2728 * elf/rtld.c (unload_audit_module): New function.
2729 (report_audit_module_load_error): Likewise.
2730 (load_audit_module): Likewise. Extracted from dl_main. Call
2731 _dl_close if the laversion symbol cannot be found. Use early
2732 returns for error handling. Add malloc error check. Check for a
2733 zero return value from la_version. Remove spurious comment about
2734 static TLS initialization. Remove useless casts.
2735 (notify_audit_modules_of_loaded_object): New function. Extracted
2737 (load_audit_module): Likewise.
2738 (dl_main): Call load_audit_modules.
2740 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2742 * elf/dl-exception.c (_dl_exception_create_format): Add
2743 fall-through comments.
2744 * elf/ldconfig.c (parse_conf_include): Likewise.
2745 * elf/rtld.c (print_statistics): Likewise.
2746 * locale/programs/charmap.c (parse_charmap): Likewise.
2747 * misc/mntent_r.c (__getmntent_r): Likewise.
2748 * posix/wordexp.c (parse_arith): Likewise.
2749 (parse_backtick): Likewise.
2750 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2751 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2752 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2754 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2756 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2757 Use float instead of double.
2759 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2761 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2763 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2765 * sysdeps/powerpc/bits/mathinline.h: Remove.
2767 2019-02-08 Florian Weimer <fweimer@redhat.com>
2769 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2770 * math/bits/math-finite.h: Move to ...
2771 * bits/math-finite.h: ... here.
2773 2019-02-08 Florian Weimer <fweimer@redhat.com>
2775 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2776 * bits/unistd_ext.h: here.
2778 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2781 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2782 * nss/tst-nss-files-hosts-long.c: New file.
2783 * nss/tst-nss-files-hosts-long.root: New directory.
2784 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2785 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2787 2019-02-08 Florian Weimer <fweimer@redhat.com>
2789 * include/bits/unistd_ext.h: Remove file.
2790 * posix/bits/unistd_ext.h: Move to ...
2791 * sysdeps/generic/bits/unistd_ext.h: ... here.
2793 2019-02-08 Florian Weimer <fweimer@redhat.com>
2795 * include/bits/unistd_ext.h: New file.
2797 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2799 * time/tst-strftime2.c: Use array_length macros instead of magic
2802 2019-02-08 Florian Weimer <fweimer@redhat.com>
2805 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2807 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2808 locking if the new do_locking argument is true.
2809 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2810 __run_fork_handlers.
2812 2019-02-08 Florian Weimer <fweimer@redhat.com>
2815 Linux: Add gettid system call wrapper.
2816 * posix/Makefile (headers): Add bits/unistd_ext.h.
2817 * posix/bits/unistd_ext.h: New file.
2818 * posix/unistd.h: Include it.
2819 * manual/process.texi (Process Identification): Document gettid.
2820 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2821 tst-gettid, tst-gettid-kill.
2822 (tst-gettid): Link with $(shared-thread-library).
2823 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2824 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2825 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2826 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2827 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2828 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2830 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2832 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2833 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2835 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2837 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2839 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2841 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2843 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2845 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2847 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2848 (GLIBC_2.30): Likewise.
2849 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2850 (GLIBC_2.30): Likewise.
2851 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2852 (GLIBC_2.30): Likewise.
2853 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2854 (GLIBC_2.30): Likewise.
2855 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2858 (GLIBC_2.30): Likewise.
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2860 (GLIBC_2.30): Likewise.
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2862 (GLIBC_2.30): Likewise.
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2864 (GLIBC_2.30): Likewise.
2865 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2867 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2869 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2871 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2872 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2874 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2876 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2878 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2880 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2882 2019-02-08 Florian Weimer <fweimer@redhat.com>
2884 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2885 compatibility symbols.
2887 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2890 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2891 Add compiler barriers and comments.
2893 2019-02-07 Florian Weimer <fweimer@redhat.com>
2895 * include/array_length.h (array_length): Do not use a statement
2896 expression and _Static_assert, so that array_length can be used at
2897 file scope and as a constant expression.
2899 2019-02-07 Florian Weimer <fweimer@redhat.com>
2901 * support/xdlfcn.h (xdlmopen): Declare.
2902 * support/xdlmopen.c: New file.
2903 * support/Makefile (libsupport-routines): Add xdlmopen.
2905 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2907 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2908 before return type, without separate inline.
2909 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2910 * elf/dl-tunables.h (tunable_is_name): Likewise.
2911 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2912 (do_set_top_pad): Likewise.
2913 (do_set_mmap_threshold): Likewise.
2914 (do_set_mmaps_max): Likewise.
2915 (do_set_mallopt_check): Likewise.
2916 (do_set_perturb_byte): Likewise.
2917 (do_set_arena_test): Likewise.
2918 (do_set_arena_max): Likewise.
2919 (do_set_tcache_max): Likewise.
2920 (do_set_tcache_count): Likewise.
2921 (do_set_tcache_unsorted_limit): Likewise.
2922 * nis/nis_subr.c (count_dots): Likewise.
2923 * nptl/allocatestack.c (advise_stack_range): Likewise.
2924 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2926 (reduce_sincos): Likewise.
2927 (do_sincos): Likewise.
2928 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2929 (do_set_elision_enable): Likewise.
2930 (TUNABLE_CALLBACK_FNDECL): Likewise.
2932 2019-02-06 Florian Weimer <fweimer@redhat.com>
2934 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2935 (xdlsym): Use dlerror to detect a NULL symbol.
2937 2019-02-06 Florian Weimer <fweimer@redhat.com>
2939 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2941 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2943 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2945 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2947 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2949 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2950 __wmemcmp and weak alias to wmemcmp.
2952 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2955 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2956 TLS_TCB_AT_TP tls variant.
2957 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2958 Add alignment checks.
2959 * support/Makefile (libsupport-routines): Add xposix_memalign and
2961 * support/support.h: Add xposix_memalign.
2962 * support/xthread.h: Add xpthread_attr_setstack.
2963 * support/xposix_memalign.c: New File.
2964 * support/xpthread_attr_setstack.c: Likewise.
2966 2019-02-05 Florian Weimer <fweimer@redhat.com>
2969 arm: Use "nr" constraint for Systemtap probes, to avoid the
2970 compiler using memory operands for constants, due to the "o"
2971 alternative in the default "nor" constraint.
2972 * include/stap-probe.h [USE_STAP_PROBE]: Include
2973 <stap-probe-machine.h>
2974 * sysdeps/generic/stap-probe-machine.h: New file.
2975 * sysdeps/arm/stap-probe-machine.h: Likewise.
2977 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2979 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2980 with 0, not tcache->entries[tc_idx].
2982 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2985 2019-02-04 Andreas Schwab <schwab@suse.de>
2989 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2990 looking up collating elements match against (wide) character
2991 sequence instead of name. Correct alignment adjustment.
2992 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2993 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2994 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2995 (LOCALES): Add cs_CZ.ISO-8859-2.
2996 * posix/tst-fnmatch4.c: New file.
2997 * posix/tst-fnmatch5.c: New file.
2998 * include/wchar.h (__wmemcmp): Declare.
2999 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3000 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3001 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3002 * sysdeps/s390/wmemcmp.c: Likewise.
3004 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3008 * NEWS: Updated for CVE-2019-7309.
3009 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3010 upper 32 bits of RDX register for x32. Use unsigned Jcc
3011 instructions, instead of signed.
3012 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3013 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3015 2019-02-04 Florian Weimer <fweimer@redhat.com>
3017 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3018 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3019 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3021 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3022 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3023 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3024 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3026 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3028 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3030 (posix_spawn_file_actions_addopen): Likewise.
3031 (posix_spawn_file_actions_addclose): Likewise.
3032 (posix_spawn_file_actions_adddup2): Likewise.
3033 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3035 (posix_spawn_file_actions_addfchdir_np): Likewise.
3037 2019-02-04 David Newall <glibc@davidnewall.com>
3039 elf: Implement --preload option for the dynamic linker.
3040 * elf/rtld.c (preloadarg): New variable.
3041 (handle_preload_list): Pass through “where” argument to
3043 (dl_main): Handle "--preload" and add second call to
3044 handle_preload_list.
3045 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3046 (tst-rtld-preload-OBJS): Set variable.
3047 (tst-rtld-preload.out): New target.
3048 * elf/tst-rtld-preload.sh: New file.
3050 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3052 * Makefile (testrun.sh): Exit in case of incorrect argument.
3054 2019-02-04 Florian Weimer <fweimer@redhat.com>
3056 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3059 2019-02-03 Florian Weimer <fweimer@redhat.com>
3061 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3062 implicit overflow checks.
3064 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3066 * stdlib/isomac.c: Include <unistd.h>.
3068 2019-02-03 Florian Weimer <fweimer@redhat.com>
3070 * include/time.h (__tzfile_default): Use int, not long int, for
3072 * time/tzfile.c (struct ttinfo): Change type of the offset member
3074 (__tzfile_read): Remove useless cast.
3075 (__tzfile_default): Adjust prototype.
3076 * time/tzset.c (tz_rule): Change type of the offset member to int.
3077 (parse_offset): Change the type of the sign variable to int.
3079 2019-02-03 Florian Weimer <fweimer@redhat.com>
3082 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3083 * libio/getchar.c (getchar): Likewise.
3084 * libio/getchar_u.c (getchar_unlocked): Likewise.
3085 * libio/getwchar.c (getwchar): Likewise.
3086 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3087 * libio/iogets.c (_IO_gets): Likewise.
3088 * libio/vscanf.c (_IO_vscanf): Likewise.
3089 * libio/vwscanf.c (__vwscanf): Likewise.
3090 * libio/tst-bz24153.c: New file.
3091 * libio/Makefile (tests): Add it.
3093 2019-02-02 Florian Weimer <fweimer@redhat.com>
3096 * manual/resource.texi (Basic Scheduling Functions): Add
3097 portability note. Change process to task throughout the section.
3098 Remove incorrect comment about sched_yield as it affects
3099 tasks/threads, not entire processes.
3100 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3101 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3103 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3105 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3106 * configure: Regenerated.
3107 * manual/install.texi (Tools for Compilation): Update minimum GCC
3109 * INSTALL: Regenerated.
3111 2019-02-01 Florian Weimer <fweimer@redhat.com>
3113 * support/support_test_compare_string.c
3114 (support_test_compare_string): Use "string" in error message.
3115 * support/tst-test_compare_string.c (do_test): Adjust.
3117 2019-02-01 Florian Weimer <fweimer@redhat.com>
3119 * support/support_format_address_family.c
3120 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3122 2019-02-01 Florian Weimer <fweimer@redhat.com>
3124 * manual/socket.texi (Internet Address Formats): Clarify the byte
3125 order of struct sockaddr_in, struct sockaddr_in6. Document
3126 sin6_flowinfo and sin6_scope_id.
3128 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3130 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3131 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3132 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3133 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3134 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3135 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3137 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3139 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3140 [!MEMCHR](MEMCHR): Set to __memchr.
3141 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3142 Add memchr_generic and memchr_nosimd.
3143 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3144 (__libc_ifunc_impl_list): Add memchr ifuncs.
3145 * sysdeps/aarch64/multiarch/memchr.c: New file.
3146 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3147 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3149 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3151 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3153 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3154 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3155 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3156 Add IS_EMAG check for ifunc dispatch.
3157 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3158 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3160 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3162 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3163 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3165 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3168 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
3170 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3172 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
3174 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3175 syscall-template file.
3177 2019-01-31 Carlos O'Donell <carlos@redhat.com>
3178 Torvald Riegel <triegel@redhat.com>
3179 Rik Prohaska <prohaska7@gmail.com>
3182 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3183 tst-rwlock-trywrlock-stall.
3184 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3185 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3186 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3187 Set __wrphase_fute to 1 only if we started the write phase.
3188 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3189 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3190 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3191 * support/xpthread_rwlock_destroy.c: New file.
3192 * support/xthread.h: Declare xpthread_rwlock_destroy.
3194 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3196 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3199 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3202 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3203 * libio/fileops.c (_IO_new_file_underflow): Likewise
3204 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3205 * libio/putchar.c (putchar): Likewise.
3206 * libio/putchar_u.c (putchar_unlocked): Likewise.
3207 * libio/putwchar.c (putchar): Likewise.
3208 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3209 * libio/tst-bz24051.c: New test.
3210 * libio/Makefile (tests): Add tst-bz24051
3212 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3215 regex: fix read overrun [BZ #24114]
3216 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3217 https://debbugs.gnu.org/34140
3218 * posix/regexec.c (proceed_next_node):
3219 Do not read past end of input buffer.
3221 2019-01-31 Florian Weimer <fweimer@redhat.com>
3224 * nss/nss_files/files-alias.c (get_next_alias): Handle
3225 continuation line without newline at the end.
3226 * nss/tst-nss-files-alias-truncated.c: New file.
3227 * nss/Makefile [$(build-shared)] (tests): Add
3228 tst-nss-files-alias-truncated.
3229 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3230 * support/namespace.h (struct support_chroot_configuration): Add
3232 (struct support_chroot): Add path_aliases member.
3233 * support/support_chroot.c (support_chroot_create): Handle
3235 (support_chroot_free): Free path_aliases.
3237 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3239 * version.h (RELEASE): Set to "development".
3240 (VERSION): Set to "2.29.9000".
3241 * NEWS: Add section for 2.30.
3243 * version.h (RELEASE): Set to "stable".
3244 (VERSION): Set to "2.29".
3245 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3247 * NEWS: Add the list of bugs fixed in 2.29.
3248 * manual/contrib.texi: Update contributors list with some more
3250 * manual/install.texi: Update latest versions of packages
3252 * INSTALL: Regenerated.
3254 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3256 * po/be.po: Update translations.
3257 * po/bg.po: Likewise.
3258 * po/ca.po: Likewise.
3259 * po/cs.po: Likewise.
3260 * po/da.po: Likewise.
3261 * po/de.po: Likewise.
3262 * po/el.po: Likewise.
3263 * po/eo.po: Likewise.
3264 * po/es.po: Likewise.
3265 * po/fi.po: Likewise.
3266 * po/fr.po: Likewise.
3267 * po/gl.po: Likewise.
3268 * po/hr.po: Likewise.
3269 * po/hu.po: Likewise.
3270 * po/ia.po: Likewise.
3271 * po/id.po: Likewise.
3272 * po/it.po: Likewise.
3273 * po/ja.po: Likewise.
3274 * po/ko.po: Likewise.
3275 * po/lt.po: Likewise.
3276 * po/nb.po: Likewise.
3277 * po/nl.po: Likewise.
3278 * po/pl.po: Likewise.
3279 * po/pt_BR.po: Likewise.
3280 * po/ru.po: Likewise.
3281 * po/rw.po: Likewise.
3282 * po/sk.po: Likewise.
3283 * po/sl.po: Likewise.
3284 * po/sv.po: Likewise.
3285 * po/tr.po: Likewise.
3286 * po/uk.po: Likewise.
3287 * po/vi.po: Likewise.
3288 * po/zh_CN.po: Likewise.
3289 * po/zh_TW.po: Likewise.
3291 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3294 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3295 of $f3 register on $y_is_neg path.
3297 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3300 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3301 sigaltstack.ss_flags.
3303 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3306 * manual/time.texi (strftime): Document "%Ey".
3307 * time/strftime_l.c (__strftime_internal): Set the default width
3308 padding with zero of "%Ey" to 2.
3311 * manual/time.texi (strftime): Document "%EC" and "%EY".
3312 * time/Makefile (tests): Add tst-strftime2.
3313 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3314 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3315 override padding for "%Ey".
3316 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3317 "%Ey" in the subformat as if decorated with that flag.
3318 * time/tst-strftime2.c: New file.
3320 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3322 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3326 * elf/Makefile (tests): Add tst-audit13.
3327 (modules-names): Add tst-audit13mod1.
3328 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3330 * elf/rtld.c (dl_main): Handle invalid audit module version.
3331 * elf/tst-audit13.c: New file.
3332 * elf/tst-audit13mod1.c: Likewise.
3334 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3336 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3337 returned by __hurd_at_flags.
3338 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3339 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3340 directly instead of __hurd_file_name_lookup.
3342 2019-01-21 Joseph Myers <joseph@codesourcery.com>
3344 * scripts/build-many-glibcs.py (Context.checkout): Default
3345 binutils version to 2.32 branch.
3347 2019-01-21 Florian Weimer <fweimer@redhat.com>
3351 resolv: Reject trailing characters in host names
3352 * include/arpa/inet.h (__inet_aton_exact): Declare.
3353 (inet_aton): Remove hidden prototype. No longer used internally.
3354 * nscd/gai.c (__inet_aton): Do not define.
3355 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3356 * nss/digits_dots.c (__inet_aton): Likewise.
3357 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3358 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3359 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3360 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3361 (tst-resolv-trailing): Likewise.
3362 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3364 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3365 Make static. Add endp parameter.
3366 (__inet_aton_exact): New function.
3367 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3368 (__inet_addr): Call inet_aton_end.
3369 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3370 not just IPv6. Call __inet_aton_exact.
3371 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3372 (tests): Make const. Add additional test cases with trailing
3374 (do_test): Use array_length.
3375 * resolv/tst-inet_aton_exact.c: New file.
3376 * resolv/tst-resolv-trailing.c: Likewise.
3377 * resolv/tst-resolv-nondecimal.c: Likewise.
3378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3380 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3384 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3385 Clear the upper 32 bits of RSI register.
3386 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3387 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3388 and tst-size_t-wcsnlen.
3389 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3390 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3392 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3396 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3397 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3398 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3399 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3400 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3402 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3406 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3407 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3408 * sysdeps/x86_64/strcmp.S: Likewise.
3409 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3410 tst-size_t-strncmp and tst-size_t-wcsncmp.
3411 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3412 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3413 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3415 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3419 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3420 RDX_LP for length. Clear the upper 32 bits of RDX register.
3421 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3422 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3423 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3424 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3426 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3430 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3431 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3432 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3433 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3435 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3439 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3440 length. Clear the upper 32 bits of RDX register.
3441 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3442 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3444 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3446 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3448 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3450 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3454 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3455 length. Clear the upper 32 bits of RDX register.
3456 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3457 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3458 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3460 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3461 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3463 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3467 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3468 upper 32 bits of RDX register.
3469 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3470 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3472 * sysdeps/x86_64/x32/test-size_t.h: New file.
3473 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3474 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3476 2019-01-18 Florian Weimer <fweimer@redhat.com>
3479 resolv: Do not send queries for non-host-names in nss_dns.
3480 * resolv/nss_dns/dns-host.c (check_name): New function.
3481 (_nss_dns_gethostbyname2_r): Use it.
3482 (_nss_dns_gethostbyname_r): Likewise.
3483 (_nss_dns_gethostbyname4_r): Likewise.
3485 2019-01-21 Florian Weimer <fweimer@redhat.com>
3487 * resolv/inet_addr.c: Reformat to GNU style.
3488 (__inet_addr, __inet_aton): Update comment.
3490 2019-01-18 Florian Weimer <fweimer@redhat.com>
3492 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3493 ("malloc: Use current (C11-style) atomics for fastbin access").
3494 This commit introduces a substantial performance regression on
3496 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3497 (REMOVE_FB): Define.
3498 (_int_malloc): Use it and reindent.
3499 (_int_free): Use CAS loop with
3500 catomic_compare_and_exchange_val_rel.
3501 (malloc_consolidate): Use atomic_exchange_acq.
3504 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3506 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3508 (LDFLAGS-tst-minsigstksz-2): Likewise.
3509 (LDFLAGS-tst-minsigstksz-3): Likewise.
3510 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3511 (LDFLAGS-tst-minsigstksz-4): Likewise.
3513 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3515 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3518 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3520 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3522 2019-01-16 Zack Weinberg <zackw@panix.com>
3524 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3525 (xget_sigstack_location): New test support functions.
3526 * support/xsigstack.c: New file, implementing them.
3527 * support/tst-xsigstack.c: New test for them.
3528 * support/Makefile: Update.
3530 * signal/tst-minsigstksz-1.c
3531 * signal/tst-minsigstksz-2.c
3532 * signal/tst-minsigstksz-3.c
3533 * signal/tst-minsigstksz-3a.c
3534 * signal/tst-minsigstksz-4.c: New tests.
3535 * signal/Makefile: Run them.
3537 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3539 * po/libc.pot: Regenerate.
3541 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3543 * math/libm-test-fma.inc (fma_test_data): Set
3544 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3546 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3548 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3549 (do_test): Changed __vector __int128_t to __vector unsigned int.
3551 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3554 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3555 stpcpy-avx2 and stpncpy-avx2.
3556 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3557 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3558 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3560 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3561 ifunc-strcpy.h}: rename header for a more generic name.
3562 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3563 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3564 AVX unaligned load is fast and vzeroupper is preferred.
3565 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3566 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3567 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3568 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3569 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3570 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3572 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3574 * argp/argp-help.c: Fix typo in comment.
3575 * misc/sys/cdefs.h: Likewise.
3576 * posix/regexec.c (sift_states_iter_mb): Likewise.
3577 * socket/sockatmark.c: Likewise.
3578 * socket/sys/socket.h: Likewise.
3579 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3580 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3581 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3582 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3583 * sysdeps/unix/sockatmark.c: Likewise.
3584 * time/strptime_l.c: Likewise.
3586 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3588 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3589 missing space after the cast of "_NL_CURRENT".
3591 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3593 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3594 ifdef to fix read of VSCR.
3595 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3596 tst-ucontext-ppc64-vscr.c to test list.
3597 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3599 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3601 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3604 2019-01-09 Jim Wilson <jimw@sifive.com>
3606 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3608 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3610 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3611 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3612 __memcpy_falkor for ares.
3613 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3615 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3618 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3621 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3622 4_FP_W_TYPEs are used for IEEE quad precision.
3623 * soft-fp/extendhftf2.c: Likewise.
3624 * soft-fp/extendsftf2.c: Likewise.
3625 * soft-fp/extendxftf2.c: Likewise.
3626 * soft-fp/trunctfdf2.c: Likewise.
3627 * soft-fp/trunctfhf2.c: Likewise.
3628 * soft-fp/trunctfsf2.c: Likewise.
3629 * soft-fp/trunctfxf2.c: Likewise.
3630 * sysdeps/alpha/ots_cvttx.c: Likewise.
3631 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3632 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3633 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3634 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3635 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3636 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3637 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3638 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3639 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3640 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3641 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3642 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3643 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3644 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3645 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3646 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3647 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3649 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3652 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3653 code with -fmath-errno.
3654 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3655 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3656 * string/test-strerror-errno.c: New file.
3658 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3661 * localedata/locales/en_US (date_fmt): Add, set to
3662 "%a %d %b %Y %r %Z".
3664 2019-01-07 Florian Weimer <fweimer@redhat.com>
3667 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3668 instead of @var{errno}.
3669 (Parsing of Integers): Likewise.
3670 (Parsing of Floats): Likewise.
3671 * manual/filesys.texi (Working with Directory Trees): Likewise.
3672 (Temporary Files): Likewise.
3673 * manual/job.texi (Terminal Access Functions): Likewise.
3674 * manual/llio.texi (Synchronizing I/O): Likewise.
3675 * manual/math.texi (SVID Random): Likewise.
3676 * manual/message.texi (The catgets Functions): Likewise.
3677 (Translation with gettext): Likewise.
3678 (Locating gettext catalog): Likewise.
3679 (Charset conversion in gettext): Likewise.
3680 * manual/nss.texi (NSS Module Function Internals): Likewise.
3681 * manual/search.texi (Hash Search Function): Likewise.
3682 * manual/setjmp.texi (System V contexts): Likewise.
3683 * manual/time.texi (Sleeping): Likewise.
3684 * manual/users.texi (Lookup User): Likewise.
3685 (Lookup Group): Likewise.
3687 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3689 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3692 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
3695 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3696 __builtin_unreachable for default case in switch.
3697 (__ieee754_yn): Likewise.
3698 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3699 (__ieee754_ynl): Likewise.
3700 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3701 (__ieee754_ynl): Likewise.
3702 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3703 (__ieee754_ynl): Likewise.
3705 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3707 * manual/maint.texi: Use @{ and @}.
3709 2019-01-04 Florian Weimer <fweimer@redhat.com>
3711 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3713 (do_in_chroot_1): Call it.
3715 Improve error reporting in case it is not possible to create a
3716 collision for the PTY name required by the test.
3718 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3720 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3721 lll_wait_tid with timeout.
3722 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3723 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3724 futex_reltimed_wait_cancelable for cancelabla mode.
3725 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3726 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3728 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3729 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3730 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3731 SYSCALL_CANCEL_NCS): New macro.
3732 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3733 (lll_timedwait_tid): Remove macro.
3734 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3736 (lll_timedwait_tid): Likewise.
3737 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3739 (lll_timedwait_tid): Likewise.
3740 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3742 (lll_timedwait_tid): Likewise.
3743 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3744 Use INTERNAL_SYSCALL_CANCEL.
3745 * sysdeps/unix/sysv/linux/futex-internal.h
3746 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3747 instead of __pthread_{enable,disable}_asynccancel.
3748 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3749 (lll_futex_wait_cancel): New macro.
3751 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3752 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3754 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3755 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3757 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3758 in backtrace analysis.
3759 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3761 (tf_send): Likewise.
3763 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3764 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3765 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3766 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3767 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3768 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3769 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3770 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3771 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3772 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3773 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3774 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3776 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3777 tst-cancel-wrappers.sh.
3778 (generated): Remove tst-cancel-wrappers.out.
3779 (tst-cancel-wrappers.out): Remove rule.
3780 * nptl/tst-cancel-wrappers.sh: Remove file.
3782 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3784 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3785 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3788 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3791 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3792 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3793 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3794 close-on-exec reset for adddup2 file action.
3795 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3797 2019-01-03 Zack Weinberg <zackw@panix.com>
3799 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3800 parameter. Only use deprecated scanf when __USE_GNU is defined
3801 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3802 than 201103L, whichever is relevant for the language being compiled.
3804 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3805 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3806 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3807 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3808 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3812 * libio/iovswscanf.c
3817 * stdio-common/fscanf.c
3818 * stdio-common/scanf.c
3819 * stdio-common/vfscanf.c
3820 * stdio-common/vfwscanf.c
3821 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3822 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3823 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3824 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3825 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3826 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3827 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3828 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3829 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3830 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3831 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3832 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3833 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3834 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3835 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3837 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3838 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3839 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3841 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3842 with a preprocessor macro.
3844 * stdio-common/bug21.c, stdio-common/scanf14.c:
3845 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3846 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3847 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3848 to xscanf, xfscanf, xsscanf.
3850 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3851 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3852 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3853 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3855 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3856 override feature selection macros or provide definitions of u_char etc.
3857 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3858 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3859 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3862 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3865 bits/termios-misc.h.
3866 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3867 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3868 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3869 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3870 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3871 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3873 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3874 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3875 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3876 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3877 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3878 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3880 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3881 (sysdep_headers): Add termios-misc.h.
3883 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3884 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3885 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3889 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3890 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3891 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3892 TCSAFLUSH): Move to termios-tcflow.h.
3893 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3894 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3895 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3896 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3900 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3901 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3902 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3903 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3904 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3905 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3906 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3907 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3909 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3910 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3911 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3912 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3914 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3916 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3917 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3918 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3919 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3920 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3922 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3923 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3924 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3925 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3930 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3931 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3932 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3933 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3934 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3935 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3936 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3937 __MAX_BAUD): Move to termios-baud.h.
3938 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3939 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3940 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3941 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3942 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3944 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3946 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3947 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3948 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3949 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3950 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3951 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3953 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3954 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3956 [USE_MISC] (XTABS): Likewise.
3957 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3958 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3959 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3960 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3962 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3964 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3965 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3966 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3967 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3968 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3969 IUTF8): Move to termios-c_iflag.h.
3970 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3971 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3972 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3973 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3975 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3977 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3978 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3979 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3980 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3981 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3982 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3983 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3984 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3985 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3986 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3987 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3988 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3990 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3991 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3992 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3993 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3996 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3998 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4000 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4002 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4004 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4006 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4007 _HAVE_C_OSPEED): Define.
4008 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4009 _HAVE_C_OSPEED): Likewise.
4010 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4011 _HAVE_C_OSPEED): Likewise.
4012 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4013 (cfsetospeed): Check for define value instead of existence.
4014 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4015 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4016 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4017 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4018 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4021 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4023 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4024 (TIOCSER_TEMT): Likewise.
4025 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4026 (TEOCSER_TEMT): Likewise.
4028 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
4031 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4033 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4035 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4037 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4039 * sysdeps/htl/pt-barrierattr-setpshared.c
4040 (pthread_barrierattr_setpshared): Add stub warning.
4041 * sysdeps/htl/pt-condattr-setpshared.c
4042 (pthread_condattr_setpshared): Likewise.
4043 * sysdeps/htl/pt-mutexattr-setpshared.c
4044 (pthread_mutexattr_setpshared): Likewise.
4045 * sysdeps/htl/pt-rwlockattr-setpshared.c
4046 (pthread_rwlockattr_setpshared): Likewise.
4047 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4048 (pthread_mutexattr_setpshared): Likewise.
4050 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4052 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4053 constants to match with Linux 4.20.
4055 * sysdeps/mips/mips32/libm-test-ulps: Update.
4056 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4058 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4061 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4062 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4063 than __typeof (...) for the a_ptr variable.
4065 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4067 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4068 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4069 * libio/Makefile (tests): Add tst-sprintf-ub and
4071 (CFLAGS-tst-sprintf-ub.c): New variable.
4072 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4073 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4074 destination buffer and check for overflows in fortified mode.
4075 * libio/libioP.h (PRINTF_CHK): New macro.
4076 * libio/tst-sprintf-chk-ub.c: New file.
4077 * libio/tst-sprintf-ub.c: Likewise.
4079 2019-01-02 Florian Weimer <fweimer@redhat.com>
4082 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4085 2019-01-02 Florian Weimer <fweimer@redhat.com>
4087 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4089 2019-01-01 Joseph Myers <joseph@codesourcery.com>
4091 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4094 * sysdeps/unix/sysv/linux/netpacket/packet.h
4095 (PACKET_IGNORE_OUTGOING): New macro.
4097 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4100 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4102 (riscv_flush_icache): New syscall.
4104 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4105 trailing whitespace removed.
4106 * scripts/config.guess: Update to version 2019-01-01.
4107 * scripts/config.sub: Update to version 2019-01-01.
4108 * scripts/move-if-change: Update from gnulib.
4110 * NEWS: Update copyright dates.
4111 * catgets/gencat.c (print_version): Likewise.
4112 * csu/version.c (banner): Likewise.
4113 * debug/catchsegv.sh: Likewise.
4114 * debug/pcprofiledump.c (print_version): Likewise.
4115 * debug/xtrace.sh (do_version): Likewise.
4116 * elf/ldconfig.c (print_version): Likewise.
4117 * elf/ldd.bash.in: Likewise.
4118 * elf/pldd.c (print_version): Likewise.
4119 * elf/sotruss.sh: Likewise.
4120 * elf/sprof.c (print_version): Likewise.
4121 * iconv/iconv_prog.c (print_version): Likewise.
4122 * iconv/iconvconfig.c (print_version): Likewise.
4123 * locale/programs/locale.c (print_version): Likewise.
4124 * locale/programs/localedef.c (print_version): Likewise.
4125 * login/programs/pt_chown.c (print_version): Likewise.
4126 * malloc/memusage.sh (do_version): Likewise.
4127 * malloc/memusagestat.c (print_version): Likewise.
4128 * malloc/mtrace.pl: Likewise.
4129 * manual/libc.texinfo: Likewise.
4130 * nptl/version.c (banner): Likewise.
4131 * nscd/nscd.c (print_version): Likewise.
4132 * nss/getent.c (print_version): Likewise.
4133 * nss/makedb.c (print_version): Likewise.
4134 * posix/getconf.c (main): Likewise.
4135 * scripts/test-installation.pl: Likewise.
4136 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4138 * All files with FSF copyright notices: Update copyright dates
4139 using scripts/update-copyrights.
4140 * locale/programs/charmap-kw.h: Regenerated.
4141 * locale/programs/locfile-kw.h: Likewise.
4143 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4145 * timezone/zdump.c: Update from tzcode 2018i.
4146 * timezone/zic.c: Likewise.
4148 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4150 regex: improve Gnulib port to AIX
4151 From the glibc point of view, this removes duplicate macro
4152 definitions and is obviously safe.
4153 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4154 * posix/regex_internal.h:
4155 (__attribute__, __attribute_warn_unused_result__):
4156 Remove; already defined elsewhere.
4158 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
4161 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4162 copying operation. (ncopies had the wrong type, resulting in an
4163 integer wraparound and too few elements being copied.)
4165 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4168 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4169 <asm/syscalls.h> exists with __has_include__ before including it.
4171 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4173 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4176 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
4178 * hurd/lookup-retry: Include <unistd.h>.
4179 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4180 Release it on return. Handle "pid" magical lookup retry.
4182 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4185 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4186 (t_fmt_ampm): Likewise.
4187 * localedata/locales/aa_ER (t_fmt): Likewise.
4188 (t_fmt_ampm): Likewise.
4189 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4190 (t_fmt_ampm): Likewise.
4191 * localedata/locales/aa_ET (t_fmt): Likewise.
4192 (t_fmt_ampm): Likewise.
4193 * localedata/locales/am_ET (t_fmt): Likewise.
4194 (t_fmt_ampm): Likewise.
4195 * localedata/locales/byn_ER (t_fmt): Likewise.
4196 (t_fmt_ampm): Likewise.
4197 * localedata/locales/om_ET (t_fmt): Likewise.
4198 (t_fmt_ampm): Likewise.
4199 * localedata/locales/sid_ET (t_fmt): Likewise.
4200 (t_fmt_ampm): Likewise.
4201 * localedata/locales/so_DJ (t_fmt): Likewise.
4202 (t_fmt_ampm): Likewise.
4203 * localedata/locales/so_ET (t_fmt): Likewise.
4204 (t_fmt_ampm): Likewise.
4205 * localedata/locales/so_SO (t_fmt): Likewise.
4206 (t_fmt_ampm): Likewise.
4207 * localedata/locales/ti_ER (t_fmt): Likewise.
4208 (t_fmt_ampm): Likewise.
4209 * localedata/locales/ti_ET (t_fmt): Likewise.
4210 (t_fmt_ampm): Likewise.
4211 * localedata/locales/tig_ER (t_fmt): Likewise.
4212 (t_fmt_ampm): Likewise.
4213 * localedata/locales/wal_ET (t_fmt): Likewise.
4214 (t_fmt_ampm): Likewise.
4216 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4217 * localedata/locales/ar_IN (t_fmt): Likewise.
4218 * localedata/locales/bhb_IN (t_fmt): Likewise.
4219 * localedata/locales/bho_IN (t_fmt): Likewise.
4220 * localedata/locales/bi_VU (t_fmt): Likewise.
4221 * localedata/locales/bn_BD (t_fmt): Likewise.
4222 * localedata/locales/bn_IN (t_fmt): Likewise.
4223 * localedata/locales/brx_IN (t_fmt): Likewise.
4224 * localedata/locales/doi_IN (t_fmt): Likewise.
4225 * localedata/locales/en_HK (t_fmt): Likewise.
4226 (t_fmt_ampm): Likewise.
4227 * localedata/locales/en_IN (t_fmt): Likewise.
4228 * localedata/locales/en_PH (t_fmt): Likewise.
4229 * localedata/locales/gu_IN (t_fmt): Likewise.
4230 * localedata/locales/hi_IN (t_fmt): Likewise.
4231 * localedata/locales/hif_FJ (t_fmt): Likewise.
4232 * localedata/locales/hne_IN (t_fmt): Likewise.
4233 * localedata/locales/kn_IN (t_fmt): Likewise.
4234 * localedata/locales/kok_IN (t_fmt): Likewise.
4235 * localedata/locales/ks_IN (t_fmt): Likewise.
4236 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4237 * localedata/locales/mag_IN (t_fmt): Likewise.
4238 * localedata/locales/mai_IN (t_fmt): Likewise.
4239 * localedata/locales/mjw_IN (t_fmt): Likewise.
4240 * localedata/locales/ml_IN (t_fmt): Likewise.
4241 * localedata/locales/mni_IN (t_fmt): Likewise.
4242 * localedata/locales/mr_IN (t_fmt): Likewise.
4243 * localedata/locales/ms_MY (t_fmt): Likewise.
4244 * localedata/locales/pa_IN (t_fmt): Likewise.
4245 * localedata/locales/raj_IN (t_fmt): Likewise.
4246 * localedata/locales/sa_IN (t_fmt): Likewise.
4247 * localedata/locales/sat_IN (t_fmt): Likewise.
4248 * localedata/locales/sd_IN (t_fmt): Likewise.
4249 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4250 * localedata/locales/tcy_IN (t_fmt): Likewise.
4251 * localedata/locales/the_NP (t_fmt): Likewise.
4252 * localedata/locales/to_TO (t_fmt): Likewise.
4253 * localedata/locales/ur_IN (t_fmt): Likewise.
4255 * localedata/locales/hif_FJ (d_t_fmt): Set to
4256 "%A %d %b %Y %I:%M:%S %p".
4257 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4259 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4260 * localedata/locales/ar_BH (t_fmt): Likewise.
4261 * localedata/locales/ar_DZ (t_fmt): Likewise.
4262 * localedata/locales/ar_EG (t_fmt): Likewise.
4263 * localedata/locales/ar_IQ (t_fmt): Likewise.
4264 * localedata/locales/ar_JO (t_fmt): Likewise.
4265 * localedata/locales/ar_KW (t_fmt): Likewise.
4266 * localedata/locales/ar_LB (t_fmt): Likewise.
4267 * localedata/locales/ar_LY (t_fmt): Likewise.
4268 * localedata/locales/ar_OM (t_fmt): Likewise.
4269 * localedata/locales/ar_QA (t_fmt): Likewise.
4270 * localedata/locales/ar_SD (t_fmt): Likewise.
4271 * localedata/locales/ar_SS (t_fmt): Likewise.
4272 * localedata/locales/ar_SY (t_fmt): Likewise.
4273 * localedata/locales/ar_TN (t_fmt): Likewise.
4274 * localedata/locales/ar_YE (t_fmt): Likewise.
4276 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4277 (t_fmt_ampm): Likewise.
4278 * localedata/locales/gez_ET (t_fmt): Likewise.
4279 (t_fmt_ampm): Likewise.
4281 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4282 (t_fmt_ampm): Likewise.
4283 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4285 * localedata/locales/zh_HK (t_fmt):
4286 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4288 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4289 because this locale does not use the 12-hour clock.
4290 (t_fmt): Set to "%Z %H:%M:%S".
4291 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4293 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4294 because this locale does not use the 12-hour clock.
4295 (t_fmt): Set to "%H:%M:%S %Z".
4296 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4298 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4299 because this locale does not use the 12-hour clock.
4300 (t_fmt): Set to "%T".
4301 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4302 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4304 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4305 because this locale does not use the 12-hour clock.
4306 (t_fmt): Set to "%H:%M:%S %Z".
4307 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4309 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4310 because this locale does not use the 12-hour clock.
4311 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4312 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4314 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4318 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4319 (t_fmt_ampm): Likewise.
4320 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4321 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4322 (d_fmt): Set to "%-d.%-m.%y".
4324 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4326 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4327 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4328 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4330 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4331 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4332 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4334 * support/blob_repeat.c (check_mul_overflow_size_t,
4335 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4337 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4339 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4341 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4343 regex: simplify Gnulib port
4344 This simplifies the code, by removing stuff intended for porting
4345 to Gnulib but no longer needed there.
4346 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4347 uses of libc_hidden_def, weak_alias.
4348 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4349 _Restrict_ except for public-facing headers.
4350 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4351 Remove; already defined elsewhere.
4352 * posix/regex.c, posix/regex_internal.h:
4353 Use __GNUC_PREREQ instead of rolling our own.
4354 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4356 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4358 * benchtests/bench-strlen.c (generic_strlen): New function.
4359 (memchr_strlen): New function.
4361 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4363 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4364 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4365 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4367 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4369 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4371 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4373 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4374 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4375 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4376 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4377 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4378 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4379 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4381 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4384 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4385 PLT reference in libc.so.
4386 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4387 _Q_lltoq and _Q_qtod PLT references in libc.so.
4389 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4391 * benchtests/bench-memchr.c: Cleanup defines.
4392 * benchtests/bench-memcmp.c: Likewise.
4393 * benchtests/bench-memset.c: Likewise.
4394 * benchtests/bench-memset-large.c: Likewise.
4395 * benchtests/bench-memset-walk.c: Likewise.
4396 * benchtests/bench-stpcpy.c: Likewise.
4397 * benchtests/bench-stpncpy.c: Likewise.
4398 * benchtests/bench-strcat.c: Likewise.
4399 * benchtests/bench-strchr.c: Likewise.
4400 * benchtests/bench-strcmp.c: Likewise.
4401 * benchtests/bench-strcpy.c: Likewise.
4402 * benchtests/bench-strcspn.c: Likewise.
4403 * benchtests/bench-string.h: Likewise.
4404 * benchtests/bench-strlen.c: Likewise.
4405 * benchtests/bench-strncat.c: Likewise.
4406 * benchtests/bench-strncmp.c: Likewise.
4407 * benchtests/bench-strncpy.c: Likewise.
4408 * benchtests/bench-strnlen.c: Likewise.
4409 * benchtests/bench-strpbrk.c: Likewise.
4410 * benchtests/bench-strrchr.c: Likewise.
4411 * benchtests/bench-strspn.c: Likewise.
4413 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4415 * stdlib/longlong.h: Update from GCC.
4418 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4419 * configure: Regenerated.
4420 * manual/install.texi (Tools for Compilation): Update minimum GCC
4422 * INSTALL: Regenerated.
4424 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
4426 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4428 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
4430 * malloc/malloc.c (mremap_chunk): Additional checks.
4432 2018-12-21 Mao Han <han_mao@c-sky.com>
4434 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4435 * scripts/build-many-glibcs.py: Add C-SKY targets.
4436 * sysdeps/csky/Implies: New file.
4437 * sysdeps/csky/Makefile: Likewise.
4438 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4439 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4440 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4441 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4442 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4443 * sysdeps/csky/abiv2/memmove.S: Likewise.
4444 * sysdeps/csky/abiv2/memset.S: Likewise.
4445 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4446 * sysdeps/csky/abiv2/start.S: Likewise.
4447 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4448 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4449 * sysdeps/csky/abiv2/strlen.S: Likewise.
4450 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4451 * sysdeps/csky/abort-instr.h: Likewise.
4452 * sysdeps/csky/atomic-machine.h: Likewise.
4453 * sysdeps/csky/bits/endian.h: Likewise.
4454 * sysdeps/csky/bits/fenv.h: Likewise.
4455 * sysdeps/csky/bits/link.h: Likewise.
4456 * sysdeps/csky/bits/setjmp.h: Likewise.
4457 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4458 * sysdeps/csky/bsd-setjmp.S: Likewise.
4459 * sysdeps/csky/configure: Likewise.
4460 * sysdeps/csky/configure.ac: Likewise.
4461 * sysdeps/csky/dl-machine.h: Likewise.
4462 * sysdeps/csky/dl-procinfo.c: Likewise.
4463 * sysdeps/csky/dl-procinfo.h: Likewise.
4464 * sysdeps/csky/dl-sysdep.h: Likewise.
4465 * sysdeps/csky/dl-tls.h: Likewise.
4466 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4467 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4468 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4469 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4470 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4471 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4472 * sysdeps/csky/fpu/fegetround.c: Likewise.
4473 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4474 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4475 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4476 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4477 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4478 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4479 * sysdeps/csky/fpu/fesetround.c: Likewise.
4480 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4481 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4482 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4483 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4484 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4485 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4486 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4487 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4488 * sysdeps/csky/fpu_control.h: Likewise.
4489 * sysdeps/csky/gccframe.h: Likewise.
4490 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4491 * sysdeps/csky/ldsodefs.h: Likewise.
4492 * sysdeps/csky/libc-tls.c: Likewise.
4493 * sysdeps/csky/linkmap.h: Likewise.
4494 * sysdeps/csky/machine-gmon.h: Likewise.
4495 * sysdeps/csky/memusage.h: Likewise.
4496 * sysdeps/csky/nofpu/Implies: Likewise.
4497 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4498 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4499 * sysdeps/csky/nptl/Makefile: Likewise.
4500 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4501 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4502 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4503 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4504 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4505 * sysdeps/csky/nptl/tls.h: Likewise.
4506 * sysdeps/csky/preconfigure: Likewise.
4507 * sysdeps/csky/sfp-machine.h: Likewise.
4508 * sysdeps/csky/sotruss-lib.c: Likewise.
4509 * sysdeps/csky/stackinfo.h: Likewise.
4510 * sysdeps/csky/sysdep.h: Likewise.
4511 * sysdeps/csky/tininess.h: Likewise.
4512 * sysdeps/csky/tst-audit.h: Likewise.
4513 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4514 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4515 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4516 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4517 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4518 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4519 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4520 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4521 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4522 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4523 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4524 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4525 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4526 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4527 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4528 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4529 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4530 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4531 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4532 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4533 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4534 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4535 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4536 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4537 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4538 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4539 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4540 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4541 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4542 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4543 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4544 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4545 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4546 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4547 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4548 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4549 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4550 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4551 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4552 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4553 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4554 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4555 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4556 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4558 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4560 * include/time.h (__difftime64): Add.
4561 * time/difftime.c (subtract): convert to 64-bit time.
4562 * time/difftime.c (__difftime64): Add.
4563 * time/difftime.c (__difftime): Wrap around __difftime64.
4565 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4567 * manual/examples/add.c: Remove redundant "if not".
4568 * manual/examples/argp-ex1.c: Likewise.
4569 * manual/examples/argp-ex2.c: Likewise.
4570 * manual/examples/argp-ex3.c: Likewise.
4571 * manual/examples/argp-ex4.c: Likewise.
4572 * manual/examples/atexit.c: Likewise.
4573 * manual/examples/db.c: Likewise.
4574 * manual/examples/dir.c: Likewise.
4575 * manual/examples/dir2.c: Likewise.
4576 * manual/examples/execinfo.c: Likewise.
4577 * manual/examples/filecli.c: Likewise.
4578 * manual/examples/filesrv.c: Likewise.
4579 * manual/examples/fmtmsgexpl.c: Likewise.
4580 * manual/examples/genpass.c: Likewise.
4581 * manual/examples/inetcli.c: Likewise.
4582 * manual/examples/inetsrv.c: Likewise.
4583 * manual/examples/isockad.c: Likewise.
4584 * manual/examples/longopt.c: Likewise.
4585 * manual/examples/memopen.c: Likewise.
4586 * manual/examples/memstrm.c: Likewise.
4587 * manual/examples/mkdirent.c: Likewise.
4588 * manual/examples/mkfsock.c: Likewise.
4589 * manual/examples/mkisock.c: Likewise.
4590 * manual/examples/mygetpass.c: Likewise.
4591 * manual/examples/pipe.c: Likewise.
4592 * manual/examples/popen.c: Likewise.
4593 * manual/examples/rprintf.c: Likewise.
4594 * manual/examples/search.c: Likewise.
4595 * manual/examples/select.c: Likewise.
4596 * manual/examples/setjmp.c: Likewise.
4597 * manual/examples/sigh1.c: Likewise.
4598 * manual/examples/sigusr.c: Likewise.
4599 * manual/examples/stpcpy.c: Likewise.
4600 * manual/examples/strdupa.c: Likewise.
4601 * manual/examples/strftim.c: Likewise.
4602 * manual/examples/subopt.c: Likewise.
4603 * manual/examples/swapcontext.c: Likewise.
4604 * manual/examples/termios.c: Likewise.
4605 * manual/examples/testopt.c: Likewise.
4606 * manual/examples/testpass.c: Likewise.
4607 * manual/examples/timeval_subtract.c: Likewise.
4609 2018-12-19 Joseph Myers <joseph@codesourcery.com>
4611 * sysdeps/x86/fpu/math_private.h: New file.
4612 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4614 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4619 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4621 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4622 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4623 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4624 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4626 (_dl_show_auxv): Give a special treatment to
4627 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4628 and AT_L3_CACHEGEOMETRY.
4629 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4630 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4631 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4632 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4634 2018-12-19 Andreas Schwab <schwab@suse.de>
4636 * nscd/connections.c (check_use): Don't abort on invalid len.
4638 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4640 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4641 values in the 64bit value cases.
4643 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4649 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4655 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4658 (__gmtime64_r): Add.
4660 (__gmtime64_r): Add.
4661 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4667 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4670 (__localtime64_r): Add.
4672 (__localtime64_r): Add.
4673 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4675 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4677 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4678 kernel_sigction definition.
4680 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4682 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4684 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4685 __syscall_rt_sigaction.
4686 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4687 (kernel_sigaction): Use Linux generic defintion.
4689 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4690 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4691 (__syscall_rt_sigaction): Remove implementation.
4692 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4694 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4695 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4696 INTERNAL_SYSCALL): Remove definitions.
4697 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4698 action and signal set size.
4699 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4700 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4702 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4703 James Clarke <jrtc27@jrtc27.com>
4706 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4707 Define if SA_RESTORER is defined.
4708 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4709 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4711 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4712 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4714 (HAS_SA_RESTORER): Define.
4715 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4716 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4717 (HAS_SA_RESTORER): Define.
4718 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4719 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4720 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4721 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4722 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4724 2018-12-18 Joseph Myers <joseph@codesourcery.com>
4726 * sysdeps/unix/sysv/linux/kernel-features.h
4727 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4728 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4729 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4730 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4731 (__ASSUME_ST_INO_64_BIT): Likewise.
4732 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4733 <kernel-features.h>.
4734 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4735 Remove conditional code.
4736 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4737 <kernel-features.h>.
4738 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4739 Remove conditional code.
4740 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4741 <kernel-features.h>.
4742 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4743 Remove conditional code.
4744 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4745 <kernel-features.h>.
4746 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4747 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4749 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4751 * sysdeps/s390/multiarch/ifunc-resolve.h
4752 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4753 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4754 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4755 Delete macro definition.
4756 (s390_libc_ifunc_init): Rename to
4757 s390_libc_ifunc_expr_stfle_init.
4758 * sysdeps/s390/bzero: Use
4759 s390_libc_ifunc_expr_stfle_init instead of
4760 s390_libc_ifunc_init.
4761 * sysdeps/s390/memcmp.c: Likewise.
4762 * sysdeps/s390/memcpy.c: Likewise.
4763 * sysdeps/s390/mempcpy.c: Likewise.
4764 * sysdeps/s390/memset.c: Likewise.
4766 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4768 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4769 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4771 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4773 * sysdeps/s390/multiarch/Makefile
4774 (sysdep_routines): Remove wmemcmp variants.
4775 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4776 * sysdeps/s390/multiarch/ifunc-impl-list.c
4777 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4778 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4779 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4780 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4781 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4782 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4783 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4784 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4786 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4788 * sysdeps/s390/multiarch/Makefile
4789 (sysdep_routines): Remove wmemset variants.
4790 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4791 * sysdeps/s390/multiarch/ifunc-impl-list.c
4792 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4793 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4794 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4795 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4796 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4797 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4798 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4799 * sysdeps/s390/ifunc-wmemset.h: New file.
4801 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4803 * sysdeps/s390/multiarch/Makefile
4804 (sysdep_routines): Remove wmemchr variants.
4805 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4806 * sysdeps/s390/multiarch/ifunc-impl-list.c
4807 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4808 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4809 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4810 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4811 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4812 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4813 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4814 * sysdeps/s390/ifunc-wmemchr.h: New file.
4816 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4818 * sysdeps/s390/multiarch/Makefile
4819 (sysdep_routines): Remove wcscspn variants.
4820 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4821 * sysdeps/s390/multiarch/ifunc-impl-list.c
4822 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4823 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4824 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4825 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4826 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4827 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4828 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4829 * sysdeps/s390/ifunc-wcscspn.h: New file.
4831 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4833 * sysdeps/s390/multiarch/Makefile
4834 (sysdep_routines): Remove wcspbrk variants.
4835 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4836 * sysdeps/s390/multiarch/ifunc-impl-list.c
4837 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4838 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4839 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4840 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4841 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4842 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4843 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4844 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4846 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4848 * sysdeps/s390/multiarch/Makefile
4849 (sysdep_routines): Remove wcsspn variants.
4850 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4851 * sysdeps/s390/multiarch/ifunc-impl-list.c
4852 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4853 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4854 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4855 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4856 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4857 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4858 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4859 * sysdeps/s390/ifunc-wcsspn.h: New file.
4861 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4863 * sysdeps/s390/multiarch/Makefile
4864 (sysdep_routines): Remove wcsrchr variants.
4865 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4866 * sysdeps/s390/multiarch/ifunc-impl-list.c
4867 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4868 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4869 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4870 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4871 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4872 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4873 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4874 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4876 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4878 * sysdeps/s390/multiarch/Makefile
4879 (sysdep_routines): Remove wcschrnul variants.
4880 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4881 * sysdeps/s390/multiarch/ifunc-impl-list.c
4882 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4883 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4884 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4885 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4886 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4887 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4888 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4889 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4891 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4893 * sysdeps/s390/multiarch/Makefile
4894 (sysdep_routines): Remove wcschr variants.
4895 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4896 * sysdeps/s390/multiarch/ifunc-impl-list.c
4897 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4898 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4899 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4900 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4901 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4902 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4903 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4904 * sysdeps/s390/ifunc-wcschr.h: New file.
4906 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4908 * sysdeps/s390/multiarch/Makefile
4909 (sysdep_routines): Remove wcsncmp variants.
4910 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4911 * sysdeps/s390/multiarch/ifunc-impl-list.c
4912 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4913 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4914 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4915 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4916 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4917 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4918 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4919 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4921 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4923 * sysdeps/s390/multiarch/Makefile
4924 (sysdep_routines): Remove wcscmp variants.
4925 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4926 * sysdeps/s390/multiarch/ifunc-impl-list.c
4927 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4928 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4929 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4930 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4931 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4932 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4933 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4934 * sysdeps/s390/ifunc-wcscmp.h: New file.
4936 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4938 * sysdeps/s390/multiarch/Makefile
4939 (sysdep_routines): Remove wcsncat variants.
4940 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4941 * sysdeps/s390/multiarch/ifunc-impl-list.c
4942 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4943 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4944 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4945 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4946 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4947 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4948 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4949 * sysdeps/s390/ifunc-wcsncat.h: New file.
4951 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4953 * sysdeps/s390/multiarch/Makefile
4954 (sysdep_routines): Remove wcscat variants.
4955 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4956 * sysdeps/s390/multiarch/ifunc-impl-list.c
4957 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4958 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4959 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4960 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4961 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4962 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4963 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4964 * sysdeps/s390/ifunc-wcscat.h: New file.
4966 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4968 * sysdeps/s390/multiarch/Makefile
4969 (sysdep_routines): Remove wcpncpy variants.
4970 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4971 * sysdeps/s390/multiarch/ifunc-impl-list.c
4972 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4973 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4974 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4975 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4976 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4977 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4978 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4979 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4981 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4983 * sysdeps/s390/multiarch/Makefile
4984 (sysdep_routines): Remove wcsncpy variants.
4985 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4986 * sysdeps/s390/multiarch/ifunc-impl-list.c
4987 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4988 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4989 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4990 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4991 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4992 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4993 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4994 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4996 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4998 * sysdeps/s390/multiarch/Makefile
4999 (sysdep_routines): Remove wcpcpy variants.
5000 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5001 * sysdeps/s390/multiarch/ifunc-impl-list.c
5002 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5003 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5004 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5005 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5006 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5007 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5008 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5009 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5011 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5013 * sysdeps/s390/multiarch/Makefile
5014 (sysdep_routines): Remove wcscpy variants.
5015 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5016 * sysdeps/s390/multiarch/ifunc-impl-list.c
5017 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5018 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5019 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5020 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5021 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5022 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5023 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5024 * sysdeps/s390/ifunc-wcscpy.h: New file.
5026 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5028 * sysdeps/s390/multiarch/Makefile
5029 (sysdep_routines): Remove wcsnlen variants.
5030 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5031 * sysdeps/s390/multiarch/ifunc-impl-list.c
5032 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5033 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5034 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5035 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5036 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5037 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5038 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5039 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5041 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5043 * sysdeps/s390/multiarch/Makefile
5044 (sysdep_routines): Remove wcslen variants.
5045 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5046 * sysdeps/s390/multiarch/ifunc-impl-list.c
5047 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5048 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5049 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5050 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5051 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5052 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5053 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5054 * sysdeps/s390/ifunc-wcslen.h: New file.
5056 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5058 * sysdeps/s390/multiarch/Makefile
5059 (sysdep_routines): Remove memrchr variants.
5060 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5061 * sysdeps/s390/multiarch/ifunc-impl-list.c
5062 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5063 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5064 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5065 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5066 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5067 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5068 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5069 * sysdeps/s390/ifunc-memrchr.h: New file.
5071 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5073 * sysdeps/s390/multiarch/Makefile
5074 (sysdep_routines): Remove memccpy variants.
5075 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5076 * sysdeps/s390/multiarch/ifunc-impl-list.c
5077 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5078 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5079 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5080 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5081 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5082 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5083 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5084 * sysdeps/s390/ifunc-memccpy.h: New file.
5086 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5088 * sysdeps/s390/multiarch/Makefile
5089 (sysdep_routines): Remove rawmemchr variants.
5090 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5091 * sysdeps/s390/multiarch/ifunc-impl-list.c
5092 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5093 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5094 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5095 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5096 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5097 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5098 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5099 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5101 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5103 * sysdeps/s390/multiarch/Makefile
5104 (sysdep_routines): Remove memchr variants.
5105 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5106 * sysdeps/s390/multiarch/ifunc-impl-list.c
5107 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5108 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5109 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5110 * sysdeps/s390/multiarch/memchr.c: Move to ...
5111 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5112 * sysdeps/s390/ifunc-memchr.h: New file.
5113 * sysdeps/s390/s390-64/memchr.S: Move to ...
5114 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5115 for 31/64bit and ifunc handling.
5116 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5117 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5118 * sysdeps/s390/s390-32/memchr.S: Likewise.
5120 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5122 * sysdeps/s390/multiarch/Makefile
5123 (sysdep_routines): Remove strcspn variants.
5124 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5125 * sysdeps/s390/multiarch/ifunc-impl-list.c
5126 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5127 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5128 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5129 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5130 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5131 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5132 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5133 * sysdeps/s390/ifunc-strcspn.h: New file.
5135 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5137 * sysdeps/s390/multiarch/Makefile
5138 (sysdep_routines): Remove strpbrk variants.
5139 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5140 * sysdeps/s390/multiarch/ifunc-impl-list.c
5141 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5142 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5143 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5144 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5145 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5146 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5147 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5148 * sysdeps/s390/ifunc-strpbrk.h: New file.
5150 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5152 * sysdeps/s390/multiarch/Makefile
5153 (sysdep_routines): Remove strspn variants.
5154 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5155 * sysdeps/s390/multiarch/ifunc-impl-list.c
5156 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5157 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5158 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5159 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5160 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5161 * sysdeps/s390/multiarch/strspn.c: Move to ...
5162 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5163 * sysdeps/s390/ifunc-strspn.h: New file.
5165 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5167 * sysdeps/s390/multiarch/Makefile
5168 (sysdep_routines): Remove strrchr variants.
5169 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5170 * sysdeps/s390/multiarch/ifunc-impl-list.c
5171 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5172 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5173 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5174 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5175 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5176 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5177 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5178 * sysdeps/s390/ifunc-strrchr.h: New file.
5180 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5182 * sysdeps/s390/multiarch/Makefile
5183 (sysdep_routines): Remove strchrnul variants.
5184 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5185 * sysdeps/s390/multiarch/ifunc-impl-list.c
5186 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5187 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5188 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5189 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5190 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5191 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5192 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5193 * sysdeps/s390/ifunc-strchrnul.h: New file.
5195 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5197 * sysdeps/s390/multiarch/Makefile
5198 (sysdep_routines): Remove strchr variants.
5199 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5200 * sysdeps/s390/multiarch/ifunc-impl-list.c
5201 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5202 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5203 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5204 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5205 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5206 * sysdeps/s390/multiarch/strchr.c: Move to ...
5207 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5208 * sysdeps/s390/ifunc-strchr.h: New file.
5210 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5212 * sysdeps/s390/multiarch/Makefile
5213 (sysdep_routines): Remove strncmp variants.
5214 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5215 * sysdeps/s390/multiarch/ifunc-impl-list.c
5216 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5217 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5218 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5219 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5220 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5221 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5222 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5223 * sysdeps/s390/ifunc-strncmp.h: New file.
5225 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5227 * sysdeps/s390/multiarch/Makefile
5228 (sysdep_routines): Remove strcmp variants.
5229 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5230 * sysdeps/s390/multiarch/ifunc-impl-list.c
5231 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5232 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5233 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5234 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5235 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5236 * sysdeps/s390/ifunc-strcmp.h: New file.
5237 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5238 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5239 for 31/64bit and ifunc handling.
5240 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5241 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5242 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5244 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5246 * sysdeps/s390/multiarch/Makefile
5247 (sysdep_routines): Remove strncat variants.
5248 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5249 * sysdeps/s390/multiarch/ifunc-impl-list.c
5250 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5251 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5252 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5253 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5254 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5255 * sysdeps/s390/multiarch/strncat.c: Move to ...
5256 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5257 * sysdeps/s390/ifunc-strncat.h: New file.
5259 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5261 * sysdeps/s390/multiarch/Makefile
5262 (sysdep_routines): Remove strcat variants.
5263 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5264 * sysdeps/s390/multiarch/ifunc-impl-list.c
5265 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5266 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5267 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5268 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5269 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5270 * sysdeps/s390/multiarch/strcat.c: Move to ...
5271 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5272 * sysdeps/s390/ifunc-strcat.h: New file.
5274 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5276 * sysdeps/s390/multiarch/Makefile
5277 (sysdep_routines): Remove stpncpy variants.
5278 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5279 * sysdeps/s390/multiarch/ifunc-impl-list.c
5280 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5281 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5282 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5283 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5284 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5285 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5286 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5287 * sysdeps/s390/ifunc-stpncpy.h: New file.
5289 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5291 * sysdeps/s390/multiarch/Makefile
5292 (sysdep_routines): Remove strncpy variants.
5293 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5294 * sysdeps/s390/multiarch/ifunc-impl-list.c
5295 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5296 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5297 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5298 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5299 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5300 * sysdeps/s390/ifunc-strncpy.h: New file.
5301 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5302 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5303 and adjust ifunc handling.
5304 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5305 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5306 and adjust ifunc handling.
5307 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5308 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5310 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5312 * sysdeps/s390/multiarch/Makefile
5313 (sysdep_routines): Remove stpcpy variants.
5314 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5315 * sysdeps/s390/multiarch/ifunc-impl-list.c
5316 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5317 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5318 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5319 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5320 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5321 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5322 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5323 * sysdeps/s390/ifunc-stpcpy.h: New file.
5325 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5327 * sysdeps/s390/multiarch/Makefile
5328 (sysdep_routines): Remove strcpy variants.
5329 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5330 * sysdeps/s390/multiarch/ifunc-impl-list.c
5331 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5332 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5333 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5334 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5335 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5336 * sysdeps/s390/ifunc-strcpy.h: New file.
5337 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5338 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5339 for 31/64bit and ifunc handling.
5340 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5341 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5342 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5344 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5346 * sysdeps/s390/multiarch/Makefile
5347 (sysdep_routines): Remove strnlen variants.
5348 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5349 * sysdeps/s390/multiarch/ifunc-impl-list.c
5350 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5351 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5352 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5353 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5354 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5355 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5356 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5357 * sysdeps/s390/ifunc-strnlen.h: New file.
5359 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5361 * sysdeps/s390/multiarch/Makefile
5362 (sysdep_routines): Remove strlen variants.
5363 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5364 * sysdeps/s390/multiarch/ifunc-impl-list.c
5365 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5366 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5367 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5368 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5369 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5370 * sysdeps/s390/multiarch/strlen.c: Move to ...
5371 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5372 * sysdeps/s390/ifunc-strlen.h: New file.
5374 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5376 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5377 * sysdeps/s390/multiarch/ifunc-impl-list.c
5378 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5379 * sysdeps/s390/ifunc-memmem.h: New file.
5380 * sysdeps/s390/memmem.c: Likewise.
5381 * sysdeps/s390/memmem-c.c: Likewise.
5382 * sysdeps/s390/memmem-vx.c: Likewise.
5384 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5386 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5387 * sysdeps/s390/multiarch/ifunc-impl-list.c
5388 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5389 * sysdeps/s390/ifunc-strstr.h: New file.
5390 * sysdeps/s390/strstr.c: Likewise.
5391 * sysdeps/s390/strstr-c.c: Likewise.
5392 * sysdeps/s390/strstr-vx.c: Likewise.
5394 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5396 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5397 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5398 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5399 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5401 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5402 * sysdeps/s390/memmove-c.c: New file.
5403 * sysdeps/s390/memmove.c: Likewise.
5404 * sysdeps/s390/multiarch/ifunc-impl-list.c
5405 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5407 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5409 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5410 * sysdeps/s390/configure.ac: Add check for z13 support.
5411 * sysdeps/s390/configure: Regenerated.
5413 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5415 * sysdeps/s390/memcopy.h: New file.
5417 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5419 * sysdeps/s390/s390-32/bcopy.S: Remove.
5420 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5422 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5424 * sysdeps/s390/ifunc-memcpy.h: New File.
5425 * sysdeps/s390/memcpy.S: Move to ...
5426 * sysdeps/s390/memcpy-z900.S ... here.
5427 Move implementations from memcpy-s390x.s to here.
5428 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5429 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5430 Remove memcpy/mempcpy variants.
5431 * sysdeps/s390/Makefile (sysdep_routines):
5432 Add memcpy/mempcpy variants.
5433 * sysdeps/s390/multiarch/ifunc-impl-list.c
5434 (__libc_ifunc_impl_list): Adjust ifunc variants for
5436 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5438 * sysdeps/s390/memcpy.c: ... here.
5439 Adjust ifunc variants for memcpy.
5440 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5441 * sysdeps/s390/mempcpy.c: ... here.
5442 Adjust ifunc variants for mempcpy.
5443 * sysdeps/s390/mempcpy.S: Delete file.
5445 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5447 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5448 * sysdeps/s390/memcpy.S: ... here.
5449 Adjust to be usable for 31/64bit.
5450 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5451 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5452 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5453 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5454 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5455 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5456 Adjust to be usable for 31/64bit.
5457 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5458 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5459 * sysdeps/s390/multiarch/memcpy.c: ... here.
5460 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5462 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5464 * sysdeps/s390/ifunc-memcmp.h: New File.
5465 * sysdeps/s390/memcmp.S: Move to ...
5466 * sysdeps/s390/memcmp-z900.S ... here.
5467 Move implementations from memcmp-s390x.s to here.
5468 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5469 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5470 Remove memcmp variants.
5471 * sysdeps/s390/Makefile (sysdep_routines):
5472 Add memcmp variants.
5473 * sysdeps/s390/multiarch/ifunc-impl-list.c
5474 (__libc_ifunc_impl_list): Adjust ifunc variants for
5476 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5478 * sysdeps/s390/memcmp.c: ... here.
5479 Adjust ifunc variants for memcmp.
5481 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5483 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5484 * sysdeps/s390/memcmp.S: ... here.
5485 Adjust to be usable for 31/64bit.
5486 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5487 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5488 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5490 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5491 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5492 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5493 Adjust to be usable for 31/64bit.
5494 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5495 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5496 * sysdeps/s390/multiarch/memcmp.c: ... here.
5497 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5499 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5501 * sysdeps/s390/s390-32/bzero.S: Delete file.
5502 * sysdeps/s390/s390-64/bzero.S: Likewise.
5503 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5504 * sysdeps/s390/bzero.c: New file.
5505 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5506 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5507 * sysdeps/s390/multiarch/ifunc-impl-list.c
5508 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5510 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5512 * sysdeps/s390/ifunc-memset.h: New File.
5513 * sysdeps/s390/memset.S: Move to ...
5514 * sysdeps/s390/memset-z900.S ... here.
5515 Move implementations from memset-s390x.s to here.
5516 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5517 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5518 Remove memset variants.
5519 * sysdeps/s390/Makefile (sysdep_routines):
5520 Add memset variants.
5521 * sysdeps/s390/multiarch/ifunc-impl-list.c
5522 (__libc_ifunc_impl_list): Adjust ifunc variants for
5524 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5526 * sysdeps/s390/memset.c: ... here.
5527 Adjust ifunc variants for memset.
5529 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5531 * sysdeps/s390/s390-64/memset.S: Move to ...
5532 * sysdeps/s390/memset.S: ... here.
5533 Adjust to be usable for 31/64bit.
5534 * sysdeps/s390/s390-32/memset.S: Delete File.
5535 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5536 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5538 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5539 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5540 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5541 Adjust to be usable for 31/64bit.
5542 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5543 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5544 * sysdeps/s390/multiarch/memset.c: ... here.
5545 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5547 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5549 * sysdeps/s390/multiarch/ifunc-resolve.h
5550 (s390_libc_ifunc_init, s390_libc_ifunc,
5551 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5553 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5555 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5556 * sysdeps/s390/configure.ac: Add check for z10 support.
5557 * sysdeps/s390/configure: Regenerated.
5559 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5561 * sysdeps/i386/atomic-machine.h: Merged with ...
5562 * sysdeps/x86_64/atomic-machine.h: To ...
5563 * sysdeps/x86/atomic-machine.h: This. New file.
5565 2018-12-18 Florian Weimer <fweimer@redhat.com>
5567 Rewrite locale/gen-translit.pl in Python.
5568 * locale/Makefile (generated): Add C-translit.h.
5569 (before-compile): Add $(objpfx)C-translit.h.
5570 (C-translit.h): Move to $(objpfx). Create target directory.
5571 Build using Python script.
5572 * locale/gen-translit.py: New file.
5573 * locale/gen-translit.pl: Remove file.
5574 * locale/C-translit.h.in: Change comment character to '#' for
5575 easier parsing without a C preprocessor.
5576 * locale/C-translit.h: Remove generated file.
5577 * manual/install.texi (Tools for Compilation): Do not mention
5579 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5580 Remove locale/C-translit.h.
5581 * scripts/update-copyrights: Likewise.
5582 * INSTALL: Regenerate.
5584 2018-12-18 Florian Weimer <fweimer@redhat.com>
5587 * localedata/locales/bi_VU: Remove executable bit from file.
5589 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
5592 (__localtime64): Add.
5593 * manual/maint.texi: Document Y2038 symbol handling.
5595 (__localtime64): Add.
5596 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
5598 2018-12-17 Joseph Myers <joseph@codesourcery.com>
5600 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5603 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5604 to allow extra macros from first or second sources.
5605 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5606 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5607 (tests-special): Add $(objpfx)tst-mman-consts.out.
5608 ($(objpfx)tst-mman-consts.out): New makefile target.
5610 2018-12-17 Mao Han <han_mao@c-sky.com>
5612 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5613 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5614 without stat64 system call support.
5615 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5616 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5617 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5618 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5619 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5620 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5621 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5622 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5623 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5624 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5625 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5627 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5629 regex: fix storage-exhaustion error
5631 * posix/regexec.c (get_subexp):
5632 Do not continue if storage is exhausted.
5634 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
5636 regex: fix heap-use-after-free error
5638 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5639 https://debbugs.gnu.org/32592
5640 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5641 call extend_buffers which reallocates the re_string_t internal buffer.
5642 Local variable 'buf' was not updated in such case, resulting in
5644 * posix/regexec.c (get_subexp): Update 'buf' after call to
5647 2018-12-15 Florian Weimer <fweimer@redhat.com>
5649 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5650 (minimum_stride_size): Use it.
5651 (support_blob_repeat_allocate): Likewise.
5653 2018-12-14 Joseph Myers <joseph@codesourcery.com>
5655 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5660 2018-12-14 Florian Weimer <fweimer@redhat.com>
5662 * manual/process.texi (Process Creation Concepts): Remove
5663 documentation of process (ID) lifetime. List more process
5664 creation functions. Reference Process Identification section.
5665 (Process Identification): Add information about process ID
5666 lifetime. Describe Linux thread/task IDs.
5667 * manual/signal.texi (Signaling Another Process): Mention that the
5668 signal is always sent to the process.
5670 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5672 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5673 and tst-ldbl-efgcvt.
5674 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5675 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5676 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5677 (fcvt_tests, output_error, output_r_error, do_test): Use the
5678 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5679 select the type of floating-point variables and arguments; to
5680 produce extra tests for double and conversion specifiers for
5681 printf; and to set the names of called functions.
5682 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5683 in tst-efgcvt-template.c.
5684 * misc/tst-ldbl-efgcvt.c: Likewise.
5686 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
5688 * nss/Makefile (tst-nss-test3.out): New rule.
5690 2018-12-13 Joseph Myers <joseph@codesourcery.com>
5692 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5695 2018-12-13 fanjinke <fanjinke@hygon.cn>
5697 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5700 2018-12-13 Andreas Schwab <schwab@suse.de>
5703 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
5704 (__pthread_rwlock_rdlock_full): Update expected value for
5705 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5706 * nptl/tst-rwlock-pwn.c: New file.
5707 * nptl/Makefile (tests): Add tst-rwlock-pwn.
5709 2018-12-12 Joseph Myers <joseph@codesourcery.com>
5711 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5714 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5716 * benchtests/scripts/compare_bench.py (do_compare): write to
5717 stderr in casestat is not present.
5718 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5719 stderr in case timings field is not present. Also string showing
5720 the output filename goes into the stderr.
5722 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5724 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5725 and ZeroDivisorError exceptions.
5726 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5727 argument to loop through user provided statistics.
5728 * benchtests/scripts/compare_bench.py (main): Include the --stats
5731 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5733 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5736 2018-12-12 Florian Weimer <fweimer@redhat.com>
5738 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5739 clause to copyright header.
5741 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5744 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5745 registers saved in the stack frame.
5746 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5747 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5749 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5751 * include/bits/monetary-ldbl.h: New file.
5752 * include/bits/printf-ldbl.h: Likewise.
5753 * include/bits/stdio-ldbl.h: Likewise.
5754 * include/bits/stdlib-ldbl.h: Likewise.
5755 * include/bits/syslog-ldbl.h: Likewise.
5756 * include/bits/wchar-ldbl.h: Likewise.
5758 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5760 * libio/libio.h: Remove redirection for _IO_vfprintf.
5762 2018-12-11 Andreas Schwab <schwab@suse.de>
5764 * Makerules: Remove all references to abilist-pattern.
5765 (update-all-abi): Simplify find expression.
5767 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5770 * math/auto-libm-test-in: Add new test case.
5771 * math/auto-libm-test-out-pow: Regenerated.
5772 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5774 2018-12-10 DJ Delorie <dj@redhat.com>
5777 * support/test-container.c: Move postclean step to before we
5780 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5782 * scripts/gen-as-const.py (main): Handle --python option.
5783 * scripts/gen-py-const.awk: Remove.
5784 * Makerules (py-const-script): Use gen-as-const.py.
5785 ($(py-const)): Likewise.
5786 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5787 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5788 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5789 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5790 ~PTHREAD_MUTEX_NO_ELISION_NP.
5791 * manual/README.pretty-printers: Update reference to
5794 * scripts/glibcextract.py: New file.
5795 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5796 or tempfile. Import glibcexctract.
5797 (compute_c_consts): Remove. Moved to glibcextract.py.
5798 (gen_test): Update reference to compute_c_consts.
5800 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5801 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5802 * sysdeps/unix/sysv/linux/Makefile
5803 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5804 Redirect stderr as well as stdout.
5806 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5809 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5810 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5811 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5812 ALWAYS_USE_VSYSCALL.
5813 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5814 ALWAYS_USE_VSYSCALL.
5815 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5816 ALWAYS_USE_VSYSCALL.
5818 2018-12-10 Florian Weimer <fweimer@redhat.com>
5821 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5822 offset instead of count for clarity. Fix typo in comment.
5823 (__old_getdents64): Keep track of previous offset. Use it to call
5825 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5826 that d_off is never zero.
5828 2018-12-10 Andreas Schwab <schwab@suse.de>
5830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5831 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5833 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5834 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5836 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5838 * timezone/private.h: Update from tzcode 2018g.
5839 * timezone/tzfile.h: Likewise.
5840 * timezone/tzselect.ksh: Likewise.
5841 * timezone/zdump.c: Likewise.
5842 * timezone/zic.c: Likewise.
5844 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5847 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5848 (do_test): Adjust buffer size and fix format.
5850 2018-12-07 DJ Delorie <dj@redhat.com>
5853 * malloc/tst-tcfree3.c: New.
5854 * malloc/Makefile: Add it.
5856 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5858 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5860 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5862 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5863 used as a mask for the mode argument of __vfscanf_internal and
5864 __vfwscanf_internal.
5865 * stdio-common/vfscanf-internal.c
5866 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5867 (__strtof128_internal): Define to __wcstof128_internal.
5868 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5869 __strtof128_internal or __wcstof128_internal when the format of
5870 long double is the same as _Float128.
5872 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5874 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5875 * posix/confstr.c (confstr): Rename to __confstr.
5876 (__confstr): Add hidden def.
5877 (confstr): Add weak alias for __confstr.
5878 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5881 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5883 * NEWS: Mention getcpu.
5884 * include/sched.h (__getcpu): New libc_hidden_proto.
5885 * manual/resource.texi: Document getcpu.
5886 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5887 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5888 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5889 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5890 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5891 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5892 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5893 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5894 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5895 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5896 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5897 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5898 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5900 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5901 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5902 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5911 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5912 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5913 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5914 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5915 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5916 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5917 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5918 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5919 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5920 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5921 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5924 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5926 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5928 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5930 2018-12-07 Florian Weimer <fweimer@redhat.com>
5933 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5934 * posix/Versions (GLIBC_2.29): Export
5935 posix_spawn_file_actions_addfchdir_np.
5936 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5937 * posix/spawn_faction_destroy.c
5938 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5939 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5940 and the field action.fchdir_action.
5941 * posix/tst-spawn-chdir.c (add_chdir): New function.
5942 (do_test): Add do_fchdir loop. Call add_chdir.
5943 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5944 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5945 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5946 posix_spawn_file_actions_addfchdir_np.
5947 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5949 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5951 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5952 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5954 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5956 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5958 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5960 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5962 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5964 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5965 (GLIBC_2.29): Likewise.
5966 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5967 (GLIBC_2.29): Likewise.
5968 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5969 (GLIBC_2.29): Likewise.
5970 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5971 (GLIBC_2.29): Likewise.
5972 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5975 (GLIBC_2.29): Likewise.
5976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5977 (GLIBC_2.29): Likewise.
5978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5979 (GLIBC_2.29): Likewise.
5980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5981 (GLIBC_2.29): Likewise.
5982 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5984 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5986 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5988 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5989 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5991 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5993 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5995 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5998 2018-12-06 Joseph Myers <joseph@codesourcery.com>
6000 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6001 trailing whitespace removed.
6002 * scripts/config.guess: Update to version 2018-11-28.
6003 * scripts/config.sub: Update to version 2018-11-28.
6004 * scripts/install-sh: Update to version 2018-03-11.20.
6005 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6006 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6008 2018-12-07 Florian Weimer <fweimer@redhat.com>
6012 * inet/tst-if_index-long.c: New file.
6013 * inet/Makefile (tests): Add tst-if_index-long.
6015 2018-12-07 Florian Weimer <fweimer@redhat.com>
6017 * support/check.h (support_record_failure_is_failed): Declare.
6018 * support/descriptors.h: New file.
6019 * support/support_descriptors.c: Likewise.
6020 * support/tst-support_descriptors.c: Likewise.
6021 * support/support_record_failure.c
6022 (support_record_failure_is_failed): New function.
6023 * support/Makefile (libsupport-routines): Add support_descriptors.
6024 (tests): Add tst-support_descriptors.
6026 2018-12-05 Zack Weinberg <zackw@panix.com>
6027 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6029 * stdio-common/vfprintf-internal.c
6030 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6031 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6032 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6033 and __no_long_double.
6034 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6035 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6036 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6037 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6038 and __nldbl_*syslog* functions.
6039 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6040 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6041 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6042 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6043 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6044 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6045 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6046 (__nldbl_vwprintf, __nldbl_wprintf):
6047 Directly call the appropriate __v*printf_internal routine, passing
6048 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6050 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6051 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6052 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6053 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6054 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6055 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6056 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6057 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6058 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6059 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6060 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6061 (__nldbl_syslog, __nldbl_vsyslog):
6062 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6063 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6065 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6068 2018-12-05 Zack Weinberg <zackw@panix.com>
6069 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6072 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6073 Moved here from debug/vsprintf_chk.c.
6074 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6075 and completion logic for the strfile to match exactly what
6076 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6077 _IO_str_init_static_internal instead of maxlen-1.
6078 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6079 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6080 __vsprintf_internal.
6082 * debug/vsprintf_chk.c (__vsprintf_chk)
6083 * debug/sprintf_chk.c (__sprintf_chk):
6084 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6085 'flags' argument is positive, and slen as maxlen. No need to lock
6086 the FILE and/or construct a temporary FILE. Minimize and normalize
6087 header inclusions and variable names. Do not libc_hidden_def anything.
6089 * debug/asprintf_chk.c (__asprintf_chk)
6090 * debug/dprintf_chk.c (__dprintf_chk)
6091 * debug/fprintf_chk.c (__fprintf_chk)
6092 * debug/fwprintf_chk.c (__fwprintf_chk)
6093 * debug/printf_chk.c (__printf_chk)
6094 * debug/snprintf_chk.c (__snprintf_chk)
6095 * debug/swprintf_chk.c (__swprintf_chk)
6096 * debug/vasprintf_chk.c (__vasprintf_chk)
6097 * debug/vdprintf_chk.c (__vdprintf_chk)
6098 * debug/vfprintf_chk.c (__vfprintf_chk)
6099 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6100 * debug/vprintf_chk.c (__vprintf_chk)
6101 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6102 * debug/vswprintf_chk.c (__vswprintf_chk)
6103 * debug/vwprintf_chk.c (__vwprintf_chk)
6104 * debug/wprintf_chk.c (__wprintf_chk):
6105 Directly call the corresponding vxxprintf_internal function, passing
6106 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6107 the FILE and/or construct a temporary FILE. Minimize and normalize
6108 header inclusions and variable names. Do not libc_hidden_def anything.
6110 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6111 __obstack_vprintf_internal.
6112 (__obstack_vprintf_chk): Convert into a wrapper that calls
6113 __obstack_vprintf_internal (these two functions already had the
6114 same code) and move to new file...
6115 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6117 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6118 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6119 * debug/Makefile (routines): Add vobprintf_chk.
6121 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6122 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6123 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6124 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6125 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6126 (__nldbl___obstack_vfprintf_chk):
6127 Directly call the corresponding vxxprintf_internal function,
6128 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6129 duplicate comparison of slen with 0 or maxlen from the corresponding
6130 non-__nldbl function.
6132 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6133 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6134 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6135 Remove libc_hidden_proto.
6137 * stdio-common/vfprintf-internal.c
6138 (__vfprintf_internal, __vfwprintf_internal):
6139 Do not check _IO_FLAGS2_FORTIFY.
6140 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6141 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6142 a comment explaining why it has the maxlen argument.
6143 (_IO_acquire_lock_clear_flags2_fct): Remove.
6144 (_IO_acquire_lock_clear_flags2): Remove.
6145 (_IO_release_lock): Remove conditional statement which will
6147 (_IO_acquire_lock): Remove variable which is now unused.
6148 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6149 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6151 * stdio-common/Makefile (tests): Add tst-bz11319 and
6152 tst-bz11319-fortify2.
6153 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6154 * stdio-common/tst-bz11319-fortify2.c: New file.
6155 * stdio-common/tst-bz11319.c: Likewise.
6157 2018-12-05 Zack Weinberg <zackw@panix.com>
6158 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6160 * misc/syslog.c: Include libioP.h, not iolibio.h.
6161 (__vsyslog_internal): New function with the former body of
6162 __vsyslog_chk; takes mode_flags argument same as
6163 __v*printf_internal. Call __vfprintf_internal directly.
6165 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6166 Remove libc_hidden_def.
6167 (__syslog, __syslog_chk): Use __vsyslog_internal.
6168 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6170 * include/sys/syslog.h: Add multiple inclusion guard.
6171 Add prototype for __vsyslog_internal.
6172 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6174 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6175 Use __vsyslog_internal.
6177 2018-12-05 Zack Weinberg <zackw@panix.com>
6178 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6180 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6181 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6182 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6184 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6185 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6187 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6188 Include wctype.h here if COMPILE_WPRINTF is defined.
6189 Define __vfprintf_internal or __vfwprintf_internal, depending
6191 Temporarily, on entry to this function, update mode_flags
6192 according to the environmental settings corresponding to
6193 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6194 Throughout, check mode_flags instead of __ldbl_is_dbl and
6195 _IO_FLAGS2_FORTIFY on the destination FILE.
6196 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6197 Include vfprintf-internal.c. Don't include wctype.h.
6198 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6199 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6201 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6202 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6204 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6206 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6207 and add mode_flags argument; use __vfprintf_internal.
6208 (__vdprintf): New function. Alias vdprintf to this.
6209 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6210 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6211 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6212 (__obstack_printf): Use __obstack_printf_internal.
6213 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6214 public aliases __vsnprintf and vsnprintf.
6215 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6217 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6218 public aliases _IO_vsprintf and vsprintf.
6219 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6220 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6221 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6222 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6223 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6225 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6226 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6227 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6228 * stdio-common/printf.c: Use __vfprintf_internal.
6230 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6231 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6232 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6234 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6235 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6236 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6237 __vfwprintf_internal.
6239 * libio/libio.h: Remove libc_hidden_proto and declaration for
6241 Remove declaration of _IO_vfwprintf.
6242 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6244 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6246 * include/stdio.h: Add prototype for __vasprintf.
6247 (__vsnprintf): Remove declaration, because there are no more
6249 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6250 declaration, because there are no more internal calls.
6252 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6253 __vsnprintf_internal, instead of _IO_vsnprintf.
6254 * argp/argp-help.c (__argp_error, __argp_failure): Use
6255 __vasprintf_internal, instead of _IO_vasprintf.
6256 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6257 redefine, because there are no more internal calls.
6259 2018-12-05 Zack Weinberg <zackw@panix.com>
6260 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6262 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6263 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6264 Include libio/strfile.h instead of libioP.h.
6265 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6266 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6267 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6268 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6269 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6270 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6271 necessary. Do not set __no_long_double. Normalize variable names.
6272 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6273 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6274 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6275 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6276 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6277 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6278 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6279 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6280 Do not set __no_long_double. Normalize variable names.
6282 2018-12-05 Zack Weinberg <zackw@panix.com>
6283 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6285 * stdio-common/isoc99_scanf.c
6286 * stdio-common/isoc99_fscanf.c
6287 * stdio-common/isoc99_sscanf.c
6288 * stdio-common/isoc99_vscanf.c
6289 * stdio-common/isoc99_vfscanf.c
6290 * stdio-common/isoc99_vsscanf.c
6291 * wcsmbs/isoc99_wscanf.c
6292 * wcsmbs/isoc99_fwscanf.c
6293 * wcsmbs/isoc99_swscanf.c
6294 * wcsmbs/isoc99_vwscanf.c
6295 * wcsmbs/isoc99_vfwscanf.c
6296 * wcsmbs/isoc99_vswscanf.c:
6297 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6298 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6299 No need to lock and unlock the FILE passed to that function.
6301 * stdio-common/vfscanf-internal.c
6302 (__vfscanf_internal, __vfwscanf_internal):
6303 Don't look at _IO_FLAGS2_SCANF_STD.
6304 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6305 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6306 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6308 2018-12-05 Zack Weinberg <zackw@panix.com>
6309 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6311 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6312 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6313 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6314 * libio/strfile.h: Add multiple inclusion guard.
6315 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6317 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6318 consistency with the other version of this file.
6319 (ldbl_compat_symbol): New macro.
6320 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6323 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6324 Define __vfscanf_internal or __vfwscanf_internal, depending on
6325 COMPILE_WSCANF; don't define any other public symbols.
6326 Remove errval and code to set errp.
6327 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6328 as the mode_flags argument.
6329 (encode_error, conv_error, input_error): Don't set errval.
6330 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6331 Include vfscanf-internal.c.
6332 * stdio-common/vfscanf.c: New file defining the public entry
6333 point vfscanf, which calls __vfscanf_internal.
6334 * stdio-common/vfwscanf.c: New file defining the public entry
6335 point vfwscanf, which calls __vfwscanf_internal.
6337 * stdio-common/iovfscanf.c: New file.
6338 * stdio-common/iovfwscanf.c: Likewise.
6340 * stdio-common/Makefile (routines): Add vfscanf-internal,
6341 vfwscanf-internal, iovfscanf, iovfwscanf.
6342 * stdio-common/Versions: Mention GLIBC_2.29, so that
6343 it can be used in SHLIB_COMPAT expressions.
6344 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6345 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6346 Call __vfscanf_internal, instead of _IO_vfscanf.
6347 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6349 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6352 * libio/iovsscanf.c: Clean up includes, when possible. Use
6353 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6354 __vfscanf_internal or __vfwscanf_internal directly.
6355 * libio/iovswscanf.c: Likewise.
6356 * libio/swscanf.c: Likewise.
6357 * libio/vscanf.c: Likewise.
6358 * libio/vwscanf.c: Likewise.
6359 * libio/wscanf.c: Likewise.
6360 * stdio-common/isoc99_fscanf.c: Likewise.
6361 * stdio-common/isoc99_scanf.c: Likewise.
6362 * stdio-common/isoc99_sscanf.c: Likewise.
6363 * stdio-common/isoc99_vfscanf.c: Likewise.
6364 * stdio-common/isoc99_vscanf.c: Likewise.
6365 * stdio-common/isoc99_vsscanf.c: Likewise.
6366 * stdio-common/scanf.c: Likewise.
6367 * stdio-common/sscanf.c: Likewise.
6368 * wcsmbs/isoc99_fwscanf.c: Likewise.
6369 * wcsmbs/isoc99_swscanf.c: Likewise.
6370 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6371 * wcsmbs/isoc99_vswscanf.c: Likewise.
6372 * wcsmbs/isoc99_vwscanf.c: Likewise.
6373 * wcsmbs/isoc99_wscanf.c: Likewise.
6375 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
6378 (__tz_compute): Replace time_t with __time64_t.
6379 (__tz_convert): Replace time_t* with __time64_t.
6380 (__offtime): Replace time_t* with __time64_t.
6382 (__gmtime_r): Adjust call to __tz_convert.
6385 (__localtime_r): Likewise.
6386 (localtime): Likewise.
6387 * time/offtime.c: Replace time_t with __time64_t.
6388 * time/tzset.c: Likewise.
6390 2018-12-04 Joseph Myers <joseph@codesourcery.com>
6392 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6393 dynamic linker unless [$(run-built-tests) = yes].
6395 2018-12-03 DJ Delorie <dj@delorie.com>
6397 * support/test-container.c (check_for_unshare_hints): New.
6398 (main): Call it if unshare fails. Add support for "su" scriptlet
6401 2018-12-03 Joseph Myers <joseph@codesourcery.com>
6403 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6404 'START' to indicate that start text should be output.
6405 (gen_test): Likewise.
6406 (main): Generate 'START' for first symbol or '--' line, or at end
6407 of input if not previously generated.
6409 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6412 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6413 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6414 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6415 ALWAYS_USE_VSYSCALL.
6417 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6420 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6423 2018-12-03 Carlos O'Donell <carlos@redhat.com>
6426 * locale/programs/localedef.c: Declare boolean hard_links default true.
6427 (options): Add --no-hard-links option.
6428 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6429 * locale/programs/localedef.h: Declare prototype for hard_links.
6430 * locale/programs/locfile.c (write_locale_data): Don't use hard
6431 links if hard_links is false.
6433 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6435 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6437 (__cache_sysconf): Likewise.
6438 (init_cacheinfo): Likewise.
6439 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6440 populate COMMON_CPUID_INDEX_80000007 and
6441 COMMON_CPUID_INDEX_80000008.
6442 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6443 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6444 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6445 (init_cpu_features): Use _Static_assert on
6446 index_arch_Fast_Unaligned_Load.
6447 __get_cpuid_registers and __get_arch_feature. Updated for
6448 cpu_features_basic. Set stepping in cpu_features.
6449 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6450 (FEATURE_INDEX_2): New.
6451 (FEATURE_INDEX_MAX): Changed to enum.
6452 (COMMON_CPUID_INDEX_D_ECX_1): New.
6453 (COMMON_CPUID_INDEX_80000007): Likewise.
6454 (COMMON_CPUID_INDEX_80000008): Likewise.
6455 (cpuid_registers): Likewise.
6456 (cpu_features_basic): Likewise.
6457 (CPU_FEATURE_USABLE): Likewise.
6458 (bit_arch_XXX_Usable): Likewise.
6459 (cpu_features): Use cpuid_registers and cpu_features_basic.
6460 (bit_arch_XXX): Reweritten.
6461 (bit_cpu_XXX): Likewise.
6462 (index_cpu_XXX): Likewise.
6463 (reg_XXX): Likewise.
6464 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6466 (CHECK_CPU_FEATURE): New.
6467 (CHECK_CPU_FEATURE_USABLE): Likewise.
6468 (cpu_kinds): Likewise.
6469 (do_test): Print vendor, family, model and stepping. Check
6470 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6471 (TEST_FUNCTION): Removed.
6472 Include <support/test-driver.c> instead of
6473 "../../test-skeleton.c".
6474 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6475 Check POPCNT instead of POPCOUNT.
6476 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6478 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6480 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6481 there is no element in `consts'.
6483 2018-12-01 Florian Weimer <fweimer@redhat.com>
6485 * support/support_capture_subprocess.c
6486 (support_capture_subprocess): Check that pipe descriptors have
6487 expected values. Close original pipe descriptors in subprocess.
6489 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6492 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6493 attr with __pthread_default_barrierattr.
6494 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6495 attr with __pthread_default_condattr.
6496 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6497 attr with __pthread_default_mutexattr.
6498 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6499 attr with __pthread_default_rwlockattr.
6501 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6503 * manual/tunables.texi (POSIX Thread Tunables): New node.
6504 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6505 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6506 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6507 __pthread_tunables_init.
6508 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6509 (max_adaptive_count): Define.
6510 * nptl/pthread_mutex_conf.c: New file.
6511 * nptl/pthread_mutex_conf.h: New file.
6512 * sysdeps/generic/adaptive_spin_count.h: New file.
6513 * sysdeps/nptl/dl-tunables.list: New file.
6514 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6515 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6516 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6519 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6522 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6523 * stdlib/on_exit.c (__on_exit): Likewise.
6524 * stdlib/Makefile (tests): Add tst-bz20544.
6525 * stdlib/tst-bz20544.c: New test.
6527 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6530 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6531 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6534 2018-11-30 Florian Weimer <fweimer@redhat.com>
6536 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6537 Extend error logging.
6538 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6541 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6543 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6544 __sigismember instead of sigismember.
6545 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6546 cancel_handler): New definitions.
6547 (do_system): Use posix_spawn instead of fork and execl and remove
6549 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6550 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6551 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6552 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6553 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6554 * sysdeps/unix/sysv/linux/system.c: Likewise.
6558 * NEWS: Add new semantic for atfork with popen and system.
6559 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6562 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6565 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6566 modification order when accessing reloc_result->addr.
6567 * include/link.h (reloc_result): Add field init.
6568 * nptl/Makefile (tests): Add tst-audit-threads.
6569 (modules-names): Add tst-audit-threads-mod1 and
6570 tst-audit-threads-mod2.
6571 Add rules to build tst-audit-threads.
6572 * nptl/tst-audit-threads-mod1.c: New file.
6573 * nptl/tst-audit-threads-mod2.c: Likewise.
6574 * nptl/tst-audit-threads.c: Likewise.
6575 * nptl/tst-audit-threads.h: Likewise.
6577 2018-11-30 Joseph Myers <joseph@codesourcery.com>
6579 * scripts/gen-as-const.py: New file.
6580 * scripts/gen-as-const.awk: Remove.
6581 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6583 ($(objpfx)test-as-const-%.c): Likewise.
6585 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6587 * elf/dl-exception.c: Include <_itoa.h>.
6589 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6591 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6592 returned by __f_setlk.
6594 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6595 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6597 * elf/Makefile (tests-internal): Add tst-create_format1.
6598 * elf/dl-exception.c (_dl_exception_create_format): Support
6600 * elf/tst-create_format1.c: New file.
6602 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6604 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6605 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6607 * argp/argp-help.c (__argp_failure): Likewise.
6609 2018-11-29 Mao Han <han_mao@c-sky.com>
6611 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6612 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6613 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6614 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6615 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6616 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6617 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6618 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6619 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6620 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6621 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6622 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6623 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6624 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6625 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6626 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6627 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6628 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6629 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6630 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6631 (R_CKCORE_TLS_TPOFF32): New defines.
6633 2018-11-29 Florian Weimer <fweimer@redhat.com>
6635 * posix/Makefile (before-compile): Remove testcases.h and
6637 (generated): Add testcases.h and ptestcases.h.
6638 (testcases.h, ptestcases.h): Move to $(objpfx).
6639 (runtests.o): Add dependency on testcases.h.
6640 (runptests.o): Add dependency on ptestcases.h.
6641 * posix/testcases.h, posix/ptestcases.h: Remove files.
6642 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6643 not touch posix/testcases.h and posix/ptestcases.h.
6645 2018-11-28 Florian Weimer <fweimer@redhat.com>
6647 support: Add signal support to support_capture_subprocess_check.
6648 * support/capture_subprocess.h (support_capture_subprocess_check):
6649 Adjust comment and rename parameter.
6650 * support/support_capture_subprocess_check.c
6651 (print_actual_status): New function.
6652 (support_capture_subprocess_check): Support negative
6653 status_or_signal. Call print_actual_status.
6654 * support/tst-support_capture_subprocess.c (do_test): Call
6655 support_capture_subprocess_check.
6656 * libio/tst-vtables-common.c (termination_status)
6657 (init_termination_status): Remove.
6658 (check_for_termination): Adjust support_capture_subprocess_check
6660 (do_test): Remove call to init_termination_status.
6662 2018-11-28 Joseph Myers <joseph@codesourcery.com>
6664 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6665 source directory instead of a copy.
6666 (CommandList.create_copy_dir): Remove.
6668 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
6670 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6672 2018-11-28 Florian Weimer <fweimer@redhat.com>
6674 * support/support.h (support_quote_string): Do not use str
6677 2018-11-27 Joseph Myers <joseph@codesourcery.com>
6679 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6680 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6682 2018-11-27 Florian Weimer <fweimer@redhat.com>
6684 * support/support.h (support_quote_string): Declare.
6685 * support/support_quote_string.c: New file.
6686 * support/tst-support_quote_string.c: Likewise.
6687 * support/Makefile (libsupport-routines): Add
6688 support_quote_string.
6689 (tests): Add tst-support_quote_string.
6691 2018-11-27 Florian Weimer <fweimer@redhat.com>
6695 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6696 descriptor leak in case of ENODEV error.
6698 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6701 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6702 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6705 2018-11-26 Carlos O'Donell <carlos@redhat.com>
6707 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6708 Error for unknown lines.
6710 2018-11-26 Joseph Myers <joseph@codesourcery.com>
6712 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6713 Touch additional files.
6715 2018-11-26 Florian Weimer <fweimer@redhat.com>
6718 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6721 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6724 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6725 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6726 SHARED. Include sysdep.h.
6727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6728 ALWAYS_USE_VSYSCALL.
6729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6730 ALWAYS_USE_VSYSCALL.
6732 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6735 * nptl/Makefile (tests-static): Add tst-cond11-static.
6737 * nptl/tst-cond11-static.c: New File.
6738 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6739 tst-affinity-static.
6741 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6743 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6744 (USE_VSYSCALL): Likewise.
6745 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6746 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6748 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6753 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6756 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6757 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6760 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6762 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6763 (tst-cet-legacy-1a-ARGS): New.
6764 ($(objpfx)tst-cet-legacy-1a): New target.
6765 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6767 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6769 * conform/conformtest.py (CompileSubTest.__init__): Set
6770 self.run_early to False.
6771 (ExecuteSubTest.__init__): Likewise.
6772 (HeaderTests.run): Try running all non-optional, non-XFAILed
6773 compilation tests in a single execution of the compiler.
6775 * conform/conformtest.py (CompileSubTest): New class.
6776 (ExecuteSubTest): Likewise.
6777 (ElementTest.run): Rename to gen_subtests. Append tests to
6778 self.subtests instead of running them.
6779 (ConstantTest.run): Likewise.
6780 (SymbolTest.run): Likewise.
6781 (TypeTest.run): Likewise.
6782 (TagTest.run): Likewise.
6783 (FunctionTest.run): Likewise.
6784 (VariableTest.run): Likewise.
6785 (MacroFunctionTest.run): Likewise.
6786 (MacroStrTest.run): Likewise.
6787 (HeaderTests.handle_test_line): Generate subtests for tests.
6788 (HeaderTests.run): Run subtests for tests.
6790 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6792 * math/Versions (GLIBC_2.29): Add pow.
6793 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6795 * math/w_pow.c: New file.
6796 * sysdeps/i386/fpu/w_pow.c: New file.
6797 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6798 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6799 and add necessary aliases.
6800 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6801 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6802 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6803 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6804 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6805 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6806 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6807 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6808 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6809 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6810 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6811 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6812 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6813 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6814 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6819 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6820 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6821 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6822 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6823 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6824 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6825 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6826 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6828 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6829 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6830 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6832 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6834 * math/Versions (GLIBC_2.29): Add log2.
6835 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6837 * math/w_log2.c: New file.
6838 * sysdeps/i386/fpu/w_log2.c: New file.
6839 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6840 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6841 and add necessary aliases.
6842 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6843 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6844 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6845 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6846 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6847 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6848 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6849 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6850 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6851 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6852 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6853 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6854 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6855 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6856 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6861 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6862 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6863 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6864 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6865 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6866 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6867 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6869 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6871 * math/Versions (GLIBC_2.29): Add log.
6872 * math/w_log_compat.c (__log_compat): Change to versioned compat
6874 * math/w_log.c: New file.
6875 * sysdeps/i386/fpu/w_log.c: New file.
6876 * sysdeps/ia64/fpu/e_log.S: Update.
6877 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6878 and add necessary aliases.
6879 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6880 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6881 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6882 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6883 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6884 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6885 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6886 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6887 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6888 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6889 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6890 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6891 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6892 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6893 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6898 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6899 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6900 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6901 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6902 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6903 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6904 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6905 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6907 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6908 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6909 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6910 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6912 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6914 * math/Versions (GLIBC_2.29): Add exp and exp2.
6915 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6916 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6917 * math/w_exp_compat.c (__exp_compat): Likewise.
6918 * math/w_exp.c: New file.
6919 * math/w_exp2.c: New file.
6920 * sysdeps/i386/fpu/w_exp.c: New file.
6921 * sysdeps/i386/fpu/w_exp2.c: New file.
6922 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6923 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6924 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6925 and add necessary aliases.
6926 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6927 and add necessary aliases.
6928 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6929 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6930 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6931 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6932 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6933 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6934 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6935 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6936 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6937 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6938 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6939 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6940 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6941 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6942 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6943 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6944 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6949 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6950 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6951 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6952 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6953 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6954 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6955 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6956 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6957 (__ieee754_exp): Rename to __exp.
6958 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6959 (__ieee754_exp): Rename to __exp.
6960 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6961 (__ieee754_exp): Rename to __exp.
6962 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6964 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6966 2018-11-20 DJ Delorie <dj@redhat.com>
6968 * malloc/malloc.c (tcache_entry): Add key field.
6969 (tcache_put): Set it.
6970 (tcache_get): Likewise.
6971 (_int_free): Check for double free in tcache.
6972 * malloc/tst-tcfree1.c: New.
6973 * malloc/tst-tcfree2.c: New.
6974 * malloc/Makefile: Run the new tests.
6975 * manual/probes.texi: Document memory_tcache_double_free probe.
6977 * dlfcn/dlerror.c (check_free): Prevent double frees.
6979 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6981 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6983 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6985 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6986 in tests. Use names for format arguments.
6987 (ConstantTest.run): Likewise.
6988 (SymbolTest.run): Likewise.
6989 (TypeTest.run): Likewise.
6990 (TagTest.run): Likewise.
6991 (FunctionTest.run): Likewise.
6992 (VariableTest.run): Likewise.
6993 (MacroFunctionTest.run): Likewise.
6994 (MacroStrTest.run): Likewise.
6995 (HeaderTests.__init__): Set self.num_tests.
6996 (HeaderTests.handle_test_line): Set test.num. Increment
6999 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7001 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7002 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7005 2018-11-19 Mao Han <han_mao@c-sky.com>
7007 * scripts/config.guess: Update to version 2018-08-29.
7008 * scripts/config.sub: Update to version 2018-08-29.
7010 2018-11-19 Florian Weimer <fweimer@redhat.com>
7012 support: Print timestamps in timeout handler.
7013 * support/support_test_main.c (print_timestamp): New function.
7014 (signal_handler): Use it to print the termination time and the
7015 time of the last write to standard output.
7017 2018-11-16 Zack Weinberg <zackw@panix.com>
7018 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7020 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7021 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7023 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7024 and add flags argument. Check flags instead of __ldbl_is_dbl when
7025 deciding whether to set is_long_double.
7026 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7027 passing zero for flags argument.
7028 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7030 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7031 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7032 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7033 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7034 variable names. Remove libc_hidden_def/libc_hidden_proto from
7035 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7036 longer called from within the library.
7037 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7038 for __nldbl___vstrfmon_l, declare it explicitly.
7040 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7042 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7044 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7046 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7047 F_SETLK64, F_SETLKW64, respectively.
7048 * sysdeps/mach/hurd/f_setlk.c: New file.
7049 * sysdeps/mach/hurd/f_setlk.h: New file.
7050 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7052 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7053 (__libc_fcntl): Move non-flock operations to...
7054 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7055 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7057 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7059 mktime: DEBUG_MKTIME cleanup
7060 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7061 And it’s no longer needed now that glibc and Gnulib both have
7062 their own testing mechanisms for mktime.
7063 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7065 mktime: fix non-EOVERFLOW errno handling
7067 mktime was not properly reporting failures when the underlying
7068 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7069 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7070 The problem could happen on non-glibc platforms, with Gnulib.
7071 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7072 (tm_diff): ... this simpler function, which does not change errno.
7073 All callers changed to deal with errno themselves.
7074 (ranged_convert, __mktime_internal): Return failure immediately if
7075 the underlying function reports any failure other than EOVERFLOW.
7076 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7079 mktime: fix bug with Y2038 DST transition
7081 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7082 mishandle a DST transition that jumps over the Y2038 boundary.
7083 No such DST transitions are known so this is only a theoretical
7084 bug, but we might as well do things right.
7086 mktime: make more room for overflow
7088 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7089 This is so that we can add tm_diff results to a previous guess,
7090 which will be useful in a later patch.
7092 mktime: simplify offset guess
7094 * time/mktime.c (__mktime_internal): Omit excess precision.
7096 mktime: new test for mktime failure
7098 Based on a test suggested by Albert Aribaud in:
7099 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7100 * time/Makefile (tests): Add bug-mktime4.
7101 * time/bug-mktime4.c: New file.
7103 mktime: fix EOVERFLOW bug
7105 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7106 Include libc-config.h, not config.h, for __set_errno.
7107 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7109 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7111 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7112 __attribute_copy__ to copy attributes from name. Drop static qualifier
7113 to avoid warnings about leaf attribute not having effect on static
7116 2018-11-13 Florian Weimer <fweimer@redhat.com>
7118 * malloc/malloc.c (fastbin_push_entry): New function.
7119 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7120 (REMOVE_FB): Remove macro.
7121 (_int_malloc): Use fastbin_pop_entry and reindent.
7122 (_int_free): Use fastbin_push_entry.
7123 (malloc_consolidate): Use atomic_exchange_acquire.
7125 2018-11-13 Joseph Myers <joseph@codesourcery.com>
7127 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7128 alias attribute, not with strong_alias.
7130 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7131 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7132 with additional parameter thread.
7133 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7134 in terms of __hidden_ver2.
7135 (hidden_tls_def): New macro.
7136 (libc_hidden_tls_def): Likewise.
7137 (rtld_hidden_tls_def): Likewise.
7138 (libm_hidden_tls_def): Likewise.
7139 (libmvec_hidden_tls_def): Likewise.
7140 (libresolv_hidden_tls_def): Likewise.
7141 (librt_hidden_tls_def): Likewise.
7142 (libdl_hidden_tls_def): Likewise.
7143 (libnss_files_hidden_tls_def): Likewise.
7144 (libnsl_hidden_tls_def): Likewise.
7145 (libnss_nisplus_hidden_tls_def): Likewise.
7146 (libutil_hidden_tls_def): Likewise.
7147 (libutil_hidden_tls_def): Likweise.
7148 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7149 libc_hidden_tls_def.
7150 (__sim_disabled_exceptions_thread): Likewise.
7151 (__sim_round_mode_thread): Likewise.
7153 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7154 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7155 copy attributes from name.
7157 2018-11-12 Joseph Myers <joseph@codesourcery.com>
7159 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7160 Use __attribute_copy__ to copy attributes from name.
7162 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7163 with __hidden_ver1 call.
7164 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7165 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7166 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7167 (__cosf): Do not declare here.
7168 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7169 (__sincosf): Do not declare here.
7170 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7171 (__sinf): Do not declare here.
7173 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7174 (__BIG_ENDIAN): Likewise.
7175 (__BYTE_ORDER): Likewise.
7176 (strong_alias): Likewise.
7177 (_strong_alias): Likewise.
7179 2018-11-12 Florian Weimer <fweimer@redhat.com>
7181 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7182 function. Move after the definition of in_smallbin_range. Do not
7183 use __builtin_expect for paths that lead to a noreturn function.
7184 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7185 because it is unclear whether this is in fact an unlikely
7187 (_int_malloc, _int_free): Adjust.
7188 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7190 * malloc/arena.c (heap_trim): Likewise.
7192 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7194 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7195 it, free it if needed.
7196 (reauthenticate): Test and use ccwdir.
7197 (child_init_port): In non-resetids case, test and use ccwdir.
7198 (child_chdir): New nested function to set ccwdir.
7199 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7200 * hurd/hurd/port.h (_hurd_port_move): New function.
7201 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7202 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
7203 * hurd/Versions (_hurd_port_move): Export function.
7204 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7206 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7207 of dtablesize for allocating dtable_cloexec.
7209 2018-11-09 Martin Sebor <msebor@redhat.com>
7211 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7212 it's already defined.
7213 (_strong_alias): Use __attribute_copy__.
7214 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7215 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7216 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7217 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7218 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7219 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7220 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7221 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7222 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7223 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7224 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7225 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7226 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7227 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7228 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7229 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7230 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7231 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7232 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7234 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7236 * misc/tst-efgcvt.c: Include support/check.h and
7237 support/test-driver.c. Do not include test-skeleton.c.
7238 (error_count): Remove.
7239 (output_error): Replace increments to error_count with calls to
7240 support_record_failure.
7241 (output_r_error): Likewise.
7242 (special): Likewise.
7243 (do_test): Unconditionally return zero.
7244 (TEST_FUNCTION): Remove.
7246 2018-11-09 Joseph Myers <joseph@codesourcery.com>
7248 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7250 ($(linknamespace-header-tests)): Likewise.
7252 * conform/conformtest.py: New file.
7253 * conform/conformtest.pl: Remove.
7254 * conform/GlibcConform.pm: Likewise.
7255 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7256 (KEYWORDS_C99): Likewise.
7257 (KEYWORDS): Likewise.
7258 * conform/Makefile ($(conformtest-header-tests)): Use
7259 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7260 option. Use --header instead of --headers.
7261 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7263 * conform/data/spawn.h-data: Likewise.
7264 * conform/data/fcntl.h-data (openat): Add space after function
7266 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7267 (wcscasecmp_l): Likewise.
7268 * conform/data/termios.h-data (c_cc): Add space after element
7271 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7273 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7274 instead of manually comparing and reporting mismatching strings.
7275 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7276 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7278 2018-11-08 Joseph Myers <joseph@codesourcery.com>
7280 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7281 __ASSUME_SOCKETCALL.
7282 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7283 (__ASSUME_SOCKETCALL): Remove.
7284 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7285 (__ASSUME_SOCKETCALL): Likewise.
7286 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7287 (__ASSUME_SOCKETCALL): Likewise.
7288 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7289 (__ASSUME_SOCKETCALL): Likewise.
7290 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7291 (__ASSUME_SOCKETCALL): Likewise.
7292 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7293 (__ASSUME_SOCKETCALL): Likewise.
7294 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7295 (__ASSUME_SOCKETCALL): Likewise.
7297 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7300 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7301 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7302 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7303 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7304 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7307 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7310 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7312 2018-11-07 Joseph Myers <joseph@codesourcery.com>
7315 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7316 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7317 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7318 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7320 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7322 * support/support_test_compare_string.c
7323 (support_test_compare_string): Fix printf format.
7325 2018-11-07 Florian Weimer <fweimer@redhat.com>
7327 Implement TEST_COMPARE_STRING.
7328 * support/check.h (TEST_COMPARE_STRING): Define.
7329 (support_test_compare_string): Declare.
7330 * support/Makefile (libsupport-routines): Add
7331 support_test_compare_string.
7332 (tests): Add tst-test_compare_string.
7333 * support/support_test_compare_string.c: New file.
7334 * support/tst-test_compare_string.c: Likewise.
7336 2018-11-07 Andreas Schwab <schwab@suse.de>
7339 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7340 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7343 2018-11-06 Joseph Myers <joseph@codesourcery.com>
7346 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7347 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7348 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7349 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7352 2018-11-06 Florian Weimer <fweimer@redhat.com>
7355 * posix/Makefile (routines): Add spawn_faction_addchdir.
7356 (tests): Add tst-spawn-chdir.
7357 * posix/Versions (GLIBC_2.29): Add
7358 posix_spawn_file_actions_addchdir_np.
7359 * posix/spawn_faction_addchdir.c: New file.
7360 * posix/spawn_faction_destroy.c
7361 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7362 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7363 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7365 * posix/tst-spawn-chdir.c: New file.
7366 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7367 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7368 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7369 posix_spawn_file_actions_addchdir_np.
7370 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7372 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7374 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7375 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7377 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7379 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7381 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7383 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7385 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7387 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7388 (GLIBC_2.29): Likewise.
7389 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7390 (GLIBC_2.29): Likewise.
7391 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7392 (GLIBC_2.29): Likewise.
7393 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7394 (GLIBC_2.29): Likewise.
7395 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7398 (GLIBC_2.29): Likewise.
7399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7400 (GLIBC_2.29): Likewise.
7401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7402 (GLIBC_2.29): Likewise.
7403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7404 (GLIBC_2.29): Likewise.
7405 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7407 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7409 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7411 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7412 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7414 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7416 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7418 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7421 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7423 * misc/Makefile (tests): Add tst-ldbl-error.
7424 * misc/tst-ldbl-error.c: New file.
7426 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7428 * misc/Makefile (tests): Add tst-ldbl-warn.
7429 * misc/tst-ldbl-warn.c: New file.
7431 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7433 * argp/Makefile (tests): Add tst-ldbl-argp.
7434 * argp/tst-ldbl-argp.c: New file.
7436 2018-11-05 Arjun Shankar <arjun@redhat.com>
7438 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7439 __gconv_path_elem and call __gconv_get_path unconditionally.
7441 2018-11-05 Andreas Schwab <schwab@suse.de>
7444 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7445 creating the first helper thread failed.
7447 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7449 * sysdeps/mach/hurd/msync.c: New file.
7451 2018-11-02 Florian Weimer <fweimer@redhat.com>
7453 * support/shell-container.c (copy_func): Call
7454 support_copy_file_range instead of copy_file_range to support
7455 cross-device copies.
7457 2018-11-02 Florian Weimer <fweimer@redhat.com>
7459 * support/test-container.c: Include <libc-pointer-arith.h> for
7462 2018-11-01 Zong Li <zong@andestech.com>
7464 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7465 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7466 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7467 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7469 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7470 variable to avoid overlap arguments.
7472 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7474 * posix/bug-regex22.c (main): Use puts with distinct error
7475 messages for unexpected success of re_compile_pattern, not printf
7476 with NULL argument to %s.
7478 * stdio-common/bug22.c: Include <libc-diag.h>.
7479 (do_test): Disable -Wformat-overflow= warnings around fprintf
7480 calls outputting more than INT_MAX characters.
7481 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7482 around printf call with NULL %s argument.
7485 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7486 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7488 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7489 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7490 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7491 (__ASSUME_SENDTO_SYSCALL): Likewise.
7492 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7493 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7495 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7496 (__ASSUME_CONNECT_SYSCALL): Likewise.
7497 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7498 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7499 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7501 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7503 [__LINUX_KERNEL_VERSION >= 0x040400]
7504 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7505 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7508 (setsockopt): Likewise.
7510 2018-11-01 Fredrik Noring <noring@nocrew.org>
7512 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7513 with the ISA override.
7515 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7517 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7520 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7522 * manual/errno.texi (EIEIO): Document how translators should
7523 translate the error message.
7524 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7525 printing trailing whitespaces refused by git.
7526 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7527 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7528 * hurd/Makefile (user-interfaces): Add pci.
7530 2018-10-30 Joseph Myers <joseph@codesourcery.com>
7532 * conform/linknamespace.py: New file.
7533 * conform/linknamespace.pl: Remove file.
7534 * conform/Makefile ($(linknamespace-header-tests)): Use
7535 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7538 2018-10-30 Florian Weimer <fweimer@redhat.com>
7540 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7543 2018-10-30 Florian Weimer <fweimer@redhat.com>
7545 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7547 2018-10-30 Florian Weimer <fweimer@redhat.com>
7549 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7550 support_blob_repeat.
7552 2018-10-30 Florian Weimer <fweimer@redhat.com>
7554 Avoid spurious test failures in stdlib/test-bz22786.
7555 * support/Makefile (libsupport-routines): Add blob_repeat.
7556 (tests): Add tst-support_blob_repeat.
7557 * support/blob_repeat.h: New file.
7558 * support/blob_repeat.c: Likewise.
7559 * support/tst-support_blob_repeat.c: Likewise.
7560 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7561 support_blob_repeat_allocate.
7563 2018-10-30 Andreas Schwab <schwab@suse.de>
7566 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7567 Don't use tail call.
7568 * elf/tst-unwind-main.c: New file.
7569 * elf/Makefile (tests): Add tst-unwind-main.
7570 (CFLAGS-tst-unwind-main.c): Define.
7572 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
7575 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7577 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7579 2018-10-29 Joseph Myers <joseph@codesourcery.com>
7581 * conform/glibcconform.py: Do not import shutil.
7582 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7585 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7586 critic_missing for versions before 3.4.
7587 * configure: Regenerated.
7588 * manual/install.texi (Tools for Compilation): Document
7589 requirement for Python to build glibc.
7590 * INSTALL: Regenerated.
7591 * Rules [PYTHON]: Make code unconditional.
7592 * benchtests/Makefile [PYTHON]: Likewise.
7593 * conform/Makefile [PYTHON]: Likewise.
7594 * manual/Makefile [PYTHON]: Likewise.
7595 * math/Makefile [PYTHON]: Likewise.
7597 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7599 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
7600 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
7601 answer to interrupt_operation, return EIEIO instead of EINTR.
7602 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7603 _hurd_intr_rpc_msg_about_to global point to start of controlled
7604 assembly snippet. Make it check canceled flag.
7605 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7606 the _hurd_intr_rpc_msg_about_to point.
7607 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7608 issue, remove cancel flag check.
7610 2018-10-26 Joseph Myers <joseph@codesourcery.com>
7612 * scripts/build-many-glibcs.py: Remove compatibility for missing
7613 os.cpu_count and re.fullmatch.
7615 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7618 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7619 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7620 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7622 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7624 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7627 2018-10-25 Florian Weimer <fweimer@redhat.com>
7631 XFAIL siginfo_t si_band conform test on sparc64.
7632 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7633 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7634 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7635 (conformtest-xfail-conds): Add sparc64-linux.
7636 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7638 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7640 2018-10-25 Joseph Myers <joseph@codesourcery.com>
7642 * elf/elf.h (NT_MIPS_DSP): New macro.
7643 (NT_MIPS_FP_MODE): Likewise.
7645 2018-10-25 Zong Li <zong@andestech.com>
7647 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7648 name by adding the file extension (.so).
7650 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7652 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7653 (test-xfail-ISO11/threads.h/linknamespace,
7654 test-xfail-ISO11/threads.h/conform): Add.
7656 2018-10-24 Joseph Myers <joseph@codesourcery.com>
7658 * math/gen-libm-test.py: Import os.
7659 (ALL_FLOATS_MANUAL): New constant.
7660 (ALL_FLOATS_SUFFIX): Likewise.
7661 (Ulps.all_functions): New function.
7662 (real_all_ulps): Likewise.
7663 (generate_err_table_sub): Likewise.
7664 (generate_err_table): Likewise.
7665 (main): Handle -s and -m options.
7666 * manual/libm-err-tab.pl: Remove.
7667 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7668 instead of libm-err-tab.pl.
7669 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7671 * manual/install.texi (Tools for Compilation): Document
7672 requirement for Python to build manual.
7673 * INSTALL: Regenerated.
7675 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7677 * bits/time64.h: New file.
7678 * include/time.h: Replace internal_time_t with __time64_t.
7679 * posix/bits/types (__time64_t): Add.
7680 * stdlib/Makefile: Add bits/time64.h to includes.
7681 * time/tzfile.c: Replace internal_time_t with __time64_t.
7683 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7685 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7686 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7687 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7688 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7689 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7691 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7692 * posix/spawn_faction_addclose.c
7693 (__posix_spawn_file_actions_addclose): Add hidden definition.
7694 * posix/spawn_faction_adddup2.c
7695 (__posix_spawn_file_actions_adddup2): Likewise.
7696 * posix/spawn_faction_destroy.c
7697 (__posix_spawn_file_actions_destroy): Likewise.
7698 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7700 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7701 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7702 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7704 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7705 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7708 2018-10-24 Andreas Schwab <schwab@suse.de>
7711 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7713 * elf/cache.c (print_cache): Likewise.
7715 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7717 * bits/timesize.h: New file.
7718 * stdlib/Makefile (headers): Add bits/timesize.h.
7719 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7720 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7721 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7722 (__SEM_PAD_AFTER_TIME): Likewise.
7723 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7724 (__SHM_PAD_AFTER_TIME): Likewise.
7725 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7726 (__MSQ_PAD_BEFORE_TIME): Likewise.
7727 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7728 (__SEM_PAD_BEFORE_TIME): Likewise.
7729 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7730 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7731 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7732 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7733 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7734 (__MSQ_PAD_BEFORE_TIME): Likewise.
7735 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7736 (__SEM_PAD_BEFORE_TIME): Likewise.
7737 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7738 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7739 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7740 (__MSQ_PAD_BEFORE_TIME): Likewise.
7741 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7742 (__SEM_PAD_BEFORE_TIME): Likewise.
7743 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7744 (__SHM_PAD_BEFORE_TIME): Likewise.
7745 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7746 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7747 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7749 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7751 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7752 USE_RDTSCP is defined.
7753 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7754 USE_RDTSCP is defined.
7756 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7758 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7762 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7763 independently of other flags.
7765 2018-10-23 Florian Weimer <fweimer@redhat.com>
7767 * time/tst-mktime2.c (N_STRINGS): Remove.
7768 (set_timezone): New function.
7769 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7770 (mktime_test1): Report localtime failure and check errno value.
7772 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7773 (do_test): Remove alarm call. Use set_timezone and array_length.
7775 2018-10-23 Andreas Schwab <schwab@suse.de>
7777 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7778 (__start_context): Use END instead of PSEUDO_END.
7780 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7782 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7785 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7789 * wcsmbs/c32rtomb.c: New file.
7790 * wcsmbs/mbrtoc32.c: Likewise.
7791 * wcsmbs/tst-c32-state.c: Likewise.
7792 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7793 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7794 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7795 (tests): Add tst-c32-state.
7796 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7799 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7801 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7802 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7804 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7807 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7808 pair and return 0 in that case, and use saved character to
7809 interpret following character.
7810 * wcsmbs/tst-c16-surrogate.c: New file.
7811 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7812 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7813 Depend on $(gen-locales)
7815 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7818 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7819 (struct siginfo_t): Use correct type for si_band.
7821 2018-10-19 Florian Weimer <fweimer@redhat.com>
7824 * resource/bits/types/struct_rusage.h (struct rusage): Update
7825 comment on struct. Remove extraneous field comment.
7827 2018-10-18 David S. Miller <davem@davemloft.net>
7829 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7830 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7831 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7832 sysdep_routines in subdir elf.
7833 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7834 version for __vdso_clock_gettime.
7835 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7837 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7838 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7840 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7842 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7844 * sysdeps/i386/init-arch.h: Removed.
7845 * sysdeps/i386/i586/init-arch.h: Likewise.
7846 * sysdeps/i386/i686/init-arch.h: Likewise.
7847 * sysdeps/i386/i686/hp-timing.h: Likewise.
7848 * sysdeps/x86_64/hp-timing.h: Likewise.
7849 * sysdeps/i386/isa.h: New file.
7850 * sysdeps/i386/i586/isa.h: Likewise.
7851 * sysdeps/i386/i686/isa.h: Likewise.
7852 * sysdeps/x86_64/isa.h: Likewise.
7853 * sysdeps/x86/hp-timing.h: New file.
7854 * sysdeps/x86/init-arch.h: Include <isa.h>.
7856 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7858 * math/libm-test-pow.inc (pow_test_data): Do not allow
7859 divide-by-zero exception for pow(+/- 0, -Inf).
7861 2018-10-17 Zack Weinberg <zackw@panix.com>
7863 * manual/job.texi (Job Control is Optional): Remove node, as
7864 job control has not been optional in quite some time.
7865 (Job Control): Mention briefly that systems older than
7866 POSIX.1-2001 might not support job control.
7867 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7868 defined on systems conforming to POSIX.1-2001.
7870 2018-10-17 Arjun Shankar <arjun@redhat.com>
7873 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7875 * (__gconv_read_conf): Mark function static.
7876 * (once): New static variable.
7877 * (__gconv_load_conf): New function.
7878 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7879 * iconv/gconv_db.c (once): Remove static variable.
7880 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7882 * (__gconv_find_transform): Likewise.
7883 * iconv/tst-iconv-mt.c: New test.
7884 * iconv/Makefile: Add tst-iconv_mt.
7886 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7890 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7891 (shmatt_t): Define as __syscall_ulong_t.
7892 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7893 and [__SHM_PAD_AFTER_TIME].
7894 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7895 Define shm_segsz and associated padding based on
7896 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7897 Use __syscall_ulong_t instead of unsigned long int.
7898 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7900 [__USE_MISC] (struct shm_info): Likewise.
7901 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7902 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7903 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7904 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7905 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7906 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7907 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7908 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7909 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7910 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7911 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7913 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7915 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7916 (SHMLBA): Remove macro.
7917 (__getpagesize): Remove function declaration.
7918 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7920 (SHMLBA): Remove macro.
7921 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7923 (SHMLBA): Remove macro.
7924 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7926 (SHMLBA): Remove macro.
7927 (__getpagesize): Remove function declaration.
7928 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7930 (SHMLBA): Remove macro.
7931 (__getshmlba): Remove function declaration.
7932 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7933 (SHMLBA): Remove macro.
7934 (__getpagesize): Remove function declaration.
7935 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7936 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7937 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7938 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7939 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7940 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7941 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7942 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7943 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7944 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7946 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7949 * nptl/tst-mutex10.c: New File.
7950 * nptl/Makefile (tests): Add tst-mutex10.
7951 (tst-mutex10-ENV): New variable.
7952 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7953 Ensure that elision path is used if elision is available.
7954 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7956 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7958 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7959 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7960 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7961 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7963 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7964 (__pthread_mutex_cond_lock_adjust): Likewise.
7965 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7967 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7968 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7969 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7970 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7972 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7973 Use atomic_load_relaxed and atomic_store_relaxed.
7974 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7975 Use atomic_store_relaxed.
7977 2018-10-17 Andreas Schwab <schwab@suse.de>
7979 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7980 * crypt/badsalttest.c (TIMEOUT): Likewise.
7981 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7982 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7983 * io/test-lfs.c (TIMEOUT): Likewise.
7984 * libio/tst-atime.c (TIMEOUT): Likewise.
7985 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7986 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7987 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7988 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7989 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7990 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7991 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7992 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7993 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7994 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7995 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7996 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7997 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7998 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7999 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8000 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8001 * nptl/tst-once2.c (TIMEOUT): Likewise.
8002 * nptl/tst-once3.c (TIMEOUT): Likewise.
8003 * nptl/tst-once4.c (TIMEOUT): Likewise.
8004 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8005 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8006 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8007 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8008 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8009 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8010 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8011 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8012 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8013 * posix/tst-chmod.c (TIMEOUT): Likewise.
8014 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8015 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8016 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8017 * posix/tst-regex2.c (TIMEOUT): Likewise.
8018 * posix/tst-waitid.c (TIMEOUT): Likewise.
8019 * rt/tst-aio.c (TIMEOUT): Likewise.
8020 * rt/tst-aio10.c (TIMEOUT): Likewise.
8021 * rt/tst-aio4.c (TIMEOUT): Likewise.
8022 * rt/tst-aio5.c (TIMEOUT): Likewise.
8023 * rt/tst-aio6.c (TIMEOUT): Likewise.
8024 * rt/tst-aio64.c (TIMEOUT): Likewise.
8025 * rt/tst-aio7.c (TIMEOUT): Likewise.
8026 * rt/tst-aio9.c (TIMEOUT): Likewise.
8027 * rt/tst-clock.c (TIMEOUT): Likewise.
8028 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8029 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8030 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8031 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8032 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8033 * rt/tst-timer4.c (TIMEOUT): Likewise.
8034 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8035 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8036 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8037 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8038 * time/tst-ftime.c (TIMEOUT): Likewise.
8039 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8041 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
8043 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8044 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8047 2018-10-15 Joseph Myers <joseph@codesourcery.com>
8049 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8051 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8052 instead of <bits/wordsize.h>.
8053 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8054 and [__SEM_PAD_AFTER_TIME].
8055 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8056 __syscall_ulong_t instead of unsigned long int.
8057 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8058 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8059 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8060 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8061 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8062 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8063 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8064 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8065 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8066 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8067 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8069 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8071 regex: simplify by using intprops.h
8073 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8074 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8075 intprops.h defines them.
8077 regex: __builtin_expect → __glibc_unlikely
8079 This refactoring was prompted by a problem when the regex code is
8080 used as part of Gnulib and when the builder’s compiler does not grok
8081 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8082 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8083 Although this refactoring does not fix the problem directly,
8084 we might as well have Gawk use the now-preferred glibc style for when
8085 __builtin_expect is unavailable.
8086 * posix/regex_internal.h (BE): Remove.
8087 All uses replaced by __glibc_unlikely or __glibc_likely.
8089 2018-10-11 Joseph Myers <joseph@codesourcery.com>
8091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8093 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8094 instead of <bits/wordsize.h>.
8095 (msgqnum_t): Define as __syscall_ulong_t.
8096 (msglen_t): Likewise.
8097 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8098 and [__MSQ_PAD_AFTER_TIME].
8099 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8100 __syscall_ulong_t instead of unsigned long int.
8101 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8102 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8103 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8104 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8105 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8106 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8107 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8108 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8109 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8110 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8111 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8113 2018-10-10 Joseph Myers <joseph@codesourcery.com>
8115 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8116 (struct shmid_ds): Condition padding after time fields on
8118 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8119 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8120 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8122 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8123 (struct semid_ds): Condition padding after time fields on
8125 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8126 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8127 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8128 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8130 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8131 (struct msqid_ds): Condition padding after time fields on
8133 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8134 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8135 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8136 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8138 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8140 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8142 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8144 * libio/tst-readline.c (TIMEOUT): Define.
8146 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8148 mktime fix for Gnulib + coreutils
8150 This fix affects only Gnulib. Problem discovered when
8151 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8153 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8154 Do not define since it is not used. Defining an unused static
8155 function prompts a warning from GCC when Coreutils is configured
8156 with --enable-gcc-warnings.
8158 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8160 * benchtests/scripts/compare_bench.py (main): set float type on
8163 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8166 * localedata/locales/kl_GL (mon): Update, the relative case.
8167 (alt_mon): Add, fill with month names in the nominative case.
8168 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8169 (d_fmt): Set to "%b %d %Y".
8171 2018-10-04 Joseph Myers <joseph@codesourcery.com>
8173 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8174 <bits/mman-linux.h>.
8175 (PROT_READ): Don't define here.
8176 (PROT_WRITE): Likewise.
8177 (PROT_EXEC): Likewise.
8178 (PROT_NONE): Likewise.
8179 (PROT_GROWSDOWN): Likewise.
8180 (PROT_GROWSUP): Likewise.
8181 (MAP_SHARED): Likewise.
8182 (MAP_PRIVATE): Likewise.
8183 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8184 [__USE_MISC] (MAP_FILE): Likewise.
8185 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8186 [__USE_MISC] (MAP_ANON): Likewise.
8187 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8188 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8189 (MCL_CURRENT): Likewise.
8190 (MCL_FUTURE): Likewise.
8191 (MCL_ONFAULT): Likewise.
8192 [__USE_MISC] (MADV_NORMAL): Likewise.
8193 [__USE_MISC] (MADV_RANDOM): Likewise.
8194 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8195 [__USE_MISC] (MADV_WILLNEED): Likewise.
8196 [__USE_MISC] (MADV_DONTNEED): Likewise.
8197 [__USE_MISC] (MADV_FREE): Likewise.
8198 [__USE_MISC] (MADV_REMOVE): Likewise.
8199 [__USE_MISC] (MADV_DONTFORK): Likewise.
8200 [__USE_MISC] (MADV_DOFORK): Likewise.
8201 [__USE_MISC] (MADV_HWPOISON): Likewise.
8202 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8203 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8204 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8205 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8206 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8207 (__MAP_ANONYMOUS): New macro.
8208 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8209 <bits/mman-linux.h> inclusion.
8210 (MAP_FIXED): Likewise.
8211 (MS_SYNC): Likewise.
8212 (MS_ASYNC): Likewise.
8213 (MS_INVALIDATE): Likewise.
8214 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8215 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8216 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8217 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8218 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8219 [__USE_MISC] (MADV_DODUMP): Likewise.
8220 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8221 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8224 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8226 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8227 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8228 Add test-nldbl-redirect.
8229 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8230 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8231 $(objpfx)libnldbl_nonshared.a.
8233 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
8235 * support/support.h (support_objdir_elf_ldso): New variable.
8236 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8237 * support/Makefile (CFLAGS-support_paths.c): Add definition
8238 for OBJDIR_ELF_LDSO_PATH.
8239 * support/test-container.c (main): Search for the ld.so
8240 which is also used by the testsuite.
8242 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8245 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8246 should be "sap" rather than "sab".
8247 (day): Fix spelling of Sunday, should be "sapaat" rather than
8250 2018-10-02 Joseph Myers <joseph@codesourcery.com>
8252 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8254 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8257 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8258 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8259 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8261 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8263 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8265 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8267 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8269 (CFLAGS-elision-unlock.c): Likewise.
8270 (CFLAGS-elision-timed.c): Likewise.
8271 (CFLAGS-elision-trylock.c): Likewise.
8272 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8274 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8277 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8278 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8279 new fd_to_filename interface.
8280 * libio/freopen64.c (freopen64): Likewise.
8281 * libio/tst-memstream.h: New file.
8282 * libio/tst-memstream4.c: Likewise.
8283 * libio/tst-wmemstream4.c: Likewise.
8284 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8285 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8286 and remove internal dynamic allocation.
8288 2018-10-01 Joseph Myers <joseph@codesourcery.com>
8290 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8291 (MREMAP_MAYMOVE): Do not define here.
8292 [__USE_GNU] (MREMAP_FIXED): Likewise.
8293 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8294 (MREMAP_MAYMOVE): Define here instead.
8295 [__USE_GNU] (MREMAP_FIXED): Likewise.
8296 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8297 (MREMAP_MAYMOVE): Remove.
8298 [__USE_GNU] (MREMAP_FIXED): Likewise.
8300 2018-09-28 Joseph Myers <joseph@codesourcery.com>
8302 * math/fromfp.h: Do not include <math_private.h>.
8303 * math/s_cacosh_template.c: Likewise.
8304 * math/s_casin_template.c: Likewise.
8305 * math/s_casinh_template.c: Likewise.
8306 * math/s_ccos_template.c: Likewise.
8307 * math/s_cproj_template.c: Likewise.
8308 * math/s_fdim_template.c: Likewise.
8309 * math/s_fmaxmag_template.c: Likewise.
8310 * math/s_fminmag_template.c: Likewise.
8311 * math/s_iseqsig_template.c: Likewise.
8312 * math/s_ldexp_template.c: Likewise.
8313 * math/s_nextdown_template.c: Likewise.
8314 * math/w_log1p_template.c: Likewise.
8315 * math/w_scalbln_template.c: Likewise.
8316 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8317 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8318 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8319 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8320 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8321 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8322 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8323 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8324 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8325 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8326 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8327 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8328 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8329 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8330 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8331 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8332 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8333 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8334 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8335 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8336 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8337 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8338 * sysdeps/ieee754/k_standardf.c: Likewise.
8339 * sysdeps/ieee754/k_standardl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8341 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8342 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8345 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8347 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8348 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8349 * sysdeps/ieee754/s_signgam.c: Likewise.
8350 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8351 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8352 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8353 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8354 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8355 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8356 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8357 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8358 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8359 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8360 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8361 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8362 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8363 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8364 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8365 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8366 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8367 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8368 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8369 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8370 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8371 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8372 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8373 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8374 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8375 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8376 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8377 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8378 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8379 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8380 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8381 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8382 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8383 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8384 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8385 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8386 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8388 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8390 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8393 * sysdeps/i386/dl-cet.c: Removed.
8394 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8396 (_dl_runtime_profile_shstk): Likewise.
8397 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8398 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8400 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8403 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8404 do_test_with_invalid_iov): New tests.
8405 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8406 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8407 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8409 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8410 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8411 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8413 2018-09-27 Joseph Myers <joseph@codesourcery.com>
8415 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8416 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8417 (MATH_REDIRECT_BINARY_ARGS): New macro.
8418 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8419 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8420 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8422 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8423 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8424 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8425 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8426 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8427 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8428 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8435 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8436 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8441 * sysdeps/generic/math_private_calls.h
8442 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8443 Do not declare and define as an inline function.
8444 * math/divtc3.c (__divtc3): Use copysign functions instead of
8445 __copysign variants.
8446 * math/multc3.c (__multc3): Likewise.
8447 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8448 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8449 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8450 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8452 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8453 (__ieee754_yn): Likewise.
8454 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8455 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8456 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8457 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8458 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8460 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8461 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8463 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8467 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8468 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8470 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8471 (__ieee754_ynf): Likewise.
8472 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8473 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8474 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8475 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8477 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8478 (__ieee754_ynl): Likewise.
8479 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8480 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8481 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8483 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8484 (__ieee754_ynl): Likewise.
8485 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8486 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8487 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8488 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8490 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8492 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8493 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8494 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8495 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8496 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8498 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8499 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8500 using MATH_REDIRECT.
8501 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8503 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8505 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8506 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8507 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8508 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8509 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8514 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8515 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8516 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8517 (round): Redirect to __round.
8518 (__roundl): Call round instead of __round.
8519 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8521 [_ARCH_PWR5X] (__roundf): Likewise.
8522 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8523 functions instead of __round variants.
8524 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8525 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8527 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8529 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8531 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8532 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8534 (__ieee754_expl): Call roundl instead of __roundl.
8536 2018-09-27 Andreas Schwab <schwab@suse.de>
8539 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8540 (do_test): Make st1 static.
8542 2018-09-26 Andreas Schwab <schwab@suse.de>
8545 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8546 * elf/Makefile (tests): Add tst-unwind-ctor.
8547 (modules-names): Add tst-unwind-ctor-lib.
8548 ($(objpfx)tst-unwind-ctor): Depend on
8549 $(objpfx)tst-unwind-ctor-lib.so.
8551 2018-09-26 Joseph Myers <joseph@codesourcery.com>
8553 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8554 file. Most contents moved from ....
8555 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8556 and include <bits/mman-map-flags-generic.h>.
8557 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8558 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8559 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8560 <bits/mman-map-flags-generic.h>.
8561 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8562 macros defined in <bits/mman-map-flags-generic.h>.
8563 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8564 <bits/mman-map-flags-generic.h>.
8565 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8566 defined in <bits/mman-map-flags-generic.h>.
8568 2018-09-26 Andreas Schwab <schwab@suse.de>
8570 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8573 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8574 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8575 Fangrui Song <maskray@google.com>
8578 * config.make.in (have-textrel_ifunc): New define.
8579 * configure.ac: Add check if linker supports textrel relocation with
8581 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8583 (CFLAGS-tst-ifunc-textrel.c): New rule.
8584 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8585 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8586 * elf/tst-ifunc-textrel.c: New file.
8588 2018-09-25 Joseph Myers <joseph@codesourcery.com>
8590 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8591 <bits/procfs-prregset.h>.
8592 (prgregset_t): Define using __prgregset_t.
8593 (prfpregset_t): Define using __prfpregset_t.
8594 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8595 (sysdep_headers): Add bits/procfs-prregset.h.
8596 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8597 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8598 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8599 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8601 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8602 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8603 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8605 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8606 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8607 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8608 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8609 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8610 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8611 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8612 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8613 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8614 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8615 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8616 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8617 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8618 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8619 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8620 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8621 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8622 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8623 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8624 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8625 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8626 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8627 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8628 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8630 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8631 AArch64 version. Include <bits/procfs.h>.
8632 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8633 (sysdep_headers): Add bits/procfs.h.
8634 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8635 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8636 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8637 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8638 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8639 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8640 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8641 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8642 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8643 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8644 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8645 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8646 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8647 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8648 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8649 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8650 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8652 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8654 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8657 2018-09-25 Arjun Shankar <arjun@redhat.com>
8659 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8660 (__gconv_max_path_elem_len): Likewise.
8661 (__gconv_nmodules): Likewise.
8662 (__gconv_get_path): Likewise.
8663 (path_elem): Move to ...
8664 * iconv/gconv_conf.c: ... here.
8665 (__gconv_get_path): Mark function static.
8666 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8667 * iconv/gconv_open.c: ... here.
8669 2018-09-24 Andreas Schwab <schwab@suse.de>
8671 * scripts/haveversions.awk: New file.
8672 * Makerules ($(common-objpfx)Versions.def)
8673 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8674 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8676 * Makeconfig ($(common-objpfx)Versions.def)
8677 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8678 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8680 ($(common-objpfx)Versions.mk): New rule. Include it.
8681 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8682 Emit error if build-obsolete-nsl = yes.
8683 * manual/install.texi (Configuring and compiling): Describe
8684 --enable-obsolete-nsl as unavaiable after version 2.28.
8685 * INSTALL: Regenerate.
8687 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8689 * NEWS: Add note about new TLE support on powerpc64le.
8690 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8691 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8693 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8694 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8695 * sysdeps/powerpc/powerpc32/sysdep.h,
8696 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8697 ABORT_TRANSACTION): Remove macros.
8698 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8699 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8700 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8702 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8703 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8705 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8707 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8710 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8711 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8712 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8713 which is the same as in it_IT.
8714 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8715 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8717 2018-09-20 Joseph Myers <joseph@codesourcery.com>
8719 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8720 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8721 using MATH_REDIRECT.
8722 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8724 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8726 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8727 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8728 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8734 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8735 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8736 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8737 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8738 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8739 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8740 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8742 (ceil): Redirect to __ceil.
8743 (floor): Redirect to __floor.
8744 (trunc): Redirect to __trunc.
8745 (__truncl): Call trunc instead of __trunc.
8746 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8748 [_ARCH_PWR5X] (__truncf): Likewise.
8749 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8750 trunc functions instead of __trunc variants.
8751 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8753 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8755 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8757 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8760 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8761 [__i586__ || __pentium__].
8762 [__i486__]: Handle explicitly.
8763 (HAS_CPUID): Define to 1 if above macros are undefined.
8764 (HAS_I586): Likewise.
8765 (HAS_I686): Likewise.
8767 2018-09-20 Florian Weimer <fweimer@redhat.com>
8769 * misc/tst-gethostid.c: New file.
8770 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8771 (tst-gethostid): Link with -ldl.
8773 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8775 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8776 value from gethostbyname_r.
8778 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8780 * stdlib/tst-setcontext9.c (f1): Rename to...
8782 (f1b): New function implementing lower half of f1 in alternate stack.
8784 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8786 Fix mktime localtime offset confusion
8788 * include/time.h (__mktime_internal): The localtime offset is now
8789 of type long int instead of time_t. This is the longstanding type
8790 in glibc, and it is more than enough to represent difference
8791 between localtime and gmtime even if it is 32 bits and time_t is
8792 64. Changing it now will let us avoid an unnecessary change when
8793 time_t is widened to 64 bits on 32-bit platforms.
8794 * time/mktime-internal.h (mktime_offset_t): Now long int.
8796 Merge mktime, timegm from upstream Gnulib
8797 [BZ #23603][BZ #16346]
8798 This fixes some obscure problems with integer overflow.
8799 Although it looks scary, it is almost all a byte-for-byte copy
8800 from Gnulib, and the Gnulib code has been tested reasonably well.
8801 * include/intprops.h: New file, copied from Gnulib.
8802 * include/verify.h, time/mktime-internal.h:
8803 New tiny files, simplified from Gnulib.
8804 * time/mktime.c: Copy from Gnulib. This has the following changes:
8805 Do not include config.h if DEBUG_MKTIME is nonzero.
8806 Include stdbool.h, intprops.h, verify.h.
8807 Include string.h only if needed.
8808 Include stdlib.h on MS-Windows.
8809 Include mktime-internal.h.
8810 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8811 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8812 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8813 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8814 simplify later conditionals; default the others to zero. Use
8815 these conditionals to express only the code needed on the current
8816 platform. In uses of these conditionals, explicitly spell out how
8817 _LIBC affects things, so it’s easier to review from a glibc
8819 (WRAPV): Remove; no longer needed now that we have
8820 systematic overflow checking.
8821 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8822 compartmentalize tzset issues. Move system-dependent tzsettish
8823 code here from mktime.
8824 (verify): Remove; now done by verify.h. All uses changed.
8825 (long_int): Use a more-conservative definition, to avoid
8827 (SHR): Remove, replacing with ...
8828 (shr): New function, which means we needn’t worry about side
8829 effects in args, and conversion analysis is simpler.
8830 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8831 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8832 (time_t_avg, time_t_add_ok): Remove.
8833 (mktime_min, mktime_max): New constants.
8834 (leapyear, isdst_differ): Use bool for booleans.
8835 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8836 Use long_int, not time_t, for mktime differences.
8837 (long_int_avg): New function, replacing time_t_avg.
8838 INT_ADD_WRAPV replaces time_t_add_ok.
8839 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8841 (convert_time): New function.
8842 (ranged_convert): Use it.
8843 (__mktime_internal): Last arg now points to mktime_offset_t, not
8844 time_t. All uses changed. This is a no-op on glibc, where
8845 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8846 offset guess. Directly check for integer overflow instead of
8847 using a heuristic that works only 99.9...% of the time.
8848 Access *OFFSET only once, to avoid an unlikely race if the
8849 compiler delays a load and if this cascades into a signed integer
8851 (mktime): Move tzsettish code to my_tzset, and move
8852 localtime_offset to within mktime so that it doesn’t
8853 need a separate ifdef.
8854 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8855 instead of localtime.
8856 * time/timegm.c: Copy from Gnulib. This has the following changes:
8857 Include mktime-internal.h.
8858 [!_LIBC]: Include config.h and time.h. Do not include
8859 timegm.h or time_r.h. Make __mktime_internal a macro,
8860 and include mktime-internal.h to get its declaration.
8861 (timegm): Temporary is now mktime_offset_t, not time_t.
8862 This affects only Gnulib.
8864 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8867 * string/test-strstr.c (pr23637): New function.
8868 (test_main): Add tests with longer needles.
8869 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8870 * string/strstr.c (AVAILABLE): Likewise.
8872 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8874 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8876 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8878 * NEWS: Mention pow improvements.
8879 * math/Makefile (type-double-routines): Add e_pow_log_data.
8880 * sysdeps/generic/math_private.h (__exp1): Remove.
8881 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8882 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8883 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8885 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8886 (exp_inline): Remove.
8887 (__ieee754_exp): Only single double input is handled.
8888 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8889 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8890 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8891 (__pow_log_data): Define.
8892 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8893 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8894 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8895 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8897 (CFLAGS-e_pow-fma4.c): Likewise.
8899 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8901 Simplify tzfile fstat failure code
8903 * time/tzfile.c (__tzfile_read): Simplify slightly.
8905 Fix tzfile low-memory assertion failure
8907 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8908 when registering time zone abbreviations.
8910 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8912 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8913 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8914 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8915 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8916 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8917 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8918 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8919 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8920 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8922 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8924 (__ceill): Call ceil instead of __ceil.
8925 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8927 (__floorl): Call floor instead of __floor.
8929 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8931 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8932 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8933 using MATH_REDIRECT.
8934 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8936 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8937 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8938 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8939 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8940 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8941 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8942 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8943 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8948 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8949 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8952 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8953 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8954 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8956 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8957 functions instead of __ceil variants.
8958 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8959 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8961 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8963 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8964 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8966 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8967 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8970 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8972 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8973 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8974 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8975 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8976 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8977 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8978 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8979 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8980 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8981 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8982 (ILL_BADIADDR): Remove constant.
8983 (TRAP_BRANCH): Likewise.
8984 (TRAP_HWBKPT): Likewise.
8986 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8989 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8990 Remove [_MIPS_SIM = _ABIN32] conditional case.
8991 (struct elf_prpsinfo): Likewise.
8994 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8995 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8996 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8998 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8999 elf_prpsinfo): Likewise.
9000 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9001 elf_prpsinfo): Likewise.
9002 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9005 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9006 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9007 using MATH_REDIRECT.
9008 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9010 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9011 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9012 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9013 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9014 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9015 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9016 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9017 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9018 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9019 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9020 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9021 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9022 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9023 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9024 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9025 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9026 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9027 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9028 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9031 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9032 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9033 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9034 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9035 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9036 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9038 * math/e_scalbf.c (invalid_fn): Likewise.
9039 * math/e_scalbl.c (invalid_fn): Likewise.
9040 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9042 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9044 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9045 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9046 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9048 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9050 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9052 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9053 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9055 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9056 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9058 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9059 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9060 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9061 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9062 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9063 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9064 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9065 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9066 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9067 && !NO_MATH_REDIRECT] (floor): Likewise.
9068 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9070 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9073 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9074 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9077 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9082 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9083 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9085 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9086 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9087 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9088 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9090 [_ARCH_PWR5X] (__floorf): Likewise.
9091 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9093 [__SSE4_1__] (__floorf): Likewise.
9094 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9095 instead of __floor variants.
9096 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9097 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9098 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9099 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9100 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9101 * math/w_tgamma_compat.c (__tgamma): Likewise.
9102 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9103 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9104 * math/w_tgammal_compat.c (__tgammal): Likewise.
9105 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9106 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9108 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9109 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9110 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9111 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9113 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9114 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9116 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9117 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9119 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9120 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9122 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9123 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9124 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9125 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9126 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9127 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9129 2018-09-12 Joseph Myers <joseph@codesourcery.com>
9131 * elf/Makefile (modules-names-tests): New variable.
9133 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9135 * NEWS: Mention log2 improvements.
9136 * math/Makefile (type-double-routines): Add e_log2_data.
9137 * sysdeps/i386/fpu/e_log2_data.c: New file.
9138 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9139 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9140 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9141 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9142 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9143 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9145 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9147 * NEWS: Mention log improvement.
9148 * math/Makefile (type-double-routines): Add e_log_data.
9149 * sysdeps/i386/fpu/e_log_data.c: New file.
9150 * sysdeps/ia64/fpu/e_log_data.c: New file.
9151 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9152 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9153 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9154 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9155 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9156 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9158 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9159 Xuepeng Guo <xuepeng.guo@intel.com>
9162 * sysdeps/i386/start.S: Include <sysdep.h>
9163 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9164 enabled. Add cfi_undefined (eip).
9166 2018-09-11 Joseph Myers <joseph@codesourcery.com>
9168 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9170 (EXTRACT_WORDS64): Likewise.
9171 (INSERT_WORDS64): Likewise.
9172 (GET_FLOAT_WORD): Likewise.
9173 (SET_FLOAT_WORD): Likewise.
9175 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9177 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9178 build, but not for second build if --full-gcc. Use
9179 --enable-languages=all for second build if --full-gcc.
9180 (get_parser): Add --full-gcc option.
9181 (main): Update call to Context.
9183 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9186 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9187 Single Quotation Mark).
9188 (thousands_sep): Likewise.
9189 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9190 * localedata/locales/it_IT (thousands_sep): Use ".".
9191 (grouping): Use "3;3".
9193 2018-09-10 Joseph Myers <joseph@codesourcery.com>
9195 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9196 x86_64 and i686 configs using --enable-obsolete-rpc
9197 --enable-obsolete-nsl.
9199 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9201 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9203 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9205 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9206 Increment size of new_argv by one.
9208 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9211 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9212 * localedata/locales/ar_IN (d_fmt): Likewise.
9213 * localedata/locales/bhb_IN (d_fmt): Likewise.
9214 * localedata/locales/bho_IN (d_fmt): Likewise.
9215 * localedata/locales/bn_BD (d_fmt): Likewise.
9216 * localedata/locales/bn_IN (d_fmt): Likewise.
9217 * localedata/locales/doi_IN (d_fmt): Likewise.
9218 * localedata/locales/gu_IN (d_fmt): Likewise.
9219 * localedata/locales/hi_IN (d_fmt): Likewise.
9220 * localedata/locales/hne_IN (d_fmt): Likewise.
9221 * localedata/locales/kn_IN (d_fmt): Likewise.
9222 * localedata/locales/mag_IN (d_fmt): Likewise.
9223 * localedata/locales/mai_IN (d_fmt): Likewise.
9224 * localedata/locales/mjw_IN (d_fmt): Likewise.
9225 * localedata/locales/ml_IN (d_fmt): Likewise.
9226 * localedata/locales/mni_IN (d_fmt): Likewise.
9227 * localedata/locales/mr_IN (d_fmt): Likewise.
9228 * localedata/locales/pa_IN (d_fmt): Likewise.
9229 * localedata/locales/raj_IN (d_fmt): Likewise.
9230 * localedata/locales/sat_IN (d_fmt): Likewise.
9231 * localedata/locales/sd_IN (d_fmt): Likewise.
9232 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9233 * localedata/locales/ta_IN (d_fmt): Likewise.
9234 * localedata/locales/ta_LK (d_fmt): Likewise.
9235 * localedata/locales/tcy_IN (d_fmt): Likewise.
9236 * localedata/locales/ur_IN (d_fmt): Likewise.
9238 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9239 * localedata/locales/ks_IN (d_fmt): Likewise.
9240 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9242 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9243 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9244 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9245 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9247 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9249 * NEWS: Mention exp and exp2 improvements.
9250 * math/Makefile (libm-support): Remove t_exp.
9251 (type-double-routines): Add math_err and e_exp_data.
9252 * sysdeps/aarch64/libm-test-ulps: Update.
9253 * sysdeps/arm/libm-test-ulps: Update.
9254 * sysdeps/i386/fpu/e_exp_data.c: New file.
9255 * sysdeps/i386/fpu/math_err.c: New file.
9256 * sysdeps/i386/fpu/t_exp.c: Remove.
9257 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9258 * sysdeps/ia64/fpu/math_err.c: New file.
9259 * sysdeps/ia64/fpu/t_exp.c: Remove.
9260 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9261 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9262 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9263 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9264 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9265 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9266 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9267 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9268 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9269 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9270 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9271 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9272 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9273 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9277 2018-09-05 Joseph Myers <joseph@codesourcery.com>
9279 * sysdeps/alpha/fpu/math_private.h: Remove.
9281 * sysdeps/generic/math_private.h
9282 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9283 Move this inline function ....
9284 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9285 * include/math.h [!_ISOMAC]: To here....
9287 2018-09-04 Joseph Myers <joseph@codesourcery.com>
9289 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9291 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9292 * include/fenv.h [!_ISOMAC]: ... to here.
9293 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9294 (feraiseexcept): Likewise.
9295 * math/fromfp.h: Do not include <fenv_private.h>.
9296 * math/s_cexp_template.c: Likewise.
9297 * math/s_csin_template.c: Likewise.
9298 * math/s_csinh_template.c: Likewise.
9299 * math/s_ctan_template.c: Likewise.
9300 * math/s_ctanh_template.c: Likewise.
9301 * math/s_iseqsig_template.c: Likewise.
9302 * math/w_acos_compat.c: Likewise.
9303 * math/w_acosf_compat.c: Likewise.
9304 * math/w_acosl_compat.c: Likewise.
9305 * math/w_asin_compat.c: Likewise.
9306 * math/w_asinf_compat.c: Likewise.
9307 * math/w_asinl_compat.c: Likewise.
9308 * math/w_j0_compat.c: Likewise.
9309 * math/w_j0f_compat.c: Likewise.
9310 * math/w_j0l_compat.c: Likewise.
9311 * math/w_j1_compat.c: Likewise.
9312 * math/w_j1f_compat.c: Likewise.
9313 * math/w_j1l_compat.c: Likewise.
9314 * math/w_jn_compat.c: Likewise.
9315 * math/w_jnf_compat.c: Likewise.
9316 * math/w_log10_compat.c: Likewise.
9317 * math/w_log10f_compat.c: Likewise.
9318 * math/w_log10l_compat.c: Likewise.
9319 * math/w_log2_compat.c: Likewise.
9320 * math/w_log2f_compat.c: Likewise.
9321 * math/w_log2l_compat.c: Likewise.
9322 * math/w_log_compat.c: Likewise.
9323 * math/w_logf_compat.c: Likewise.
9324 * math/w_logl_compat.c: Likewise.
9325 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9326 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9327 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9328 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9329 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9330 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9331 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9332 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9333 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9334 * sysdeps/ieee754/k_standardl.c: Likewise.
9335 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9336 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9337 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9338 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9339 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9340 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9341 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9342 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9343 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9344 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9345 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9346 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9347 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9348 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9351 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9352 * math/w_ilogb_template.c: Include <fenv.h> instead of
9354 * math/w_llogb_template.c: Likewise.
9355 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9356 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9358 2018-09-03 Joseph Myers <joseph@codesourcery.com>
9360 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9361 * math/fromfp.h: Include <fenv_private.h>.
9362 * math/math-narrow.h: Likewise.
9363 * math/s_cexp_template.c: Likewise.
9364 * math/s_csin_template.c: Likewise.
9365 * math/s_csinh_template.c: Likewise.
9366 * math/s_ctan_template.c: Likewise.
9367 * math/s_ctanh_template.c: Likewise.
9368 * math/s_iseqsig_template.c: Likewise.
9369 * math/w_acos_compat.c: Likewise.
9370 * math/w_acosf_compat.c: Likewise.
9371 * math/w_acosl_compat.c: Likewise.
9372 * math/w_asin_compat.c: Likewise.
9373 * math/w_asinf_compat.c: Likewise.
9374 * math/w_asinl_compat.c: Likewise.
9375 * math/w_ilogb_template.c: Likewise.
9376 * math/w_j0_compat.c: Likewise.
9377 * math/w_j0f_compat.c: Likewise.
9378 * math/w_j0l_compat.c: Likewise.
9379 * math/w_j1_compat.c: Likewise.
9380 * math/w_j1f_compat.c: Likewise.
9381 * math/w_j1l_compat.c: Likewise.
9382 * math/w_jn_compat.c: Likewise.
9383 * math/w_jnf_compat.c: Likewise.
9384 * math/w_llogb_template.c: Likewise.
9385 * math/w_log10_compat.c: Likewise.
9386 * math/w_log10f_compat.c: Likewise.
9387 * math/w_log10l_compat.c: Likewise.
9388 * math/w_log2_compat.c: Likewise.
9389 * math/w_log2f_compat.c: Likewise.
9390 * math/w_log2l_compat.c: Likewise.
9391 * math/w_log_compat.c: Likewise.
9392 * math/w_logf_compat.c: Likewise.
9393 * math/w_logl_compat.c: Likewise.
9394 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9395 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9396 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9397 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9398 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9399 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9400 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9401 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9402 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9403 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9405 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9406 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9407 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9408 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9409 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9410 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9411 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9412 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9413 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9414 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9415 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9416 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9417 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9419 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9420 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9421 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9422 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9423 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9424 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9425 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9426 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9427 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9428 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9429 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9430 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9431 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9432 * sysdeps/ieee754/k_standardl.c: Likewise.
9433 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9434 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9435 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9436 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9437 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9438 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9439 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9440 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9441 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9442 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9443 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9444 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9445 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9446 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9447 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9448 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9449 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9451 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9452 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9453 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9454 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9455 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9456 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9457 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9458 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9459 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9460 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9461 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9462 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9463 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9464 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9465 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9466 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9467 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9468 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9469 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9470 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9471 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9472 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9473 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9474 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9475 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9476 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9477 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9478 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9479 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9480 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9481 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9482 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9483 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9484 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9485 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9486 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9487 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9488 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9489 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9490 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9491 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9492 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9493 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9494 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9495 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9496 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9497 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9498 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9499 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9500 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9501 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9502 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9503 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9505 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9508 * include/stdio.h (__libc_fatal): Mention newline in comment.
9509 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9510 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9511 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9512 * nss/nsswitch.c (__nss_next2): Likewise.
9513 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9514 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9515 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9516 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9517 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9518 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9519 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9520 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9521 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9522 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9523 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9524 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9525 (__netlink_assert_response): Likewise.
9527 2018-08-31 Joseph Myers <joseph@codesourcery.com>
9529 * conform/glibcconform.py: New file.
9530 * conform/list-header-symbols.py: Likewise.
9531 * conform/list-header-symbols.pl: Remove.
9532 * conform/Makefile (tests-special): Only add linknamespace tests
9534 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9536 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9539 * support/Makefile (libsupport-routines): Add
9540 support_copy_file_range and xcopy_file_range.
9541 * support/support.h: Include <sys/types.h>.
9542 (support_copy_file_range): New prototype.
9543 * support/support_copy_file_range.c: New file. Copied and
9544 modified from io/copy_file_range-compat.c.
9545 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9546 instead of copy_file_range.
9547 * support/xcopy_file_range.c: New file.
9548 * support/xunistd.h (xcopy_file_range): New prototype.
9550 2018-08-30 Carlos O'Donell <carlos@redhat.com>
9552 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9553 xpthread_create and xpthread_join.
9555 2018-08-30 Florian Weimer <fweimer@redhat.com>
9557 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9559 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
9561 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9564 2018-08-29 Joseph Myers <joseph@codesourcery.com>
9566 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9567 and minus_oflow as non-finite.
9569 2018-08-28 Joseph Myers <joseph@codesourcery.com>
9571 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9572 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9573 moved to fenv_private.h except for ...
9574 (TOINT_INTRINSICS): Kept in math_private.h.
9575 (roundtoint): Likewise.
9576 (converttoint): Likewise.
9577 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9578 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9579 * sysdeps/arm/math_private.h: Remove.
9580 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9582 * sysdeps/generic/math_private.h: ... this file. Include
9583 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9584 Include <fenv_private.h>. Remove functions and macros moved to
9586 * sysdeps/i386/fpu/math_private.h: Remove.
9587 * sysdeps/mips/math_private.h: Move to ....
9588 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9589 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9590 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9591 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9592 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9593 * sysdeps/powerpc/fpu/math_private.h: Do not include
9595 * sysdeps/riscv/rvf/math_private.h: Move to ....
9596 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9597 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9599 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9600 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9601 * sysdeps/sparc/fpu/math_private.h: Remove.
9602 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9603 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9604 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9606 * sysdeps/x86_64/fpu/math_private.h: Do not include
9607 <sysdeps/i386/fpu/fenv_private.h>.
9609 2018-08-28 Florian Weimer <fweimer@redhat.com>
9612 * posix/tst-regcomp-truncated.c: New file.
9613 * posix/Makefile (tests): Add it.
9614 (tst-regcomp-truncated.out): Depend on generated locales.
9616 2018-08-28 Florian Weimer <fweimer@redhat.com>
9618 * support/test-container.c (main): Treat unshare failure with
9619 EPERM as an unsupported test.
9621 2018-08-28 Florian Weimer <fweimer@redhat.com>
9624 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9625 * nscd/netgroupcache.c
9626 (addgetnetgrentX): Add tofreep parameter. Do not free
9627 heap-allocated buffer.
9628 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9629 (addgetnetgrentX_ignore): New function.
9630 (addgetnetgrent): Call it.
9631 (readdgetnetgrent): Likewise.
9633 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9635 * string/memmem.c: Use memcmp for first match.
9637 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9640 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9642 2018-08-27 DJ Delorie <dj@redhat.com>
9644 * support/Makefile (others): Don't list programs explicitly as a
9645 dependency of "others".
9647 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9649 * sysdeps/generic/math-tests-trap-force.h: New file.
9650 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9651 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9652 * sysdeps/powerpc/math-tests.h: Remove file.
9653 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9655 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9656 Torvald Riegel <triegel@redhat.com>
9659 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9660 Update r to include the set wake-request flag if waiters are
9661 remaining after spinning.
9663 2018-08-27 Joseph Myers <joseph@codesourcery.com>
9665 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9667 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9670 regex: fix uninitialized memory access
9671 I introduced this bug into gnulib in commit
9672 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9673 eventually it was merged into glibc. The bug was found by
9674 project-repo <bugs@feusi.co> and reported here:
9675 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9676 Diagnosis and draft fix reported by Assaf Gordon here:
9677 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9678 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9679 * posix/regex_internal.c (build_wcs_upper_buffer):
9680 Fix bug when mbrtowc returns 0.
9682 2018-08-24 Carlos O'Donell <carlos@redhat.com>
9684 * po/be.po: Update translation.
9686 2018-08-24 DJ Delorie <dj@delorie.com>
9688 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9691 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9694 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9695 create temporary files in source tree.
9697 2018-08-24 Joseph Myers <joseph@codesourcery.com>
9699 * sysdeps/generic/math-tests-trap.h: New file.
9700 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9701 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9702 * sysdeps/aarch64/math-tests.h: Remove file.
9703 * sysdeps/arm/math-tests.h: Likewise.
9704 * sysdeps/riscv/math-tests.h: Likewise.
9705 * sysdeps/aarch64/math-tests-trap.h: New file.
9706 * sysdeps/arm/math-tests-trap.h: Likewise.
9707 * sysdeps/riscv/math-tests-trap.h: Likewise.
9709 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9711 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9712 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9713 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9714 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9715 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9716 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9717 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9718 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9719 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9720 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9721 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9722 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9723 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9724 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9725 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9726 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9727 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9728 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9730 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9732 * sysdeps/generic/math-tests-exceptions.h: New file.
9733 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9734 (EXCEPTION_TESTS_float): Do not define here.
9735 (EXCEPTION_TESTS_double): Likewise.
9736 (EXCEPTION_TESTS_long_double): Likewise.
9737 (EXCEPTION_TESTS_float128): Likewise.
9738 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9740 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9741 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9742 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9743 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9744 * sysdeps/mips/math-tests.h: Likewise.
9745 * sysdeps/nios2/math-tests.h: Likewise.
9746 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9747 (EXCEPTION_TESTS_float): Do not define here.
9748 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9749 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9750 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9752 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9754 * NEWS: Move optimized sinf entry to 2.29.
9756 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9758 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9760 2018-08-22 DJ Delorie <dj@redhat.com>
9762 * Makefile (testroot.pristine): New rules to initialize the
9763 test-in-container "testroot".
9764 * Makerules (all-testsuite): Add tests-container.
9765 * Rules (tests-expected): Add tests-container.
9766 (binaries-all-tests): Likewise.
9767 (tests-container): New, run these tests in the testroot container.
9768 * support/Makefile (others): Add *-container, support_paths.c,
9769 xmkdirp, and links-dso-program.
9770 * support/links-dso-program-c.c: New.
9771 * support/links-dso-program.cc: New.
9772 * support/test-container.c: New.
9773 * support/shell-container.c: New.
9774 * support/echo-container.c: New.
9775 * support/true-container.c: New.
9776 * support/xmkdirp.c: New.
9777 * support/xsymlink.c: New.
9778 * support/support_paths.c: New.
9779 * support/support.h: Add support paths prototypes.
9780 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9782 * nss/tst-nss-test3.c: Convert to test-in-container.
9783 * nss/tst-nss-test3.root/: New.
9785 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9787 regex: port Gnulib code to z/OS POSIX environment
9788 Problem reported by Arnold Robbins in:
9789 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9790 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9793 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9795 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9796 (ROUNDING_TESTS_double): Remove.
9797 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9798 (ROUNDING_TESTS_double): Remove.
9799 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9800 (ROUNDING_TESTS_double): Remove.
9801 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9802 (ROUNDING_TESTS_float): Remove.
9803 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9804 (ROUNDING_TESTS_float): Remove.
9805 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9806 (ROUNDING_TESTS_float): Remove.
9807 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9809 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9810 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9812 * sysdeps/generic/math-tests-rounding.h: New file.
9813 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9814 (ROUNDING_TESTS_float): Do not define here.
9815 (ROUNDING_TESTS_double): Likewise.
9816 (ROUNDING_TESTS_long_double): Likewise.
9817 (ROUNDING_TESTS_float128): Likewise.
9818 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9819 (ROUNDING_TESTS_double): Undefine before defining.
9820 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9821 (ROUNDING_TESTS_double): Undefine before defining.
9822 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9823 (ROUNDING_TESTS_double): Undefine before defining.
9824 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9825 (ROUNDING_TESTS_float): Undefine before defining.
9826 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9827 (ROUNDING_TESTS_float): Undefine before defining.
9828 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9829 (ROUNDING_TESTS_float): Undefine before defining.
9830 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9831 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9833 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9834 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9835 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9836 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9837 (ROUNDING_TESTS_float): Do not define here.
9838 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9839 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9840 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9841 (ROUNDING_TESTS_float): Likewise.
9842 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9843 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9844 * sysdeps/mips/math-tests.h [__mips_soft_float]
9845 (ROUNDING_TESTS_float): Likewise.
9846 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9847 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9848 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9849 (ROUNDING_TESTS_double): Likewise.
9850 (ROUNDING_TESTS_long_double): Likewise.
9852 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9854 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9855 (PF_XDP): New macro.
9856 (AF_XDP): New macro.
9857 (SOL_XDP): New macro.
9859 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9861 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9862 (TCP_INQ): Likewise.
9863 (TCP_CM_INQ): Likewise.
9864 (TCP_REPAIR_ON): Likewise.
9865 (TCP_REPAIR_OFF): Likewise.
9866 (TCP_REPAIR_OFF_NO_WP): Likewise.
9867 (struct tcp_zerocopy_receive): New type.
9869 2018-08-21 Florian Weimer <fweimer@redhat.com>
9871 * support/support.h (support_descriptor_supports_holes): Declare.
9872 * support/Makefile (libsupport-routines): Add
9873 support_descriptor_supports_holes.
9874 * support/support_descriptor_supports_holes.c: New file.
9875 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9876 and stop testing if holes are not supported.
9877 * io/test-lfs.c (do_prepare): Likewise.
9878 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9880 * timezone/tst-tzset.c (create_tz_file): Likewise.
9881 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9883 (do_prepare): Set it.
9884 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9886 2018-08-21 Florian Weimer <fweimer@redhat.com>
9889 * Makeconfig (+cflags): Do not sort (and deduplicate).
9891 2018-08-21 Florian Weimer <fweimer@redhat.com>
9893 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9894 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9896 2018-08-20 Florian Weimer <fweimer@redhat.com>
9898 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9899 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9901 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9903 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9904 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9905 and ssi_arch members.
9907 * elf/elf.c (NT_VMCOREDD): New macro.
9908 (AT_MINSIGSTKSZ): Likewise.
9910 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9913 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9914 s_cosf-ppc64 and s_cosf-power8.
9915 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9916 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9917 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9918 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9925 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9926 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9928 2018-08-17 Florian Weimer <fweimer@redhat.com>
9930 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9932 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9934 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9936 2018-08-16 Florian Weimer <fweimer@redhat.com>
9938 * configure.ac: Add --with-nonshared-cflags option.
9939 * config.make.in (extra-nonshared-cflags): Set variable.
9940 * Makeconfig (CFLAGS-.oS): Use it.
9941 * manual/install.texi (Configuring and compiling): Document
9942 --with-nonshared-cflags.
9943 * configure: Regenerate.
9944 * INSTALL: Likewise.
9946 2018-08-16 Florian Weimer <fweimer@redhat.com>
9948 * Makeconfig (ASFLAGS): Always append required assembler flags.
9950 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9952 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9953 (malloc_consolidate): Likewise.
9955 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9957 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9959 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9961 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9964 * benchtests/bench-strlen.c: Print performance numbers in json.
9966 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9968 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9969 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9970 only for little endian.
9971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9972 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9973 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9974 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9975 Add check for little endian.
9976 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9977 (__strcmp_power9): Add check for little endian.
9978 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9979 Add check for little endian.
9980 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9981 (__strncmp_power9): Add check for little endian.
9982 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9983 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9984 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9985 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9986 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9988 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9990 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9991 [!STRLEN](STRLEN): Set to __strlen.
9992 * sysdeps/aarch64/multiarch/strlen.c: New file.
9993 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9994 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9995 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9996 (__libc_ifunc_impl_list): Add strlen.
9997 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9998 strlen_generic and strlen_asimd.
10000 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10002 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10003 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10004 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10006 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10008 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10010 2018-08-14 Florian Weimer <fweimer@redhat.com>
10013 * include/stdio.h (__vfxprintf): Declare.
10014 * stdio-common/fxprintf.c (__vfxprintf): New function.
10015 (__fxprintf): Call it.
10016 * misc/err.c (convert_and_print): Remove function.
10017 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10018 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10019 * misc/Makefile (tests): Add tst-warn-wide.
10020 * misc/tst-warn-wide.c: New file.
10022 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10023 Szabolcs Nagy <szabolcs.nagy@arm.com>
10025 * NEWS: Mention sinf, cosf, sincosf.
10026 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10027 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10028 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10029 constants rather than including generic sincosf.h.
10030 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10031 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10032 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10033 (reduced_cos): Remove.
10034 (sinf_poly): New function.
10035 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10037 2018-08-14 Florian Weimer <fweimer@redhat.com>
10041 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10042 processing, bail out if no room, and close the stream before
10044 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10045 (tst-nss-files-alias-leak): Link with libdl.
10046 (tst-nss-files-alias-leak.out): Depend on nss_files.
10048 * nss/tst-nss-files-alias-leak.c: New file.
10050 2018-08-14 Florian Weimer <fweimer@redhat.com>
10052 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10053 server_user, stat_user.
10055 2018-08-13 Joseph Myers <joseph@codesourcery.com>
10057 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10059 (io_pgetevents): New syscall.
10062 * manual/install.texi (Configuring and compiling): Do not list
10063 tools used for testing pretty printers here.
10064 (Tools for Compilation): List Python, PExpect and GDB here.
10065 Update descriptions of uses of Perl and Python.
10066 * INSTALL: Regenerate.
10068 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10071 2018-08-13 Florian Weimer <fweimer@redhat.com>
10073 * misc/error.c (error): Add missing va_end call.
10074 (error_at_line): Likewise.
10076 2018-08-13 Florian Weimer <fweimer@redhat.com>
10078 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10080 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10082 * benchtests/scripts/benchout.schema.json (properties): Add
10085 * benchtests/bench-skeleton.c (main): Add duration and
10086 iterations attributes.
10088 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10090 regex: Gnulib unibyte RRI uses bytes not chars
10091 Adjust the non-glibc code to agree with what Gawk needs for
10092 rational range interpretation (RRI) for regular expression ranges.
10093 In unibyte locales, Gawk wants ranges to use the underlying byte
10094 rather than the character code point. This change does not affect
10096 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10097 In unibyte locales, use the byte value rather than
10098 running it through btowc.
10100 2018-08-10 Joseph Myers <joseph@codesourcery.com>
10102 * sysdeps/generic/math-tests-snan.h: New file.
10103 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10104 (SNAN_TESTS_float): Do not define here.
10105 (SNAN_TESTS_double): Likewise.
10106 (SNAN_TESTS_long_double): Likewise.
10107 (SNAN_TESTS_float128): Likewise.
10108 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10109 * sysdeps/i386/fpu/math-tests.h: Remove file.
10110 * sysdeps/ia64/math-tests-snan.h: New file.
10111 * sysdeps/ia64/math-tests.h: Remove file.
10112 * sysdeps/x86/math-tests.h: Likewise.
10113 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10115 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10116 Szabolcs Nagy <szabolcs.nagy@arm.com>
10118 * math/Makefile: Add s_sincosf_data.c.
10119 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10120 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10121 (sincosf_poly): Likewise.
10122 (reduce_small): Likewise.
10123 (reduce_large): Likewise.
10124 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10125 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10126 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10127 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10129 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10130 Szabolcs Nagy <szabolcs.nagy@arm.com>
10132 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10133 (converttoint): Use lround.
10134 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10135 document the semantics when TOINT_INTRINSICS is set.
10136 (converttoint): Likewise.
10137 (TOINT_RINT): Remove.
10138 (TOINT_SHIFT): Remove.
10139 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10142 2018-08-10 Florian Weimer <fweimer@redhat.com>
10145 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10147 (__old_getdents64): Use getdents64. Convert entries without
10149 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10150 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10151 tst-readdir64-compat.
10153 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10155 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10158 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10160 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10161 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10162 code to s390x-mcount.h and #include it.
10163 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10164 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10167 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10169 * stdlib/Versions: Remove __fentry__.
10170 * sysdeps/i386/Versions: Add __fentry__.
10171 * sysdeps/x86_64/Versions: Add __fentry__.
10173 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10175 * sysdeps/s390/Makefile: Register the new tests.
10176 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10177 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10178 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10179 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10180 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10181 * sysdeps/s390/tst-dl-runtime.c: New file.
10183 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10185 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10188 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10190 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10193 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10195 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10198 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10200 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10203 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10205 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10206 Use symbolic offsets for stack variables.
10208 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10210 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10211 Use symbolic offsets for stack variables.
10213 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10215 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10216 Use symbolic offsets for stack variables.
10218 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10220 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10221 Use symbolic offsets for stack variables.
10223 2018-08-09 Joseph Myers <joseph@codesourcery.com>
10225 * math/gen-libm-test.py: New file.
10226 * math/gen-libm-test.pl: Remove.
10227 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10228 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10230 ($(libm-test-c-noauto-obj)): Likewise.
10231 ($(libm-test-c-auto-obj)): Likewise.
10232 ($(libm-test-c-narrow-obj)): Likewise.
10233 (regen-ulps): Likewise.
10234 * math/README.libm-test: Update references to gen-libm-test.pl.
10235 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10236 referencing gen-libm-test.pl.
10237 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10238 * math/libm-test-support.c: Likewise.
10239 * math/libm-test-support.h: Likewise.
10240 * sysdeps/generic/libm-test-ulps: Likewise.
10242 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10244 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10247 2018-08-08 Joseph Myers <joseph@codesourcery.com>
10249 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10250 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10252 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10254 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10256 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10257 __pthread_setspecific): Add hidden proto.
10258 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10259 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
10261 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10263 * benchtests/bench-string.h (buf1_size, buf2_size): New
10265 (init_sizes): New function.
10266 (test_init): Use it.
10267 (alloc_buf, exit_error): New functions.
10268 (alloc_bufs): Use ALLOC_BUF.
10269 (realloc_bufs): Remove.
10270 * benchtests/bench-memcmp.c (do_test): Adjust.
10271 * benchtests/bench-memset-large.c (do_test): Likewise.
10272 * benchtests/bench-memset-walk.c (do_test): Likewise.
10273 * benchtests/bench-memset.c (do_test): Likewise.
10274 * benchtests/bench-strncmp.c (do_test): Likewise.
10276 2018-08-06 Andreas Schwab <schwab@suse.de>
10278 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10279 of CONST_THREAD_AREA.
10281 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10283 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10284 (STATE_SAVE_MASK): Likewise.
10285 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10286 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10287 (STATE_SAVE_MASK): Likewise.
10288 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10289 instead of <cpu-features.h>.
10291 2018-08-03 DJ Delorie <dj@redhat.com>
10293 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
10294 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
10296 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10298 2018-08-03 Joseph Myers <joseph@codesourcery.com>
10300 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10301 after TEST_* calls.
10302 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10303 * math/libm-test-logb.inc (logb_test_data): Likewise.
10305 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10307 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10308 * string/strstr.c (AVAILABLE): Likewise.
10310 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10312 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10314 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10315 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10316 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10318 2018-08-03 Carlos O'Donell <carlos@redhat.com>
10320 * po/be.po: Update translation.
10322 * po/be.po: Update translation.
10324 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10326 * sysdeps/x86/cpu-features-offsets.sym
10327 (rtld_global_ro_offsetof): Removed.
10328 (CPU_FEATURES_SIZE): Likewise.
10329 (CPUID_OFFSET): Likewise.
10330 (CPUID_SIZE): Likewise.
10331 (CPUID_EAX_OFFSET): Likewise.
10332 (CPUID_EBX_OFFSET): Likewise.
10333 (CPUID_ECX_OFFSET): Likewise.
10334 (CPUID_EDX_OFFSET): Likewise.
10335 (FAMILY_OFFSET): Likewise.
10336 (MODEL_OFFSET): Likewise.
10337 (FEATURE_OFFSET): Likewise.
10338 (FEATURE_SIZ): Likewise.
10339 (COMMON_CPUID_INDEX_1): Likewise.
10340 (COMMON_CPUID_INDEX_7): Likewise.
10341 (FEATURE_INDEX_1): Likewise.
10342 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10344 2018-08-02 Carlos O'Donell <carlos@redhat.com>
10346 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10347 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10348 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10349 (install-locales): Depend on install-locale-archive.
10350 (install-locale-archive): Define.
10351 (install-locale-files): Define.
10352 (build-one-locale): Define macro.
10353 * manual/install.texi (Running make install): Document.
10354 * manual/INSTALL: Regenerate.
10356 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10358 * benchtests/scripts/compare_strings.py: Import traceback.
10359 (parse_file): Pretty-print error.
10361 * NEWS: Mention the change.
10362 * elf/dl-tunables.list: Rename tune namespace to cpu.
10363 * sysdeps/powerpc/dl-tunables.list: Likewise.
10364 * sysdeps/x86/dl-tunables.list: Likewise.
10365 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10367 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10368 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10369 * manual/README.tunables: Likewise.
10370 * manual/tunables.texi: Likewise.
10371 * sysdeps/powerpc/cpu-features.c: Likewise.
10372 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10373 (init_cpu_features): Likewise.
10374 * sysdeps/x86/cpu-features.c: Likewise.
10375 * sysdeps/x86/cpu-features.h: Likewise.
10376 * sysdeps/x86/cpu-tunables.c: Likewise.
10377 * sysdeps/x86_64/Makefile: Likewise.
10378 * sysdeps/x86/dl-cet.c: Likewise.
10380 2018-08-02 Joseph Myers <joseph@codesourcery.com>
10383 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10384 [__mips_hard_float].
10385 (FE_UNDERFLOW): Likewise.
10386 (FE_OVERFLOW): Likewise.
10387 (FE_DIVBYZERO): Likewise.
10388 (FE_INVALID): Likewise.
10389 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10390 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10391 (FE_UPWARD): Likewise.
10392 (FE_DOWNWARD): Likewise.
10393 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10394 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10395 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10396 [__mips_hard_float].
10397 (FP_ROUNDMODE): Likewise.
10398 (FP_RND_NEAREST): Likewise.
10399 (FP_RND_ZERO): Likewise.
10400 (FP_RND_PINF): Likewise.
10401 (FP_RND_MINF): Likewise.
10402 (FP_EX_INVALID): Likewise.
10403 (FP_EX_OVERFLOW): Likewise.
10404 (FP_EX_UNDERFLOW): Likewise.
10405 (FP_EX_DIVZERO): Likewise.
10406 (FP_EX_INEXACT): Likewise.
10407 (FP_INIT_ROUNDMODE): Likewise.
10408 * sysdeps/mips/nofpu/fesetenv.c: New file.
10409 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10411 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10413 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10414 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10415 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10416 conditional on [FE_UPWARD].
10418 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10420 regex: fix memory leak in Gnulib
10421 Problem and fix reported by Assaf Gordon in:
10422 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10423 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10424 range_ends members too, as they are defined in 'struct
10425 re_charset_t' even if not _LIBC. This affects only Gnulib.
10427 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10429 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10431 (get_common_indices): This.
10432 (init_cpu_features): Updated.
10434 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10436 * sysdeps/generic/math-tests-snan-payload.h: New file.
10437 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10438 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10439 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10440 * sysdeps/generic/math-tests.h: Include
10441 <math-tests-snan-payload.h>.
10442 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10443 * sysdeps/hppa/math-tests.h: Remove file.
10444 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10445 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10446 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10449 * sysdeps/generic/math-tests-snan-cast.h: New file.
10450 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10451 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10452 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10453 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10455 2018-08-01 Carlos O'Donel <carlos@redhat.com>
10457 * version.h (RELEASE): Set to "development".
10458 (VERSION): Set to "2.28.9000".
10459 * NEWS (2.29): New section.
10461 * version.h (RELEASE): Set to "stable".
10462 (VERSION): Set to "2.28".
10463 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10464 * NEWS: Add the list of bugs fixed in 2.28.
10466 * po/ca.po: Update to latest version.
10467 * po/cs.po: Likewise
10468 * po/da.po: Likewise
10469 * po/el.po: Likewise
10470 * po/eo.po: Likewise
10471 * po/es.po: Likewise
10472 * po/fi.po: Likewise
10473 * po/fr.po: Likewise
10474 * po/gl.po: Likewise
10475 * po/hu.po: Likewise
10476 * po/ia.po: Likewise
10477 * po/id.po: Likewise
10478 * po/it.po: Likewise
10479 * po/ja.po: Likewise
10480 * po/ko.po: Likewise
10481 * po/lt.po: Likewise
10482 * po/nb.po: Likewise
10483 * po/nl.po: Likewise
10484 * po/pt_BR.po: Likewise
10485 * po/ru.po: Likewise
10486 * po/rw.po: Likewise
10487 * po/sk.po: Likewise
10488 * po/sl.po: Likewise
10489 * po/tr.po: Likewise
10490 * po/zh_CN.po: Likewise
10491 * po/zh_TW.po: Likewise
10493 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10495 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10497 (init): ... before initializing libpthread.
10499 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10500 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10501 (__mach_setup_tls): ... new function.
10502 (mach_setup_tls): New alias.
10503 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10504 __mach_setup_thread.
10505 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10506 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10507 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10508 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10510 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10512 * manual/install.texi: Update versions.
10513 * INSTALL: Regenerate.
10515 * manual/contrib.texi (Contributors): Update contributions.
10517 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10519 * po/be.po: Update translations.
10521 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10523 * sysdeps/sh/libm-test-ulps: Update.
10525 2018-07-30 Carlos O'Donell <carlos@redhat.com>
10527 * po/bg.po: Update translations.
10528 * po/de.po: Likewise.
10529 * po/hr.po: Likewise.
10530 * po/pt_BR.po: Likewise.
10531 * po/sv.po: Likewise.
10532 * po/vi.po: Likewise.
10534 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10537 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10538 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10539 (CFLAGS-tst-cet-property-1.o): New.
10540 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10541 ($(objpfx)tst-cet-property-2): Likewise.
10542 ($(objpfx)tst-cet-property-2.out): Likewise.
10543 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10544 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10545 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10546 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10547 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10549 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10552 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10554 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10556 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10557 __sbrk): Do not set attribute_hidden.
10558 * sysdeps/mach/hurd/not-errno.h: New file.
10559 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10560 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10562 2018-07-27 Carlos O'Donell <carlos@redhat.com>
10564 * po/uk.po: Update translations.
10565 * po/cs.po: Likewise.
10566 * po/pl.po: Likewise.
10568 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10570 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10571 parse beyond the note end.
10573 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10575 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10576 kernel does not support OFD locks.
10577 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10579 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10581 * sysdeps/mach/hurd/Versions (libc): Make __access and
10582 __access_noerrno external so they can override the ld symbols.
10583 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10584 __writev, __open64, __access_noerrno extern so they can be overrided.
10585 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10586 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10588 2018-07-26 Carlos O'Donell <carlos@redhat.com>
10590 * po/libc.pot: Regenerate.
10592 2018-07-26 Joseph Myers <joseph@codesourcery.com>
10594 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10596 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10599 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10601 (init_cpu_features): Call get_extended_indices for both Intel
10603 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10604 Remove "for AMD" comment.
10606 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10609 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10610 COMMON_CPUID_INDEX_80000001.
10612 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
10614 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10615 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10617 2018-07-26 Florian Weimer <fweimer@redhat.com>
10619 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10620 aliases for symbols not in the implementation namespace.
10622 2018-07-25 Carlos O'Donell <carlos@redhat.com>
10625 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10626 lowercase in LATIN script.
10627 * localedata/Makefile (test-input): Add en_US.UTF-8.
10628 * localedata/en_US.UTF-8.in: New file.
10629 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10630 and restore old tests.
10631 * posix/tst-regexloc.c (do_test): Add back range expression test.
10633 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10635 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10637 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10639 * nptl/threads.h: Move to ...
10640 * sysdeps/nptl/threads.h: ... here.
10641 * sysdeps/hurd/stdc-predef.h: New file.
10643 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10645 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10646 tst-cet-setcontext-1 if CET is enabled.
10647 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10648 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10650 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10652 * include/threads.h: Move to ...
10653 * sysdeps/nptl/threads.h: ... here.
10654 * sysdeps/htl/threads.h: New file.
10655 * conform/Makefile (linknamespace-libs-ISO11): Use
10656 static-thread-library instead of linking libpthread.
10657 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10659 2018-07-25 Florian Weimer <fweimer@redhat.com>
10661 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10662 nanoseconds into seconds.
10663 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10664 (do_test): Likewise.
10665 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10666 (do_test): Likewise. Avoid nanosecond overflow and spurious
10667 timeouts due to system load.
10668 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10669 (child_wait): Increment it.
10670 (do_test): Wait as long as necessary until all expected threads
10673 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10674 H.J. Lu <hongjiu.lu@intel.com>
10676 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10678 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10679 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10680 (__push___start_context): New.
10681 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10683 (__getcontext): Record the current shadow stack base. Save the
10684 caller's shadow stack pointer and base.
10685 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10686 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10687 (__push___start_context): New prototype.
10688 (__makecontext): Call __push___start_context to allocate a new
10689 shadow stack, push __start_context onto the new stack as well
10690 as the new shadow stack.
10691 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10693 (__setcontext): Restore the target shadow stack.
10694 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10696 (__swapcontext): Record the current shadow stack base. Save
10697 the caller's shadow stack pointer and base. Restore the target
10699 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10700 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10701 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10703 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10705 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10706 tst-setcontext8 and tst-setcontext9.
10707 * stdlib/tst-setcontext6.c: New file.
10708 * stdlib/tst-setcontext7.c: Likewise.
10709 * stdlib/tst-setcontext8.c: Likewise.
10710 * stdlib/tst-setcontext9.c: Likewise.
10712 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10714 * stdlib/Makefile ((tests): Add tst-setcontext5.
10715 * stdlib/tst-setcontext5.c: New file.
10717 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10719 * stdlib/Makefile (tests): Add tst-setcontext4.
10720 * stdlib/tst-setcontext4.c: New file.
10722 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10724 * stdlib/Makefile (tests): Add tst-swapcontext1.
10725 * stdlib/tst-swapcontext1.c: New test.
10727 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10729 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10730 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10731 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10732 and tst-cet-legacy-4c.
10733 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10734 and tst-cet-legacy-mod-4.
10735 (CFLAGS-tst-cet-legacy-2.c): New.
10736 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10737 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10738 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10739 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10740 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10741 ($(objpfx)tst-cet-legacy-1): Likewise.
10742 ($(objpfx)tst-cet-legacy-2): Likewise.
10743 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10744 ($(objpfx)tst-cet-legacy-2a): Likewise.
10745 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10746 ($(objpfx)tst-cet-legacy-4): Likewise.
10747 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10748 ($(objpfx)tst-cet-legacy-4a): Likewise.
10749 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10750 (tst-cet-legacy-4a-ENV): Likewise.
10751 ($(objpfx)tst-cet-legacy-4b): Likewise.
10752 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10753 (tst-cet-legacy-4b-ENV): Likewise.
10754 ($(objpfx)tst-cet-legacy-4c): Likewise.
10755 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10756 (tst-cet-legacy-4c-ENV): Likewise.
10757 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10758 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10759 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10760 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10761 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10762 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10763 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10764 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10765 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10766 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10767 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10769 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10771 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10772 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10774 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10775 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10778 2018-07-25 Andreas Schwab <schwab@suse.de>
10781 * locale/weightwc.h (findidx): Handle the case where usrc is a
10782 prefix of cp but one character too short.
10784 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10786 * NEWS: Add ISO C threads addition.
10788 2018-07-24 Florian Weimer <fweimer@redhat.com>
10790 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10791 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10792 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10795 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10797 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10798 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10799 <sys/prctl.h> and <asm/prctl.h>.
10800 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10801 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10803 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10804 ARCH_CET_LEGACY_BITMAP.
10805 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10806 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10807 * sysdeps/x86/libc-start.c: Include <startup.h>.
10809 2018-07-24 Florian Weimer <fweimer@redhat.com>
10811 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10812 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10814 2018-07-24 Rical Jasan <rj@2c3t.io>
10815 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10816 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10819 * manual/debug.texi: Update adjacent chapter name.
10820 * manual/probes.texi: Likewise.
10821 * manual/threads.texi (ISO C Threads): New section.
10822 (POSIX Threads): Convert to a section.
10824 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10825 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10828 * nptl/Makefile (tests): Add new test files.
10829 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10830 * nptl/tst-cnd-basic.c: Likewise.
10831 * nptl/tst-cnd-broadcast.c: Likewise.
10832 * nptl/tst-cnd-timedwait.c: Likewise.
10833 * nptl/tst-mtx-basic.c: Likewise.
10834 * nptl/tst-mtx-recursive.c: Likewise.
10835 * nptl/tst-mtx-timedlock.c: Likewise.
10836 * nptl/tst-mtx-trylock.c: Likewise.
10837 * nptl/tst-thrd-basic.c: Likewise.
10838 * nptl/tst-thrd-detach.c: Likewise.
10839 * nptl/tst-thrd-sleep.c: Likewise.
10840 * nptl/tst-tss-basic.c: Likewise.
10842 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10845 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10846 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10848 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10849 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10850 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10851 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10852 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10853 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10854 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10855 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10856 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10857 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10858 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10859 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10867 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10868 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10869 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10870 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10871 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10872 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10873 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10874 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10875 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10876 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10877 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10878 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10879 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10881 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10882 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10883 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10884 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10885 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10886 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10887 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10888 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10889 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10890 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10891 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10892 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10899 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10900 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10901 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10902 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10903 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10904 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10905 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10906 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10909 * conform/data/threads.h-data (thread_local): New macro.
10910 (TSS_DTOR_ITERATIONS): Likewise.
10912 (tss_dtor_t): Likewise.
10913 (tss_create): New function.
10914 (tss_get): Likewise.
10915 (tss_set): Likewise.
10916 (tss_delete): Likewise.
10917 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10918 tss_get, and tss_set objects.
10919 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10920 * nptl/tss_create.c: New file.
10921 * nptl/tss_delete.c: Likewise.
10922 * nptl/tss_get.c: Likewise.
10923 * nptl/tss_set.c: Likewise.
10924 * sysdeps/nptl/threads.h (thread_local): New define.
10925 (TSS_DTOR_ITERATIONS): Likewise.
10926 (tss_t): New typedef.
10927 (tss_dtor_t): Likewise.
10928 (tss_create): New prototype.
10929 (tss_get): Likewise.
10930 (tss_set): Likewise.
10931 (tss_delete): Likewise.
10934 * conform/data/threads.h-data (cnd_t): New type.
10935 (cnd_init): New function.
10936 (cnd_signal): Likewise.
10937 (cnd_broadcast): Likewise.
10938 (cnd_wait): Likewise.
10939 (cnd_timedwait): Likewise.
10940 (cnd_destroy): Likewise.
10941 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10942 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10944 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10945 * nptl/cnd_broadcast.c: New file.
10946 * nptl/cnd_destroy.c: Likewise.
10947 * nptl/cnd_init.c: Likewise.
10948 * nptl/cnd_signal.c: Likewise.
10949 * nptl/cnd_timedwait.c: Likewise.
10950 * nptl/cnd_wait.c: Likewise.
10951 * sysdeps/nptl/threads.h (cnd_t): New type.
10952 (cnd_init): New prototype.
10953 (cnd_signa): Likewise.
10954 (cnd_broadcast): Likewise.
10955 (cnd_wait): Likewise.
10956 (cnd_timedwait): Likewise.
10957 (cnd_destroy): Likewise.
10960 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10961 (once_flag): New type.
10962 (call_once): New function.
10963 * nptl/Makefile (libpthread-routines): Add call_once object.
10964 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10965 * nptl/call_once.c: New file.
10966 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10967 (once_flag): New type.
10968 (call_once): New prototype.
10971 * conform/data/threads.h-data (mtx_plain): New constant.
10972 (mtx_recursive): Likewise.
10973 (mtx_timed): Likewise.
10975 (mtx_init): New function.
10976 (mtx_lock): Likewise.
10977 (mtx_timedlock): Likewise.
10978 (mtx_trylock): Likewise.
10979 (mtx_unlock): Likewise.
10980 (mtx_destroy): Likewise.
10981 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10982 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10983 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10984 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10985 * nptl/mtx_destroy.c: New file.
10986 * nptl/mtx_init.c: Likewise.
10987 * nptl/mtx_lock.c: Likewise.
10988 * nptl/mtx_timedlock.c: Likewise.
10989 * nptl/mtx_trylock.c: Likewise.
10990 * nptl/mtx_unlock.c: Likewise.
10991 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10992 (mtx_recursive): Likewise.
10993 (mtx_timed): Likewise.
10995 (mtx_init): New prototype.
10996 (mtx_lock): Likewise.
10997 (mtx_timedlock): Likewise.
10998 (mtx_trylock): Likewise.
10999 (mtx_unlock): Likewise.
11000 (mtx_destroy): Likewise.
11003 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11004 (linknamespace-libs-ISO11): Add libpthread.a.
11005 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11007 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11008 * nptl/Makefile (headers): Add threads.h.
11009 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11010 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11012 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11013 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11014 thrd_join, thrd_sleep, and thrd_yield symbols.
11015 * nptl/descr.h (struct pthread): Add c11 field.
11016 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11017 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11018 routine with expected function prototype.
11019 (__pthread_create_2_1): Add C11 threads check based on attribute
11021 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11022 * nptl/thrd_create.c: New file.
11023 * nptl/thrd_current.c: Likewise.
11024 * nptl/thrd_detach.c: Likewise.
11025 * nptl/thrd_equal.c: Likewise.
11026 * nptl/thrd_exit.c: Likewise.
11027 * nptl/thrd_join.c: Likewise.
11028 * nptl/thrd_priv.h: Likewise.
11029 * nptl/thrd_sleep.c: Likewise.
11030 * nptl/thrd_yield.c: Likewise.
11031 * include/threads.h: Likewise.
11033 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11035 * bits/indirect-return.h: New file.
11036 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11037 * sysdeps/x86/bits/indirect-return.h: Likewise.
11038 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11039 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11040 (swapcontext): Add __INDIRECT_RETURN.
11041 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11042 (prepare_test_buffer): Use it.
11044 2018-07-24 Andreas Schwab <schwab@suse.de>
11047 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11048 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11050 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11052 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11053 Redefine if shadow stack is enabled.
11054 (SYSCALL_ERROR_LABEL): Likewise.
11055 (__vfork): Pop shadow stack and jump back to to caller directly
11056 when shadow stack is in use.
11057 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11058 Redefine if shadow stack is enabled.
11059 (SYSCALL_ERROR_LABEL): Likewise.
11060 (__vfork): Pop shadow stack and jump back to to caller directly
11061 when shadow stack is in use.
11063 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11065 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11068 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11071 2018-07-20 Joseph Myers <joseph@codesourcery.com>
11073 * scripts/build-many-glibcs.py (Context.checkout): Default
11074 binutils version to 2.31 branch.
11076 2018-07-20 Zong Li <zong@andestech.com>
11078 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11079 URL of gcc's tarball.
11081 2018-07-20 Florian Weimer <fweimer@redhat.com>
11084 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11085 not compare an extra byte after the end of the weights.
11087 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11089 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11091 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11093 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11094 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
11095 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11096 list of libraries whose stack executability is expected.
11097 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11098 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11100 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11101 libc.so libpthread.so.
11103 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11105 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11107 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11109 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11111 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
11113 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11115 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11116 library to improve command line parsing.
11117 (__main__): make schema file as optional parameter (--schema),
11118 defaulting to benchtests/scripts/benchout.schema.json.
11119 (main): move out of the parsing stuff to __main_ and leave it
11120 only as caller of main comparison functions.
11122 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11124 * NEWS: Add a note for Intel CET status.
11125 * manual/install.texi: Likewise.
11126 * INSTALL: Regenerated.
11128 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11131 * localedata/locales/oc_FR (mon): Rename to...
11132 (alt_mon): This, then update October (typo fix).
11133 (mon): New content (genitive case, month names preceded by
11137 * localedata/locales/oc_FR (abday): Update all items.
11138 (day): Update Wednesday and Saturday (typo fixes).
11139 (abmon): Update all items, except May.
11140 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11141 (LC_IDENTIFICATION): Bump the revision number and date.
11142 Keep the "category" entries in alphabetic order.
11143 (LC_ADDRESS): Remove no longer needed comment.
11144 (LC_COLLATE): Use “copy "ca_ES"”.
11145 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11148 2018-07-18 Joseph Myers <joseph@codesourcery.com>
11150 * grp/tst_fgetgrent.c: Include <unistd.h>.
11151 (main): Use mkstemp instead of tmpnam.
11152 * io/test-utime.c (main): Likewise.
11153 * posix/annexc.c (macrofile): Change to modifiable array.
11154 (main): Remove macrofile here.
11155 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11157 (check_header): Do not remove macrofile here.
11158 * posix/bug-getopt1.c: Include <stdlib.h>.
11159 (do_test): Use mkstemp instead of tmpnam.
11160 * posix/bug-getopt2.c: Include <stdlib.h>.
11161 (do_test): Use mkstemp instead of tmpnam.
11162 * posix/bug-getopt3.c: Include <stdlib.h>.
11163 (do_test): Use mkstemp instead of tmpnam.
11164 * posix/bug-getopt4.c: Include <stdlib.h>.
11165 (do_test): Use mkstemp instead of tmpnam.
11166 * posix/bug-getopt5.c: Include <stdlib.h>.
11167 (do_test): Use mkstemp instead of tmpnam.
11168 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11169 (main): Use mkstemp instead of tmpnam.
11170 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11171 (main): Use mkstemp instead of tmpnam.
11172 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11173 (main): use mkstemp instead of tmpnam.
11174 * stdlib/isomac.c (macrofile): Change to modifiable array.
11175 (main): Remove macrofile here.
11176 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11178 (check_header): Do not remove macrofile here.
11180 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11182 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11183 glibc.tune.x86_shstk.
11185 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11187 * NEWS: Mention --enable-cet.
11188 * manual/install.texi: Document --enable-cet.
11189 * INSTALL: Regenerated.
11191 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11193 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11194 Add _CET_NOTRACK before indirect jump to jump table.
11196 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11198 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11199 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11202 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11204 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11205 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11208 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11210 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11211 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11214 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11216 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11217 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11220 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11222 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11223 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11225 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11227 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11229 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11230 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11233 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11235 * sysdeps/i386/i686/multiarch/memset-sse2.S
11236 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11239 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11241 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11242 indirect jump to jump table.
11244 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11246 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11247 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11249 (MEMCPY): Likewise.
11251 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11253 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11254 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11256 (MEMCPY): Likewise.
11258 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11260 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11261 _CET_NOTRACK before indirect jump to jump table.
11263 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11265 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11266 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11269 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11271 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11272 indirect jump to jump table.
11274 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11277 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11278 (LOCALES): Likewise.
11279 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11280 * localedata/locales/sah_RU: New file.
11281 * localedata/sah_RU.UTF-8.in: New file.
11283 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11285 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11287 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11288 _CET_ENDBR to indirect jump targets and adjust jump destination
11290 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11292 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11293 _CET_ENDBR to indirect jump targets and adjust jump destination
11295 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11297 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11298 _CET_ENDBR to indirect jump targets and adjust jump destination
11301 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11303 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11306 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11308 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11310 (_dl_tlsdesc_undefweak): Likewise.
11311 (_dl_tlsdesc_dynamic): Likewise.
11312 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11313 (_dl_tlsdesc_resolve_rel): Likewise.
11314 (_dl_tlsdesc_resolve_rela): Likewise.
11315 (_dl_tlsdesc_resolve_hold): Likewise.
11316 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11317 (_dl_tlsdesc_undefweak): Likewise.
11318 (_dl_tlsdesc_dynamic): Likewise.
11319 (_dl_tlsdesc_resolve_rela): Likewise.
11320 (_dl_tlsdesc_resolve_hold): Likewise.
11322 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11324 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11326 * sysdeps/x86_64/crti.S (_init): Likewise.
11329 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11332 * localedata/locales/os_RU (mon): Rename to...
11334 (mon): Import from CLDR (genitive case).
11336 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11338 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11339 cet-tunables.h> when CET is enabled.
11341 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11344 * configure.ac: Add --enable-cet.
11345 * configure: Regenerated.
11346 * elf/Makefille (all-built-dso): Add a comment.
11347 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11348 Include <dl-prop.h>.
11349 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11351 * elf/dl-open.c: Include <dl-prop.h>.
11352 (dl_open_worker): Call _dl_open_check.
11353 * elf/rtld.c: Include <dl-prop.h>.
11354 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11356 * sysdeps/generic/dl-prop.h: New file.
11357 * sysdeps/i386/dl-cet.c: Likewise.
11358 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11359 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11360 * sysdeps/x86/cet-tunables.h: Likewise.
11361 * sysdeps/x86/check-cet.awk: Likewise.
11362 * sysdeps/x86/configure: Likewise.
11363 * sysdeps/x86/configure.ac: Likewise.
11364 * sysdeps/x86/dl-cet.c: Likewise.
11365 * sysdeps/x86/dl-procruntime.c: Likewise.
11366 * sysdeps/x86/dl-prop.h: Likewise.
11367 * sysdeps/x86/libc-start.h: Likewise.
11368 * sysdeps/x86/link_map.h: Likewise.
11369 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11371 (_dl_runtime_profile): Likewise.
11372 (_dl_runtime_resolve_shstk): New.
11373 (_dl_runtime_profile_shstk): Likewise.
11374 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11376 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11377 (CFLAGS-.os): Likewise.
11378 (CFLAGS-.op): Likewise.
11379 (CFLAGS-.oS): Likewise.
11380 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11382 (tests-special): Add $(objpfx)check-cet.out.
11383 (cet-built-dso): New.
11384 (+$(cet-built-dso:=.note)): Likewise.
11385 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11386 ($(objpfx)check-cet.out): New.
11387 (generated): Add check-cet.out.
11388 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11390 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11391 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11392 (init_cpu_features): Call get_cet_status to check CET status
11393 and update dl_x86_feature_1 with CET status. Call
11394 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11395 (set_x86_shstk). Disable and lock CET in libc.a.
11396 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11397 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11398 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11399 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11400 (_CET_ENDBR): Define if not defined.
11401 (ENTRY): Add _CET_ENDBR.
11402 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11404 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11406 (_dl_runtime_profile): Likewise.
11408 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11411 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11412 restore r2 on longjmp.
11413 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11415 Added rules to build test tst-setjmp-bug21895-static.
11416 Added module setjmp-bug21895 and rules to build a shared object from it.
11417 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11418 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11420 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11422 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11423 * benchtests/bench-strstr.c: Likewise.
11424 * string/memmem.c (FASTSEARCH): Define.
11425 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11426 Add support for FASTSEARCH.
11427 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11428 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11429 (FASTSEARCH): Define.
11430 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11431 * string/test-strstr.c: Likewise.
11433 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11436 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11438 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11439 H.J. Lu <hongjiu.lu@intel.com>
11441 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11442 (__longjmp): Restore shadow stack pointer if shadow stack is
11443 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11444 isn't defined for __longjmp_cancel.
11445 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11446 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11447 and SHADOW_STACK_POINTER_OFFSET is defined.
11448 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11449 (setjmp): Save shadow stack pointer if shadow stack is enabled
11450 and SHADOW_STACK_POINTER_OFFSET is defined.
11451 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11452 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11453 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11454 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11456 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11457 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11458 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11459 Remove jmp_buf-ssp.sym.
11460 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11462 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11463 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11464 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11466 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11467 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11468 (__longjmp): Restore shadow stack pointer if shadow stack is
11469 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11470 isn't defined for __longjmp_cancel.
11471 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11472 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11473 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11475 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11478 * nptl/pthread_create.c: Include <tls-setup.h>.
11479 (__pthread_create_2_1): Call tls_setup_tcbhead.
11480 * sysdeps/generic/tls-setup.h: New file.
11481 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11482 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11483 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11485 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11487 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11488 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11489 (X86_FEATURE_1_SHSTK): Likewise.
11490 (CET_ENABLED): Likewise.
11491 (IBT_ENABLED): Likewise.
11492 (SHSTK_ENABLED): Likewise.
11494 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11497 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11498 (LOCALES): Likewise.
11499 * localedata/dsb_DE.UTF-8.in: New file.
11500 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11502 2018-07-12 Florian Weimer <fweimer@redhat.com>
11504 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11505 __mprotect, not mprotect.
11507 2018-07-11 Florian Weimer <fweimer@redhat.com>
11509 * io/Makefile (headers): Add bits/statx.h.
11511 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11513 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11514 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11516 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11517 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11520 2018-07-10 Florian Weimer <fweimer@redhat.com>
11522 * io/Makefile (routines): Add statx.
11523 (tests-internal): Add tst-statx.
11524 * io/Versions (GLIBC_2.28): Export statx.
11525 * io/bits/statx.h: New file.
11526 * io/sys/stat.h [__USE_GNU]: Include it.
11527 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11528 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11530 * io/statx.c: New file.
11531 * io/statx_generic.: Likewise.
11532 * io/tst-statx.: Likewise.
11533 * include/bits/statx.h: Likewise.
11534 * sysdeps/unix/sysv/linux/kernel-features.h
11535 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11536 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11537 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11538 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11540 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11541 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11542 * sysdeps/unix/sysv/linux/statx.c: New file.
11543 * manual/filesys.texi: Note that statx is undocumented.
11544 * sysdeps/**/libc*.abilist: Update.
11546 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11548 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11549 a kernel issue which lead to test failure in some cases.
11551 2018-07-10 Florian Weimer <fweimer@redhat.com>
11554 * posix/regexec.c (check_node_accept_bytes): When comparing
11555 weights, do not compare an extra byte after the end of the
11558 2018-07-10 Florian Weimer <fweimer@redhat.com>
11560 * libio/readline.c: Fix copyright year.
11561 * libio/tst-readline.c Likewise.
11562 * nss/tst-nss-files-hosts-getent.c: Likewise.
11564 2018-07-06 Florian Weimer <fweimer@redhat.com>
11567 * nss/nss_files/files-XXX.c (internal_getent): Use
11568 __libc_readline_unlocked. Seek back to the start of the line if
11569 parsing failes with ERANGE.
11570 (get_contents_ret, get_contents): Remove.
11571 * nss/tst-nss-files-hosts-getent.c: New file.
11572 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11573 (tst-nss-files-hosts-getent): Link with -ldl.
11575 2018-07-06 Florian Weimer <fweimer@redhat.com>
11577 * include/stdio.h (__libc_readline_unlocked): Declare.
11578 (__ftello64, __fseeko64): Declare aliases.
11579 * libio/readline.c: New file.
11580 * libio/tst-readline.c: Likewise.
11581 (routines): Add readline.
11582 (tests-internal): Add tst-readlime.
11583 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11584 __libc_readline_unlocked.
11585 * libio/fseeko.c (__fseeko): Rename from fseeko.
11586 (fseeko): Add alias.
11587 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11588 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11589 (fseeko64): Add alias.
11590 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11591 * libio/ftello64.c (__ftello64): Rename from ftello64.
11592 (ftello64): Add alias.
11594 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11596 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11599 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11601 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11602 Use dl_hwcap without masking.
11603 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11604 Remove HWCAP_CPUID.
11606 2018-07-06 Florian Weimer <fweimer@redhat.com>
11608 * conform/conformtest.pl (checknamespace): Escape literal braces
11609 in regular expressions.
11611 2018-07-06 Amit Pawar <amit.pawar@amd.com>
11613 * sysdeps/x86/cpu-features.c (get_common_indeces):
11614 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11615 * sysdeps/x86/cpu-features.c (init_cpu_features):
11616 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11618 2018-07-05 Florian Weimer <fweimer@redhat.com>
11620 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11622 (CFLAGS-elf-init.oS): Likewise.
11624 2018-07-05 Florian Weimer <fweimer@redhat.com>
11625 Carlos O'Donell <carlos@redhat.com>
11627 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11628 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11629 with stack protector enabled because there is no risk of infinite
11632 2018-07-05 Maciej W. Rozycki <macro@mips.com>
11636 * libc-abis (ABSOLUTE): New ABI.
11637 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11638 * NEWS: Mention the new ABI.
11640 2018-07-05 Florian Weimer <fweimer@redhat.com>
11643 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11644 (RENAME_WHITEOUT): Define.
11645 [__USE_GNU] (renameat2): Declare.
11646 * stdio-common/Makefile (routines): Add renameat2.
11647 (tests): Add tst-renameat2.
11648 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11649 * stdio-common/renameat2.c: New file.
11650 * stdio-common/tst-renameat2.c: Likewise.
11651 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11652 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11654 * sysdeps/unix/sysv/linux/kernel-features.h
11655 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11656 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11657 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11658 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11659 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11660 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11661 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11662 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11663 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11664 * include/stdio.h (__renameat): Add alias for renameat.
11665 * stdio-common/renameat.c (__renameat): Rename from renameat.
11666 Add hidden definition and alias.
11667 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11668 * sysdeps/mach/hurd/renameat.c: Likewise.
11669 * sysdeps/**/libc*.abilist: Add renameat2.
11671 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11673 * posix/bug-regex33.c: Fix build after regex sync.
11675 2018-07-04 Carlos O'Donell <carlos@redhat.com>
11678 * localedata/tst-langinfo-setlocale.c: New file.
11679 * localedata/tst-langinfo-setlocale-static.c: New file.
11680 * localedata/tst-langinfo-newlocale.c: New file.
11681 * localedata/tst-langinfo-newlocale-static.c: New file.
11682 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11683 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11684 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11685 (tests-static): Remove tst-langinfo-static. Add
11686 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11687 (tests-special): Remove $(objpfx)tst-langinfo.out,
11688 $(objpfx)tst-langinfo-static.out. Add
11689 $(objpfx)tst-langinfo-setlocale.out,
11690 $(objpfx)tst-langinfo-newlocale.out,
11691 $(objpfx)tst-langinfo-setlocale-static.out,
11692 $(objpfx)tst-langinfo-newlocale-static.out.
11693 ($(objpfx)tst-langinfo.out): Remove.
11694 ($(objpfx)tst-langinfo-static.out): Remove.
11695 ($(objpfx)tst-langinfo-newlocale.out): New target.
11696 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11697 (test-xfail-tst-langinfo-newlocale-static): Add.
11698 ($(objpfx)tst-langinfo-setlocale.out): New target.
11699 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11700 * localedata/tst-langinfo.c: Call test_locale.
11701 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11704 2018-07-04 Florian Weimer <fweimer@redhat.com>
11706 testrun.sh: Implement --tool=strace, --tool=valgrind
11707 * Makefile (testrun-script): Define variable.
11708 (testrun.sh): Use variable.
11709 * manual/install.texi (Tools for Compilation): make 4.0 or later
11711 * configure.ac: Check for make 4.0 or later.
11712 * INSTALL: Regenerate.
11713 * configure: Likewise.
11715 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11721 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11722 * posix/PCRE.tests: Remove invalid test.
11723 * posix/bug-regex28.c: Fix expected values for used syntax.
11724 * posix/bug-regex37.c: New file.
11725 * posix/bug-regex38.c: Likewise.
11726 * posix/regcomp.c: Sync with gnulib.
11727 * posix/regex.c: Likewise.
11728 * posix/regex.h: Likewise.
11729 * posix/regex_internal.c: Likewise.
11730 * posix/regex_internal.h: Likewise.
11731 * posix/regexec.c: Likewise.
11733 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11736 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11737 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11738 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11739 * localedata/unicode-gen/PropList.txt: likewise.
11740 * localedata/unicode-gen/UnicodeData.txt: likewise.
11741 * localedata/charmaps/UTF-8: Regenerate.
11742 * localedata/locales/i18n_ctype: likewise.
11743 * localedata/locales/tr_TR: likewise.
11744 * localedata/locales/translit_circle: likewise.
11745 * localedata/locales/translit_cjk_compat: likewise.
11746 * localedata/locales/translit_combining: likewise.
11747 * localedata/locales/translit_compat: likewise.
11748 * localedata/locales/translit_font: likewise.
11749 * localedata/locales/translit_fraction: likewise.
11751 2018-07-03 Florian Weimer <fweimer@redhat.com>
11754 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11755 * stdio-common/tst-printf.sh: Adjust expected output.
11756 * LICENSES: Update.
11758 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11760 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11763 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11765 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11766 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11767 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11768 * stdio-common/tst-printfsz-islongdouble.c: New file.
11769 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11770 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11771 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11772 [subdir == stdio-common] (tests-internal): Add
11773 test-printf-size-ieee128, and test-printf-size-ibm128.
11774 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11775 (CFLAGS-test-printf-size-ibm128.c): New variables.
11776 [subdir == stdio-common] (tests-special): Add
11777 $(objpfx)test-printf-size-ieee128.out and
11778 $(objpfx)test-printf-size-ibm128.out.
11779 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11780 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11781 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11782 __printf_sizeieee128.
11783 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11785 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11787 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11790 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11792 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11793 (exp2f_inline): Likewise.
11794 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11795 (__math_uflowf): Likewise.
11796 (__math_may_uflowf): Likewise.
11797 (__math_divzerof): Likewise.
11798 (__math_invalidf): Likewise.
11799 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11800 (__math_oflowf): Likewise.
11801 (__math_uflowf): Likewise.
11802 (__math_may_uflowf): Likewise.
11803 (__math_divzerof): Likewise.
11804 (__math_invalidf): Likewise.
11806 2018-06-29 DJ Delorie <dj@redhat.com>
11807 Carlos O'Donell <carlos@redhat.com>
11810 * include/libc-symbols.h: Comment the freeres framework.
11811 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11812 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11813 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11814 * dlfcn/dlerror.c: Include libc-symbols.h
11815 (__dlerror_main_freeres): New function.
11816 * dlfcn/dlfreeres.c: New file.
11817 * dlfcn/sdlfreeres.c: New file.
11818 * include/dlfcn.h: Declare __dlerror_main_freeres.
11819 * malloc/set-freeres.c: Declare __libdl_freeres, and
11820 __libpthread_freeres.
11821 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11822 the releavant libraries are loaded.
11823 * malloc/thread-freeres.c: Add comments.
11824 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11825 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11826 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11827 (__free_stacks): Rename to...
11828 (free_stacks): ...this. Mark static.
11829 (queue_stack): Call free_stacks.
11830 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11831 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11832 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11833 ptr_freeres element from struct.
11834 (pthread_functions): Remove .ptr_freeres from struct initializer.
11835 [SHARED] (nptl_freeres): Remove.
11836 * nptl/nptlfreeres.c: New file.
11838 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11839 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11841 (__free_stacks): Rename to...
11842 (__nptl_stacks_freeres): ...this.
11843 (__shm_directory_freeres): Declare.
11844 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11845 (__nptl_unwind_freeres): ...this.
11846 * resolv/res-close.c: Add comment.
11847 * resolv/resolv_conf.c: Include libc-symbols.h.
11848 * string/strerror_l.c: Include libc-symbols.h.
11849 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11850 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11851 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11852 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11854 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11856 * stdlib/tst-strfmon_l.c: Add tests for long double.
11858 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11861 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11862 * localedata/locales/dsb_DE: New file.
11864 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11867 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11869 (alt_mon): New entry, import from CLDR (nominative case).
11871 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11874 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11876 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11878 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11879 Use vector registers.
11881 * sysdeps/aarch64/multiarch/memmove_falkor.S
11882 (__memcpy_falkor): Use vector registers.
11884 2018-06-29 Martin Sebor <msebor@redhat.com>
11886 * manual/stdio.texi (Customizing Printf): Mention interaction
11887 with GCC built-ins.
11889 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11892 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11893 `st_value' is 0 if `st_shndx' is SHN_ABS.
11894 * elf/tst-absolute-zero.c: New file.
11895 * elf/tst-absolute-zero-lib.c: New file.
11896 * elf/tst-absolute-zero-lib.lds: New file.
11897 * elf/Makefile (tests): Add `tst-absolute-zero'.
11898 (modules-names): Add `tst-absolute-zero-lib'.
11899 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11900 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11901 ($(objpfx)tst-absolute-zero: New dependency.
11903 2018-06-29 Zack Weinberg <zackw@panix.com>
11905 * configure.ac: New command-line option --disable-crypt.
11906 Force --disable-nss-crypt when --disable-crypt is given, with a
11907 warning if it was explicitly enabled.
11908 * configure: Regenerate.
11909 * config.make.in: New boolean substitution variable $(build-crypt).
11910 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11911 when $(build-crypt).
11912 * manual/install.texi: Document --disable-crypt.
11913 * INSTALL: Regenerate.
11915 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11916 which is never set.
11917 * conform/Makefile: Only include libcrypt.a in
11918 linknamespace-libs-xsi and linknamespace-libs-XPG4
11919 when $(build-crypt).
11920 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11921 USE_CRYPT to 1 when $(build-crypt).
11922 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11923 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11924 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11926 2018-06-29 Zack Weinberg <zackw@panix.com>
11928 * crypt/crypt.h, posix/unistd.h: Update comments and
11929 prototypes for crypt and crypt_r.
11931 * manual/crypt.texi (Cryptographic Functions): New initial
11933 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11934 (Unpredictable Bytes): Improve initial exposition. Clarify error
11935 behavior of getentropy and getrandom.
11936 * manual/examples/genpass.c: Generate a salt using getentropy
11937 instead of the current time. Use hash $5$ (SHA-2-256).
11938 * manual/examples/testpass.c: Demonstrate validation against
11939 hashes generated with three different one-way functions.
11941 * manual/intro.texi: crypt.texi does not need an overview
11944 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11945 * manual/terminal.texi: Consistently refer to "passphrases"
11946 * instead of "passwords", and to the "user database" instead
11947 * of the "password database".
11948 * manual/users.texi: Similarly. Add notes about how actual
11949 passphrase hashes are now stored in the shadow database.
11950 Remove 20-year-old junk todo note.
11952 2018-06-29 Zack Weinberg <zackw@panix.com>
11954 * manual/crypt.texi: Use a normal top-level @node declaration.
11955 Move most of the introductory text to the 'crypt' section.
11956 Move the example programs below the @deftypefun for 'crypt_r'.
11957 Move the 'getpass' section...
11958 * manual/terminal.texi: ...here.
11960 2018-06-29 Zack Weinberg <zackw@panix.com>
11961 Florian Weimer <fweimer@redhat.com>
11963 * posix/unistd.h: Do not declare encrypt.
11964 (_XOPEN_CRYPT): Remove macro definition.
11965 (crypt): Declare only for _USE_MISC.
11966 * stdlib/stdlib.h: Do not declare setkey.
11967 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11968 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11970 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11971 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11972 into compat symbols. Don't define initial_perm if it's not
11974 * crypt/cert.c: Link explicitly with the expected versions for
11975 setkey and encrypt. If they are not available at all, mark
11976 the test as unsupported.
11978 * sunrpc/des_crypt.c: Unconditionally block linkage with
11979 cbc_crypt and ecb_crypt for new binaries.
11980 * sunrpc/des_soft.c: Unconditionally block linkage with
11981 des_setparity for new binaries.
11983 * manual/crypt.texi: Remove the entire "DES Encryption"
11984 section. Also remove the paragraph talking about FIPS 140-2
11985 from the introduction.
11986 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11987 of libgcrypt for "real" encryption, not DES.
11988 * manual/conf.texi (Constants for Sysconf): Mention that
11989 _XOPEN_CRYPT is no longer impelemented.
11991 * conform/data/unistd.h-data: Remove crypt function declaration.
11993 2018-06-29 Florian Weimer <fweimer@redhat.com>
11996 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11997 (disallow_malloc_check): Remove variable.
11998 (__malloc_check_init): Adjust.
11999 (malloc_set_state): Update comment.
12000 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12003 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12006 * localedata/locales/ast_ES (mon): Rename to...
12008 (mon): Import from CLDR (genitive case).
12010 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12011 Jakub Sitnicki <jkbs@redhat.com>
12014 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12015 on NLM_F_DUMP_INTR.
12017 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12019 * manual/llio.texi: Remove spurious space.
12021 2018-06-28 Florian Weimer <fweimer@redhat.com>
12024 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12027 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12029 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
12030 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
12031 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12032 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12033 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12034 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12035 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12037 2018-06-27 Maciej W. Rozycki <macro@mips.com>
12040 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12041 Copy and null-terminate entries that are not terminated, in
12042 addition to empty ones.
12044 2018-06-27 Florian Weimer <fweimer@redhat.com>
12047 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12048 (extend_alloca_account): Remove.
12049 * manual/stdio.texi (Variable Arguments Output): Update comment.
12051 2018-06-27 Joseph Myers <joseph@codesourcery.com>
12053 * nptl/sockperf.c: Remove file.
12055 2018-06-27 Florian Weimer <fweimer@redhat.com>
12058 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12059 scratch_buffer instead of extend_alloca.
12061 2018-06-27 Florian Weimer <fweimer@redhat.com>
12064 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12065 scratch_buffer instead of extend_alloca. Update comments.
12067 2018-06-27 Florian Weimer <fweimer@redhat.com>
12070 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12071 instead of extend_alloca.
12073 2018-06-26 Joseph Myers <joseph@codesourcery.com>
12076 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12077 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12079 * scripts/test-installation.pl: Put temporary files in build
12080 directory, not /tmp.
12081 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12082 (CFLAGS-bug4.c): Likewise.
12083 (CFLAGS-bug5.c): Likewise.
12084 (CFLAGS-test-fseek.c): Likewise.
12085 (CFLAGS-test-popen.c): Likewise.
12086 (CFLAGS-test_rdwr.c): Likewise.
12087 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12089 * stdio-common/bug4.c (main): Likewise.
12090 * stdio-common/bug5.c (main): Likewise.
12091 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12092 * stdio-common/test-popen.c (do_test): Likewise.
12093 * stdio-common/test_rdwr.c (main): Likewise.
12095 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
12097 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12098 (sem_open): Set sem.newsem.pad to zero for valgrind.
12100 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12103 * NEWS: Mention fcntl64 addition.
12104 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12105 * login/utmp_file.c: Likewise.
12106 * sysdeps/posix/fdopendir.c: Likewise.
12107 * sysdeps/posix/opendir.c: Likewise.
12108 * sysdeps/unix/pt-fcntl.c: Likewise.
12109 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12110 __fcntl64_nocancel_adjusted): New prototype.
12111 (__fcntl_nocancel_adjusted): Remove prototype.
12112 * io/Makefile (routines): Add fcntl64.
12113 (CFLAGS-fcntl64.c): New rule.
12114 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12115 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12116 * io/fcntl.h (fcntl64): Add prototype and redirect if
12117 __USE_FILE_OFFSET64 is defined.
12118 * io/fcntl64.c: New file.
12119 * manual/llio.text: Add a note for which commands fcntl acts a
12120 cancellation point.
12121 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12122 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12123 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12125 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12126 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12128 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12129 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12130 to __fcntl64_nocancel.
12131 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12132 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12133 to __fcntl64_nocancel.
12134 * sysdeps/generic/not-cancel.h: Likewise.
12135 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12136 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12137 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12138 (fcntl64): New symbol.
12139 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12140 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12141 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12144 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12145 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12146 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12147 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12148 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12149 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12150 fcntl64): Likewise.
12151 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12152 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12153 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12156 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12157 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12158 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12159 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12164 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12165 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12168 2018-06-26 Florian Weimer <fweimer@redhat.com>
12170 Run thread shutdown functions in an explicit order.
12171 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12173 (__libc_thread_freeres): Call thread shutdown functions
12175 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12176 * include/string.h (__strerror_thread_freeres): Declare.
12177 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12178 arena_thread_freeres. No longer static. Remove thread shutdown
12180 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12182 * resolv/res-close.c (__res_thread_freeres): Renamed from
12183 res_thread_freeres. No longer static. Remove thread shutdown
12185 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12186 * resolv/resolv_conf.c (freeres): Remove incorrect section
12187 attribute and use libc_freeres_fn.
12188 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12189 strerror_thread_freeres. No longer static. Remove thread
12190 shutdown hook registration.
12191 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12192 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12193 shutdown hook registration.
12194 * Makerules (shlib.lds): Do not provide section boundary symbols
12195 for __libc_thread_subfreeres.
12196 * manual/memory.texi (Basic Allocation): Update comment.
12198 2018-06-26 Florian Weimer <fweimer@redhat.com>
12200 Remove always-defined _RPC_THREAD_SAFE_ macro.
12201 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12202 Do not define _RPC_THREAD_SAFE_.
12203 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12205 * sunrpc/clnt_perr.c: Likewise.
12206 * sunrpc/clnt_raw.c: Likewise.
12207 * sunrpc/clnt_simp.c: Likewise.
12208 * sunrpc/key_call.c: Likewise.
12209 * sunrpc/rpc_common.c: Likewise.
12210 * sunrpc/rpc_main.c: Likewise.
12211 * sunrpc/rpc_thread.c: Likewise.
12212 * sunrpc/svc.c: Likewise.
12213 * sunrpc/svc_raw.c: Likewise.
12214 * sunrpc/svc_simple.c: Likewise.
12215 * sumrpc/svcauth_des.c: Likewise.
12217 2018-06-26 Florian Weimer <fweimer@redhat.com>
12219 * libio/Makefile (tests-internal): Add tst-vtables,
12220 tst-vtables-interposed.
12221 * libio/tst-vtables.c: New file.
12222 * libio/tst-vtables-common.c: Likewise.
12223 * libio/tst-vtables-interposed.c: Likewise.
12225 2018-06-26 Florian Weimer <fweimer@redhat.com>
12227 * support/support_test_main.c (support_test_main): Only call
12228 setvbuf if not disables.
12229 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12230 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12232 2018-06-26 Florian Weimer <fweimer@redhat.com>
12235 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12237 2018-06-25 Florian Weimer <fweimer@redhat.com>
12240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12241 Use struct scratch_buffer instead of extend_alloca.
12243 2018-06-25 Florian Weimer <fweimer@redhat.com>
12246 * nss/getent.c (initgroups_keys): Use dynarray instead of
12249 2018-06-25 Florian Weimer <fweimer@redhat.com>
12252 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12253 Use struct scratch_buffer instead of extend_alloca.
12255 2018-06-25 Florian Weimer <fweimer@redhat.com>
12258 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12259 back to malloc directly, without stack allocations.
12261 2018-06-25 Florian Weimer <fweimer@redhat.com>
12264 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12267 2018-06-25 Florian Weimer <fweimer@redhat.com>
12270 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12272 * nscd/hstcache.c (addhstbyX): Likewise.
12273 * nscd/pwdcache.c (addpwbyX): Likewise.
12274 * nscd/servicescache.c (addservbyX): Likewise.
12276 2018-06-25 Florian Weimer <fweimer@redhat.com>
12279 * nscd/connections.c (read_cmdline): New function.
12280 (restart): Use it. Update comment.
12282 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12285 * localedata/locales/csb_PL (mon): Rename to...
12287 (abmon): Rename to...
12288 (ab_alt_mon): This.
12289 (mon): Add with proper genitive forms, copy from Wikipedia.
12292 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12295 * localedata/locales/csb_PL (mon): Fix typos:
12296 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12297 (yesstr): Add, value is "jo".
12298 (nostr): Add, value is "nié".
12300 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12302 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12303 all log1p and significand functions on m680x0.
12304 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12305 of s_significand.c..
12306 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12307 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12308 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12309 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12310 s_log1p.c and include it..
12312 2018-06-21 Vincent Chen <vincentc@andestech.com>
12314 * elf/elf.h (R_NDS32_NONE): New define.
12315 (R_NDS32_32_RELA): Likewise.
12316 (R_NDS32_COPY): Likewise.
12317 (R_NDS32_GLOB_DAT): Likewise.
12318 (R_NDS32_JUMP_SLOT): Likewise.
12319 (R_NDS32_RELATIVE): Likewise.
12320 (R_NDS32_TLS_TPOFF): Likewise.
12321 (R_NDS32_TLS_DESC): Likewise.
12323 2018-06-21 Mark Wielaard <mark@klomp.org>
12325 * elf/elf.h (R_BPF_MAP_FD): Removed.
12326 (R_BPF_64_64, R_BPF_64_32): New.
12328 2018-06-21 Florian Weimer <fweimer@redhat.com>
12331 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12332 Renamed from libc_feholdsetround_ctx.
12333 (default_libc_feresetround_ctx): Renamed from
12334 libc_feresetround_ctx.
12335 (default_libc_feholdsetround_noex_ctx): Renamed from
12336 libc_feholdsetround_noex_ctx.
12337 (default_libc_feresetround_noex_ctx): Renamed from
12338 libc_feresetround_noex_ctx.
12339 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12340 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12341 forwardning to the old implementations under the new names.
12342 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12343 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12344 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12345 (libc_feresetround_ctx): Forward to default implements for i386
12346 and MATH_SET_BOTH_ROUNDING_MODES.
12347 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12348 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12350 2018-06-20 Joseph Myers <joseph@codesourcery.com>
12352 * string/tst-cmp.c: Include <libc-diag.h>.
12353 (strncmp_max): Disable -Wstringop-overflow= around call to
12355 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12358 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12359 (main): Disable -Wunused-value around call to strpbrk.
12360 * string/bug-strspn1.c: Include <libc-diag.h>.
12361 (main): Disable -Wunused-value around call to strspn.
12363 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12364 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12366 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12367 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12369 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12371 * math/Makefile (libm-calls): Move s_significandF to...
12372 (gen-libm-calls): ... here.
12373 * math/s_significand_template.c: New file.
12374 * math/s_significand.c: Removed.
12375 * math/s_significandf.c: Removed.
12376 * math/s_significandl.c: Removed.
12377 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12378 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12380 * math/e_exp2_template.c (declare_mgen_finite_alias,
12381 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12382 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12383 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12385 2018-06-20 Florian Weimer <fweimer@redhat.com>
12387 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12389 2018-06-19 Joseph Myers <joseph@codesourcery.com>
12392 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12393 floating-point number to strtod functions rather than possibly
12394 negating result of those functions.
12395 * stdio-common/tst-scanf-round.c: New file.
12396 * stdio-common/Makefile (tests): Add tst-scanf-round.
12397 ($(objpfx)tst-scanf-round): Depend on $(libm).
12399 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12401 * sysdeps/mach/hurd/localplt.data: Move to...
12402 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12403 R_386_GLOB_DAT like on Linux i386.
12405 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12407 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12408 (SHM_STAT_ANY): New macro.
12409 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12410 (SHM_STAT_ANY): Likewise.
12411 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12412 (SHM_STAT_ANY): Likewise.
12413 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12414 (SHM_STAT_ANY): Likewise.
12415 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12416 (SHM_STAT_ANY): Likewise.
12417 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12418 (SHM_STAT_ANY): Likewise.
12419 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12420 (SHM_STAT_ANY): Likewise.
12421 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12422 (SHM_STAT_ANY): Likewise.
12423 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12424 (SHM_STAT_ANY): Likewise.
12425 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12426 (SHM_STAT_ANY): Likewise.
12427 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12428 (SHM_STAT_ANY): Likewise.
12429 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12430 (SHM_STAT_ANY): Likewise.
12432 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12433 (SEM_STAT_ANY): New macro.
12434 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12435 (SEM_STAT_ANY): Likewise.
12436 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12437 (SEM_STAT_ANY): Likewise.
12438 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12439 (SEM_STAT_ANY): Likewise.
12440 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12441 (SEM_STAT_ANY): Likewise.
12442 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12443 (SEM_STAT_ANY): Likewise.
12444 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12445 (SEM_STAT_ANY): Likewise.
12446 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12447 (SEM_STAT_ANY): Likewise.
12448 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12449 (SEM_STAT_ANY): Likewise.
12450 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12451 (SEM_STAT_ANY): Likewise.
12453 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12454 (MSG_STAT_ANY): New macro.
12455 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12456 (MSG_STAT_ANY): Likewise.
12457 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12458 (MSG_STAT_ANY): Likewise.
12459 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12460 (MSG_STAT_ANY): Likewise.
12461 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12462 (MSG_STAT_ANY): Likewise.
12463 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12464 (MSG_STAT_ANY): Likewise.
12465 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12466 (MSG_STAT_ANY): Likewise.
12467 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12468 (MSG_STAT_ANY): Likewise.
12469 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12470 (MSG_STAT_ANY): Likewise.
12471 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12472 (MSG_STAT_ANY): Likewise.
12474 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12475 (MAP_TYPE): Change value to 0x2b.
12477 2018-06-18 Florian Weimer <fweimer@redhat.com>
12480 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12481 socket with SOCK_CLOEXEC.
12483 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12486 * sysdeps/powerpc/powerpc64/le/Makefile
12487 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12488 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12489 (gnulib-tests): Also add $(f128-loader-link) for
12490 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12492 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12494 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12495 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12497 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12498 (sendfile64): New strong alias.
12499 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12500 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12501 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12502 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12504 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12505 ___pthread_get_cleanup_stack.
12506 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12507 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12508 * mach/shortcut.awk: Make syscall stubs include
12509 <mach-shortcuts-hidden.h> and add hidden definition.
12510 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12511 (__mach_msg): Add hidden prototype.
12512 * mach/msg.c: Include <mach.h>.
12513 (__mach_msg): Add hidden definition.
12514 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12515 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12516 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12517 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12518 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12519 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12520 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12521 prototype and definition.
12522 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12523 hidden target for _hurd_self_sigstate.
12525 2018-06-15 Joseph Myers <joseph@codesourcery.com>
12528 * stdlib/tst-strtod-nan-sign-main.c: New file.
12529 * stdlib/tst-strtod-nan-sign.c: Likewise.
12530 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12531 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12532 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12533 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12534 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12536 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12539 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12542 2018-06-14 Florian Weimer <fweimer@redhat.com>
12545 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12546 that the result stays within the ISO-8859-1 range.
12547 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12548 characters are defined in IBM273.
12550 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12552 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12553 __mach_task_self): Remove attribute_hidden.
12555 2018-06-14 Joseph Myers <joseph@codesourcery.com>
12557 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12558 ignore -Wrestrict for one test.
12560 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12561 Szabolcs Nagy <szabolcs.nagy@arm.com>
12563 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12565 2018-06-14 Florian Weimer <fweimer@redhat.com>
12567 * scripts/update-abilist.sh: Accept empty list of files to patch.
12569 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12571 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12572 test-xfail-check-abi-libmachuser): Add.
12573 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12574 __libc_read and __libc_write to __read and __write.
12575 * sysdeps/hurd/include/hurd/port.h: New file.
12576 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12577 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12578 __thread_switch, __evc_wait): Move declarations to...
12579 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12581 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12582 use PLT to call _hurd_self_sigstate.
12584 2018-06-13 Joseph Myers <joseph@codesourcery.com>
12587 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12588 MAX_EXP as overflowing.
12589 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12591 (round_str): Output also whether result overflows in each rounding
12593 * stdlib/tst-strtod-round-data: Add more tests.
12594 * stdlib/tst-strtod-round-data.h: Regenerated.
12595 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12596 (TEST): Handle extra arguments for overflow flags.
12597 (struct test_overflow): New type.
12598 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12599 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12600 (test_in_one_mode): Take argument with overflow information.
12601 (do_test): Update calls to test_in_one_mode.
12603 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12605 * elf/dl-load (_dl_dst_substitute): Correct comment.
12606 (_dl_dst_count): Likewise.
12608 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12609 lll_futex_timed_wait.
12611 2018-06-12 Joseph Myers <joseph@codesourcery.com>
12614 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12616 * math/test-nan-const.c: New file.
12617 * math/Makefile (tests): Add test-nan-const.
12618 (CFLAGS-test-nan-const.c): New variable.
12620 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12622 * benchtests/scripts/compare_strings.py (process_results): Add
12623 funcs argument. Compare only functions which are selected.
12624 (main): Check if base function is among selected functions.
12625 Pass selected functions to process_results.
12626 (__main__): Add -f/--functions argument.
12628 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12629 Hongbo Zhang <hongbo.zhang@linaro.org>
12631 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12632 __memcpy_falkor for phecda core.
12633 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12634 __memmove_falkor for phecda core.
12635 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12636 __memset_falkor for phecda core.
12637 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12639 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12640 macro to identify phecda core.
12642 2018-06-12 Carlos O'Donell <carlos@redhat.com>
12643 Andreas Schwab <schwab@suse.de>
12644 Dmitry V. Levin <ldv@altlinux.org>
12645 Florian Weimer <fweimer@redhat.com>
12652 * elf/dl-dst.h: Remove DL_DST_COUNT.
12653 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12654 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12655 (is_dst): Comment. Support ELF gABI.
12656 (_dl_dst_count): Comment. Simplify and count DSTs.
12657 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12658 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12661 2018-06-12 Zack Weinberg <zackw@panix.com>
12663 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12664 * sysdeps/unix/sysv/linux/dl-sysdep.c
12665 Include not-cancel.h. Use __close_nocancel instead of __close,
12666 __open64_nocancel instead of __open, __read_nocancel instead of
12667 __libc_read, and __write_nocancel instead of __libc_write.
12669 * csu/check_fds.c (check_one_fd)
12670 * sysdeps/posix/fdopendir.c (__fdopendir)
12671 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
12672 instead of __fcntl and/or __libc_fcntl.
12674 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12675 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
12676 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
12677 Use __open64_nocancel instead of __open_nocancel.
12679 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12680 hidden_proto declarations to the end and issue them if either
12681 IS_IN(libc) or IS_IN(rtld).
12682 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12683 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12684 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12685 read_nocancel, waitpid_nocancel, write_nocancel.
12687 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12688 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12689 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
12691 * nptl/pt-fcntl.c: New file.
12692 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12693 (libpthread-routines): Add pt-fcntl.
12694 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12695 (__libc_fcntl): Remove attribute_hidden.
12696 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12697 __fcntl_nocancel_adjusted, not fcntl_common.
12698 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
12699 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12700 to fcntl_nocancel.c.
12701 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12704 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12706 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12707 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12708 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12709 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12710 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12711 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12712 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12713 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12714 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12715 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12716 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12717 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12718 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12719 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12720 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12721 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12722 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12723 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12724 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12725 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12727 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12728 libpthread-routines.
12729 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12732 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12733 __libc_read, and __write instead of __libc_write. Define
12734 __open64 in addition to __open.
12736 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12740 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12741 to _private_tm[3] and add __glibc_reserved2.
12742 Add _Static_assert of offset of __private_ss == 0x30.
12743 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12744 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12746 2018-06-12 Florian Weimer <fweimer@redhat.com>
12748 x86: Make strncmp usable from rtld.
12749 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12750 __strncmp_ia32 if in libc (and not in rtld).
12751 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12752 strncmp if not in libc (and not to __strncmp_sse2).
12754 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12757 * localedata/locales/gd_GB (mon): Rename to...
12759 (mon): Import from CLDR (genitive case).
12760 * localedata/locales/hsb_DE (mon): Rename to...
12762 (mon): Import from CLDR (genitive case).
12763 * localedata/locales/wa_BE (mon): Rename to...
12765 (mon): Add, fill with the proper genitive forms, but CLDR data
12766 is incomplete; completed according to the comments in this file.
12767 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12769 * localedata/locales/wa_BE (country_name): Reword
12770 "Beljike" -> "Beldjike".
12772 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12775 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12776 cases of non-finite arguments.
12777 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12779 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12782 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12784 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12787 * include/unistd.h (__execvpex): New prototype.
12788 * posix/Makefile (tests): Add tst-spawn4.
12789 (tests-internal): Add tst-spawn4-compat.
12790 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12791 * posix/tst-spawn4-compat.c: New file.
12792 * posix/tst-spawn4.c: Likewise.
12793 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12794 binaries as shell scripts.
12795 * sysdeps/posix/spawni.c (__spawni): Likewise.
12797 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12800 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12801 ($(all-built-dso:=.dynsym): New target.
12802 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12803 ($(objpfx)check-initfini.out): New target.
12804 (generated): Add check-initfini.out.
12805 * scripts/check-initfini.awk: New file.
12806 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12808 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12810 * sysdeps/arm/crti.S (_init): Mark as hidden.
12812 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12814 * sysdeps/i386/crti.S (_init): Mark as hidden.
12816 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12818 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12820 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12822 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12824 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12826 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12828 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12830 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12832 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12834 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12836 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12838 * sysdeps/sh/crti.S (_init): Mark as hidden.
12840 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12842 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12845 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12847 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12848 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12849 and TF redirection to KFtype and KF only when the default
12850 long double type is not the IEEE 128-bit floating point type.
12852 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12854 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12856 (HWCAP_USCAT): Likewise.
12857 (HWCAP_ILRCPC): Likewise.
12858 (HWCAP_FLAGM): Likewise.
12859 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12861 (_dl_aarch64_cap_flags): Add new flag names.
12863 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12864 (MAP_FIXED_NOREPLACE): New macro.
12865 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12866 (MAP_FIXED_NOREPLACE): Likewise.
12867 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12868 (MAP_FIXED_NOREPLACE): Likewise.
12869 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12870 (MAP_FIXED_NOREPLACE): Likewise.
12871 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12872 (MAP_FIXED_NOREPLACE): Likewise.
12873 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12874 (MAP_FIXED_NOREPLACE): Likewise.
12875 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12876 (MAP_FIXED_NOREPLACE): Likewise.
12877 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12878 (MAP_FIXED_NOREPLACE): Likewise.
12879 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12880 (MAP_FIXED_NOREPLACE): Likewise.
12881 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12882 (MAP_FIXED_NOREPLACE): Likewise.
12883 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12884 (MAP_FIXED_NOREPLACE): Likewise.
12885 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12886 (MAP_FIXED_NOREPLACE): Likewise.
12887 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12888 (MAP_FIXED_NOREPLACE): Likewise.
12889 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12890 (MAP_FIXED_NOREPLACE): Likewise.
12891 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12892 (MAP_FIXED_NOREPLACE): Likewise.
12894 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12897 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12899 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12902 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12904 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12906 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12908 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12910 * benchtests/scripts/compare_string.py: (process_results) Catch
12911 exception in non-existent base_func and catch exception in
12912 non-existent attribute.
12913 (parse_file) Catch exception if input file does not exist.
12915 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12917 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12918 options to avoid diff calculation and omit header, respectively.
12919 (main): process --no-diff and --no-header
12921 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12922 H.J. Lu <hongjiu.lu@intel.com>
12924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12925 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12927 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12928 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12929 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12930 and __wcsncmp_sse2.
12931 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12932 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12933 AVX unaligned load is fast and vzeroupper is preferred.
12934 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12935 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12936 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12937 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12938 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12939 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12940 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12941 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12942 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12943 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12946 2018-06-01 Florian Weimer <fweimer@redhat.com>
12948 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12949 configuring with --disable-multi-arch, building with
12950 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12953 2018-06-01 Florian Weimer <fweimer@redhat.com>
12955 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12956 results from building with “-march=x86-64 -mtune=generic
12957 -mfpmath=sse” and running on a Haswell-era CPU.
12959 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12962 * soft-fp/sqrttf2.c: Remove file.
12963 * soft-fp/sqrtdf2.c: Move to ....
12964 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12966 (__sqrtdf2): Make conditional on
12967 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12969 * soft-fp/sqrtsf2.c: Move to ....
12970 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12972 (__sqrtsf2): Make conditional on
12973 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12975 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12976 (gcc-double-routines): Remove sqrtdf2.
12977 (gcc-quad-routines): Remove sqrttf2.
12978 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12979 Do not filter out sqrtsf2 and sqrtdf2.
12980 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12981 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12983 2018-06-01 Florian Weimer <fweimer@redhat.com>
12985 * sysdeps/generic/libcidn.abilist: Remove file.
12987 2018-06-01 Florian Weimer <fweimer@redhat.com>
12990 * libio/strfile.h (struct _IO_str_fields): Rename members to
12991 discourage their use and add comment.
12992 (_IO_STR_DYNAMIC): Remove unused macro.
12993 * libio/strops.c (_IO_str_init_static_internal): Do not use
12994 callback pointers. Call malloc and free.
12995 (_IO_str_overflow): Do not use callback pointers. Call malloc
12997 (enlarge_userbuf): Likewise.
12998 (_IO_str_finish): Call free.
12999 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13000 _allocate_buffer_unused.
13001 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13003 (enlarge_userbuf): Likewise.
13004 (_IO_wstr_finish): Call free.
13005 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13006 _allocate_buffer_unused, _free_buffer_unused.
13007 * libio/memstream.c (__open_memstream): Likewise.
13008 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13009 * libio/wmemstream.c (open_wmemstream): Likewise.
13011 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13013 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13016 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13018 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13019 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13020 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13022 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13024 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13026 2018-05-29 Florian Weimer <fweimer@redhat.com>
13028 * support/Makefile (libsupport-routines): Add
13029 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13030 xpthread_barrierattr_setpshared.
13031 * support/xpthread_barrierattr_destroy.c: New file.
13032 * support/xpthread_barrierattr_init.c: Likewise.
13033 * support/xpthread_barrierattr_setpshared.c: Likewise.
13035 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13038 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13039 _r_debug and update DT_DEBUG for debugger.
13041 2018-05-29 Florian Weimer <fweimer@redhat.com>
13043 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13044 (tst-strtod5i.out): Likewise.
13046 2018-05-25 Joseph Myers <joseph@codesourcery.com>
13048 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13049 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13050 (sparc64-quad-routines): New variable. Moved from ....
13051 [$(subdir) = soft-fp] (sysdep_routines): Add
13052 $(sparc64-quad-routines). Moved from ....
13053 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13054 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13055 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13057 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13058 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13059 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13060 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13061 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13062 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13063 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13064 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13065 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13066 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13067 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13068 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13069 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13070 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13071 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13072 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13073 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13074 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13075 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13076 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13077 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13078 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13079 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13080 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13081 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13082 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13083 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13084 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13085 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13086 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13087 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13088 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13089 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13090 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13091 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13092 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13093 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13094 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13095 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13096 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13097 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13098 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13099 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13100 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13101 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13102 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13103 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13104 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13105 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13106 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13107 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13108 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13109 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13110 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13111 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13112 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13113 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13114 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13116 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13117 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13118 (sparc32-quad-routines): New variable. Moved from ....
13119 [$(subdir) = soft-fp] (sysdep_routines): Add
13120 $(sparc32-quad-routines). Moved from ....
13121 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13122 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13124 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13125 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13126 * sysdeps/sparc/sparc32/q_add.c: ... here.
13127 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13128 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13129 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13130 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13131 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13132 * sysdeps/sparc/sparc32/q_div.c: ... here.
13133 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13134 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13135 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13136 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13137 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13138 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13139 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13140 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13141 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13142 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13143 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13144 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13145 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13146 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13147 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13148 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13149 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13150 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13151 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13152 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13153 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13154 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13155 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13156 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13157 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13158 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13159 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13160 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13161 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13162 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13163 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13164 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13165 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13166 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13167 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13168 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13169 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13170 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13171 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13172 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13173 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13174 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13175 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13176 * sysdeps/sparc/sparc32/q_util.c: ... here.
13177 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13178 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13179 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13180 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13182 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13183 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13185 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13186 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13187 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13188 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13190 2018-05-24 Joseph Myers <joseph@codesourcery.com>
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13196 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13197 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13199 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13202 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13205 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13207 * sysdeps/sh/Implies: Remove sh/soft-fp.
13208 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13209 * sysdeps/sh/sfp-machine.h: ... here.
13211 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13213 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13214 (__mempcpy_erms): Skip zero length.
13215 (__memmove_erms): Likewise.
13216 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13217 (__memset_erms): Likewise.
13219 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13221 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13222 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13223 Add functions moved from ....
13224 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13225 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13226 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13228 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13229 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13230 * sysdeps/alpha/e_sqrtl.c: ... here.
13231 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13232 * sysdeps/alpha/local-soft-fp.h: ... here.
13233 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13234 * sysdeps/alpha/ots_add.c: ... here.
13235 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13236 * sysdeps/alpha/ots_cmp.c: ... here.
13237 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13238 * sysdeps/alpha/ots_cmpe.c: ... here.
13239 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13240 * sysdeps/alpha/ots_cvtqux.c: ... here.
13241 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13242 * sysdeps/alpha/ots_cvtqx.c: ... here.
13243 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13244 * sysdeps/alpha/ots_cvttx.c: ... here.
13245 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13246 * sysdeps/alpha/ots_cvtxq.c: ... here.
13247 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13248 * sysdeps/alpha/ots_cvtxt.c: ... here.
13249 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13250 * sysdeps/alpha/ots_div.c: ... here.
13251 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13252 * sysdeps/alpha/ots_mul.c: ... here.
13253 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13254 * sysdeps/alpha/ots_nintxq.c: ... here.
13255 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13256 * sysdeps/alpha/ots_sub.c: ... here.
13257 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13258 * sysdeps/alpha/sfp-machine.h: ... here.
13260 2018-05-23 Florian Weimer <fweimer@redhat.com>
13268 Switch to extern IDNA implementation (libidn2).
13269 * libidn: Remove subdirectory.
13270 * LICENSES: Do not mention licensing conditions for the removed
13272 * config.h.in (HAVE_LIBIDN): Remove.
13273 * include/dlfcn.h (__libc_dlopen): Update comment.
13274 * include/idna.h: Remove file.
13275 * inet/Makefile (routines): Add idna.
13276 (tests-static, tests-internal): Add tst-idna_name_classify.
13277 (LOCALES): Generate locales for tests.
13278 (tst-idna_name_classify.out): Depend on generated locales.
13279 * inet/idna_name_classify.c: New file.
13280 * inet/tst-idna_name_classify.c: Likewise.
13281 * inet/net-internal.h (__idna_to_dns_encoding)
13282 (__idna_from_dns_encoding): Declare.
13283 * inet/net-internal.h (enum idna_name_classification): Define.
13284 (__idna_name_classify): Declare.
13285 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13286 __idna_from_dns_encoding.
13287 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13288 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13289 name as a fallback in case of encoding errors.
13290 (getnameinfo): Use DEPRECATED_NI_IDN.
13291 * inet/idna.c: New file.
13292 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13293 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13294 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13295 (modules-names): Add tst-no-libidn2.
13296 (extra-test-objs): Add tst-no-libidn2.os.
13297 (LDFLAGS-tst-no-libidn2.so): Set soname.
13298 (LOCALES): Set, and generate locales.
13299 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13300 (tst-resolv-ai_idn-latin1): Likewise.
13301 (tst-resolv-ai_idn-nolibidn2): Likewise.
13302 (tst-resolv-ai_idn.out): Depend on locales.
13303 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13304 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13306 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13307 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13308 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13309 * resolv/tst-resolv-ai_idn.c: New file.
13310 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13311 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13312 * resolv/tst-no-libidn2.c: Likewise.
13313 * support/support_format_addrinfo.c (format_ai_flags): Do not
13314 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13315 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13316 (gaih_inet): Call __idna_to_dns_encoding and
13317 __idna_from_dns_encoding, and use the original (punycode) name if
13318 __idna_from_dns_encoding fails due to an encoding error.
13319 (getaddrinfo): Use DEPRECATED_AI_IDN.
13320 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13321 * sysdeps/unix/inet/configure: Remove file.
13322 * sysdeps/unix/inet/configure.ac: Likewise.
13324 2018-05-23 Florian Weimer <fweimer@redhat.com>
13326 Implement allocate_once.
13327 * include/allocate_once.h: New file.
13328 * misc/allocate_once.c: Likewise.
13329 * misc/tst-allocate_once.c: Likewise.
13330 * misc/Makefile (routines): Add allocate_once.
13331 (tests-internal): Add tst-allocate_once.
13332 (generated): Add tst-allocate_once.mtrace,
13333 tst-allocate_once-mem.out.
13334 (tests-special): Add tst-allocate_once-mem.out.
13335 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13336 (tst-allocate_once-mem.out): Call mtrace.
13337 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13339 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13342 * string/test-memcpy.c (do_test1): New function.
13343 (test_main): Call it.
13345 2018-05-23 Andreas Schwab <schwab@suse.de>
13349 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13350 (L(preloop_large)): Save initial destination pointer in %r11 and
13351 use it instead of %rax after the loop.
13352 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13354 2018-05-22 Joseph Myers <joseph@codesourcery.com>
13356 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13357 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13358 -I../soft-fp. Moved from ....
13359 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13360 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13361 * sysdeps/aarch64/e_sqrtl.c: ... here.
13362 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13363 * sysdeps/aarch64/sfp-machine.h: ... here.
13365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13366 -Wmaybe-uninitialized around access to fq[0].
13367 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13371 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13372 aliases for non-libc case of versioned symbols.
13373 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13374 (llseek): Define as compat symbol if
13375 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13377 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13378 Make into a compat symbol, disabled for minimum symbol version
13379 GLIBC_2.28 and later.
13380 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13382 2018-05-22 Florian Weimer <fweimer@redhat.com>
13384 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13385 not add -mpreferred-stack-boundary=4.
13386 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13387 (stack-align-test-flags): Likewise.
13388 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13390 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13391 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13392 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13393 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13394 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13395 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13396 (CFLAGS-tst-align2.c): Likewise.
13398 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13400 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13401 (index_arch_Prefer_FSRM): Likewise.
13402 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13403 Also check Prefer_FSRM.
13404 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13405 Also return OPTIMIZE (erms) for Prefer_FSRM.
13407 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13409 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13410 (index_cpu_FSRM): Likewise.
13411 (reg_FSRM): Likewise.
13413 2018-05-18 Joseph Myers <joseph@codesourcery.com>
13415 * math/gen-tgmath-tests.py: Import sys.
13416 (Tests.__init__): Initialize macros_seen.
13417 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13418 if requested to do so for this macro.
13419 (Tests.add_all_tests): Take argument for macro for which to
13421 (Tests.check_macro_list): New function.
13422 (main): Handle check-list argument and argument specifying macro
13423 for which to generate tests.
13424 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13425 [PYTHON] (tgmath3-macro-tests): Likewise.
13426 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13427 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13428 not test-tgmath3.c.
13429 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13430 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13432 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13433 [PYTHON] ($(foreach
13434 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13436 [PYTHON] (tests-special): Add
13437 $(objpfx)test-tgmath3-macro-list.out.
13438 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13440 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13441 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13445 * time/tzset.c (SECSPERDAY): Cast to time_t.
13446 * time/tst-y2039.c: New file.
13447 * time/Makefile (tests): Add tst-y2039.
13449 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13451 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13452 (PREFETCH_ONE_SET): Remove duplicate line.
13454 2018-05-17 Florian Weimer <fweimer@redhat.com>
13456 * sysdeps/generic/math-type-macros-double.h: Include
13457 <math-nan-payload-double.h> after <libm-alias-double.h>.
13458 * sysdeps/generic/math-type-macros-float.h: Include
13459 <math-nan-payload-float.h> after <libm-alias-float.h>.
13460 * sysdeps/generic/math-type-macros-float128.h: Include
13461 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13462 * sysdeps/generic/math-type-macros-ldouble.h: Include
13463 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13465 2018-05-17 Andreas Schwab <schwab@suse.de>
13467 * resolv/res_send.c (__res_context_send): Don't set errno when
13468 returing error after malloc failure.
13470 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13472 * nptl/allocatestack.c (allocate_stack): Remove the
13473 !__ASSUME_PRIVATE_FUTEX paths.
13474 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13475 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13477 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13478 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13479 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13480 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13481 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13482 !__ASSUME_PRIVATE_FUTEX path.
13483 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13484 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13485 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13486 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13487 !__ASSUME_PRIVATE_FUTEX macros.
13488 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13489 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13490 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13491 * sysdeps/unix/sysv/linux/kernel-features.h
13492 (__ASSUME_PRIVATE_FUTEX): Removed.
13494 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13496 * math/Makefile (libm-narrow-fns): Add div.
13497 (libm-test-funcs-narrow): Likewise.
13498 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13499 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13500 * math/gen-auto-libm-tests.c (test_functions): Add div.
13501 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13502 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13503 (NARROW_DIV_TRIVIAL): Likewise.
13504 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13506 (__ddivl): Likewise.
13507 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13509 (CFLAGS-nldbl-ddiv.c): New variable.
13510 (CFLAGS-nldbl-fdiv.c): Likewise.
13511 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13513 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13515 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13516 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13517 * math/auto-libm-test-in: Add tests of div.
13518 * math/auto-libm-test-out-narrow-div: New generated file.
13519 * math/libm-test-narrow-div.inc: New file.
13520 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13523 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13524 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13525 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13528 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13529 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13530 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13531 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13532 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13534 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13535 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13536 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13537 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13539 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13540 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13541 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13542 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13543 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13544 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13545 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13546 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13547 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13548 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13549 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13550 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13551 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13556 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13557 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13558 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13559 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13560 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13561 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13562 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13563 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13565 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13568 * nscd/nscd-client.h (sendfileall): Remove prototype.
13569 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13570 (handle_request): Use writeall instead of sendfileall.
13571 * nscd/aicache.c (addhstaiX): Likewise.
13572 * nscd/grpcache.c (cache_addgr): Likewise.
13573 * nscd/hstcache.c (cache_addhst): Likewise.
13574 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13575 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13576 * nscd/pwdcache.c (cache_addpw): Likewise.
13577 * nscd/servicescache.c (cache_addserv): Likewise.
13578 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13579 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13580 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13583 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13585 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13586 Include <string/strncat.c>.
13587 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13589 (__GI___strncat): New hidden alias.
13591 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13593 * sysdeps/mips/mips32/libm-test-ulps: Update.
13594 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13596 2018-05-16 Florian Weimer <fweimer@redhat.com>
13598 * support/Makefile (libsupport-routines): Add support_quote_blob,
13599 support_test_compare_blob.
13600 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13601 * support/check.h (TEST_COMPARE_BLOB): Define.
13602 (support_test_compare_blob): Declare.
13603 * support/support.h (support_quote_blob): Declare.
13604 * support/support_quote_blob.c: New file.
13605 * support/support_test_compare_blob.c: Likewise.
13606 * support/tst-support_quote_blob.c: Likewise.
13607 * support/tst-test_compare_blob.c: Likewise.
13609 2018-05-16 Florian Weimer <fweimer@redhat.com>
13611 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13612 of <strtod_nan_double.h>.
13613 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13614 instead of SET_MANTISSA.
13615 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13616 of include <strtod_nan_float.h>.
13617 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13618 instead of <strtod_nan_ldouble.h>.
13619 * stdlib/strtod_nan_double.h: Move to ...
13620 * sysdeps/generic/math-nan-payload-double.h: ... here.
13621 (FLOAT): Remove definition.
13622 (SET_MANTISSA): Rename to ...
13623 (SET_NAN_PAYLOAD): ... this.
13624 * stdlib/strtod_nan_float.h: Move to ...
13625 * sysdeps/generic/math-nan-payload-float.h: ... here.
13626 (FLOAT): Remove definition.
13627 (SET_MANTISSA): Rename to ...
13628 (SET_NAN_PAYLOAD): ... this.
13629 * sysdeps/generic/math-type-macros-double.h: Include
13630 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13631 instead of <math-svid-compat.h>.
13632 * sysdeps/generic/math-type-macros-float.h: Include
13633 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13634 instead of <math-svid-compat.h>.
13635 * sysdeps/generic/math-type-macros-float128.h: Include
13636 <math-nan-payload-float128.h>.
13637 * sysdeps/generic/math-type-macros-ldouble.h: Include
13638 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13639 instead of <math-svid-compat.h>.
13640 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13641 check for definition.
13642 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13643 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13644 Include <ieee754_float128.h>.
13645 (FLOAT): Remove definition.
13646 (SET_MANTISSA): Rename to ...
13647 (SET_NAN_PAYLOAD): ... this.
13648 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13649 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13650 Do not include <float128_private.h>.
13651 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13652 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13653 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13654 (FLOAT): Remove definition.
13655 (SET_MANTISSA): Rename to ...
13656 (SET_NAN_PAYLOAD): ... this.
13657 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13658 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13659 (FLOAT): Remove definition.
13660 (SET_MANTISSA): Rename to ...
13661 (SET_NAN_PAYLOAD): ... this.
13662 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13663 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13664 (FLOAT): Remove definition.
13665 (SET_MANTISSA): Rename to ...
13666 (SET_NAN_PAYLOAD): ... this.
13667 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13668 of "../stdlib/strtod_nan_double.h".
13669 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13670 of "../stdlib/strtod_nan_float.h".
13671 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13672 instead of "../stdlib/strtod_nan_ldouble.h".
13673 * manual/arith.texi (Parsing of Floats): Adjust comment.
13675 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13677 * math/Makefile (libm-narrow-fns): Add mul.
13678 (libm-test-funcs-narrow): Likewise.
13679 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13680 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13681 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13682 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13683 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13684 (NARROW_MUL_TRIVIAL): Likewise.
13685 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13686 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13688 (__dmull): Likewise.
13689 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13691 (CFLAGS-nldbl-dmul.c): New variable.
13692 (CFLAGS-nldbl-fmul.c): Likewise.
13693 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13695 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13697 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13698 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13699 * math/auto-libm-test-in: Add tests of mul.
13700 * math/auto-libm-test-out-narrow-mul: New generated file.
13701 * math/libm-test-narrow-mul.inc: New file.
13702 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13703 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13704 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13705 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13706 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13707 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13713 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13714 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13715 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13716 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13717 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13718 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13719 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13721 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13722 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13723 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13724 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13725 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13726 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13727 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13728 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13729 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13730 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13731 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13732 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13733 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13747 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13749 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13750 with *%eax in call.
13752 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13754 * sysdeps/i386/ldsodefs.h: Removed.
13755 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13756 * sysdeps/x86/ldsodefs.h: This.
13757 (La_i86_regs): New.
13758 (La_i86_retval): Likewise.
13759 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13760 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13762 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13764 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13767 2018-05-13 Alan Modra <amodra@gmail.com>
13769 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13770 R_PARISC_TLS_DTPOFF32 reloc addend.
13772 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13774 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13775 * math/math.h: Restrict the prototype definition for the functions
13776 issignaling(_Float128) and iszero(_Float128); and template
13777 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13778 __HAVE_FLOAT128_UNLIKE_LDBL.
13779 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13780 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13781 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13782 __f128() constants; define the type _Float128 as long double;
13783 and reuse long double in __CFLOAT128.
13785 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13787 * sysdeps/generic/math_private.h: Do not include
13789 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13791 * math/fromfp.h: Include <math-barriers.h>.
13792 * math/math-narrow.h: Likewise.
13793 * math/s_nextafter.c: Likewise.
13794 * math/s_nexttowardf.c: Likewise.
13795 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13796 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13797 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13798 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13799 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13800 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13801 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13803 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13805 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13806 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13807 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13808 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13809 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13810 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13811 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13812 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13813 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13814 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13815 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13816 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13817 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13818 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13819 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13820 * sysdeps/ieee754/k_standardl.c: Likewise.
13821 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13822 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13824 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13825 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13828 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13829 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13831 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13832 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13833 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13834 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13836 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13837 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13838 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13839 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13840 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13841 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13842 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13844 2018-05-11 Florian Weimer <fweimer@redhat.com>
13846 Use 64-bit epoch values in the time zone file parser.
13847 * include/time.h (internal_time_t): Define.
13848 (__tzfile_compute): Use it.
13849 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13851 (transitions): Switch to internal_time_t.
13852 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13854 (__tzfile_compute): Use internal_time_t for timer argument. Check
13855 for truncation before calling __offtime.
13857 2018-05-11 Florian Weimer <fweimer@redhat.com>
13860 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13861 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13863 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13864 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13865 export without --enable-obsolete-rpc.
13866 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13867 symbol. This should not have been exported, ever.
13869 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13872 * localedata/locales/gd_GB (abmon): Fix typo in May:
13873 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13875 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13877 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13878 Use multiple registers to copy data in loop tail.
13880 * sysdeps/aarch64/multiarch/memmove_falkor.S
13881 (__memmove_falkor): Use multiple registers to move data in
13884 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13886 * math/math-underflow.h: New file.
13887 * sysdeps/generic/math_private.h: Do not include <float.h>.
13888 (fabs_tg): Remove macro. Moved to math-underflow.h.
13889 (min_of_type_f): Likewise.
13890 (min_of_type_): Likewise.
13891 (min_of_type_l): Likewise.
13892 (min_of_type_f128): Likewise.
13893 (min_of_type): Likewise.
13894 (math_check_force_underflow): Likewise.
13895 (math_check_force_underflow_nonneg): Likewise.
13896 (math_check_force_underflow_complex): Likewise.
13897 * math/e_exp2_template.c: Include <math-underflow.h>.
13898 * math/k_casinh_template.c: Likewise.
13899 * math/s_catan_template.c: Likewise.
13900 * math/s_catanh_template.c: Likewise.
13901 * math/s_ccosh_template.c: Likewise.
13902 * math/s_cexp_template.c: Likewise.
13903 * math/s_clog10_template.c: Likewise.
13904 * math/s_clog_template.c: Likewise.
13905 * math/s_csin_template.c: Likewise.
13906 * math/s_csinh_template.c: Likewise.
13907 * math/s_csqrt_template.c: Likewise.
13908 * math/s_ctan_template.c: Likewise.
13909 * math/s_ctanh_template.c: Likewise.
13910 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13911 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13912 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13913 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13914 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13915 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13916 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13918 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13919 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13920 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13921 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13924 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13926 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13927 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13928 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13929 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13930 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13931 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13932 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13933 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13934 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13935 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13936 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13937 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13938 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13939 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13940 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13941 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13942 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13943 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13944 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13945 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13946 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13947 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13948 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13949 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13951 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13952 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13953 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13954 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13956 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13957 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13959 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13960 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13961 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13962 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13963 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13964 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13965 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13966 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13967 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13968 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13969 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13970 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13971 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13972 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13973 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13974 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13975 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13976 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13977 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13978 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13979 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13980 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13981 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13982 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13983 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13984 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13985 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13986 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13987 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13988 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13989 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13990 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13991 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13992 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13993 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13995 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13997 * sysdeps/generic/math-barriers.h: New file.
13998 * sysdeps/generic/math_private.h [!math_opt_barrier]
13999 (math_opt_barrier): Move to math-barriers.h.
14000 [!math_opt_barrier] (math_force_eval): Likewise.
14001 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14002 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14004 (math_force_eval): Likewise.
14005 * sysdeps/alpha/fpu/math-barriers.h: New file.
14006 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14008 (math_force_eval): Likewise.
14009 * sysdeps/x86/fpu/math-barriers.h: New file.
14010 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14012 (math_force_eval): Likewise.
14013 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14014 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14015 multiple-include guard for rename.
14016 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14017 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14019 (math_force_eval): Likewise.
14021 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14025 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14027 * stdlib/Makefile (test-bz22786): New test.
14028 * stdlib/test-bz22786.c: New test.
14030 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14032 * include/math-narrow-eval.h: New file. Contents moved from ....
14033 * sysdeps/generic/math_private.h: ... here.
14034 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14035 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14036 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14037 * stdlib/strtod_l.c: Likewise.
14038 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14039 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14040 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14042 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14043 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14044 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14045 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14046 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14047 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14048 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14049 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14050 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14051 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14052 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14053 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14054 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14055 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14056 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14057 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14058 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14059 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14060 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14061 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14062 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14063 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14064 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14065 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14066 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14068 2018-05-08 Andreas Schwab <schwab@suse.de>
14070 * sysdeps/nptl/internaltypes.h: Fix comment.
14072 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14074 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14075 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14078 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14080 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14081 of I into loop header.
14082 * benchtests/bench-memmove-walk.c
14083 (test_main): Likewise.
14085 2018-05-07 Alexandre Oliva <oliva@gnu.org>
14088 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14089 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14091 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14094 * elf/dl-load.c (open_verify): Fix stack overflow.
14095 * elf/Makefile (tst-big-note): New test.
14096 * elf/tst-big-note-lib.S: New.
14097 * elf/tst-big-note.c: New.
14099 2018-05-04 Joseph Myers <joseph@codesourcery.com>
14101 * scripts/abilist.awk: Ignore absolute symbols.
14102 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14103 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14104 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14105 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14106 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14107 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14108 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14109 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14110 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14111 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14112 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14113 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14114 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14115 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14116 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14117 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14118 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14119 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14120 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14121 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14122 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14123 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14124 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14125 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14126 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14127 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14128 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14129 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14130 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14131 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14132 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14133 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14134 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14135 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14136 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14137 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14138 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14139 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14140 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14141 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14142 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14143 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14144 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14145 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14146 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14147 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14148 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14149 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14150 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14151 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14152 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14153 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14154 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14155 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14156 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14157 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14158 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14159 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14160 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14161 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14162 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14163 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14164 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14165 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14166 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14167 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14168 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14169 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14170 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14171 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14172 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14173 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14174 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14175 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14176 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14177 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14178 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14179 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14180 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14181 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14182 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14183 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14185 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14186 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14187 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14188 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14192 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14193 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14195 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14196 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14199 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14200 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14201 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14202 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14203 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14204 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14209 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14233 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14234 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14235 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14237 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14242 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14244 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14245 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14246 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14247 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14248 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14249 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14250 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14251 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14252 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14253 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14254 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14255 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14256 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14258 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14259 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14260 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14261 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14262 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14263 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14264 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14265 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14266 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14267 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14268 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14269 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14270 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14271 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14272 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14273 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14274 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14275 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14276 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14277 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14278 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14279 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14280 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14281 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14282 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14283 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14284 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14285 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14345 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14346 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14348 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14349 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14350 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14351 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14352 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14353 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14354 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14355 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14356 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14358 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14363 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14364 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14365 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14366 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14367 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14368 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14369 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14370 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14372 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14373 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14374 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14376 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14377 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14378 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14379 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14380 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14381 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14382 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14383 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14384 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14385 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14386 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14387 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14388 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14389 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14390 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14391 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14392 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14393 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14394 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14395 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14396 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14397 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14398 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14399 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14400 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14402 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14403 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14404 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14405 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14406 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14407 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14408 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14409 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14410 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14411 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14412 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14413 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14414 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14416 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14417 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14421 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14422 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14423 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14425 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14426 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14427 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14428 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14429 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14430 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14431 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14432 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14433 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14434 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14435 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14436 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14437 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14438 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14439 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14440 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14441 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14442 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14443 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14444 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14445 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14446 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14447 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14448 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14449 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14450 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14451 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14452 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14453 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14455 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14458 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14459 Use atomic_load_acquire to load __tid.
14461 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14463 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14464 Restore the pointer into %rdx, after syscall and use %rdx,
14465 instead of %rsi, to restore context.
14467 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14469 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14470 Pop the pointer into %rdx after syscall and use %rdx, instead
14471 of %rsi, to restore context.
14473 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14475 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14476 handlers after setjmp.
14477 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14479 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14480 <libc-pointer-arith.h>.
14481 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14482 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14483 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14484 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14485 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14486 * sysdeps/x86/__longjmp_cancel.S: New file.
14487 * sysdeps/x86/longjmp.c: Likewise.
14488 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14490 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14492 * NEWS: Add ustat.h deprecation entry.
14493 * bits/ustat.h: Remove file.
14494 * misc/sys/ustat.h: Likewise.
14495 * misc/ustat.h: Likewise.
14496 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14497 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14498 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14499 compatibility mode.
14500 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14501 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14502 generic Linux implementation.
14504 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14506 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14507 * math/w_expl_compat.c: Likewise.
14508 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14510 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14512 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14514 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14516 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14517 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14518 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14520 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14522 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14523 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14524 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14527 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14529 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14531 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14532 * math/w_asin_template.c: Likewise.
14533 * math/w_atanh_template.c: Likewise.
14535 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14537 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14538 to powerpc/powerpc64/be for big-endian.
14539 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14542 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14543 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14544 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14545 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14546 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14547 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14548 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14549 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14550 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14551 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14552 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14553 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14554 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14555 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14556 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14557 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14558 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14559 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14560 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14561 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14562 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14563 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14564 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14565 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14566 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14567 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14568 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14569 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14570 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14571 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14572 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14573 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14575 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14576 adjusted to imply powerpc64 and older processors on powerpc64/be.
14577 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14578 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14579 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14580 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14581 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14582 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14583 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14584 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14585 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14586 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14587 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14588 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14589 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14590 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14591 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14592 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14593 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14594 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14595 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14596 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14597 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14598 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14599 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14600 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14601 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14602 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14603 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14604 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14605 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14606 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14607 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14609 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14610 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14611 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14612 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14614 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14615 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14616 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14617 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14619 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14620 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14621 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14622 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14623 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14624 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14625 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14626 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14627 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14628 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14629 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14631 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14632 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14633 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14634 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14635 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14636 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14637 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14638 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14639 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14640 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14641 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14643 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14644 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14645 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14646 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14647 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14648 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14649 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14650 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14651 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14652 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14653 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14654 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14656 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14657 and adjusted to imply olders processors.
14658 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14659 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14660 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14661 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14662 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14663 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14664 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14665 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14666 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14667 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14668 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14673 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14687 powerpc64 and adjusted.
14688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14693 2018-04-27 Joseph Myers <joseph@codesourcery.com>
14695 * sysdeps/tile: Remove.
14696 * sysdeps/unix/sysv/linux/tile: Likewise.
14697 * README (tilegx-*-linux-gnu): Remove from list of supported
14699 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14700 contribution of support for generic Linux kernel syscall
14702 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14703 tilegx configurations.
14704 (Config.install_linux_headers): Do not handle tile.
14705 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14707 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14708 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14709 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14710 conditional undefine and redefine.
14711 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14713 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14714 conditional undefine and redefine.
14716 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14718 * signal/tst-sigaction.c: New file to test BZ #23069.
14719 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14721 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14724 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14725 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14726 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14727 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14729 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14731 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14732 _DIRENT_MATCHES_DIRENT64 is not defined.
14733 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14734 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14736 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14737 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14739 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14741 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14742 version to GCC 8 branch.
14744 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14746 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14747 (check_no_hidden): Use type of original function when declaring
14750 * sysdeps/unix/sysv/linux/sys/ptrace.h
14751 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14752 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14753 (struct __ptrace_seccomp_metadata): New type.
14754 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14755 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14756 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14757 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14758 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14759 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14760 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14761 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14762 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14763 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14764 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14765 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14766 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14767 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14768 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14769 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14771 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14773 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14775 * dirent/versionsort.c (versionsort): Likewise.
14776 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14777 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14778 * dirent/versionsort64.c (versionsort64): Likewise.
14779 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14780 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14781 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14782 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14783 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14784 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14785 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14786 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14787 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14788 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14791 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14792 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14794 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14796 * elf/elf.h (NT_PPC_PKEY): New macro.
14798 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14801 * localedata/locales/hr_HR: fix thousands_sep and
14804 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14806 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14807 (XTABS): Define to TAB3.
14809 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14811 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14813 * dirent/scandir-tail-common.c: New file.
14814 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14815 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14816 * dirent/scandir.c: Use scandir-tail-common.c.
14817 * dirent/scandirat.c: Likewise.
14818 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14819 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14820 if _DIRENT_MATCHES_DIRENT64 is defined.
14821 * dirent/scandirat64.c (scandirat64): Likewise.
14822 * include/dirent.h (__scandir_tail): Only define iff
14823 _DIRENT_MATCHES_DIRENT64 is not defined.
14824 (__scandir64_tail): Define regardless.
14825 (__scandirat, scandirat64): Remove libc_hidden_proto.
14826 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14827 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14829 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14830 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14831 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14832 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14834 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14836 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14838 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14840 (_dl_aarch64_cap_flags): Add asimdfhm.
14842 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14844 * sysdeps/nios2/libm-test-ulps: Update.
14846 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14848 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14849 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14851 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14853 (_DIRENT_MATCHES_DIRENT64): Undef
14854 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14855 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14856 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14857 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14858 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14859 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14860 use getdents64 syscalls as base.
14861 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14862 symbol if required.
14863 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14864 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14865 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14866 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14867 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14868 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14869 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14870 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14871 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14872 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14873 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14875 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14877 * scripts/test_printers_common.py (init_test): Disable lock elision.
14879 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14881 * math/test-tgmath.c (count_double, count_float,
14882 count_ldouble, count_cdouble, count_cfloat,
14883 count_cldouble): Use volatile int.
14885 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14887 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14888 (conformtest-xfail-conds): Add i386-gnu.
14889 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14891 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14892 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14893 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14894 msqid_ds.msg_lrpid): Likewise.
14895 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14897 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14898 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14899 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14900 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14902 (struct statvfs64): Likewise.
14903 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14905 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14906 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14907 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14908 instead of wait_queue.
14909 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14910 instead of vm_area_struct.
14911 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14912 struct sched_param definition to it.
14913 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14914 * bits/types/struct_sched_param.h: New file.
14915 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14916 <bits/types/struct_sched_param.h> instead of <sched.h>.
14917 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14918 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14919 generic version but include <bits/pthreadtypes.h> to make struct
14920 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14921 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14923 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14924 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14925 [__USE_XOPEN] (OFDEL): New macro.
14926 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14927 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14928 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14930 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14931 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14932 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14934 * sysdeps/i386/sys/ucontext.h: Likewise.
14935 * sysdeps/m68k/sys/ucontext.h: Likewise.
14936 * sysdeps/mips/sys/ucontext.h: Likewise.
14937 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14938 * sysdeps/mach/hurd/i386/Makefile
14939 (test-xfail-POSIX/fcntl.h/conform): Add.
14940 (test-xfail-POSIX/signal.h/conform): Add.
14941 (test-xfail-POSIX/semaphore.h/conform): Add.
14942 (test-xfail-POSIX/regex.h/conform): Add.
14943 (test-xfail-POSIX/aio.h/conform): Add.
14944 (test-xfail-POSIX/mqueue.h/conform): Add.
14945 (test-xfail-POSIX/sys/types.h/conform): Add.
14946 (test-xfail-UNIX98/fcntl.h/conform): Add.
14947 (test-xfail-UNIX98/netdb.h/conform): Add.
14948 (test-xfail-UNIX98/signal.h/conform): Add.
14949 (test-xfail-UNIX98/semaphore.h/conform): Add.
14950 (test-xfail-UNIX98/regex.h/conform): Add.
14951 (test-xfail-UNIX98/aio.h/conform): Add.
14952 (test-xfail-UNIX98/ftw.h/conform): Add.
14953 (test-xfail-UNIX98/mqueue.h/conform): Add.
14954 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14955 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14956 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14957 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14958 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14959 (test-xfail-UNIX98/sys/types.h/conform): Add.
14960 (test-xfail-UNIX98/stdlib.h/conform): Add.
14961 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14962 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14963 (test-xfail-POSIX2008/netdb.h/conform): Add.
14964 (test-xfail-POSIX2008/signal.h/conform): Add.
14965 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14966 (test-xfail-POSIX2008/regex.h/conform): Add.
14967 (test-xfail-POSIX2008/aio.h/conform): Add.
14968 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14969 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14970 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14971 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14972 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14973 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14974 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14975 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14976 (test-xfail-XOPEN2K/signal.h/conform): Add.
14977 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14978 (test-xfail-XOPEN2K/regex.h/conform): Add.
14979 (test-xfail-XOPEN2K/aio.h/conform): Add.
14980 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14981 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14982 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14983 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14984 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14985 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14986 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14987 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14988 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14989 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14990 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14991 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14992 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14993 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14994 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14995 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14996 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14997 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14998 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14999 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15000 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15001 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15002 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15003 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15004 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15005 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
15006 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15008 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15009 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
15011 2018-04-18 Joseph Myers <joseph@codesourcery.com>
15013 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15014 --enable-obsolete for powerpc-linux-gnuspe.
15016 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15018 * conform/data/sys/un.h-data: Allow sun_ prefix.
15019 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
15021 * sysdeps/mach/include/mach.h: Likewise.
15022 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15023 * sysdeps/mach/include/mach_error.h: Likewise.
15025 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15027 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15028 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15029 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15030 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15032 2018-04-16 Andreas Schwab <schwab@suse.de>
15035 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15037 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15039 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15040 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15042 2018-04-12 DJ Delorie <dj@redhat.com>
15044 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15047 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15049 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15050 (struct kernel_sigaction): Use the same definition on 31bit as is used
15053 2018-04-09 Florian Weimer <fweimer@redhat.com>
15056 * resolv/res_send.c (send_dg): Use designated initializers instead
15057 of assignment to zero-initialize other fields of struct mmsghdr.
15059 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15061 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15062 __READDIR_ALIAS): Undefine after usage.
15063 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15064 __READDIR_R_ALIAS): Likewise.
15065 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15066 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15067 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15068 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15069 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15070 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15071 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15072 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15073 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15074 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15075 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15076 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15077 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15078 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15079 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15080 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15081 * sysdeps/unix/sysv/linux/readdir.c: New file.
15082 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15083 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15084 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15086 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15088 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15090 * manual/charset.texi (Converting a Character): Fix typo.
15092 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15096 * sysdeps/arm/libm-test-ulps: Update.
15098 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15099 as base implementation.
15100 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15101 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15102 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15103 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15104 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15105 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15106 remove unrequired definitions and update comments.
15107 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15108 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15109 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15110 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15111 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15112 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15113 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15114 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15115 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15116 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15117 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15118 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15119 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15120 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15121 and RESET_SA_RESTORER hooks.
15123 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15125 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15127 2018-04-05 Florian Weimer <fweimer@redhat.com>
15129 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15130 integer overflow, memory leak on error, and indeterminate errno
15131 value. Add a null wide character to terminate the result string.
15132 * manual/charset.texi (Converting a Character): Mention embedded
15133 null bytes in the mbrtowc input string. Explain what happens in
15134 the -2 result case. Do not claim that mbrtowc is simple or
15135 obvious to use. Adjust the description of the code example. Use
15136 @code, not @var, for concrete variables.
15138 2018-04-05 Florian Weimer <fweimer@redhat.com>
15140 * manual/examples/mbstouwcs.c: New file.
15141 * manual/charset.texi (Converting a Character): Include it.
15143 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15145 * include/dirent.h (dirfd): Add hidden proto.
15146 * dirent/dirfd.c (dirfd): Add hidden def.
15147 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15148 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
15150 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15152 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15153 sin, cos and sincos to 1 ULP.
15155 2018-04-04 Maciej W. Rozycki <macro@mips.com>
15158 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15160 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15161 * elf/tst-absolute-sym.c: New file.
15162 * elf/tst-absolute-sym-lib.c: New file.
15163 * elf/tst-absolute-sym-lib.lds: New file.
15164 * elf/Makefile (tests): Add `tst-absolute-sym'.
15165 (modules-names): Add `tst-absolute-sym-lib'.
15166 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15167 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15168 ($(objpfx)tst-absolute-sym): New dependency.
15171 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15173 (SYMBOL_ADDRESS): New macro.
15174 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15175 SYMBOL_ADDRESS for symbol address calculation.
15176 * elf/dl-runtime.c (_dl_fixup): Likewise.
15177 (_dl_profile_fixup): Likewise.
15178 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15179 * elf/rtld.c (dl_main): Likewise.
15180 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15181 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15182 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15183 (elf_machine_rela): Likewise.
15184 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15185 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15186 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15187 (elf_machine_rela): Likewise.
15188 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15189 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15190 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15191 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15193 (elf_machine_reloc): Likewise.
15194 (elf_machine_got_rel): Likewise.
15195 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15196 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15197 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15199 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15201 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15202 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15204 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15206 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15207 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15209 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15211 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15212 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15214 2018-04-04 Zack Weinberg <zackw@panix.com>
15216 * sysdeps/generic/internal-signals.h: Include signal.h,
15217 sigsetops.h, and stdbool.h.
15218 (__libc_signal_block_all): Actually block all signals.
15219 (__libc_signal_block_app): Likewise.
15220 (__libc_signal_restore_set): Actually restore the signal mask.
15222 2018-04-04 Florian Weimer <fweimer@redhat.com>
15224 inet: Actually build and run tst-deadline.
15225 * inet/Makefile (tests-internal): Add tst-deadline and do not
15226 overwrite the variable.
15227 (tests-static-internal): Remove variable.
15229 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15232 * bits/uio-ext.h (RWF_APPEND): New.
15233 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15234 * manual/llio.texi: Document RWF_APPEND.
15235 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15236 (RWF_SUPPORTED): Add RWF_APPEND.
15238 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15241 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15242 check for internal nptl signals.
15243 * nptl/sigaction.c (__sigaction): Likewise.
15244 * signal/sigaddset.c (sigaddset): Likewise.
15245 * signal/sigdelset.c (sigdelset): Likewise.
15246 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15247 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15249 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15250 to filter out internal nptl signals.
15251 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15252 also check realtime signals using standard macros.
15253 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15254 __is_internal_signal, __libc_signal_block_all,
15255 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15256 * sysdeps/nptl/sigfillset.c: Remove file.
15257 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15258 Change return to bool.
15259 (__clear_internal_signals): Remove SIGTIMER clean since it is
15260 equal to SIGCANEL on Linux.
15261 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15262 signal set was constructed using standard functions.
15264 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15266 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15267 ifname is too long.
15268 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15269 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
15270 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15272 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
15273 * signal/sigaddset.c: Include <sigsetopts.h>.
15274 * signal/sigdelset.c: Likewise.
15276 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15278 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15280 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15281 logic as sin and cos.
15283 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15285 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15286 inputs. Return correct sign.
15287 (do_sincos): Remove small input check before do_sin, let do_sin set
15292 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15294 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15295 (do_cos_slow): Likewise.
15296 (do_sin_slow): Likewise.
15297 (reduce_and_compute): Likewise.
15302 (sloww1): Likewise.
15303 (sloww2): Likewise.
15305 (bslow1): Likewise.
15306 (bslow2): Likewise.
15307 (cslow2): Likewise.
15309 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15311 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15312 (do_cos): Remove corp parameter and calculations.
15313 (do_sin): Likewise.
15314 (do_sincos): Remove cor variable.
15315 (__sin): Use do_sincos for huge inputs.
15317 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15318 (reduce_and_compute_sincos): Remove unused function.
15320 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15322 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15323 reduce_sincos, improve accuracy to 136 bits.
15324 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15325 (__sin): Use improved reduction and simplified do_sincos calculation.
15327 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15329 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15331 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15332 (do_sincos_2): Likewise.
15333 (__sin): Remove middle range reduction case.
15335 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15338 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15340 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15341 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15344 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15346 2018-04-03 Joseph Myers <joseph@codesourcery.com>
15348 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15351 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15353 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15354 Remove definitions.
15355 (opendir_oflags): Use O_DIRECTORY regardless.
15356 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15357 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15359 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15361 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15362 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15364 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15365 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15366 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15367 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
15368 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15369 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
15371 * htl/Makefile: Bump licence to LGPL 2.1+.
15372 * htl/alloca_cutoff.c: Likewise.
15373 * htl/cthreads-compat.c: Likewise.
15374 * htl/lockfile.c: Likewise.
15375 * htl/pt-alloc.c: Likewise.
15376 * htl/pt-cancel.c: Likewise.
15377 * htl/pt-cleanup.c: Likewise.
15378 * htl/pt-create.c: Likewise.
15379 * htl/pt-dealloc.c: Likewise.
15380 * htl/pt-detach.c: Likewise.
15381 * htl/pt-exit.c: Likewise.
15382 * htl/pt-getattr.c: Likewise.
15383 * htl/pt-initialize.c: Likewise.
15384 * htl/pt-internal.h: Likewise.
15385 * htl/pt-join.c: Likewise.
15386 * htl/pt-self.c: Likewise.
15387 * htl/pt-setcancelstate.c: Likewise.
15388 * htl/pt-setcanceltype.c: Likewise.
15389 * htl/pt-sigmask.c: Likewise.
15390 * htl/pt-spin-inlines.c: Likewise.
15391 * htl/pt-testcancel.c: Likewise.
15392 * htl/pt-yield.c: Likewise.
15393 * htl/tests/test-1.c: Likewise.
15394 * htl/tests/test-10.c: Likewise.
15395 * htl/tests/test-11.c: Likewise.
15396 * htl/tests/test-12.c: Likewise.
15397 * htl/tests/test-13.c: Likewise.
15398 * htl/tests/test-14.c: Likewise.
15399 * htl/tests/test-15.c: Likewise.
15400 * htl/tests/test-16.c: Likewise.
15401 * htl/tests/test-17.c: Likewise.
15402 * htl/tests/test-2.c: Likewise.
15403 * htl/tests/test-3.c: Likewise.
15404 * htl/tests/test-4.c: Likewise.
15405 * htl/tests/test-5.c: Likewise.
15406 * htl/tests/test-6.c: Likewise.
15407 * htl/tests/test-7.c: Likewise.
15408 * htl/tests/test-8.c: Likewise.
15409 * htl/tests/test-9.c: Likewise.
15410 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15411 * sysdeps/htl/bits/cancelation.h: Likewise.
15412 * sysdeps/htl/bits/pthread-np.h: Likewise.
15413 * sysdeps/htl/bits/pthread.h: Likewise.
15414 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15415 * sysdeps/htl/bits/semaphore.h: Likewise.
15416 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15417 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15418 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15419 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15420 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15421 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15422 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15423 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15424 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15425 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15426 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15427 * sysdeps/htl/old_pt-atfork.c: Likewise.
15428 * sysdeps/htl/pt-atfork.c: Likewise.
15429 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15430 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15431 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15432 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15433 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15434 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15435 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15436 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15437 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15438 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15439 * sysdeps/htl/pt-attr-init.c: Likewise.
15440 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15441 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15442 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15443 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15444 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15445 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15446 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15447 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15448 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15449 * sysdeps/htl/pt-attr.c: Likewise.
15450 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15451 * sysdeps/htl/pt-barrier-init.c: Likewise.
15452 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15453 * sysdeps/htl/pt-barrier.c: Likewise.
15454 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15455 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15456 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15457 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15458 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15459 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15460 * sysdeps/htl/pt-cond-init.c: Likewise.
15461 * sysdeps/htl/pt-cond-signal.c: Likewise.
15462 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15463 * sysdeps/htl/pt-cond-wait.c: Likewise.
15464 * sysdeps/htl/pt-cond.c: Likewise.
15465 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15466 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15467 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15468 * sysdeps/htl/pt-condattr-init.c: Likewise.
15469 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15470 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15471 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15472 * sysdeps/htl/pt-equal.c: Likewise.
15473 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15474 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15475 * sysdeps/htl/pt-getschedparam.c: Likewise.
15476 * sysdeps/htl/pt-getspecific.c: Likewise.
15477 * sysdeps/htl/pt-init-specific.c: Likewise.
15478 * sysdeps/htl/pt-key-create.c: Likewise.
15479 * sysdeps/htl/pt-key-delete.c: Likewise.
15480 * sysdeps/htl/pt-key.h: Likewise.
15481 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15482 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15483 * sysdeps/htl/pt-mutex-init.c: Likewise.
15484 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15485 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15486 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15487 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15488 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15489 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15490 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15491 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15492 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15493 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15494 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15495 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15496 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15497 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15498 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15499 * sysdeps/htl/pt-mutexattr.c: Likewise.
15500 * sysdeps/htl/pt-once.c: Likewise.
15501 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15502 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15503 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15504 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15505 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15506 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15507 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15508 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15509 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15510 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15511 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15512 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15513 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15514 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15515 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15516 * sysdeps/htl/pt-setschedparam.c: Likewise.
15517 * sysdeps/htl/pt-setschedprio.c: Likewise.
15518 * sysdeps/htl/pt-setspecific.c: Likewise.
15519 * sysdeps/htl/pt-spin.c: Likewise.
15520 * sysdeps/htl/pt-startup.c: Likewise.
15521 * sysdeps/htl/pthread.h: Likewise.
15522 * sysdeps/htl/sem-close.c: Likewise.
15523 * sysdeps/htl/sem-destroy.c: Likewise.
15524 * sysdeps/htl/sem-getvalue.c: Likewise.
15525 * sysdeps/htl/sem-init.c: Likewise.
15526 * sysdeps/htl/sem-open.c: Likewise.
15527 * sysdeps/htl/sem-post.c: Likewise.
15528 * sysdeps/htl/sem-timedwait.c: Likewise.
15529 * sysdeps/htl/sem-trywait.c: Likewise.
15530 * sysdeps/htl/sem-unlink.c: Likewise.
15531 * sysdeps/htl/sem-wait.c: Likewise.
15532 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15533 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15534 * sysdeps/mach/htl/pt-block.c: Likewise.
15535 * sysdeps/mach/htl/pt-spin.c: Likewise.
15536 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15537 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15538 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15539 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15540 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15541 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15542 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15543 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15544 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15545 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15546 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15547 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15548 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15549 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15550 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15551 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15552 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15553 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15554 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15555 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15556 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15557 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15558 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15559 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15560 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15561 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15562 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15563 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15564 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15565 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15566 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15567 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15568 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15569 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15570 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15571 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15572 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15573 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15574 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15575 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15576 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15577 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15578 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15580 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15581 * README: Remove the mention of out-of-tree patches needed for
15584 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15585 (UTIME_NOW, UTIME_OMIT): Define macros.
15587 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15588 instead of pthread_detach.
15589 (__cthread_fork): Call __pthread_create instead of pthread_create.
15590 (__cthread_keycreate): Call __pthread_key_create instead of
15591 pthread_key_create.
15592 (__cthread_getspecific): Call __pthread_getspecific instead of
15593 pthread_getspecific.
15594 (__cthread_setspecific): Call __pthread_setspecific instead of
15595 pthread_setspecific.
15596 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15597 __pthread_mutex_unlock instead of pthread_mutex_lock and
15598 pthread_mutex_unlock.
15599 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15600 ___pthread_get_cleanup_stack.
15601 (__pthread_get_cleanup_stack): New strong alias.
15602 * htl/pt-create.c: Include <pthreadP.h>.
15603 (entry_point): Call __pthread_exit instead of pthread_exit.
15604 (pthread_create): Rename to __pthread_create.
15605 (pthread_create): New strong alias.
15606 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15607 (pthread_detach): New strong alias.
15608 (__pthread_detach): Call __pthread_cond_broadcast instead of
15609 pthread_cond_broadcast.
15610 * htl/pt-exit.c: Include <pthreadP.h>.
15611 (__pthread_exit): Call __pthread_setcancelstate and
15612 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15613 __pthread_get_cleanup_stack.
15614 * htl/pt-testcancel.c: Include <pthreadP.h>.
15615 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15616 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15617 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15618 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15619 pthread_attr_getstacksize.
15620 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15621 Rename to __pthread_attr_getstackaddr.
15622 (pthread_attr_getstackaddr): New strong alias.
15623 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15624 Rename to __pthread_attr_getstacksize.
15625 (pthread_attr_getstacksize): New strong alias.
15626 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15627 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15628 (pthread_attr_setstack): New strong alias.
15629 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15630 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15631 pthread_attr_getstacksize, pthread_attr_setstacksize and
15632 pthread_attr_setstackaddr.
15633 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15634 Rename to __pthread_attr_setstackaddr.
15635 (pthread_attr_setstackaddr): New strong alias.
15636 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15637 Rename to __pthread_attr_setstacksize.
15638 (pthread_attr_setstacksize): New strong alias.
15639 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15640 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15642 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15643 (__pthread_key_create): New hidden def.
15644 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15645 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15646 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15647 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15648 __pthread_setspecific, __pthread_setcancelstate,
15649 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15650 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15651 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15653 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15654 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15655 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15656 (pthread_attr_setstackaddr): New strong alias.
15657 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15658 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15659 (pthread_attr_setstacksize): New strong alias.
15660 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15661 (call_exit): Call __pthread_exit instead of pthread_exit.
15662 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15663 (_pthread_mutex_init): New hidden definition.
15664 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15665 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15666 instead of pthread_attr_init and pthread_attr_setstack.
15668 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15669 __vm_deallocate instead of vm_allocate and vm_deallocate.
15670 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15672 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15674 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15676 * hurd/siginfo.c: Include <libioP.h>.
15677 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15678 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15680 * mach/devstream.c: Include <libioP.h>.
15681 (dealloc_ref): Call __mach_port_deallocate instead of
15682 mach_port_deallocate.
15683 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15684 Call __mach_port_deallocate instead of mach_port_deallocate.
15685 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15687 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15689 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15690 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15691 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15693 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15695 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15696 instead of sysconf.
15697 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15698 __clock_gettime instead of clock_gettime.
15699 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15700 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15701 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15702 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15703 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15705 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15706 __clock_gettime and __nanosleep instead of clock_gettime and
15708 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15709 __hurd_catch_signal.
15710 (hurd_catch_signal): New strong alias.
15711 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15712 __hurd_catch_signal instead of hurd_catch_signal.
15713 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15714 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15715 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15716 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15717 (_hurd_thread_sigstate): Add hidden def.
15718 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15720 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15721 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15722 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15723 __hurd_file_name_path_lookup.
15724 (hurd_file_name_path_lookup): New strong alias.
15725 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15726 hurd_file_name_path_lookup.
15727 * mach/errstring.c (mach_error_type): Add hidden def.
15728 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15729 * mach/mutex-init.c (__mutex_init): Add hidden def.
15730 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15731 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15732 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15733 * sysdeps/mach/hurd/getcwd.c
15734 (_hurd_canonicalize_directory_name_internal): Rename to
15735 __hurd_canonicalize_directory_name_internal.
15736 (_hurd_canonicalize_directory_name_internal): New strong alias.
15737 (__canonicalize_directory_name_internal, __getcwd): Call
15738 __hurd_canonicalize_directory_name_internal instead of
15739 _hurd_canonicalize_directory_name_internal.
15740 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15741 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15743 * sysdeps/hurd/include/hurd.h: New file.
15744 * sysdeps/hurd/include/hurd/fd.h: New file.
15745 * sysdeps/hurd/include/hurd/signal.h: New file.
15746 * sysdeps/mach/include/lock-intern.h: New file.
15747 * sysdeps/mach/include/mach.h: New file.
15748 * sysdeps/mach/include/mach/mig_support.h: New file.
15749 * sysdeps/mach/include/mach_error.h: New file.
15750 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15752 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15753 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15754 _HEADER_H_HIDDEN_DEF macro.
15755 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15756 _hurd_fd_error_signal): Add hidden prototype.
15757 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15759 * libio/iolibio.h (_IO_puts): New hidden prototype.
15760 * libio/ioputs.c (_IO_puts): New hidden def.
15761 * sysdeps/mach/hurd/localplt.data: New file.
15763 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15764 Amos Jeffries <squid3@treenet.co.nz>
15765 David Michael <fedora.dm0@gmail.com>
15766 Marco Gerards <marco@gnu.org>
15767 Marcus Brinkmann <marcus@gnu.org>
15768 Neal H. Walfield <neal@gnu.org>
15769 Pino Toscano <toscano.pino@tiscali.it>
15770 Richard Braun <rbraun@sceen.net>
15771 Roland McGrath <roland@gnu.org>
15772 Samuel Thibault <samuel.thibault@ens-lyon.org>
15773 Thomas DiModica <ricinwich@yahoo.com>
15774 Thomas Schwinge <tschwinge@gnu.org>
15776 * htl: New directory.
15777 * sysdeps/htl: New directory.
15778 * sysdeps/hurd/htl: New directory.
15779 * sysdeps/i386/htl: New directory.
15780 * sysdeps/mach/htl: New directory.
15781 * sysdeps/mach/hurd/htl: New directory.
15782 * sysdeps/mach/hurd/i386/htl: New directory.
15783 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15784 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15785 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15787 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15789 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15790 signals in thread created for runing timers.
15792 2018-04-01 Florian Weimer <fweimer@redhat.com>
15794 * support/support_format_addrinfo.c (support_format_addrinfo):
15795 Include unknown error number in formatted result.
15797 2018-03-29 Florian Weimer <fweimer@redhat.com>
15799 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15802 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15804 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15805 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15806 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15807 (__ASSUME_CLONE_BACKWARDS): Define.
15809 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15812 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15813 early when linux sentinel value is set.
15815 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15817 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15819 2018-03-27 Andreas Schwab <schwab@suse.de>
15822 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15823 allocation of private copy of nsaddr_list fails.
15825 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15828 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15829 * sysdeps/unix/sysv/linux/umount.c: ... here.
15830 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15831 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15832 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15833 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15835 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15836 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15838 2018-03-26 Andreas Schwab <schwab@suse.de>
15840 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15841 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15842 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15843 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15844 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15845 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15846 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15847 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15848 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15849 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15850 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15851 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15852 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15853 (R_RISCV_NUM): Define.
15855 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15857 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15858 TLS declaration of errno.
15859 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15861 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15862 (ARCH_SETUP_TLS): Likewise.
15863 * sysdeps/mach/hurd/libc-start.h: New file copied from
15864 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15865 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15866 instead of __libc_setup_tls.
15867 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15868 __libc_setup_tls before initializing libpthread and running _hurd_init
15869 which starts the signal thread.
15870 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15872 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15874 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15877 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15878 after it is defined.
15880 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15881 Max Horn <max@quendi.de>
15885 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15887 * string/test-memmove.c (do_test2): New testcase.
15889 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15891 * sysdeps/generic/frame.h: Remove file.
15892 * sysdeps/arm/frame.h: Likewise.
15893 * sysdeps/hppa/frame.h: Likewise.
15894 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15896 (GET_FRAME): Likewise.
15897 (GET_STACK): Likewise.
15898 (CALL_SIGHANDLER): Likewise.
15899 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15901 (GET_FRAME): Likewise.
15902 (GET_STACK): Likewise.
15903 (CALL_SIGHANDLER): Likewise.
15904 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15905 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15906 (GET_FRAME): Likewise.
15907 (GET_STACK): Likewise.
15908 (CALL_SIGHANDLER): Likewise.
15909 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15910 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15911 (GET_FRAME): Likewise.
15912 (GET_STACK): Likewise.
15913 (ADVANCE_STACK_FRAME): Likewise.
15914 (CALL_SIGHANDLER): Likewise.
15915 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15916 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15917 (GET_FRAME): Likewise.
15918 (GET_STACK): Likewise.
15919 (CALL_SIGHANDLER): Likewise.
15920 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15921 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15922 (GET_FRAME): Likewise.
15923 (GET_STACK): Likewise.
15924 (CALL_SIGHANDLER): Likewise.
15925 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15926 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15927 (GET_FRAME): Likewise.
15928 (GET_STACK): Likewise.
15929 (CALL_SIGHANDLER): Likewise.
15930 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15931 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15932 (GET_FRAME): Likewise.
15933 (GET_STACK): Likewise.
15934 (CALL_SIGHANDLER): Likewise.
15935 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15936 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15937 (GET_FRAME): Likewise.
15938 (GET_STACK): Likewise.
15939 (CALL_SIGHANDLER): Likewise.
15940 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15941 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15942 (GET_FRAME): Likewise.
15943 (GET_STACK): Likewise.
15944 (CALL_SIGHANDLER): Likewise.
15945 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15946 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15947 (GET_FRAME): Likewise.
15948 (GET_STACK): Likewise.
15949 (CALL_SIGHANDLER): Likewise.
15950 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15951 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15952 (GET_FRAME): Likewise.
15953 (GET_STACK): Likewise.
15954 (CALL_SIGHANDLER): Likewise.
15955 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15956 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15957 (GET_FRAME): Likewise.
15958 (GET_STACK): Likewise.
15959 (CALL_SIGHANDLER): Likewise.
15960 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15961 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15962 (FIRST_FRAME_POINTER): Likewise.
15963 (ADVANCE_STACK_FRAME): Likewise.
15964 (GET_STACK): Likewise.
15965 (GET_FRAME): Likewise.
15966 (CALL_SIGHANDLER): Likewise.
15967 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15968 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15969 (ADVANCE_STACK_FRAME): Likewise.
15970 (GET_STACK): Likewise.
15971 (GET_FRAME): Likewise.
15972 (CALL_SIGHANDLER): Likewise.
15973 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15974 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15975 (GET_FRAME): Likewise.
15976 (GET_STACK): Likewise.
15977 (CALL_SIGHANDLER): Likewise.
15978 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15979 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15980 (GET_FRAME): Likewise.
15981 (GET_STACK): Likewise.
15982 (CALL_SIGHANDLER): Likewise.
15984 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15986 * sysdeps/x86_64/backtrace.c: Move to ....
15987 * debug/backtrace.c: ... here.
15988 * sysdeps/aarch64/backtrace.c: Remove file.
15989 * sysdeps/alpha/backtrace.c: Likewise.
15990 * sysdeps/hppa/backtrace.c: Likewise.
15991 * sysdeps/ia64/backtrace.c: Likewise.
15992 * sysdeps/mips/backtrace.c: Likewise.
15993 * sysdeps/nios2/backtrace.c: Likewise.
15994 * sysdeps/riscv/backtrace.c: Likewise.
15995 * sysdeps/sh/backtrace.c: Likewise.
15996 * sysdeps/tile/backtrace.c: Likewise.
15998 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16001 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16004 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16007 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16008 possibly overflowing computations.
16010 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16012 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16013 values from Linux-specific section now that it is in the GNU section.
16014 * sysdeps/gnu/errlist.c: Regenerate.
16016 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16018 * math/Makefile (libm-narrow-fns): Add sub.
16019 (libm-test-funcs-narrow): Likewise.
16020 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16021 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16022 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16023 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16024 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16025 (NARROW_SUB_TRIVIAL): Likewise.
16026 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16028 (__dsubl): Likewise.
16029 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16031 (CFLAGS-nldbl-dsub.c): New variable.
16032 (CFLAGS-nldbl-fsub.c): Likewise.
16033 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16035 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16037 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16038 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16039 * math/auto-libm-test-in: Add tests of sub.
16040 * math/auto-libm-test-out-narrow-sub: New generated file.
16041 * math/libm-test-narrow-sub.inc: New file.
16042 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16043 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16044 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16045 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16046 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16047 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16048 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16049 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16050 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16051 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16052 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16053 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16054 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16055 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16056 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16057 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16058 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16059 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16061 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16062 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16063 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16064 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16065 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16066 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16067 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16068 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16069 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16070 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16071 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16072 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16073 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16078 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16079 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16080 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16081 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16082 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16083 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16084 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16085 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16086 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16087 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16089 2018-03-19 Joseph Myers <joseph@codesourcery.com>
16092 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16094 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16096 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16098 2018-03-18 Richard Braun <rbraun@sceen.net>
16100 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16103 2018-03-18 Agustina Arzille <avarzille@riseup.net>
16105 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16106 (__libc_cleanup_fct): Define function.
16107 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16108 __libc_cleanup_end): Rewrite implementation using
16109 __attribute__ ((__cleanup__)).
16110 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
16111 * hurd/Makefile (routines): Add hurdlock.
16112 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16114 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16115 * hurd/hurdpid.c: Include <lowlevellock.h>
16116 (_S_msg_proc_newids): Use lll_wait to synchronize.
16117 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16118 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16119 * mach/Makefile (lock-headers): Remove machine-lock.h.
16120 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16122 (__spin_lock_t): New type.
16123 (__SPIN_LOCK_INITIALIZER): New macro.
16124 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16125 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16126 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16127 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16128 (__mutex_init): Initialize with lll.
16129 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16130 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16132 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16133 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16134 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16135 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16136 (__setpgid): Use lll for synchronization.
16137 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16138 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16139 instead of <cthreads.h>.
16140 (_IO_lock_inexpensive): New macro
16141 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16142 (__libc_lock_self0): New declaration.
16143 (__libc_lock_owner_self): New macro.
16144 (__libc_key_t): Remove type.
16145 (_LIBC_LOCK_INITIALIZER): New macro.
16146 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16147 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16148 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16149 __libc_lock_define_initialized_recursive,
16150 __rtld_lock_define_initialized_recursive,
16151 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16152 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16153 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16154 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16155 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16156 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16157 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16159 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16160 * hurd/hurdlock.c: New file.
16161 * hurd/hurdlock.h: New file.
16162 * mach/lowlevellock.h: New file
16164 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16166 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
16167 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16168 when opening a symlink with O_NOFOLLOW.
16169 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16170 path when flags contains O_NOFOLLOW.
16171 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16172 if flags contains O_DIRECTORY and the result is a directory.
16173 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16174 oneself when the pointer given in D is nul (as set by ext2fs).
16175 * sysdeps/mach/hurd/mlockall.c: New file.
16176 * sysdeps/mach/hurd/munlockall.c: New file.
16178 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16180 * hurd/hurdsig.c: Include <pthread.h>.
16181 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16182 get the signal thread stack layout.
16183 * hurd/Makefile (headers): Remove threadvar.h.
16184 (inline-headers): Remove threadvar.h.
16185 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16186 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16187 __hurd_threadvar_max, __hurd_errno_location.
16188 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16189 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16190 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16191 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16192 unless TLS is not initialized yet, in which case we do not need a
16193 critical section yet anyway.
16194 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16196 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16198 (__hurd_threadvar_index): Remove enum.
16199 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16200 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16202 (__hurd_reply_port0): New variable declaration.
16203 (__hurd_local_reply_port): New macro.
16204 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16205 (interrupted_reply_port_location): Add thread_t parameter. Use it
16206 with THREAD_TCB to access thread-local variables.
16207 (_hurdsig_abort_rpcs): Pass ss->thread to
16208 interrupted_reply_port_location.
16209 (_hurd_internal_post_signal): Likewise.
16210 (_hurdsig_init): Use presence of cthread_fork instead of
16211 __hurd_threadvar_stack_mask to start signal thread by hand.
16212 Remove signal thread threadvar initialization.
16213 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16214 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16215 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16217 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16219 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16220 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16221 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16222 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16223 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16224 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16225 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16227 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16228 <hurd/threadvar.h>.
16229 [IS_IN(rtld)] (rtld_errno): New variable.
16230 [IS_IN(rtld)] (__errno_location): New weak function.
16231 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16232 * sysdeps/mach/hurd/errno.c: Remove file.
16233 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16234 (__fork): Remove THREADVAR_SPACE macro and its use.
16235 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16237 (init): Do not initialize threadvar.
16238 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16240 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16241 __hurd_local_reply_port instead of threadvar.
16242 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16243 _hurd_sigstate fields.
16244 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16245 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16246 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16247 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16248 instead of threadvar.
16249 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16250 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16251 (use_threadvar, global_reply_port): Remove variables.
16252 (__hurd_reply_port0): New variable.
16253 (__mig_get_reply_port): Use __hurd_local_reply_port and
16254 __hurd_reply_port0 instead of threadvar.
16255 (__mig_dealloc_reply_port): Likewise.
16256 (__mig_init): Do not initialize threadvar.
16257 * sysdeps/mach/hurd/profil.c: Fix comment.
16258 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16259 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16260 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16261 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16262 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16263 __cthread_setspecific.
16264 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16265 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16266 __cthread_t instead of cthread_fork, cthread_detach,
16267 pthread_getattr_np, pthread_attr_getstack.
16268 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16269 __cthread_keycreate.
16270 (cthread_getspecific): Rename to __cthread_getspecific.
16271 (cthread_setspecific): Rename to __cthread_setspecific.
16272 (__libc_getspecific): Use __cthread_getspecific instead of
16273 cthread_getspecific.
16274 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16275 __cthread_keycreate instead of cthread_keycreate.
16276 (__libc_setspecific): Use __cthread_setspecific instead of
16277 cthread_setspecific.
16278 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16280 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16281 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16282 testing whether it is defined.
16284 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16286 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16288 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16289 * sysdeps/mach/i386/thread_state.h
16290 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16292 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16294 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16296 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16297 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16299 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16301 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16302 descriptor instead of creating a new one.
16303 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16305 * mach/setup-thread.c: Include <ldsodefs.h>.
16306 (__mach_setup_thread): Call _dl_allocate_tls, pass
16307 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16308 MACHINE_THREAD_STATE_FLAVOR, before getting
16309 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16310 MACHINE_THREAD_STATE_FLAVOR with the result.
16311 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16312 MACHINE_THREAD_STATE_FIX_NEW.
16313 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16314 too. Add original thread parameter.
16316 2018-03-16 Joseph Myers <joseph@codesourcery.com>
16318 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16319 Remove inline function.
16321 * sysdeps/i386/fpu/libm-test-ulps: Update.
16322 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16324 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16326 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16329 2018-03-15 Joseph Myers <joseph@codesourcery.com>
16331 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16332 (__sincos_code): Remove define and undefine.
16333 [__FAST_MATH__] (__sincos): Remove inline function.
16334 [__FAST_MATH__] (__sincosf): Remove inline function.
16335 [__FAST_MATH__] (__sincosl): Remove inline function.
16336 (__atan2l): Remove inline functions.
16337 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16338 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16340 (floor): Remove inline function.
16342 [__FAST_MATH__] (__ldexp_code): Remove macro.
16343 [__FAST_MATH__] (ldexp): Remove inline function.
16344 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16345 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16346 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16347 [__USE_ISOC99] (__lrint_code): Remove macro.
16348 [__USE_ISOC99] (__llrint_code): Likewise.
16349 [__USE_ISOC99] (lrintf): Remove inline function.
16350 [__USE_ISOC99] (lrint): Likewise.
16351 [__USE_ISOC99] (lrintl): Likewise.
16352 [__USE_ISOC99] (llrint): Likewise.
16353 [__USE_ISOC99] (llrintf): Likewise.
16354 [__USE_ISOC99] (llrintl): Likewise.
16356 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16358 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16359 (__ieee754_sqrtf): Remove.
16360 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16361 (__ieee754_sqrtf): Remove.
16362 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16363 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16364 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16365 (__ieee754_sqrtf): Remove.
16366 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16367 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16370 (__ieee754_sqrt): Remove.
16371 (__ieee754_sqrtf): Remove.
16372 (__ieee754_sqrtl): Remove.
16373 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16374 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16375 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16376 (__ieee754_sqrtf): Remove.
16377 (__ieee754_sqrtl): Remove.
16379 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16381 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16382 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16383 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16384 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16385 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16386 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16387 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16388 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16390 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16391 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16392 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16393 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16394 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16395 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16396 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16397 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16398 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16399 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16400 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16401 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16402 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16403 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16404 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16405 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16406 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16407 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16408 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16409 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16410 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16411 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16412 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16413 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16414 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16415 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16416 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16417 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16418 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16419 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16420 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16421 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16422 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16423 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16424 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16425 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16426 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16427 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16428 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16429 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16431 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16433 * include/math.h (sqrt): Declare with asm redirect.
16436 (sqrtf128): Likewise.
16437 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16438 nonlib and libnldbl with -fmath-errno.
16439 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16440 * math/w_sqrt_template.c: Likewise.
16441 * math/w_sqrtf_compat.c: Likewise.
16442 * math/w_sqrtl_compat.c: Likewise.
16443 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16444 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16445 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16448 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16450 * benchtests/Makefile: Define _ISOMAC.
16451 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16452 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16453 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16454 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16455 * benchtests/bench-timing.h: Define attribute_hidden.
16457 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16459 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16462 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16465 * localedata/locales/cs_CZ (mon): Rename to...
16467 (mon): Import from CLDR (genitive case).
16469 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16472 * localedata/locales/el_CY (abmon): Rename to...
16473 (ab_alt_mon): This.
16474 (abmon): Import from CLDR (abbreviated genitive case).
16475 * localedata/locales/el_GR (abmon): Rename to...
16476 (ab_alt_mon): This.
16477 (abmon): Import from CLDR (abbreviated genitive case).
16479 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16482 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16484 2018-03-15 Robert Buj <robert.buj@gmail.com>
16487 * localedata/locales/ca_ES (abmon): Rename to...
16488 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16489 (mon): Rename to...
16491 (abmon): Import from CLDR (genitive case, month names preceded by
16494 (abday): Synchronize with CLDR.
16495 (d_t_fmt): Likewise.
16499 (LC_TIME): Improve indentation.
16500 (LC_TELEPHONE): Likewise.
16501 (LC_NAME): Likewise.
16502 (LC_ADDRESS): Likewise.
16504 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16506 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16507 (lrintf): Remove definitions used only with old GCC.
16508 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16509 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16510 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16511 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16512 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16513 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16514 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16515 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16516 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16517 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16518 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16519 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16520 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16521 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16522 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16523 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16524 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16525 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16526 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16527 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16528 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16529 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16530 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16531 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16532 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16533 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16534 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16535 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16537 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16539 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16540 instruction to unbreak builds with binutils 2.26 and older.
16542 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16544 * sysdeps/aarch64/strncmp.S (count): New macro.
16545 (strncmp): Store misaligned length in SRC1 in COUNT.
16546 (mutual_align): Adjust.
16547 (misaligned8): Load dword at a time when it is safe.
16549 2018-03-12 Zack Weinberg <zackw@panix.com>
16553 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16554 if the _IO_EOF_SEEN bit is already set; update commentary.
16555 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16556 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16558 * support/support_openpty.c, support/tty.h: New files.
16559 * support/Makefile (libsupport-routines): Add support_openpty.
16561 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16563 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16564 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16566 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16568 * po/pt_BR.po: Update translations.
16570 2018-03-12 David Michael <fedora.dm0@gmail.com>
16572 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16573 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16574 get a port to the startup server.
16576 2018-03-11 Zack Weinberg <zackw@panix.com>
16578 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16579 before nldbl-compat.h.
16581 2018-03-10 Zack Weinberg <zackw@panix.com>
16583 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16584 math.h or math_private.h.
16586 * sysdeps/alpha/fpu/s_isnan.c
16587 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16588 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16589 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16590 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16591 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16592 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16593 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16594 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16595 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16598 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16599 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16600 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16601 Include math_private.h.
16603 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16604 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16605 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16606 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16607 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16608 * sysdeps/powerpc/power7/fpu/s_logb.c:
16609 Include math.h and math_private.h.
16611 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16612 uses of $at in .set noat / .set at.
16614 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16616 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16617 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16618 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16619 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16622 2018-03-09 Florian Weimer <fweimer@redhat.com>
16624 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16627 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16630 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16631 Add nop before __startcontext, add explaining comments.
16633 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16636 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16638 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16639 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16640 Do not build hardware transactional code for __SPE__.
16641 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16642 (__lll_trylock_elision): Likewise.
16643 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16644 (__lll_unlock_elision): Likewise.
16646 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
16647 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16648 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16649 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16650 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16651 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16652 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16653 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16654 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16655 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16656 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16657 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16658 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16659 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16660 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16661 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16662 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16663 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16664 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16665 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16666 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16667 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16668 (__ASSUME_CLONE_BACKWARDS): Define.
16669 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16670 __clone2 if __NR_clone2 is defined.
16671 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16672 (__ASSUME_CLONE_BACKWARDS): Likewise.
16673 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16674 (__ASSUME_CLONE_BACKWARDS): Likewise.
16675 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16676 (__ASSUME_CLONE2): Likewise.
16677 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16678 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16679 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16680 variants and the define architecture can use.
16681 (__ASSUME_CLONE_DEFAULT): Define as default.
16682 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16683 (__ASSUME_CLONE_BACKWARDS): Likewise.
16684 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16685 (__ASSUME_CLONE_BACKWARDS): Likewise.
16686 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16687 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16689 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16691 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16693 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16696 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16697 (do_test_limit): Likewise.
16699 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16700 for every implementation.
16701 (do_test): Likewise.
16703 * benchtests/bench-strncmp.c: Convert output to json.
16705 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16707 * io/futimens.c: Add missing start-of-file descriptive comment.
16708 * io/utime.c: Likewise.
16709 * misc/futimesat.c: Likewise.
16710 * misc/utimes.c: Likewise.
16711 * sysdeps/mach/hurd/futimesat.c: Likewise.
16712 * sysdeps/mach/hurd/utimes.c: Likewise.
16713 * sysdeps/posix/utime.c: Likewise.
16714 * sysdeps/posix/utimes.c: Likewise.
16715 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16716 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16717 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16718 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16720 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16722 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16724 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16725 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16726 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16727 (__futimens): Move implementation to...
16728 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16729 utime_tvalue_from_tspec): ... new helper functions.
16730 (hurd_futimens): New function.
16731 * sysdeps/mach/hurd/futimesat.c: New file.
16732 * sysdeps/mach/hurd/utimensat.c: New file.
16734 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16736 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16737 UTIME_OMIT): New macros.
16738 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16739 before reverting to converting time spec to time value and calling
16741 * sysdeps/mach/hurd/utime-helper.c: New file.
16742 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16743 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16744 reverting to utime_tvalue_from_tval and __file_utimes.
16745 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16746 (__lutimes): Just call hurd_futimens after lookup.
16747 * sysdeps/mach/hurd/utimes.c: Likewise.
16749 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16751 * bits/sigaction.h: Add include guard.
16752 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16753 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16754 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16755 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16756 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16757 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16758 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16759 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16760 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16762 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16764 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16765 -Wmaybe-uninitialized for -Os.
16766 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16769 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16771 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16772 __INO_T_MATCHES_INO64_T is defined.
16773 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16774 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16776 * dirent/alphasort64.c: Likewise.
16777 * dirent/scandir.c: Likewise.
16778 * dirent/scandir64-tail.c: Likewise.
16779 * dirent/scandir64.c: Likewise.
16780 * dirent/scandirat.c: Likewise.
16781 * dirent/scandirat64.c: Likewise.
16782 * dirent/versionsort.c: Likewise.
16783 * dirent/versionsort64.c: Likewise.
16784 * include/dirent.h: Likewise.
16786 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16787 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16788 for socketpair endpoint.
16789 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16790 WRITE_BUFFER_SIZE as buffer size for sending socket.
16791 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16792 issue on system where send is implemented with sendto syscall.
16793 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16794 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16795 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16796 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16799 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16800 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16801 sa_restorer for vDSO case.
16802 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16804 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16806 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16807 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16808 * hurd/hurd/ioctl.h: Include <mach/port.h>
16809 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16810 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16811 <mach/mach_types.h> and <mach/message.h>.
16812 (headers): Move mach/param.h to bits/mach/param.h.
16813 * sysdeps/mach/i386/mach/param.h: Move file to ...
16814 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16815 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16817 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16818 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16819 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16820 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16821 trivial, for C++ conformity.
16822 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16823 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16824 Process mig output through $(migheadersed).
16825 * hurd/Makefile (migheadersed): Define variable.
16826 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16827 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16829 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16830 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16831 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16832 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16833 <bits/types/sigset_t.h>.
16834 [!defined __USE_GNU]: Do not #error out.
16835 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16836 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16837 Include <stddef.h> and <bits/types/sigset_t.h>
16838 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16839 instead of sighandler_t.
16840 * stdlib/errno.h (error_t): Move definition to...
16841 * bits/types/error_t.h: ... new header.
16842 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16843 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16844 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16845 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16846 * hurd/hurd.h: Include <bits/types/error_t.h>
16847 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16848 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16849 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16850 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16851 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16852 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16853 * sysdeps/mach/hurd/futimens.c: New file.
16855 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16858 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16859 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16860 * nscd/gai.c (__nss_hosts_database): Readd definition.
16861 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16862 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16863 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16865 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16867 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16868 (ifunc_one): Likewise.
16870 2018-03-01 DJ Delorie <dj@delorie.com>
16873 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16876 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16878 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16879 `match_pid' parameter.
16880 (td_ta_thr_iter): Update accordingly.
16882 2018-03-01 Florian Weimer <fweimer@redhat.com>
16884 * nptl/Makefile (install-lib-ldscripts): Remove.
16885 (install): Remove rule.
16886 ($(inst_libdir)/libpthread.so): Likewise.
16888 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16891 * localedata/locales/an_ES: update month and day names,
16892 improve d_fmt, improve postal_fmt, add country_post,
16895 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16897 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16898 Ukrainian instead of Bulgarian.
16900 2018-03-01 Florian Weimer <fweimer@redhat.com>
16902 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16905 2018-03-01 Florian Weimer <fweimer@redhat.com>
16907 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16908 * nptl/Makefile (routines): Add pthread_atfork.
16909 (static-only-routines): Set to pthread_atfork.
16910 (libpthread-routines): Remove pthread_atfork.
16911 (libpthread-static-only-routines): Remove.
16912 (install): Update comment.
16913 (libpthread.so): Do not install libpthread_nonshared.a.
16914 (tests): Do not link with libpthread_nonshared.a.
16915 (generated): Remove libpthread_nonshared.a.
16916 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16917 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16918 with libpthread_nonshared.a.
16920 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16923 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16924 (libc_feholdexcept_setroundf128): New macro.
16925 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16928 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16930 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16931 * include/inttypes.h: New file.
16933 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16935 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16936 -Os in two more places.
16938 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16940 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16941 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16942 be sorted correctly at the moment because of a bug.
16944 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16946 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16947 treat ñ as a primary different character, sync the collation
16948 for Spanish with CLDR.
16949 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16950 * localedata/Makefile: Add new test files.
16951 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16952 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16954 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16955 * localedata/am_ET.UTF-8.in: New test file.
16956 * localedata/az_AZ.UTF-8.in: Likewise.
16957 * localedata/be_BY.UTF-8.in: Likewise.
16958 * localedata/ber_DZ.UTF-8.in: Likewise.
16959 * localedata/ber_MA.UTF-8.in: Likewise.
16960 * localedata/bg_BG.UTF-8.in: Likewise.
16961 * localedata/br_FR.UTF-8.in: Likewise.
16962 * localedata/cmn_TW.UTF-8.in: Likewise.
16963 * localedata/crh_UA.UTF-8.in: Likewise.
16964 * localedata/csb_PL.UTF-8.in: Likewise.
16965 * localedata/cv_RU.UTF-8.in: Likewise.
16966 * localedata/cy_GB.UTF-8.in: Likewise.
16967 * localedata/dz_BT.UTF-8.in: Likewise.
16968 * localedata/eo.UTF-8.in: Likewise.
16969 * localedata/es_ES.UTF-8.in: Likewise.
16970 * localedata/fa_IR.UTF-8.in: Likewise.
16971 * localedata/fi_FI.UTF-8.in: Likewise.
16972 * localedata/fil_PH.UTF-8.in: Likewise.
16973 * localedata/fur_IT.UTF-8.in: Likewise.
16974 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16975 * localedata/ha_NG.UTF-8.in: Likewise.
16976 * localedata/ig_NG.UTF-8.in: Likewise.
16977 * localedata/ik_CA.UTF-8.in: Likewise.
16978 * localedata/kk_KZ.UTF-8.in: Likewise.
16979 * localedata/ku_TR.UTF-8.in: Likewise.
16980 * localedata/ky_KG.UTF-8.in: Likewise.
16981 * localedata/ln_CD.UTF-8.in: Likewise.
16982 * localedata/mi_NZ.UTF-8.in: Likewise.
16983 * localedata/ml_IN.UTF-8.in: Likewise.
16984 * localedata/mn_MN.UTF-8.in: Likewise.
16985 * localedata/mr_IN.UTF-8.in: Likewise.
16986 * localedata/mt_MT.UTF-8.in: Likewise.
16987 * localedata/nb_NO.UTF-8.in: Likewise.
16988 * localedata/om_KE.UTF-8.in: Likewise.
16989 * localedata/os_RU.UTF-8.in: Likewise.
16990 * localedata/ps_AF.UTF-8.in: Likewise.
16991 * localedata/ro_RO.UTF-8.in: Likewise.
16992 * localedata/ru_RU.UTF-8.in: Likewise.
16993 * localedata/sc_IT.UTF-8.in: Likewise.
16994 * localedata/se_NO.UTF-8.in: Likewise.
16995 * localedata/sq_AL.UTF-8.in: Likewise.
16996 * localedata/sv_SE.UTF-8.in: Likewise.
16997 * localedata/szl_PL.UTF-8.in: Likewise.
16998 * localedata/tg_TJ.UTF-8.in: Likewise.
16999 * localedata/tk_TM.UTF-8.in: Likewise.
17000 * localedata/tt_RU.UTF-8.in: Likewise.
17001 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17002 * localedata/ug_CN.UTF-8.in: Likewise.
17003 * localedata/uz_UZ.UTF-8.in: Likewise.
17004 * localedata/vi_VN.UTF-8.in: Likewise.
17005 * localedata/yi_US.UTF-8.in: Likewise.
17006 * localedata/yo_NG.UTF-8.in: Likewise.
17007 * localedata/zh_CN.UTF-8.in: Likewise.
17008 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17009 file and fix bugs in the collation.
17010 * localedata/locales/az_AZ: Likewise.
17011 * localedata/locales/be_BY: Likewise.
17012 * localedata/locales/ber_DZ: Likewise.
17013 * localedata/locales/ber_MA: Likewise.
17014 * localedata/locales/bg_BG: Likewise.
17015 * localedata/locales/br_FR: Likewise.
17016 * localedata/locales/br_FR@euro: Likewise.
17017 * localedata/locales/ca_ES: Likewise.
17018 * localedata/locales/cns11643_stroke: Likewise.
17019 * localedata/locales/crh_UA: Likewise.
17020 * localedata/locales/cs_CZ: Likewise.
17021 * localedata/locales/csb_PL: Likewise.
17022 * localedata/locales/cv_RU: Likewise.
17023 * localedata/locales/cy_GB: Likewise.
17024 * localedata/locales/da_DK: Likewise.
17025 * localedata/locales/dz_BT: Likewise.
17026 * localedata/locales/en_CA: Likewise.
17027 * localedata/locales/eo: Likewise.
17028 * localedata/locales/es_CU: Likewise.
17029 * localedata/locales/es_EC: Likewise.
17030 * localedata/locales/es_ES: Likewise.
17031 * localedata/locales/es_US: Likewise.
17032 * localedata/locales/et_EE: Likewise.
17033 * localedata/locales/fa_IR: Likewise.
17034 * localedata/locales/fi_FI: Likewise.
17035 * localedata/locales/fil_PH: Likewise.
17036 * localedata/locales/fur_IT: Likewise.
17037 * localedata/locales/gez_ER@abegede: Likewise.
17038 * localedata/locales/ha_NG: Likewise.
17039 * localedata/locales/hr_HR: Likewise.
17040 * localedata/locales/hsb_DE: Likewise.
17041 * localedata/locales/hu_HU: Likewise.
17042 * localedata/locales/ig_NG: Likewise.
17043 * localedata/locales/ik_CA: Likewise.
17044 * localedata/locales/is_IS: Likewise.
17045 * localedata/locales/iso14651_t1_pinyin: Likewise.
17046 * localedata/locales/kk_KZ: Likewise.
17047 * localedata/locales/ku_TR: Likewise.
17048 * localedata/locales/ky_KG: Likewise.
17049 * localedata/locales/ln_CD: Likewise.
17050 * localedata/locales/lt_LT: Likewise.
17051 * localedata/locales/lv_LV: Likewise.
17052 * localedata/locales/mi_NZ: Likewise.
17053 * localedata/locales/ml_IN: Likewise.
17054 * localedata/locales/mn_MN: Likewise.
17055 * localedata/locales/mr_IN: Likewise.
17056 * localedata/locales/mt_MT: Likewise.
17057 * localedata/locales/nb_NO: Likewise.
17058 * localedata/locales/om_KE: Likewise.
17059 * localedata/locales/os_RU: Likewise.
17060 * localedata/locales/pl_PL: Likewise.
17061 * localedata/locales/ps_AF: Likewise.
17062 * localedata/locales/ro_RO: Likewise.
17063 * localedata/locales/ru_RU: Likewise.
17064 * localedata/locales/ru_UA: Likewise.
17065 * localedata/locales/sc_IT: Likewise.
17066 * localedata/locales/se_NO: Likewise.
17067 * localedata/locales/si_LK: Likewise.
17068 * localedata/locales/sq_AL: Likewise.
17069 * localedata/locales/sv_FI: Likewise.
17070 * localedata/locales/sv_FI@euro: Likewise.
17071 * localedata/locales/sv_SE: Likewise.
17072 * localedata/locales/szl_PL: Likewise.
17073 * localedata/locales/tg_TJ: Likewise.
17074 * localedata/locales/ti_ER: Likewise.
17075 * localedata/locales/tk_TM: Likewise.
17076 * localedata/locales/tl_PH: Likewise.
17077 * localedata/locales/tr_TR: Likewise.
17078 * localedata/locales/tt_RU: Likewise.
17079 * localedata/locales/tt_RU@iqtelif: Likewise.
17080 * localedata/locales/ug_CN: Likewise.
17081 * localedata/locales/uk_UA: Likewise.
17082 * localedata/locales/uz_UZ: Likewise.
17083 * localedata/locales/uz_UZ@cyrillic: Likewise.
17084 * localedata/locales/vi_VN: Likewise.
17085 * localedata/locales/yi_US: Likewise.
17086 * localedata/locales/yo_NG: Likewise.
17088 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17090 * gen-locales.mk: Make test files which contain @ modifiers in their
17092 * localedata/gen-locale.sh: Likewise.
17094 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17096 * posix/tst-fnmatch.input: Fix results for range expressions
17098 * posix/tst-regexloc.c: Do not use a range expression for
17099 de_DE.ISO-8859-1 locale.
17101 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17103 * posix/bug-regex5.c: Fix test case because with the new
17104 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17105 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17108 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17110 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17111 downloaded from ISO, the collation order of @-. and space has changed.
17112 Therefore, this test file needed to be adapted.
17113 * localedata/fr_CA.UTF-8.in: Likewise.
17114 * localedata/fr_FR.UTF-8.in: Likewise.
17115 * localedata/uk_UA.UTF-8.in: Likewise.
17117 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17119 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17120 order of ȥ in the new iso14651_t1_common file.
17121 * localedata/pl_PL.UTF-8.in: Likewise.
17123 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17125 * localedata/locales/iso14651_t1_common: Add sections for various
17126 scripts to the iso14651_t1_common file.
17128 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17130 * localedata/locales/iso14651_t1_common: Use the code point of a
17131 character in the fourth collation level instead of IGNORE for all
17132 entries which have IGNORE on all 4 levels.
17134 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17136 * localedata/locales/iso14651_t1_common: Add some convenient collation
17137 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17138 rules similar to those in CLDR.
17140 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17142 * localedata/locales/iso14651_t1_common: The new version of this
17143 file downloaded from ISO contained several syntax errors which
17144 are fixed by this patch.
17146 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17148 * localedata/locales/iso14651_t1_common: replace all <U.....>
17149 with <U000.....> because glibc understands only 4 digit or 8 digit
17151 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17153 * localedata/locales/iso14651_t1_common: Necessary changes
17154 to make the file downloaded from ISO usable by glibc.
17156 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17159 * localedata/locales/iso14651_t1_common: Update file to
17160 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17162 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17164 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17165 of <nptl/pthreadP.h>
17166 (thread_attr_compare): Move function to...
17167 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
17168 * sysdeps/nptl/timer_routines.h: ... new header.
17169 * sysdeps/mach/hurd/gai_misc.h: New file.
17171 2018-02-26 Joseph Myers <joseph@codesourcery.com>
17173 * string/strcoll_l.c: Include <libc-diag.h>.
17174 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17175 declarations of seq1 and seq2.
17178 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17179 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17181 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17185 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17186 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17187 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17188 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17189 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17190 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17192 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17194 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17195 macros used in __ptrace_request.
17197 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17200 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17202 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17203 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17204 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17207 2018-02-23 Joseph Myers <joseph@codesourcery.com>
17210 * ctype/ctype.c (tolower): Use libc_hidden_def.
17211 (toupper): Likewise.
17212 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17213 [!_ISOMAC] (toupper): Likewise.
17215 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17217 * localedata/Makefile: Remove --quiet argument when
17220 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17223 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17225 * localedata/locales/pt_PT (LC_TIME): likewise
17227 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17230 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17231 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17232 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17234 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17238 * nptl/Makefile (routines): Remove unregister-atfork.
17239 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17240 (fork_handler_alloc): Remove function.
17241 (fork_handlers, fork_handler_init): New variables.
17242 (__fork_lock): Rename to atfork_lock.
17243 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17244 to use a dynamic array to add/remove atfork handlers.
17245 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17246 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17247 Remove declaration.
17248 (fork_handler): Remove next, refcntr, and need_signal member.
17249 (__run_fork_handler_type): New enum.
17250 (__run_fork_handlers): New prototype.
17251 * nptl/register-atfork.c: Remove file.
17252 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17254 * sysdeps/nptl/nptl-signals.h: Move to ...
17255 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17257 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17258 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17259 unnecessary check for SIGTIMER.
17260 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17261 remove unnecessary removal of SIGTIMER.
17262 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17263 include-signals.h rename.
17264 * nptl/pthreadP.h: Likewise.
17265 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17266 __is_internal_signal instead of __nptl_is_internal_signal.
17268 2018-02-22 Andrew Waterman <andrew@sifive.com>
17271 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17272 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17273 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17274 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17276 2018-02-22 DJ Delorie <dj@delorie.com>
17278 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17280 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17282 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17283 do_misaligned, not misaligned8.
17285 2018-02-22 Steve Ellcey <sellcey@cavium.com>
17287 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17288 Add memcpy_thunderx2.
17289 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17291 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17292 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17293 and IS_THUNDERX2PA checks.
17294 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17295 Use macro to set name appropriately.
17296 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17297 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17298 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17300 (IS_THUNDERX2): New macro.
17302 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17304 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17306 2018-02-21 Zack Weinberg <zackw@panix.com>
17308 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17309 Define here, unconditionally.
17310 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17311 * libio/libioP.h: Remove #if 0 blocks.
17312 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17313 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17314 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17316 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17317 Assume weak_alias is always defined.
17319 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17320 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17321 Remove #if 0 and #ifdef TODO blocks.
17322 Assume text_set_element is always defined.
17324 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17325 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17326 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17328 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17329 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17330 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17331 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17332 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17333 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17334 Reformat bit flags for _flags field to make occupancy clearer.
17336 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17337 Keep definitions consistent with those in libio/libio.h.
17339 * libio/libio.h (_IO_file_flags): Remove macro.
17340 All uses changed to _flags.
17342 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17343 (__HAVE_COLUMN, _IO_BE): Don't define.
17344 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17345 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17346 * libio/libioP.h (EOF): Don't define.
17347 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17348 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17349 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17350 testing _IO_UNIFIED_JUMPTABLES.
17352 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17353 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17354 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17355 (_IO_size_t): Delete; all uses changed to size_t.
17356 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17357 (_IO_off_t): Delete; all uses changed to off_t.
17358 (_IO_off64_t): Delete; all uses changed to off64_t.
17359 (_IO_pid_t): Delete; all uses changed to pid_t.
17360 (_IO_uid_t): Delete; all uses changed to uid_t.
17361 (_IO_wint_t): Delete; all uses changed to wint_t.
17362 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17363 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17364 (_IO_cookie_io_functions_t): Delete; all uses changed to
17365 cookie_io_functions_t.
17366 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17367 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17368 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17369 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17371 * libio/iofopncook.c: Remove unnecessary forward declarations.
17372 * libio/iolibio.h: Correct outdated commentary.
17373 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17374 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17375 Remove unnecessary casts.
17376 * stdio-common/getline.c: Use _IO_getdelim directly.
17377 Don't redefine ssize_t.
17378 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17379 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17380 Remove outdated comments.
17381 * stdio-common/vfscanf.c: Don't redefine va_list.
17383 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17384 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17385 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17386 which are always true, and __cplusplus, which is always false.
17388 2018-02-21 Joseph Myers <joseph@codesourcery.com>
17392 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17393 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17394 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17395 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17397 [!_ISOMAC] (putc_unlocked): Likewise.
17398 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17399 define inline if [__USE_EXTERN_INLINES].
17400 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17405 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17406 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17407 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17408 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17409 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17411 * time/tzfile.c (__tzfile_read): Likewise.
17413 2018-02-21 Mike FABIAN <mfabian@redhat.com>
17416 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17418 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17420 * io/fcntl.h: Fix a typo in a comment.
17422 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17425 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17426 define _DEFAULT_SOURCE.
17427 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17429 2018-02-21 Florian Weimer <fweimer@redhat.com>
17432 * elf/cache.c (save_cache): Call fsync on temporary file before
17434 (save_aux_cache): Call fdatasync on temporary file before renaming
17437 2018-02-21 Florian Weimer <fweimer@redhat.com>
17440 * include/caller.h: Remove file.
17441 * elf/dl-caller.c: Likewise.
17442 * elf/Makefile (dl-routines): Remove dl-caller.
17443 (shared-only-routines): Do not add dl-caller.
17444 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17446 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17448 (dl_open_worker): Do not call __check_caller.
17449 (_dl_open): Do not set caller_dl_open member.
17450 * elf/rtld.c (_rtld_global_ro): Do not initialize
17451 _dl_check_caller member.
17452 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17453 _dl_check_caller member.
17454 (_dl_check_caller): Remove declaration.
17455 * sysdeps/unix/sysv/linux/dl-execstack.c
17456 (_dl_make_stack_executable): Do not call __check_caller.
17458 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17460 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17461 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17463 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17465 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17468 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17471 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17472 of 199606L, 200112L, and 200809L.
17473 (_XOPEN_SOURCE): Document special values of 600 and 700.
17474 (_ISOC11_SOURCE): Document macro.
17475 (_ATFILE_SOURCE): Likewise.
17476 (_FORTIFY_SOURCE): Likewise.
17478 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17482 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17483 and define as weak alias of __ferror_unlocked. Use
17485 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17487 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17488 function if [__USE_EXTERN_INLINES].
17489 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17492 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17495 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17497 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17500 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17501 the GLIBC_2.1 version.
17503 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17506 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17507 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17508 intl/tst-gettext-de.po from po/de.po by removing the
17509 POT-Creation-Date line.
17510 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17512 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17515 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17517 * mach/Makefile (headers): Add mach/param.h.
17518 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17519 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17520 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17521 (__ptsname_r): Move implementation to...
17522 (__ptsname_internal): ... new function. Add filling the STP
17525 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
17527 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17530 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
17532 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17535 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17537 * nptl/Makefile (tst-mutex8-ENV): Delete.
17538 * nptl/tst-mutex8.c (check_type):
17539 Add runtime check if mutex will be elided.
17541 2018-02-15 Joseph Myers <joseph@codesourcery.com>
17545 * manual/install.texi (Configuring and compiling): Describe
17546 passing CC and CFLAGS on configure command line, not as
17547 environment variables. Use @code markup on those variables.
17548 Specify what options go in CC and what go in CFLAGS. Note the
17549 requirement to compile with optimization.
17550 * INSTALL: Regenerated.
17553 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17554 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17555 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17556 __sigprocmask instead of sigprocmask.
17557 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17559 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17560 __sigsetjmp and sigprocmask.
17563 * include/argz.h (argz_next): Use libc_hidden_proto.
17564 (__argz_next): Likewise.
17565 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17566 (argz_next): Use libc_hidden_weak.
17569 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17571 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17575 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17577 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17581 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17582 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17583 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17584 (__feof_unlocked): New declaration, and inline function if
17585 [__USE_EXTERN_INLINES].
17586 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17587 instead of feof_unlocked.
17588 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17589 * nss/nsswitch.c (nss_parse_file): Likewise.
17590 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17592 * time/getdate.c (__getdate_r): Likewise.
17593 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17594 Define as macro to call __feof_unlocked.
17596 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17598 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17600 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17602 * math/Makefile: Remove mpexp.c and mplog.c
17603 * sysdeps/i386/fpu/mpexp.c: Delete file.
17604 * sysdeps/i386/fpu/mplog.c: Likewise.
17605 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17606 * sysdeps/ia64/fpu/mplog.c: Likewise.
17607 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17608 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17609 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17610 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17611 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17612 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17613 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17614 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17615 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17616 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17617 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17618 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17619 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17620 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17621 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17622 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17624 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17626 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17628 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17630 * sysdeps/sh/libm-test-ulps: Update.
17632 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17634 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17637 2018-02-12 Zack Weinberg <zackw@panix.com>
17640 * posix/sys/types.h: Don't include sys/sysmacros.h.
17641 * misc/sys/sysmacros.h: Remove the conditional deprecation
17642 warnings for the macros defined by this header.
17644 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17646 * manual/probes.texi: Remove slowexp probes.
17647 * math/Makefile: Remove slowexp.
17648 * sysdeps/generic/math_private.h (__slowexp): Remove.
17649 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17650 document error bounds.
17651 * sysdeps/i386/fpu/slowexp.c: Remove.
17652 * sysdeps/ia64/fpu/slowexp.c: Remove.
17653 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17654 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17655 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17656 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17657 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17658 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17659 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17660 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17661 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17662 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17663 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17665 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17668 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17669 * benchtests/pow-inputs: Update comment for slow path cases.
17670 * manual/probes.texi (slowpow_p10): Delete removed probe.
17671 (slowpow_p10): Likewise.
17672 * math/Makefile: Remove halfulp.c and slowpow.c.
17673 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17674 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17675 (__halfulp): Remove.
17676 (__slowpow): Remove.
17677 * sysdeps/i386/fpu/halfulp.c: Delete file.
17678 * sysdeps/i386/fpu/slowpow.c: Likewise.
17679 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17680 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17681 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17682 improve comments and add error analysis.
17683 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17684 (power1): Remove function:
17685 (log1): Remove error argument, add error analysis.
17686 (my_log2): Remove function.
17687 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17688 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17689 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17690 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17691 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17692 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17693 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17694 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17695 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17696 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17697 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17698 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17699 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17700 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17702 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17704 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17705 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17707 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17710 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17711 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17712 and PTRACE_SETHBPREGS.
17714 2018-02-10 Zack Weinberg <zackw@panix.com>
17717 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17719 * malloc/tst-malloc-stats-cancellation.c: New test case.
17720 * malloc/Makefile: Add new test case.
17722 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17724 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17726 2018-02-10 Joseph Myers <joseph@codesourcery.com>
17728 * math/Makefile (libm-narrow-fns): Add add.
17729 (libm-test-funcs-narrow): Likewise.
17730 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17731 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17732 * math/gen-auto-libm-tests.c (test_functions): Add add.
17733 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17734 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17735 (NARROW_ADD_TRIVIAL): Likewise.
17736 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17738 (__daddl): Likewise.
17739 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17741 (CFLAGS-nldbl-dadd.c): New variable.
17742 (CFLAGS-nldbl-fadd.c): Likewise.
17743 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17745 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17747 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17748 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17749 * math/auto-libm-test-in: Add tests of add.
17750 * math/auto-libm-test-out-narrow-add: New generated file.
17751 * math/libm-test-narrow-add.inc: New file.
17752 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17753 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17754 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17755 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17756 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17757 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17758 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17759 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17760 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17761 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17762 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17763 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17764 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17765 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17766 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17767 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17768 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17769 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17771 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17772 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17773 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17774 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17775 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17776 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17777 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17778 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17779 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17780 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17781 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17782 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17783 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17788 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17789 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17790 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17791 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17792 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17793 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17794 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17795 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17796 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17797 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17799 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17800 (f128-pairs): New variable.
17801 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17802 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17804 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17805 Also make tests add $(f128-loader-link) to gnulib-tests.
17807 2018-02-09 DJ Delorie <dj@redhat.com>
17810 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17811 64-bit ELF type for 64-bit ELF objects.
17813 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17815 * math/libm-test-driver.c (snan_tests_arg): New variable.
17816 * math/libm-test-support.h (snan_tests_arg): New declaration.
17817 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17819 * math/Makefile (test-type-pairs): New variable.
17820 (test-type-pairs-f64xf128-yes): Likewise.
17821 (tests): Add test-narrow-macros.
17822 (libm-test-funcs-narrow): New variable.
17823 (libm-test-c-narrow): Likewise.
17824 (generated): Add $(libm-test-c-narrow).
17825 (libm-tests-base-narrow): New variable.
17826 (libm-tests-narrow): Likewise.
17827 (libm-tests): Add $(libm-tests-narrow).
17828 (libm-tests-for-type): Handle $(libm-tests-narrow).
17829 (libm-test-c-narrow-obj): New variable.
17830 ($(libm-test-c-narrow-obj)): New rule.
17831 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17832 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17833 $(o-iterator) to set dependencies and CFLAGS.
17834 * math/gen-auto-libm-tests.c: Document use for narrowing
17836 (output_for_one_input_case): Take argument NARROW.
17837 (generate_output): Likewise. Update call to
17838 output_for_one_input_case.
17839 (main): Take --narrow option. Update call to generate_output.
17840 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17841 (apply_lit): Update call to _apply_lit.
17842 (apply_arglit): New function.
17843 (parse_args): Handle "a" arguments.
17844 (parse_auto_input): Handle format names using ":".
17845 * math/README.libm-test: Document "a" parameter type.
17846 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17847 (ARG_TYPE_TRUE_MIN): Likewise.
17848 (ARG_TYPE_MAX): Likwise.
17849 (ARG_MIN_EXP): Likewise.
17850 (ARG_MAX_EXP): Likewise.
17851 (ARG_MANT_DIG): Likewise.
17852 (TEST_COND_arg_ibm128): Likewise.
17853 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17854 (TEST_COND_arg_fmt): New macro.
17855 (init_max_error): Update prototype.
17856 * math/libm-test-support.c (test_ibm128): New variable.
17857 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17858 instead of using [TEST_COND_ibm128] conditional.
17859 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17860 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17861 [TEST_NARROW] (TEST_MSG): New definition.
17862 (arg_plus_zero): New macro.
17863 (arg_minus_zero): Likewise.
17864 (arg_plus_infty): Likewise.
17865 (arg_minus_infty): Likewise.
17866 (arg_qnan_value_pl): Likewise.
17867 (arg_qnan_value): Likewise.
17868 (arg_snan_value_pl): Likewise.
17869 (arg_snan_value): Likewise.
17870 (arg_max_value): Likewise.
17871 (arg_min_value): Likewise.
17872 (arg_min_subnorm_value): Likewise.
17873 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17874 (RUN_TEST_LOOP_aa_f): New macro.
17875 (TEST_SUFF): New macro.
17876 (TEST_SUFF_STR): Likewise.
17877 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17878 (TEST_COND_any_ibm128): New macro.
17879 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17880 this_func. Update call to init_max_error.
17881 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17882 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17883 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17884 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17885 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17886 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17887 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17888 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17889 * math/test-math-vector.h (TEST_NARROW): Likewise.
17890 * math/test-arg-double.h: New file.
17891 * math/test-arg-float128.h: Likewise.
17892 * math/test-arg-float32x.h: Likewise.
17893 * math/test-arg-float64.h: Likewise.
17894 * math/test-arg-float64x.h: Likewise.
17895 * math/test-arg-ldouble.h: Likewise.
17896 * math/test-math-narrow.h: Likewise.
17897 * math/test-narrow-macros.c: Likewise.
17898 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17899 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17900 test-narrow-macros-ldbl-64.
17901 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17903 * math/bits/mathcalls-narrow.h: New file.
17904 * include/bits/mathcalls-narrow.h: Likewise.
17905 * math/math-narrow.h: Likewise.
17906 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17907 (__MATHCALL_NARROW_ARGS_2): Likewise.
17908 (__MATHCALL_NARROW_ARGS_3): Likewise.
17909 (__MATHCALL_NARROW_NORMAL): Likewise.
17910 (__MATHCALL_NARROW_REDIR): Likewise.
17911 (__MATHCALL_NARROW): Likewise.
17912 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17913 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17915 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17916 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17917 (libm-narrow-fns): New variable.
17918 (libm-narrow-types-basic): Likewise.
17919 (libm-narrow-types-ldouble-yes): Likewise.
17920 (libm-narrow-types-float128-yes): Likewise.
17921 (libm-narrow-types-float128-alias-yes): Likewise.
17922 (libm-narrow-types): Likewise.
17923 (libm-routines): Add narrowing functions.
17924 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17925 (libc_feholdexcept_setroundf128): New macro.
17926 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17927 * sysdeps/ieee754/float128/float128_private.h: Include
17928 <math/math-narrow.h>.
17929 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17930 Undefine and redefine.
17931 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17932 (libm_alias_float_ldouble): Undefine and redefine.
17933 (libm_alias_double_ldouble): Likewise.
17935 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17937 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17939 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17942 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17944 * manual/creature.texi: Convert references to gcc.info to gcc.
17945 * manual/stdio.texi: Likewise.
17946 * manual/string.texi: Likewise.
17948 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17951 * posix/bits/types.h (__int_least8_t): New typedef.
17952 (__uint_least8_t): Likewise.
17953 (__int_least16_t): Likewise.
17954 (__uint_least16_t): Likewise.
17955 (__int_least32_t): Likewise.
17956 (__uint_least32_t): Likewise.
17957 (__int_least64_t): Likewise.
17958 (__uint_least64_t): Likewise.
17959 * sysdeps/generic/stdint.h (int_least8_t): Define using
17961 (int_least16_t): Define using __int_least16_t.
17962 (int_least32_t): Define using __int_least32_t.
17963 (int_least64_t): Define using __int_least64_t.
17964 (uint_least8_t): Define using __uint_least8_t.
17965 (uint_least16_t): Define using __uint_least16_t.
17966 (uint_least32_t): Define using __uint_least32_t.
17967 (uint_least64_t): Define using __uint_least64_t.
17968 * wcsmbs/uchar.h: Include <bits/types.h>.
17969 (char16_t): Define using __uint_least16_t conditional only on
17971 (char32_t): Define using __uint_least32_t conditional only on
17973 * wcsmbs/test-char-types.c: New file.
17974 * wcsmbs/Makefile (tests): Add test-char-types.
17976 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17979 2018-02-07 Zack Weinberg <zackw@panix.com>
17981 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17982 Delete all contents except for definitions of _G_HAVE_MMAP and
17983 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17984 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17985 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17988 * libio/libio.h: Don't include bits/_G_config.h here.
17989 Include stddef.h with __need_wchar_t defined. Include
17990 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17991 Define _IO_iconv_t here, directly.
17992 Don't define _IO_HAVE_ST_BLKSIZE.
17993 * libio/libioP.h: Include _G_config.h here. Move include of
17994 shlib-compat.h up with rest of includes. Simplify conditionals
17995 controlling definition of _IO_JUMPS_OFFSET.
17997 * csu/init.c: Remove always-true #if around entire file.
17998 Don't include stdio.h. Set _IO_stdin_used to hardwired
17999 constant 0x20001, and update commentary.
18000 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18001 Replace all uses of _G_va_list with __gnuc_va_list.
18002 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18003 instead of #if _IO_HAVE_ST_BLKSIZE.
18004 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18005 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18008 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18009 multiple-include guard to match.
18010 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18012 Remove preprocessor conditionals that are always true and/or
18013 redundant to other preprocessor conditionals in the same nest.
18014 Include shlib-compat.h unconditionally.
18015 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18016 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18017 defined after including stdio.h.
18018 Use __BEGIN_DECLS/__END_DECLS.
18020 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18021 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18022 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18024 2018-02-07 Zack Weinberg <zackw@panix.com>
18026 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18027 New single-type headers split from _G_config.h.
18028 * libio/bits/types/cookie_io_functions_t.h
18029 * libio/bits/types/struct_FILE.h
18030 New single-type headers split from libio.h.
18032 * libio/Makefile: Install the above new headers. Don't install
18033 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18035 * libio/_G_config.h, libio/libio.h: Delete file.
18037 * libio/bits/libio.h: Remove improper-inclusion guard.
18038 Include stdio.h and don't repeat anything that it does.
18039 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18040 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18041 __io_read_fn as cookie_read_function_t,
18042 __io_write_fn as cookie_write_function_t,
18043 __io_seek_fn as cookie_seek_function_t,
18044 __io_close_fn as cookie_close_function_t,
18045 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18046 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18047 here, in the "compatibility defines" section. Remove an #if 0
18048 block. Use the "body" macros from bits/types/struct_FILE.h to
18049 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18050 and _IO_ferror_unlocked.
18051 Move prototypes of __uflow and __overflow...
18053 * libio/stdio.h: ...here. Don't include bits/libio.h.
18054 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
18055 directly from stdarg.h. Include bits/types/__fpos_t.h,
18056 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18057 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18058 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18059 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18060 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18061 __ssize_t, not _IO_ssize_t. Unconditionally define
18062 BUFSIZ as 8192 and EOF as (-1).
18064 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18065 macros from bits/types/struct_FILE.h instead of _IO_* macros
18066 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18067 instead of _IO_ssize_t.
18068 * libio/bits/stdio2.h: Similarly.
18070 * libio/iolibio.h: Add multiple-include guard.
18071 Include bits/libio.h after stdio.h.
18072 * libio/libioP.h: Add multiple-include guard.
18073 Include stdio.h and bits/libio.h before iolibio.h.
18075 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
18076 * include/bits/types/cookie_io_functions_t.h
18077 * include/bits/types/struct_FILE.h: New wrappers.
18079 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
18080 Get definitions of _G_fpos_t and _G_fpos64_t from
18081 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18082 respectively. Remove improper-inclusion guards.
18084 * conform/data/stdio.h-data: Update expectations of va_list.
18085 * scripts/check-installed-headers.sh: Remove special case for
18086 libio.h and _G_config.h.
18088 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18092 * include/sys/sysmacros.h [!_ISOMAC]
18093 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18094 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18095 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18096 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18098 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18099 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18101 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18102 Undefine and redefine to add use __gnu_dev_ prefix.
18103 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18105 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18106 and define as hidden inline function.
18107 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18109 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18111 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18112 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18113 (gnu_dev_minor): Likewise.
18114 (gnu_dev_makedev): Likewise.
18115 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18117 * posix/wordexp.c (exec_comm_child): Likewise.
18118 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18119 instead of minor and __gnu_dev_major instead of major.
18120 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18121 __gnu_dev_major instead of major.
18122 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18123 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18124 instead of gnu_dev_minor.
18125 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18126 (SLAVE_P): Likewise.
18127 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18128 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18132 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18134 * locale/weightwc.h (findidx): Likewise.
18136 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18138 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18139 (slowlog_inexact): Likewise
18140 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18141 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18143 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18146 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18147 missing second underscore to parameter name.
18149 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18155 * bits/byteswap.h: Update file comment. Do not include
18156 <bits/byteswap-16.h>.
18157 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18159 (__bswap_16): Define as inline function.
18160 (__bswap_constant_32): Reformat definition.
18161 (__bswap_32): Always define as inline function, not macro, using
18162 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18163 otherwise __bswap_constant_32.
18164 (__bswap_constant_64): Reformat definition. Do not use
18165 __extension__ here.
18166 (__bswap_64): Always define as inline function, not macro. Use
18167 __extension__ on function definition. Use __builtin_bswap64 if
18168 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18169 * string/test-endian-file-scope.c: New file.
18170 * string/test-endian-sign-conversion.c: Likewise.
18171 * string/Makefile (headers): Remove bits/byteswap-16.h.
18172 (tests): Add test-endian-file-scope and
18173 test-endian-sign-conversion.
18174 (CFLAGS-test-endian-sign-conversion.c): New variable.
18175 * bits/byteswap-16.h: Remove file.
18176 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18177 * sysdeps/ia64/bits/byteswap.h: Likewise.
18178 * sysdeps/m68k/bits/byteswap.h: Likewise.
18179 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18180 * sysdeps/s390/bits/byteswap.h: Likewise.
18181 * sysdeps/tile/bits/byteswap.h: Likewise.
18182 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18183 * sysdeps/x86/bits/byteswap.h: Likewise.
18186 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18187 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18188 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18189 199901L] (__restrict): Define to restrict.
18192 * string/testcopy.c: Include <support/support.h>. Do not include
18193 <malloc.h>. Use <support/test-driver.c>.
18194 (main): Rename to do_test. Make static. Use xmalloc instead of
18198 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18199 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18200 (SSIZE_MAX): Define to INT_MAX.
18201 * posix/test-ssize-max.c: New file.
18202 * posix/Makefile (tests): Add test-ssize-max.
18205 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18206 <support/support.h>. Do not include <malloc.h>.
18207 (query_auxv): Use xmalloc instead of malloc.
18210 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18211 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18214 2018-02-06 Florian Weimer <fweimer@redhat.com>
18217 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18218 Use scratch_buffer instead of extend_alloca.
18220 2018-02-06 Zack Weinberg <zackw@panix.com>
18222 * libio/stdio.h: Don't define getc or putc as macros.
18223 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18224 not _IO_getc and _IO_putc.
18226 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18227 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18229 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18231 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18232 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18234 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18237 * elf/elf.h (NT_PRFPREG): New macro.
18238 (NT_S390_VXRS_LOW): Likewise.
18239 (NT_S390_VXRS_HIGH): Likewise.
18240 (NT_S390_GS_CB): Likewise.
18241 (NT_S390_GS_BC): Likewise.
18242 (NT_S390_RI_CB): Likewise.
18244 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18245 (MAP_SYNC): New macro.
18246 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18248 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18249 (MAP_SYNC): Likewise.
18250 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18251 (MAP_SYNC): Likewise.
18252 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18253 (MAP_SYNC): Likewise.
18254 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18255 (MAP_SYNC): Likewise.
18256 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18257 (MAP_SYNC): Likewise.
18258 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18259 (MAP_SYNC): Likewise.
18260 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18262 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18265 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18266 (MAP_SHARED_VALIDATE): New macro.
18267 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18268 (MAP_SHARED_VALIDATE): Likewise.
18270 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18272 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18273 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18274 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18276 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18278 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18279 (DT_NUM): Updated to 35.
18281 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18283 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18284 __builtin_expect with __glibc_likely and __glibc_unlikely.
18285 (elf_machine_rela): Likewise.
18286 (elf_machine_lazy_rel): Likewise.
18288 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18290 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
18291 __builtin_expect with __glibc_likely and __glibc_unlikely.
18292 (elf_machine_lazy_rel): Likewise.
18294 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18297 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18299 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
18301 2018-02-05 Andreas Schwab <schwab@suse.de>
18304 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18307 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18309 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18310 not check against PTHREAD_STACK_MIN.
18312 2018-02-02 Sean McKean <smckean83@gmail.com>
18315 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18317 2018-02-02 Florian Weimer <fweimer@redhat.com>
18320 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18321 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18322 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18323 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18324 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18325 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18326 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18327 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18328 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18329 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18330 * misc/tst-preadvwritev2.c (do_test): Call it.
18331 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18333 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18335 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18337 * benchtests/bench-memcmp.c: Print json instead of plain text.
18339 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18342 2018-02-01 Joseph Myers <joseph@codesourcery.com>
18344 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18346 (s390_sthyi): New syscall.
18348 * sysdeps/generic/ldbl-classify-compat.h: New file.
18349 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18350 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18351 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18352 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18353 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18354 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18355 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18356 <ldbl-classify-compat.h>.
18357 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18358 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18359 <ldbl-classify-compat.h>.
18360 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18361 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18362 <ldbl-classify-compat.h>.
18363 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18364 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18365 <ldbl-classify-compat.h>.
18366 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18367 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18368 <ldbl-classify-compat.h>.
18369 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18370 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18371 <ldbl-classify-compat.h>.
18372 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18373 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18374 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18375 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18376 * sysdeps/microblaze/math_private.h: Likewise.
18377 * sysdeps/nios2/math_private.h: Likewise.
18378 * sysdeps/sh/math_private.h: Likewise.
18380 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18381 * sysdeps/m68k/coldfire/math_private.h: ... here.
18382 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18383 * sysdeps/tile/math_private.h: Likewise.
18384 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18386 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18389 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18391 (libc_fetestexcept): Likewise.
18392 (libc_feupdateenv_test): Likewise.
18393 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18394 (libc_fetestexcept): Likewise.
18395 (libc_feupdateenv_test): Likewise.
18396 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18397 (libc_fetestexcept): Likewise.
18398 (libc_feupdateenv_test): Likewise.
18399 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18400 (libc_fetestexcept): Likewise.
18401 (libc_feupdateenv_test): Likewise.
18403 * sysdeps/generic/math_private.h
18404 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18405 New inline function.
18406 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18409 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18410 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18411 * sysdeps/generic/math_private.h
18412 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18414 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18416 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18418 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18420 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18422 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18424 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18425 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18426 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18427 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18428 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18429 (__fegetenv): Likewise.
18430 (fesetenv): Likewise.
18431 (__fesetenv): Likewise.
18432 (feupdateenv): Likewise.
18433 (__feupdateenv): Likewise.
18434 (fegetround): Likewise.
18435 (__fegetround): Likewise.
18436 (fesetround): Likewise.
18437 (__fesetround): Likewise.
18439 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18440 (feraiseexcept): New macro.
18441 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18442 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18444 (__feraiseexcept): Likewise.
18445 (feclearexcept): Likewise.
18446 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18447 (__feraiseexcept): Likewise.
18448 (feclearexcept): Likewise.
18449 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18450 (__feraiseexcept): Likewise.
18451 (feclearexcept): Likewise.
18452 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18453 (__feraiseexcept): Likewise.
18454 (feclearexcept): Likewise.
18455 (fetestexcept): Likewise.
18457 * sysdeps/m68k/coldfire/math-tests.h: New file.
18459 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18460 * sysdeps/m68k/bits/fenv.h: ... here.
18461 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18463 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18465 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18467 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18469 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18471 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18473 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18474 (__FE_UNDEFINED): New enum constant.
18475 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18477 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18479 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18481 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18482 to match generic bits/fenv.h.
18483 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18486 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18488 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18489 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18490 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18491 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18493 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18494 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18495 Joseph Myers <joseph@codesourcery.com>
18498 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18499 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18500 computation using c.
18501 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18502 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18503 computation using c.
18505 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18507 * version.h (RELEASE): Set to "development".
18508 (VERSION): Set to "2.27.9000".
18509 * NEWS (2.28): New section.
18511 * version.h (RELEASE): Set to "stable".
18512 (VERSION): Set to "2.27".
18513 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18515 * NEWS: Add the list of bugs fixed in 2.27.
18517 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18519 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18520 against PTHREAD_STACK_MIN.
18522 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18524 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18526 (Rafal Luzynski, Andreas Schwab): Update.
18528 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18531 * NEWS: List the languages which actually use the alternative
18532 months feature in this release. Also explain that "alt_mon" and
18533 "ab_alt_mon" are optional.
18535 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18538 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18540 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18542 * manual/install.texi (Tools for Compilation): Update the newest
18543 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18544 * INSTALL: Regenerated.
18546 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18548 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18549 instead of __builtin_expect.
18551 2018-01-30 Florian Weimer <fweimer@redhat.com>
18553 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18555 * nss/tst-nss-getpwent.c (do_test): Likewise.
18557 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18560 * localedata/locales/hr_HR (mon): Rename to...
18562 (mon): Import from CLDR (genitive case).
18563 (d_t_fmt): Update the comment.
18565 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18567 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18568 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18569 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18571 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18573 * mach/Versions: Fix version when __mach_host_self_ was added.
18574 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18575 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18576 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18577 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18578 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18579 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18580 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18581 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18582 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18583 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18584 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18585 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
18586 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18587 || to respect codestyle.
18588 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18589 (do_test_bz20181): Rename accordingly.
18590 * malloc/malloc.c: Include <assert.h>.
18591 (assert): Do not define.
18592 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
18593 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18594 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
18595 * sysdeps/mach/hurd/hp-timing.h: New file.
18596 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
18598 2018-01-29 Darius Rad <darius@bluespec.com>
18600 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18602 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
18604 * sysdeps/init_array/crti.S (.section .init_array): Add
18605 PREINIT_FUNCTION when defined.
18606 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
18607 * config.h.in: Regenerate.
18608 * manual/platform.texi: Add RISC-V documenation for
18609 __riscv_flush_icache.
18610 * sysdeps/riscv/__longjmp.S: New file.
18611 * sysdeps/riscv/backtrace.c: Likewise.
18612 * sysdeps/riscv/bits/endian.h: Likewise.
18613 * sysdeps/riscv/bits/setjmp.h: Likewise.
18614 * sysdeps/riscv/bits/wordsize.h: Likewise.
18615 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18616 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18617 * sysdeps/riscv/dl-trampoline.S: Likewise.
18618 * sysdeps/riscv/gccframe.h: Likewise.
18619 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18620 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18621 * sysdeps/riscv/machine-gmon.h: Likewise.
18622 * sysdeps/riscv/memusage.h: Likewise.
18623 * sysdeps/riscv/setjmp.S: Likewise.
18624 * sysdeps/riscv/sys/asm.h: Likewise.
18625 * sysdeps/riscv/tls-macros.h: Likewise.
18626 * sysdeps/riscv/dl-tls.h: New file.
18627 * sysdeps/riscv/libc-tls.c: Likewise.
18628 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18629 * sysdeps/riscv/nptl/tls.h: Likewise.
18630 * sysdeps/riscv/stackinfo.h: Likewise.
18631 * sysdeps/riscv/bits/fenv.h: New file.
18632 * sysdeps/riscv/e_sqrtl.c: Likewise.
18633 * sysdeps/riscv/fpu_control.h: Likewise.
18634 * sysdeps/riscv/math-tests.h: Likewise.
18635 * sysdeps/riscv/nofpu/Implies: Likewise.
18636 * sysdeps/riscv/sfp-machine.h: Likewise.
18637 * sysdeps/riscv/tininess.h: Likewise.
18638 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18639 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18640 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18641 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18642 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18643 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18644 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18645 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18646 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18647 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18648 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18649 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18650 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18651 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18652 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18653 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18654 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18655 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18656 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18657 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18658 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18659 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18660 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18661 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18662 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18663 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18664 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18665 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18666 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18667 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18668 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18669 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18670 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18671 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18672 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18673 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18674 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18675 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18676 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18677 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18678 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18679 * sysdeps/riscv/rvf/math_private.h: Likewise.
18680 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18681 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18682 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18683 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18684 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18685 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18686 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18687 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18688 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18689 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18690 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18691 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18692 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18693 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18694 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18695 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
18696 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18697 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18698 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18699 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
18700 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18701 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18702 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18703 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18704 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18705 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18706 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18707 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18708 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
18709 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18710 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18711 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18712 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18713 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18714 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18715 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18716 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18717 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18718 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18719 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18720 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18721 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18722 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18723 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18724 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18725 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18726 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18727 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18728 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18729 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18730 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
18731 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18732 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18733 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18734 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18735 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18736 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18737 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18738 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18739 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18740 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18741 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18742 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18743 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18744 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18745 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18746 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18747 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18748 * sysdeps/riscv/Implies: New file.
18749 * sysdeps/riscv/Makefile: Likewise.
18750 * sysdeps/riscv/configure: Likewise.
18751 * sysdeps/riscv/configure.ac: Likewise.
18752 * sysdeps/riscv/nptl/Makefile: Likewise.
18753 * sysdeps/riscv/preconfigure: Likewise.
18754 * sysdeps/riscv/rv64/Implies-after: Likewise.
18755 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18756 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18757 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18758 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18759 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18760 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18761 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18762 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18763 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18764 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18765 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18766 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18767 (Config): Likewise.
18769 2018-01-29 Florian Weimer <fweimer@redhat.com>
18772 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18773 libnsl_hidden_proto.
18774 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18775 libnsl_hidden_proto.
18776 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18777 * nis/Makefile (libnsl-routines): Add nss-default only for
18778 build-obsolete-nsl.
18779 * nis/nis_defaults.c (__nis_default_ttl): Add
18780 libnsl_hidden_nolink_def.
18781 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18783 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18784 * nis/ypclnt.c (yp_maplist): Likewise.
18786 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18788 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18789 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18791 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18793 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18794 clean -dxfq for git updates when replacing sources.
18796 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18797 --disable-libcilkrts unconditionally, not just for the final GCC
18800 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18803 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18806 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18809 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18812 * localedata/locales/be_BY (mon): Rename to...
18813 (alt_mon): This, then synchronize with CLDR (nominative case).
18814 (abmon): Rename to...
18815 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18816 (mon): Import from CLDR (genitive case).
18818 * localedata/locales/be_BY@latin (mon): Rename to...
18820 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18822 * localedata/locales/be_BY@latin (lang_name): Reworded to
18823 "biełaruskaja mova".
18825 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18828 * localedata/locales/el_CY (mon): Renamed to...
18830 (mon): Import from CLDR (genitive case).
18831 * localedata/locales/el_GR: Likewise.
18833 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18836 * localedata/locales/ru_RU (mon): Rename to...
18838 (abmon): Rename to...
18839 (ab_alt_mon): This.
18840 (mon): Import from CLDR (genitive case).
18841 (abmon): Copy from the old content except the 5th month which is
18842 now in the genitive case, even when abbreviated.
18843 * localedata/locales/ru_UA: Likewise.
18844 * time/tst-strptime.c (day_tests): Add an actual example of
18845 a difference between %b and %Ob in Russian.
18847 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18849 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18850 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18852 * resolv/res-close.c: Include <stdlib.h>.
18853 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18854 <sys/wait.h>, <time.h>, <sys/uio.h>.
18855 (NOT_CANCEL_H): Add inclusion guard.
18856 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18857 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18858 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18860 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18861 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18862 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18864 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18865 timer_ptr2id to cast struct timer_node * to void *.
18866 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18867 --disable-libcilkrts to gcc configure.
18868 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18869 and make them the default for now.
18870 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18871 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18872 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18873 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18874 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18876 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18877 __task_terminate would ever return successfully.
18878 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18880 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18881 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18882 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18883 critical section to make code simpler and avoid warning.
18884 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18885 critical section to make code simpler and avoid warning.
18886 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18887 const char * instead of char *.
18888 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18889 __hurd_file_name_split, hurd_file_name_split,
18890 __hurd_directory_name_split, hurd_directory_name_split,
18891 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18892 hurd_file_name_path_lookup): Make lookup function parameter take a
18893 const char *name instead of char *name.
18894 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18895 __hurd_directory_name_split): Likewise.
18896 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18897 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18898 * sysdeps/mach/hurd/check_native.c: New file.
18899 * sysdeps/mach/hurd/check_pf.c: New file.
18900 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18901 (__freeifaddrs): Define macro to freeifaddrs.
18902 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18903 * sysdeps/mach/libmachuser.abilist: New file.
18904 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18905 (do_test_bz20181): Rename accordingly.
18906 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18907 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18909 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18910 version only if __USE_EXTERN_INLINES is defined.
18911 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18912 __hurd_sockfail): Likewise.
18913 (_hurd_fd_get): Always declare functions, and provide inline versions
18914 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18915 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18916 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18917 _hurd_port_set): Always declare functions, and provide inline versions
18918 only if __USE_EXTERN_INLINES and _LIBC are defined and
18920 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18921 _hurd_critical_section_unlock): Likewise.
18922 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18923 * __hurd_threadvar_location): Likewise.
18924 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18925 _hurd_userlink_clear): Likewise.
18926 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18927 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18928 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18929 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18930 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18931 __spin_lock_locked): Likewise.
18932 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18933 __spin_lock_locked): Likewise.
18934 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18935 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18936 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18937 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18938 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18939 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18940 _POSIX_NO_TRUNC): Define to 0.
18941 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18942 check size against PTHREAD_STACK_MIN.
18943 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18944 IS_IN(libpthread)]: Include <sigsetops.h>.
18945 * mach/Makefile (user-interfaces): Add mach/gnumach.
18946 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18947 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18948 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18949 instead of invalid -1.
18950 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18951 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18952 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18955 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18957 * hurd/fcntl-internal.h: New file.
18959 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18961 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18963 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18965 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18968 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18969 Build only shared objects.
18971 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18973 * README: Update for hppa.
18975 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18977 * sysdeps/sparc/fpu/libm-test-ulps: Update
18978 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18980 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18984 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18987 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18988 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18989 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18990 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18993 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18996 * bits/types/__cancel_jmp_buf_tag.h: New file.
18997 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18998 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18999 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19000 * nptl/Makefile (headers): Add
19001 bits/types/__cancel_jmp_buf_tag.h.
19002 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19003 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19004 * sysdeps/nptl/pthread.h: Include
19005 <bits/types/__cancel_jmp_buf_tag.h>.
19006 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19008 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19010 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19013 * localedata/locales/uk_UA (mon): Renamed to...
19015 (alt_digits): "0" removed and then renamed to...
19017 (date_fmt): Definition changed not to use the alternative
19020 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
19022 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19023 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19024 * elf/elf.h (EF_RISCV_RVC): New define.
19025 (EF_RISCV_FLOAT_ABI): Likewise.
19026 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19027 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19028 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19029 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19030 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19032 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19034 2018-01-25 Andreas Schwab <schwab@suse.de>
19036 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19038 * sysdeps/gnu/configure: Regenerate.
19039 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19040 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19042 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19043 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19044 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19045 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19046 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19048 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19050 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
19051 URL, and run autoconf, make it the default for now.
19053 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19055 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19056 soft-float ColdFire configuration.
19058 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19059 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19060 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19062 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19065 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19067 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19069 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19072 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19073 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19074 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19077 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19080 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19081 Rename to __reserved and add comment.
19082 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19083 Rename to __reserved.
19085 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19087 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19088 i686-gnu configurations.
19089 (Context.run_builds): Include mig, gnumach and hurd in components
19091 (Context.checkout): Add mig, gnumach and hurd to components.
19092 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19094 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19095 (Config.build): Install gnumach headers, build mig and install
19096 hurd headers for 'gnu' OS.
19097 (Config.install_gnumach_headers): New function.
19098 (Config.install_hurd_headers): Likewise.
19099 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19100 when building for 'gnu' OS.
19102 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
19104 * manual/tunables.texi (Hardware Capability Tunables): Fix
19107 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
19109 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19110 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19111 (ALTMON_11, ALTMON_12): Improve documentation.
19112 * manual/time.texi (strftime): Likewise.
19114 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19117 * localedata/locales/pl_PL: Alternative month names added,
19118 primary month names are genitive now.
19119 * time/tst-strptime.c (day_tests): Actually use a genitive case
19120 of a month name in Polish language.
19122 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19125 * manual/locale.texi: Document ALTMON_1..12 constants for
19126 nl_langinfo. Specify when to use ALTMON instead of MON.
19127 * manual/time.texi (strftime, strptime): Document GNU extension
19128 permitting O modifier with %B and %b. Specify when to use
19131 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19134 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19135 names, define them as the same as abbreviated month names explicitly.
19136 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19137 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19138 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19139 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19140 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19141 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19142 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19143 _NL_WABALTMON_12): New enum constants.
19144 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19145 wab_alt_mon, and ab_alt_mon_defined members.
19146 (time_output): Output ab_alt_mon and wab_alt_mon members.
19147 (time_read): Read them, initialize them as copies of abmon and wabmon
19148 respectively if they are missing, initialize ab_alt_mon_defined.
19149 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19150 * locale/programs/locfile-kw.h: Regenerate.
19151 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19152 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19154 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19155 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19156 (__strftime_internal): Handle %Ob and %Oh formats.
19157 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19158 (__strptime_internal): Handle %Ob and %Oh formats.
19159 * time/tst-strptime.c (day_tests): Add more tests to parse different
19160 forms of month names including the new %Ob format specifier.
19162 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19165 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19166 define them as the same as primary full month names explicitly.
19167 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19168 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19169 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19170 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19171 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19172 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19173 _NL_WALTMON_12): New enum constants.
19174 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19175 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19177 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19178 walt_mon, and alt_mon_defined members.
19179 (time_output): Output alt_mon and walt_mon members.
19180 (time_read): Read them, initialize them as copies of mon and wmon
19181 respectively if they are missing, initialize alt_mon_defined.
19182 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19183 * locale/programs/locfile-kw.h: Regenerate.
19184 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19185 * localedata/tst-langinfo.c (map): Add tests for the new constants
19186 ALTMON_1 .. ALTMON_12.
19187 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19189 * time/strftime_l.c (f_altmonth): New macro.
19190 (__strftime_internal): Handle %OB format.
19191 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19192 (__strptime_internal): Handle %OB format.
19193 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19194 of month names including the new %OB format specifier.
19196 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19199 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19200 from ABORT_TRANSACTION.
19201 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19202 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19203 ABORT_TRANSACTION_IMPL): Likewise.
19204 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19205 Linux code, but remove the code that aborts transactions.
19207 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19209 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19211 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19213 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19214 in date: "2004-14-09" should be "2004-09-14".
19215 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19216 "2003-15-09" should be "2003-09-15".
19218 2018-01-18 Arjun Shankar <arjun@redhat.com>
19224 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19226 (_int_memalign): check for integer overflow before calling
19228 * malloc/tst-malloc-too-large.c: New test.
19229 * malloc/Makefile: Add tst-malloc-too-large.
19231 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19233 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19234 in date: "2017-24-07" should be "2017-07-24".
19235 * localedata/locales/mai_IN: Likewise.
19236 * localedata/locales/mai_NP: Likewise.
19238 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19240 * po/ru.po: Update translations.
19242 2018-01-17 Joseph Myers <joseph@codesourcery.com>
19245 * sysdeps/hppa/backtrace.c: New file.
19247 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19250 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19251 align La_x86_64_retval to VEC_SIZE.
19253 2018-01-16 Joseph Myers <joseph@codesourcery.com>
19255 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19256 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19258 2018-01-16 Florian Weimer <fweimer@redhat.com>
19260 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19261 Move tst-thread-exit-clobber ...
19262 [$(CXX)] (tests-unsupported): ... to here.
19264 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19266 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19267 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19268 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19269 (_dl_aarch64_cap_flags): Update.
19270 (_DL_HWCAP_COUNT): Update.
19272 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19274 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19275 (_DL_HWCAP_LAST): Remove.
19276 (_DL_HWCAP_COUNT): Move to ...
19277 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19278 (_DL_HWCAP_COUNT): ... here.
19280 2018-01-16 Florian Weimer <fweimer@redhat.com>
19282 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19283 mode with GNU extensions.
19285 2018-01-15 Alan Hayward <alan.hayward@arm.com>
19287 * elf/elf.h (NT_ARM_SVE): Define.
19289 2018-01-15 Florian Weimer <fweimer@redhat.com>
19292 * nptl/tst-minstack-throw.cc: New file.
19293 * nptl/Makefile (tests): Add tst-minstack-throw.
19294 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19295 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19297 2018-01-15 Joseph Myers <joseph@codesourcery.com>
19299 * scripts/build-many-glibcs.py (Context.checkout): Default
19300 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19303 2018-01-13 Carlos O'Donell <carlos@redhat.com>
19306 * elf/elf.h (DF_1_STUB): Define.
19307 (DF_1_PIE): Define.
19309 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19312 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19313 Do not add 0.5 to integer or out-of-range arguments.
19315 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19317 * po/bg.po: Update translations.
19318 * po/cs.po: Likewise.
19319 * po/de.po: Likewise.
19320 * po/ko.po: Likewise.
19321 * po/pl.po: Likewise.
19322 * po/sv.po: Likewise.
19323 * po/uk.po: Likewise.
19324 * po/vi.po: Likewise.
19326 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19328 * aarch64/start.S (_start): Use __wrap_main.
19329 (__wrap_main): New local symbol.
19331 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19335 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19336 generic_getcwd if the path returned by getcwd syscall is not absolute.
19337 * io/tst-getcwd-abspath.c: New test.
19338 * io/Makefile (tests): Add tst-getcwd-abspath.
19340 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19342 * malloc/malloc.c (malloc_consolidate): Add size check.
19344 2018-01-12 Florian Weimer <fweimer@redhat.com>
19346 * support/write_message.c (write_message): Preserve errno.
19347 * support/check.c (print_failure): Likewise.
19348 * support/support_test_verify_impl.c (support_test_verify_impl):
19350 * support/support_test_compare_failure.c
19351 (support_test_compare_failure): Likewise.
19353 2018-01-12 Florian Weimer <fweimer@redhat.com>
19356 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19357 Prevent installation of libnsl.so.
19358 (libnsl-inhibit-o): Do not build (or install) static libraries.
19360 2018-01-12 Egmont Koblinger <egmont@gmail.com>
19363 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19364 before the day number which may produce a double space.
19365 (date_fmt): Likewise.
19367 2018-01-12 Joseph Myers <joseph@codesourcery.com>
19369 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19370 instead of fegetenv.
19372 2018-01-11 Joseph Myers <joseph@codesourcery.com>
19375 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19376 comment to say exceptions are discarded.
19377 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19379 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19382 2018-01-11 Florian Weimer <fweimer@redhat.com>
19384 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19387 2018-01-11 Florian Weimer <fweimer@redhat.com>
19390 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19391 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19393 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19396 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19397 negative arguments in test for NaN or infinity argument.
19399 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19401 * po/libc.pot: Regenerate.
19403 2018-01-10 Florian Weimer <fweimer@redhat.com>
19406 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19407 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19409 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19411 * hurd/hurd/fd.h: Include <fcntl.h>
19412 (__hurd_at_flags): New function.
19413 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19414 with call to __hurd_at_flags.
19415 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19416 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19418 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19419 (__access_noerrno): Use __faccessat_common instead of access_common.
19420 (__access): Likewise.
19421 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19422 with a call to __faccessat.
19423 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19424 (__faccessat_common): ... this. Move implementation of __access into it when
19425 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19426 reauthenticate_cwdir_at helper to implement AT mechanism.
19427 (__faccessat_noerrno): New function, just calls __faccessat_common.
19428 (__faccessat): New function, just calls __faccessat_common.
19429 (faccessat): Define weak alias.
19431 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19434 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19435 (CFLAGS-s_fmaxmagl.c): New variable.
19436 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19439 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19440 long int for arguments of possibly overflowing addition or
19442 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19444 2018-01-09 Joseph Myers <joseph@codesourcery.com>
19447 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19448 (CFLAGS-e_remainderl.c): New variable.
19451 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19453 (CFLAGS-s_cacoshl.c): Likewise.
19454 (CFLAGS-s_casinhl.c): Likewise.
19455 (CFLAGS-s_catanl.c): Likewise.
19456 (CFLAGS-s_catanhl.c): Likewise.
19457 (CFLAGS-s_cexpl.c): Likewise.
19458 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19459 (CFLAGS-s_csinhl.c): Likewise.
19460 (CFLAGS-s_clogl.c): Likewise.
19461 (CFLAGS-s_clog10l.c): Likewise.
19462 (CFLAGS-s_csinl.c): Likewise.
19463 (CFLAGS-s_csqrtl.c): Likewise.
19465 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19466 2017-01-09 Svante Signell <svante.signell@gmail.com>
19468 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19469 (_hurd_exec_paths): New function.
19470 * hurd/hurd.h (_hurd_exec): Deprecate function.
19471 (_hurd_exec_paths): Declare function.
19472 * hurd/Versions: Export _hurd_exec_paths.
19473 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19474 (__execve): Use __getcwd to build absolute path, and use
19475 _hurd_exec_paths instead of _hurd_exec.
19476 * sysdeps/mach/hurd/spawni.c: Likewise.
19477 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19480 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19482 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19483 test instead of failing in case of ENOENT returned by posix_openpt.
19485 2018-01-08 Florian Weimer <fweimer@redhat.com>
19487 resolv: Support binary labels in test framework.
19488 * support/resolv_test.c (struct to_be_freed): Remove.
19489 (struct compressed_name): New.
19490 (allocate_compressed_name, ascii_tolower)
19491 (compare_compressed_name): New functions.
19492 (struct resolv_response_builder): Update type of
19493 compression_offsets for use with tsearch. Rempve to_be_freed.
19494 (response_push_pointer_to_free): Remove function.
19495 (resolv_response_add_name): Rewrite using struct compressed_name
19496 and tsearch instead of hsearch_r.
19497 (response_builder_allocate): Remove initialization of
19498 compression_offsets.
19499 (response_builder_free): Update for removal of to_be_freed. Use
19500 tdestroy instead of hdestroy_r.
19501 * resolv/Makefile (tests): Add tst-resolv-binary.
19502 (tst-resolv-binary): Link with -lresolv -lpthread.
19504 2018-01-08 Florian Weimer <fweimer@redhat.com>
19506 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19507 time. Pass positive flag instead of negative flag to
19508 support_test_compare_failure.
19509 (support_test_compare_failure): Change negative parameter to
19511 * support/support_test_compare_failure.c (report)
19512 (support_test_compare_failure): Likewise.
19513 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19514 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19516 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19519 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19520 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19521 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19523 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19525 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19527 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19528 Add s_sincosf-sse2 and s_sincosf-fma.
19529 (CFLAGS-s_sincosf-fma.c): New.
19530 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19531 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19532 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19533 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19534 __sincosf is defined.
19536 2018-01-08 Florian Weimer <fweimer@redhat.com>
19538 * nptl/tst-thread-exit-clobber.cc: New file.
19539 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19541 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19542 (tests): Add tst-thread-exit-clobber.
19543 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19545 2018-01-08 Florian Weimer <fweimer@redhat.com>
19547 * support/check.h (support_static_assert): Define.
19548 (TEST_COMPARE): Use it.
19550 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19552 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19553 [!__RLIM_T_MATCHES_RLIM64_T]
19554 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19555 __getrlimit64. Add libc_hidden_weak.
19557 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
19559 * elf/elf.h (R_RISCV_NONE): New define.
19560 (R_RISCV_32): Likewise.
19561 (R_RISCV_64): Likewise.
19562 (R_RISCV_RELATIVE): Likewise.
19563 (R_RISCV_COPY): Likewise.
19564 (R_RISCV_JUMP_SLOT): Likewise.
19565 (R_RISCV_TLS_DTPMOD32): Likewise.
19566 (R_RISCV_TLS_DTPMOD64): Likewise.
19567 (R_RISCV_TLS_DTPREL32): Likewise.
19568 (R_RISCV_TLS_DTPREL64): Likewise.
19569 (R_RISCV_TLS_TPREL32): Likewise.
19570 (R_RISCV_TLS_TPREL64): Likewise.
19571 * Makerules (make-link-multidir): Make directories before linking into
19573 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19575 (VDSO_HASH_LINUX_4_15): Likewise.
19576 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19577 in subdirectories of lib.
19578 * nptl/Makefile (/librt.so): Always depend on
19579 "$(shared-thread-library)".
19581 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19583 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
19584 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19585 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19587 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
19588 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19590 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
19591 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19592 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19593 * sysdeps/gnu/glob-lstat-compat.c: New file.
19594 * sysdeps/gnu/glob64-lstat-compat.c: New file.
19595 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
19597 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19599 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19600 Reserve 16 chars to reloc_addr before calling _itoa_word.
19602 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19605 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19606 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19608 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19609 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19611 * resource/tst-getrlimit.c: Add copyright header.
19613 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19614 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19616 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19617 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19618 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19619 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19621 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19622 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19623 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19624 RLIM64_INFINITY): Fix values to match the kernel ones.
19625 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19626 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19627 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19628 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19629 getrlimit64@@GLIBC_2_27.
19630 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19632 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19633 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19634 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19635 setrlimit, getrlimit64 and setrlimit64.
19637 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19640 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19641 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19643 2018-01-04 Joseph Myers <joseph@codesourcery.com>
19645 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19646 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19647 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19649 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19653 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19654 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19658 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19659 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19660 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19661 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19663 2018-01-04 Florian Weimer <fweimer@redhat.com>
19666 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19667 Align the stack before calling exit.
19668 * stdlib/tst-makecontext-align.c: New file.
19669 * stdlib/Makefile (tests): Add tst-makecontext-align.
19671 2018-01-04 Florian Weimer <fweimer@redhat.com>
19673 Add support for calling dlvsym from libc.so.
19674 * include/dlfcn.h (__libc_dlvsym): Declare.
19675 * elf/Makefile (tests-static-internal): Add
19676 tst-libc_dlvsym-static.
19677 (tests-internal): Add tst-libc_dlvsym.
19678 (modules-names): Add tst-libc_dlvsym-dso.
19679 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19680 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19681 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19682 object tst-libc_dlvsym-dso.so needs to be built before running
19684 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19685 * elf/Versions: Export __libc_dlvsym.
19686 * elf/dl-libc.c (struct do_dlvsym_args): New.
19687 (do_dlvsym, __libc_dlvsym): New functions.
19688 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19689 (_dl_open_hook2): New variable.
19690 (__libc_register_dl_open_hook): Set it.
19691 * elf/tst-libc_dlvsym-dso.c: New file.
19692 * elf/tst-libc_dlvsym-static.c: Likewise.
19693 * elf/tst-libc_dlvsym.c: Likewise.
19694 * elf/tst-libc_dlvsym.h: Likewise.
19696 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19698 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19699 include <sys/mount.h>.
19701 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19703 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19704 Add __NO_MATH_ERRNO__ check.
19706 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19708 * sysdeps/mips/mips32/libm-test-ulps: Update.
19709 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19711 2018-01-02 Florian Weimer <fweimer@redhat.com>
19713 * misc/tst-pselect.c: Add copyright header.
19715 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19717 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19719 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19721 (settrlimit): Rename into setrlimit.
19722 (__sttrlimit): Rename into __setrlimit.
19724 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19725 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19726 never defined in that case.
19728 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19730 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19732 * sysdeps/arm/libm-test-ulps: Update.
19734 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19735 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19737 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19739 * NEWS: Add cosf and sincosf to list of optimized functions.
19741 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19744 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19745 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19746 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19747 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19749 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19752 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19754 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19755 making a copy of it.
19757 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19759 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19760 trailing whitespace removed.
19761 * scripts/config.guess: Update to version 2018-01-01.
19762 * scripts/config.sub: Update to version 2018-01-01.
19763 * scripts/move-if-change: Update from gnulib.
19765 * NEWS: Update copyright dates.
19766 * catgets/gencat.c (print_version): Likewise.
19767 * csu/version.c (banner): Likewise.
19768 * debug/catchsegv.sh: Likewise.
19769 * debug/pcprofiledump.c (print_version): Likewise.
19770 * debug/xtrace.sh (do_version): Likewise.
19771 * elf/ldconfig.c (print_version): Likewise.
19772 * elf/ldd.bash.in: Likewise.
19773 * elf/pldd.c (print_version): Likewise.
19774 * elf/sotruss.sh: Likewise.
19775 * elf/sprof.c (print_version): Likewise.
19776 * iconv/iconv_prog.c (print_version): Likewise.
19777 * iconv/iconvconfig.c (print_version): Likewise.
19778 * locale/programs/locale.c (print_version): Likewise.
19779 * locale/programs/localedef.c (print_version): Likewise.
19780 * login/programs/pt_chown.c (print_version): Likewise.
19781 * malloc/memusage.sh (do_version): Likewise.
19782 * malloc/memusagestat.c (print_version): Likewise.
19783 * malloc/mtrace.pl: Likewise.
19784 * manual/libc.texinfo: Likewise.
19785 * nptl/version.c (banner): Likewise.
19786 * nscd/nscd.c (print_version): Likewise.
19787 * nss/getent.c (print_version): Likewise.
19788 * nss/makedb.c (print_version): Likewise.
19789 * posix/getconf.c (main): Likewise.
19790 * scripts/test-installation.pl: Likewise.
19791 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19793 * All files with FSF copyright notices: Update copyright dates
19794 using scripts/update-copyrights.
19795 * locale/programs/charmap-kw.h: Regenerated.
19796 * locale/programs/locfile-kw.h: Likewise.
19798 2017-12-31 Zack Weinberg <zackw@panix.com>
19800 * libio/bits/libio-ldbl.h: Correct check for improper
19801 inclusion. Add own multiple include guard.
19803 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19804 Dmitry V. Levin <ldv@altlinux.org>
19808 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19809 string token expansion. Check for NULL pointer or empty string possibly
19810 returned by expand_dynamic_string_token.
19811 (decompose_rpath): Check for empty path after dynamic string
19814 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19817 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19819 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19820 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19821 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19822 and PTRACE_SYSCALL.
19823 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19824 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19825 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19826 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19827 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19828 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19830 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19831 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19832 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19833 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19835 bits/ptrace-shared.h.
19836 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19837 <bits/ptrace-shared.h>.
19838 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19839 __ptrace_peeksiginfo_flags, ptrace): Remove.
19840 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19841 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19842 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19843 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19844 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19846 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19849 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19850 end of the loop. Improve comments.
19852 2017-12-29 Zack Weinberg <zackw@panix.com>
19855 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19856 might be set on success.
19858 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19861 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19862 is unchanged on success.
19864 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19866 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19868 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19869 expand_dynamic_string_token): Likewise.
19870 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19873 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19876 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19877 is set and name contains ':', and all code depending on these checks.
19879 2017-12-24 Zack Weinberg <zackw@panix.com>
19881 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19882 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19884 * libio/libio.h: Rename the original version of this file to
19885 libio/bits/libio.h. Error out if not included by stdio.h or the
19887 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19888 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19889 if not included by bits/libio.h or the stub _G_config.h.
19890 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19891 sysdeps/unix/sysv/linux/bits. Error out if not included by
19892 bits/libio.h or the stub _G_config.h.
19893 * libio/stdio.h: Include bits/libio.h, not libio.h.
19894 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19895 well as libio.h and _G_config.h.
19897 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19898 * libio/strfile.h, stdio-common/vfscanf.c
19899 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19900 Include stdio.h, not _G_config.h nor libio.h.
19901 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19902 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19904 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19906 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19909 * stdlib/getrandom.c (getrandom): Fix comment.
19910 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19912 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19915 * manual/arith.texi (strtoul): Fix a typo.
19918 * manual/arith.texi (finite): Fix the description of the return
19921 2017-12-22 Eric Blake <ebb9@byu.net>
19923 Avoid gcc warnings on cygwin
19924 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19925 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19926 Avoid unused variable.
19928 2017-12-22 Florian Weimer <fweimer@redhat.com>
19930 * io/Makefile (routines): Add copy_file_range.
19931 (tests): Add tst-copy_file_range.
19932 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19933 * io/Versions (GLIBC_2.27): Export copy_file_range.
19934 * io/copy_file_range-compat.c: New file.
19935 * io/copy_file_range.c: Likewise.
19936 * io/tst-copy_file_range-compat.c: Likewise.
19937 * io/tst-copy_file_range.c: Likewise.
19938 * manual/llio.texi (Copying File Data): New section.
19939 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19940 * support/Makefile (libsupport-routines): Add support-xfstat,
19941 xftruncate, xlseek.
19942 * support/support-xfstat.c: New file.
19943 * support/xftruncate.c: Likewise.
19944 * support/xlseek.c: Likewise.
19945 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19946 * sysdeps/unix/sysv/linux/**.abilist: Update.
19947 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19949 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19951 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19952 disable-multi-arch variant to aarch64-linux-gnu.
19954 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19956 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19957 trailing whitespace removed.
19958 * scripts/config.guess: Update to version 2017-12-17.
19959 * scripts/config.sub: Update to version 2017-11-23.
19960 * scripts/install-sh: Update to version 2017-09-23.17.
19961 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19963 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19965 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19966 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19967 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19968 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19969 * sysdeps/tile/crtn.S: Likewise.
19970 * sysdeps/tile/dl-start.S (_start): Likewise.
19971 * sysdeps/tile/dl-trampoline.S: Likewise.
19972 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19973 * sysdeps/tile/start.S (_start): Likewise.
19974 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19975 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19976 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19977 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19978 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19979 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19980 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19982 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19984 * sysdeps/tile/preconfigure: Remove tilegx folder.
19985 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19986 * sysdeps/tile/Implies: ... here.
19987 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19988 * sysdeps/tile/Makefile: ... here.
19989 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19990 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19991 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19992 * sysdeps/tile/bits/wordsize.h: ... here.
19993 * sysdeps/tile/tilegx/*: Move to ...
19994 * sysdeps/tile/*: ... here.
19995 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19996 * sysdeps/tile/tilegx32/Implies: ... here.
19997 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19998 * sysdeps/tile/tilegx64/Implies: ... here.
19999 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20001 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20002 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20003 * sysdeps/unix/sysv/linux/tile/*: ... here.
20004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20005 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20007 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20009 * README: Remove tilepro-*-linux-gnu from supported architecture.
20010 * scripts/build-many-glibcs.py: Likewise.
20011 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20012 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20013 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20014 elf_machine_matches_host, elf_machine_dynamic,
20015 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20016 howto, elf_machine_rela): Likewise.
20017 * sysdeps/tile/dl-start.S (_start): Likewise.
20018 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20019 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20020 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20021 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20022 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20023 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20025 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20026 * sysdeps/tile/preconfigure: Likewise.
20027 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20028 POINTER_CHK_GUARD): Likewise.
20029 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20030 * sysdeps/tile/start.S (_start): Likewise.
20031 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20033 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20034 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20036 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20037 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20038 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20040 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20041 * sysdeps/tile/tilepro/Implies: Remove file.
20042 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20043 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20044 * sysdeps/tile/tilepro/memchr.c: Likewise.
20045 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20046 * sysdeps/tile/tilepro/memset.c: Likewise.
20047 * sysdeps/tile/tilepro/memusage.h: Likewise.
20048 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20049 * sysdeps/tile/tilepro/strchr.c: Likewise.
20050 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20051 * sysdeps/tile/tilepro/strlen.c: Likewise.
20052 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20053 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20054 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20055 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20056 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20057 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20058 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20060 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20061 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20062 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20063 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20064 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20065 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20066 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20067 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20068 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20069 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20070 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20071 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20072 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20073 tilepro mention in comment.
20075 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20076 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20077 * nptl/pthread_join_common.c: New file: common function used on
20078 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20079 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20080 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20081 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20082 (cleanup): Move definition to pthread_join_common.c.
20083 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20084 Remove superflous checks.
20085 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20088 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20090 * sysdeps/aarch64/libm-test-ulps: Update.
20092 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20094 * sysdeps/aarch64/memset.S (MEMSET): Define.
20096 2017-12-20 Florian Weimer <fweimer@redhat.com>
20099 nptl: Provide full implementation of pthread_self in libc.so.
20100 * nptl/Makefile (routines): Add pthread_self.
20101 (libpthread-routines): Replace pthread_self with
20102 compat-pthread_self.
20103 * nptl/forward.c (pthread_self): Remove.
20104 * nptl/nptl-init.c (pthread_functions): Do not initialize
20106 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20107 * nptl/compat-pthread_self.c: New file.
20108 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20109 Remove ptr_pthread_self.
20111 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20113 * posix/regcomp.c: Fix spelling in comments.
20114 * posix/regex.h: Likewise.
20115 * posix/regex_internal.c: Likewise.
20116 * posix/regexec.c: Likewise.
20118 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20121 * math/Makefile [C++] (tests): Add test for iseqsig.
20122 * math/math.h [C++] (iseqsig): New implementation, which does
20123 not rely on __MATH_TG/__builtin_types_compatible_p.
20124 * math/test-math-iseqsig.cc: New file.
20125 * sysdeps/powerpc/powerpc64le/Makefile
20126 (CFLAGS-test-math-iseqsig.cc): New variable.
20128 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20130 * elf/dl-load.c (is_trusted_path): Remove.
20131 (fillin_rpath): Remove check_trusted argument and its use,
20132 all callers changed.
20134 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20137 * Makeconfig (link-pie-before-libc): Replace -pie with
20138 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20139 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20140 (tst-dlopen-aout-no-pie): New.
20141 (LDFLAGS-tst-prelink): Removed.
20142 (tst-prelink-no-pie): New.
20143 (LDFLAGS-tst-main1): Removed.
20144 (tst-main1-no-pie): New.
20145 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20146 (tst-gmon-no-pie): New.
20148 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20150 * manual/install.texi: Document that --enable-static-pie
20152 * INSTALL: Regenerated.
20154 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20157 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20160 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20164 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20168 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20170 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20171 <errno.h>. Include "eexp.tbl".
20172 (half): New constant.
20174 (__ieee754_exp): Rewrite.
20175 (__slowexp): Remove prototype.
20176 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20177 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20178 * sysdeps/i386/fpu/slowexp.c: Likewise.
20179 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20180 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20181 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20182 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20183 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20184 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20185 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20187 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20188 (CPPFLAGS-slowexp.c): Remove variable.
20189 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20190 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20191 (CFLAGS-slowexp-fma.c): Remove variable.
20192 (CFLAGS-slowexp-fma4.c): Likewise.
20193 (CFLAGS-slowexp-avx.c): Likewise.
20194 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20196 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20197 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20198 * math/Makefile (type-double-routines): Remove slowexp.
20199 * manual/probes.texi (slowexp_p6): Remove.
20200 (slowexp_p32): Likewise.
20202 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20204 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20207 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20209 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20213 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20215 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20216 <errno.h>. Include "eexp.tbl".
20217 (half): New constant.
20219 (__ieee754_exp): Rewrite.
20220 (__slowexp): Remove prototype.
20221 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20222 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20223 * sysdeps/i386/fpu/slowexp.c: Likewise.
20224 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20225 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20226 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20227 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20228 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20229 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20230 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20232 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20233 (CPPFLAGS-slowexp.c): Remove variable.
20234 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20235 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20236 (CFLAGS-slowexp-fma.c): Remove variable.
20237 (CFLAGS-slowexp-fma4.c): Likewise.
20238 (CFLAGS-slowexp-avx.c): Likewise.
20239 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20241 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20242 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20243 * math/Makefile (type-double-routines): Remove slowexp.
20244 * manual/probes.texi (slowexp_p6): Remove.
20245 (slowexp_p32): Likewise.
20247 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20248 James Clarke <jrtc27@jrtc27.com>
20251 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20254 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20257 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20260 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20263 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20264 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20265 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20266 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20269 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20272 * bits/types/__cancel_jmp_buf_tag.h: New file.
20273 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20274 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20275 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20276 * nptl/Makefile (headers): Add
20277 bits/types/__cancel_jmp_buf_tag.h.
20278 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20279 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20280 * sysdeps/nptl/pthread.h: Include
20281 <bits/types/__cancel_jmp_buf_tag.h>.
20282 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20284 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20286 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20288 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20289 --enable-static-pie variants to x86_64, x32 and i686.
20291 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20294 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20295 argument for attrubutes. All callers changed.
20296 (__inline_mathop1): Likewise. All callers changed.
20297 (__inline_mathop): Likewise. All callers changed.
20298 [__USE_MISC] (scalbn): Use __inline_forward instead of
20299 __inline_forward_c.
20300 [__USE_ISOC99] (scalbln): Likewise.
20301 [__USE_ISOC99] (nearbyint): Likewise.
20302 [__USE_ISOC99] (lrint): Likewise.
20303 [__USE_MISC] (scalbnf): Likewise.
20304 [__USE_ISOC99] (scalblnf): Likewise.
20305 [__USE_ISOC99] (nearbyintf): Likewise.
20306 [__USE_ISOC99] (lrintf): Likewise.
20307 [__USE_MISC] (scalbnl): Likewise.
20308 [__USE_ISOC99] (scalblnl): Likewise.
20309 [__USE_ISOC99] (nearbyintl): Likewise.
20310 [__USE_ISOC99] (lrintl): Likewise.
20311 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20312 __inline_mathop and __m81_defun changed.
20314 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20315 CPU or FPU for ARM hard-float configurations.
20317 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20319 * nptl/tst-attr3.c: Include <libc-diag.h>.
20320 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20322 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20324 * string/tester.c (test_strncat): Also disable -Warray-bounds
20325 warnings for two tests.
20327 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20330 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20331 $(cc-pie-default) == yes.
20332 * config.make.in (cc-pie-default): New.
20333 * configure.ac (libc_cv_pie_default): Renamed to ...
20334 (libc_cv_cc_pie_default): This.
20335 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20336 * configure: Regenerated.
20338 2017-12-18 Florian Weimer <fweimer@redhat.com>
20341 ld.so: Harden dl-libc/libdl hooks.
20342 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20343 (rtld_active): New function.
20344 * dlfcn/dladdr.c (__dladdr): Call it.
20345 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20346 * dlfcn/dlclose.c (__dlcose): Likewise.
20347 * dlfcn/dlerror.c (__dlerror): Likewise.
20348 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20349 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20350 * dlfcn/dlopen.c (__dlopen): Likewise.
20351 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20352 * dlfcn/dlsym.c (__dlsym): Likewise.
20353 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20354 * libio/vtables.c (_IO_vtable_check): Likewise.
20355 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20356 (__libc_dlclose): Likewise.
20357 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20360 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20363 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20364 buffers for readlink input and output.
20366 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20369 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20370 inhibit_stack_protector.
20373 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20374 inhibit_stack_protector.
20376 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20379 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20380 code and invocation.
20382 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20384 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20386 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20389 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20391 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20393 * sysdeps/s390/fpu/libm-test-ulps: Update.
20395 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20399 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20401 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20402 constants to s_sincosf.h file.
20403 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20404 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20406 * sysdeps/ieee754/flt-32/s_sincosf.h:
20409 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20412 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20415 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20418 * INSTALL: Regenerated.
20419 * Makeconfig (real-static-start-installed-name): New.
20420 (pic-default): Updated for --enable-static-pie.
20421 (pie-default): New for --enable-static-pie.
20422 (default-pie-ldflag): Likewise.
20423 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20424 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20425 Replace $(static-start-installed-name) with
20426 $(real-static-start-installed-name).
20427 (+prectorT): Updated for --enable-static-pie.
20428 (+postctorT): Likewise.
20429 (CFLAGS-.o): Add $(pie-default).
20430 (CFLAGS-.op): Likewise.
20431 * NEWS: Mention --enable-static-pie.
20432 * config.h.in (ENABLE_STATIC_PIE): New.
20433 * configure.ac (--enable-static-pie): New configure option.
20434 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20435 (have-static-pie): Likewise.
20436 Enable static PIE if linker supports --no-dynamic-linker.
20437 (ENABLE_STATIC_PIE): New AC_DEFINE.
20438 (enable-static-pie): New LIBC_CONFIG_VAR.
20439 * configure: Regenerated.
20440 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20441 gr$(start-installed-name) for --enable-static-pie.
20442 (extra-objs): Likewise.
20443 (install-lib): Likewise.
20444 (extra-objs): Add static-reloc.o and static-reloc.os
20445 ($(objpfx)$(start-installed-name)): Also depend on
20446 $(objpfx)static-reloc.o.
20447 ($(objpfx)r$(start-installed-name)): New.
20448 ($(objpfx)g$(start-installed-name)): Also depend on
20449 $(objpfx)static-reloc.os.
20450 ($(objpfx)gr$(start-installed-name)): New.
20451 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20453 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20455 * csu/static-reloc.c: New file.
20456 * elf/Makefile (routines): Add dl-reloc-static-pie.
20457 (elide-routines.os): Likewise.
20458 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20459 (tst-tls1-static-non-pie-no-pie): New.
20460 * elf/dl-reloc-static-pie.c: New file.
20461 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20462 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20463 STATIC_PIE_BOOTSTRAP.
20464 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20465 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20466 (tests-static): Likewise.
20467 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20468 (tst-gmon-static-no-pie): New.
20469 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20470 (CRT-tst-gmon-static-pie): Likewise.
20471 (tst-gmon-static-pie-ENV): Likewise.
20472 (tests-special): Likewise.
20473 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20474 (clean-tst-gmon-static-pie-data): Likewise.
20475 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20476 * gmon/tst-gmon-static-pie.c: New file.
20477 * manual/install.texi: Document --enable-static-pie.
20478 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20479 (_dl_get_dl_main_map): Likewise.
20480 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20481 * sysdeps/x86_64/configure.ac: Likewise.
20482 * sysdeps/i386/configure: Regenerated.
20483 * sysdeps/x86_64/configure: Likewise.
20484 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20485 (ASFLAGS-.op): Likewise.
20487 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20489 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20490 * posix/tst-mmap-offset.c (fname): Use /tmp.
20491 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20493 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20495 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20497 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20499 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20502 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20504 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20505 --with-float=hard for arm-linux-gnueabihf configurations.
20508 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20509 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20510 ($(mo-installed)): Use $(objpfx)%.mo.
20511 (realclean): Remove rule.
20513 * po/Makefile (linguas): Remove rule and dependencies.
20514 (linguas.mo): Likewise.
20515 (.PHONY): Do not depend on linguas and linguas.mo.
20516 (podir): Remove variable.
20517 (pofiles): Likewise.
20518 [$(pofiles)] (%.po): Remove rule.
20520 * sysdeps/sparc/sparc32/Makefile
20521 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20522 start-of-line whitespace in argument of echo.
20523 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20524 with whitespace. Generate __wrap_.udiv alias.
20525 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20526 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20527 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20528 * sysdeps/sparc/sparc32/urem.S: Likewise.
20530 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20532 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20533 for aligned inputs.
20535 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20537 * benchtests/bench-strcmp.c: Print output in JSON format.
20539 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20541 2017-12-14 Florian Weimer <fweimer@redhat.com>
20545 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20546 the expanded path string.
20548 2017-12-14 Florian Weimer <fweimer@redhat.com>
20552 * elf/dl-load.c (system_dirs): Update comment.
20553 (nsystem_dirs_len): Use array_length.
20554 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20556 2017-12-14 Florian Weimer <fweimer@redhat.com>
20558 Simplify compiling most of support/ outside of glibc.
20559 * support/check_addrinfo.c: Include <string.h>.
20560 * support/check_dns_packet.c: Likewise.
20561 * support/check_hostent.c: Likewise.
20562 * support/support_can_chroot.c: Include <support/xunistd.h>.
20563 * support/support_format_addrinfo.c: Include <stdlib.h>
20564 * support/support_format_dns_packet.c: Include <stdbool.h>.
20565 * support/support_format_hostent.c: Include <stdlib.h>.
20566 * support/support_format_netent.c: Likewise.
20567 * support/support_write_string.c: Include <support/xunistd.h>.
20568 * support/xdlfcn.c: Include <stddef.h>.
20570 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20572 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20574 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20575 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20577 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20578 (sysdeps_routines): Add memset-niagara7.
20579 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20581 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20583 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20584 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20585 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20586 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20587 Add niagara7 option.
20588 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20591 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20592 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20593 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20595 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20597 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20598 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20599 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20600 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20601 and __memmove_niagara7.
20602 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20603 Add niagara7 option.
20604 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20605 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20606 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20607 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20608 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20610 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20612 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20613 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20614 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20615 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20617 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20618 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20619 _dl_sparc_cap_flags array.
20620 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20622 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20624 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20625 time whenever possible.
20627 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20629 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20630 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20632 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20634 * soft-fp/fmadf4.c: Move to ....
20635 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20636 * soft-fp/fmasf4.c: Move to ....
20637 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20638 * soft-fp/fmatf4.c: Move to ....
20639 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20640 * sysdeps/ieee754/soft-fp/Makefile: New file.
20641 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20642 * sysdeps/arm/preconfigure: Regenerated.
20643 * sysdeps/arm/nofpu/Implies: New file.
20644 * sysdeps/arm/s_fma.c: Remove file.
20645 * sysdeps/arm/s_fmaf.c: Likewise.
20646 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20647 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20648 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20649 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20650 * sysdeps/microblaze/s_fma.c: Remove file.
20651 * sysdeps/microblaze/s_fmaf.c: Likewise.
20652 * sysdeps/mips/mips32/nofpu/Implies: New file.
20653 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20654 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20655 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20656 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20657 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20658 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20659 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20661 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20662 * sysdeps/nios2/s_fma.c: Remove file.
20663 * sysdeps/nios2/s_fmaf.c: Likewise.
20664 * sysdeps/sh/nofpu/Implies: New file.
20665 * sysdeps/sh/s_fma.c: Remove file.
20666 * sysdeps/sh/s_fmaf.c: Likewise.
20667 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20668 * sysdeps/tile/s_fma.c: Remove file.
20669 * sysdeps/tile/s_fmaf.c: Likewise.
20671 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20673 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20674 Add s_cosf-sse2 and s_cosf-fma.
20675 (CFLAGS-s_cosf-fma.c): New.
20676 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20677 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20678 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20680 2017-12-12 Steve Ellcey <sellcey@cavium.com>
20682 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20684 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20686 * libio/Makefile (tests): Add tst-bz22415.
20687 (tst-bz22415-ENV): New rule.
20688 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20689 (tests-special): Add tst-bz22415-mem.out.
20690 ($(objpfx)tst-bz22415-mem.out): New rule.
20691 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20692 in case of a successful seek operation.
20693 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20694 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20695 buffer is required.
20696 * libio/tst-bz22415.c: New test.
20698 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20700 2017-12-12 James Clarke <jrtc27@jrtc27.com>
20702 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20703 __IPC_64 to 0 to avoid IPC_64 being set.
20705 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20708 * math/bits/mathcalls.h (nextafter): Remove const.
20709 (nexttoward): Likewise.
20711 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20713 * configure.ac (--with-fp): Remove configure option.
20714 (with_fp_cond): New variable.
20715 (libc_cv_with_fp): New configure test. Use this variable instead
20717 * configure: Regenerated.
20718 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20719 * manual/install.texi (Configuring and compiling): Remove
20721 * INSTALL: Regenerated.
20722 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20723 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20724 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20725 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20726 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20727 use --without-fp to configure glibc.
20729 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
20731 * manual/locale.texi (nl_langinfo): Fix a typo.
20733 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20736 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20738 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20740 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20741 (CFLAGS-argp-parse.c): Likewise.
20742 (CFLAGS-argp-fmtstream.c): Likewise.
20743 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20744 (CPPFLAGS-sha512-crypt.c): Likewise.
20745 (CPPFLAGS-md5-crypt.c): Likewise.
20746 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20747 (CFLAGS-stack_chk_fail_local.c): Likewise.
20748 (CFLAGS-backtrace.c): Likewise.
20749 (CFLAGS-sprintf_chk.c): Likewise.
20750 (CFLAGS-snprintf_chk.c): Likewise.
20751 (CFLAGS-vsprintf_chk.c): Likewise.
20752 (CFLAGS-vsnprintf_chk.c): Likewise.
20753 (CFLAGS-asprintf_chk.c): Likewise.
20754 (CFLAGS-vasprintf_chk.c): Likewise.
20755 (CFLAGS-obprintf_chk.c): Likewise.
20756 (CFLAGS-dprintf_chk.c): Likewise.
20757 (CFLAGS-vdprintf_chk.c): Likewise.
20758 (CFLAGS-printf_chk.c): Likewise.
20759 (CFLAGS-fprintf_chk.c): Likewise.
20760 (CFLAGS-vprintf_chk.c): Likewise.
20761 (CFLAGS-vfprintf_chk.c): Likewise.
20762 (CFLAGS-gets_chk.c): Likewise.
20763 (CFLAGS-fgets_chk.c): Likewise.
20764 (CFLAGS-fgets_u_chk.c): Likewise.
20765 (CFLAGS-fread_chk.c): Likewise.
20766 (CFLAGS-fread_u_chk.c): Likewise.
20767 (CFLAGS-swprintf_chk.c): Likewise.
20768 (CFLAGS-vswprintf_chk.c): Likewise.
20769 (CFLAGS-wprintf_chk.c): Likewise.
20770 (CFLAGS-fwprintf_chk.c): Likewise.
20771 (CFLAGS-vwprintf_chk.c): Likewise.
20772 (CFLAGS-vfwprintf_chk.c): Likewise.
20773 (CFLAGS-fgetws_chk.c): Likewise.
20774 (CFLAGS-fgetws_u_chk.c): Likewise.
20775 (CFLAGS-read_chk.c): Likewise.
20776 (CFLAGS-pread_chk.c): Likewise.
20777 (CFLAGS-pread64_chk.c): Likewise.
20778 (CFLAGS-recv_chk.c): Likewise.
20779 (CFLAGS-recvfrom_chk.c): Likewise.
20780 (CFLAGS-tst-longjmp_chk.c): Likewise.
20781 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20782 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20783 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20784 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20785 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20786 (CFLAGS-tst-chk1.c): Likewise.
20787 (CFLAGS-tst-chk2.c): Likewise.
20788 (CFLAGS-tst-chk3.c): Likewise.
20789 (CFLAGS-tst-chk4.cc): Likewise.
20790 (CFLAGS-tst-chk5.cc): Likewise.
20791 (CFLAGS-tst-chk6.cc): Likewise.
20792 (CFLAGS-tst-lfschk1.c): Likewise.
20793 (CFLAGS-tst-lfschk2.c): Likewise.
20794 (CFLAGS-tst-lfschk3.c): Likewise.
20795 (CFLAGS-tst-lfschk4.cc): Likewise.
20796 (CFLAGS-tst-lfschk5.cc): Likewise.
20797 (CFLAGS-tst-lfschk6.cc): Likewise.
20798 (CFLAGS-tst-ssp-1.c): Likewise.
20799 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20800 (CFLAGS-scandir64.c): Likewise.
20801 (CFLAGS-scandir-tail.c): Likewise.
20802 (CFLAGS-scandir64-tail.c): Likewise.
20803 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20804 (CFLAGS-dl-tunables.c): Likewise.
20805 (CFLAGS-dl-runtime.c): Likewise.
20806 (CFLAGS-dl-lookup.c): Likewise.
20807 (CFLAGS-dl-iterate-phdr.c): Likewise.
20808 (CFLAGS-vismain.c): Likewise.
20809 (CFLAGS-tst-linkall-static.c): Likewise.
20810 (CFLAGS-tst-linkall-static.c): Likewise.
20811 (CPPFLAGS-dl-load.c): Likewise.
20812 (CFLAGS-ldconfig.c): Likewise.
20813 (CFLAGS-dl-cache.c): Likewise.
20814 (CFLAGS-cache.c): Likewise.
20815 (CFLAGS-rtld.c): Likewise.
20816 (CFLAGS-multiload.c): Likewise.
20817 (CFLAGS-filtmod1.c): Likewise.
20818 (CFLAGS-tst-align.c): Likewise.
20819 (CFLAGS-tst-align2.c): Likewise.
20820 (CFLAGS-tst-alignmod.c): Likewise.
20821 (CFLAGS-tst-alignmod2.c): Likewise.
20822 (CPPFLAGS-tst-execstack.c): Likewise.
20823 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20824 (CFLAGS-tst-latepthreadmod.c): Likewise.
20825 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20826 (CFLAGS-getgrnam_r.c): Likewise.
20827 (CFLAGS-getgrent_r.c): Likewise.
20828 (CFLAGS-getgrent.c): Likewise.
20829 (CFLAGS-fgetgrent.c): Likewise.
20830 (CFLAGS-fgetgrent_r.c): Likewise.
20831 (CFLAGS-putgrent.c): Likewise.
20832 (CFLAGS-initgroups.c): Likewise.
20833 (CFLAGS-getgrgid.c): Likewise.
20834 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20835 (CFLAGS-getsgent.c): Likewise.
20836 (CFLAGS-fgetsgent.c): Likewise.
20837 (CFLAGS-fgetsgent_r.c): Likewise.
20838 (CFLAGS-putsgent.c): Likewise.
20839 (CFLAGS-getsgnam.c): Likewise.
20840 (CFLAGS-getsgnam_r.c): Likewise.
20841 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20842 (CFLAGS-iconv_charmap.c): Likewise.
20843 (CFLAGS-dummy-repertoire.c): Likewise.
20844 (CFLAGS-charmap.c): Likewise.
20845 (CFLAGS-linereader.c): Likewise.
20846 (CFLAGS-simple-hash.c): Likewise.
20847 (CFLAGS-gconv_conf.c): Likewise.
20848 (CFLAGS-iconvconfig.c): Likewise.
20849 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20850 (CFLAGS-gethstbyad.c): Likewise.
20851 (CFLAGS-gethstbynm_r.c): Likewise.
20852 (CFLAGS-gethstbynm.c): Likewise.
20853 (CFLAGS-gethstbynm2_r.c): Likewise.
20854 (CFLAGS-gethstbynm2.c): Likewise.
20855 (CFLAGS-gethstent_r.c): Likewise.
20856 (CFLAGS-gethstent.c): Likewise.
20857 (CFLAGS-rcmd.c): Likewise.
20858 (CFLAGS-getnetbynm_r.c): Likewise.
20859 (CFLAGS-getnetbynm.c): Likewise.
20860 (CFLAGS-getnetbyad_r.c): Likewise.
20861 (CFLAGS-getnetbyad.c): Likewise.
20862 (CFLAGS-getnetent_r.c): Likewise.
20863 (CFLAGS-getnetent.c): Likewise.
20864 (CFLAGS-getaliasent_r.c): Likewise.
20865 (CFLAGS-getaliasent.c): Likewise.
20866 (CFLAGS-getrpcent_r.c): Likewise.
20867 (CFLAGS-getrpcent.c): Likewise.
20868 (CFLAGS-getservent_r.c): Likewise.
20869 (CFLAGS-getservent.c): Likewise.
20870 (CFLAGS-getprtent_r.c): Likewise.
20871 (CFLAGS-getprtent.c): Likewise.
20872 (CFLAGS-either_ntoh.c): Likewise.
20873 (CFLAGS-either_hton.c): Likewise.
20874 (CFLAGS-getnetgrent.c): Likewise.
20875 (CFLAGS-getnetgrent_r.c): Likewise.
20876 (CFLAGS-tst-checks-posix.c): Likewise.
20877 (CFLAGS-tst-sockaddr.c): Likewise.
20878 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20879 (CFLAGS-tst-translit.c): Likewise.
20880 (CFLAGS-tst-gettext2.c): Likewise.
20881 (CFLAGS-tst-codeset.c): Likewise.
20882 (CFLAGS-tst-gettext3.c): Likewise.
20883 (CFLAGS-tst-gettext4.c): Likewise.
20884 (CFLAGS-tst-gettext5.c): Likewise.
20885 (CFLAGS-tst-gettext6.c): Likewise.
20886 * io/Makefile (CFLAGS-open.c): Likewise.
20887 (CFLAGS-open64.c): Likewise.
20888 (CFLAGS-creat.c): Likewise.
20889 (CFLAGS-creat64.c): Likewise.
20890 (CFLAGS-fcntl.c): Likewise.
20891 (CFLAGS-poll.c): Likewise.
20892 (CFLAGS-ppoll.c): Likewise.
20893 (CFLAGS-lockf.c): Likewise.
20894 (CFLAGS-statfs.c): Likewise.
20895 (CFLAGS-fstatfs.c): Likewise.
20896 (CFLAGS-statvfs.c): Likewise.
20897 (CFLAGS-fstatvfs.c): Likewise.
20898 (CFLAGS-fts.c): Likewise.
20899 (CFLAGS-fts64.c): Likewise.
20900 (CFLAGS-ftw.c): Likewise.
20901 (CFLAGS-ftw64.c): Likewise.
20902 (CFLAGS-lockf.c): Likewise.
20903 (CFLAGS-posix_fallocate.c): Likewise.
20904 (CFLAGS-posix_fallocate64.c): Likewise.
20905 (CFLAGS-fallocate.c): Likewise.
20906 (CFLAGS-fallocate64.c): Likewise.
20907 (CFLAGS-read.c): Likewise.
20908 (CFLAGS-write.c): Likewise.
20909 (CFLAGS-test-stat.c): Likewise.
20910 (CFLAGS-test-lfs.c): Likewise.
20911 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20912 (CFLAGS-fputc.c): Likewise.
20913 (CFLAGS-fputwc.c): Likewise.
20914 (CFLAGS-freopen64.c): Likewise.
20915 (CFLAGS-freopen.c): Likewise.
20916 (CFLAGS-fseek.c): Likewise.
20917 (CFLAGS-fseeko64.c): Likewise.
20918 (CFLAGS-fseeko.c): Likewise.
20919 (CFLAGS-ftello64.c): Likewise.
20920 (CFLAGS-ftello.c): Likewise.
20921 (CFLAGS-fwide.c): Likewise.
20922 (CFLAGS-genops.c): Likewise.
20923 (CFLAGS-getc.c): Likewise.
20924 (CFLAGS-getchar.c): Likewise.
20925 (CFLAGS-getwc.c): Likewise.
20926 (CFLAGS-getwchar.c): Likewise.
20927 (CFLAGS-iofclose.c): Likewise.
20928 (CFLAGS-iofflush.c): Likewise.
20929 (CFLAGS-iofgetpos64.c): Likewise.
20930 (CFLAGS-iofgetpos.c): Likewise.
20931 (CFLAGS-iofgets.c): Likewise.
20932 (CFLAGS-iofgetws.c): Likewise.
20933 (CFLAGS-iofputs.c): Likewise.
20934 (CFLAGS-iofputws.c): Likewise.
20935 (CFLAGS-iofread.c): Likewise.
20936 (CFLAGS-iofsetpos64.c): Likewise.
20937 (CFLAGS-iofsetpos.c): Likewise.
20938 (CFLAGS-ioftell.c): Likewise.
20939 (CFLAGS-iofwrite.c): Likewise.
20940 (CFLAGS-iogetdelim.c): Likewise.
20941 (CFLAGS-iogetline.c): Likewise.
20942 (CFLAGS-iogets.c): Likewise.
20943 (CFLAGS-iogetwline.c): Likewise.
20944 (CFLAGS-ioputs.c): Likewise.
20945 (CFLAGS-ioseekoff.c): Likewise.
20946 (CFLAGS-ioseekpos.c): Likewise.
20947 (CFLAGS-iosetbuffer.c): Likewise.
20948 (CFLAGS-iosetvbuf.c): Likewise.
20949 (CFLAGS-ioungetc.c): Likewise.
20950 (CFLAGS-ioungetwc.c): Likewise.
20951 (CFLAGS-oldfileops.c): Likewise.
20952 (CFLAGS-oldiofclose.c): Likewise.
20953 (CFLAGS-oldiofgetpos64.c): Likewise.
20954 (CFLAGS-oldiofgetpos.c): Likewise.
20955 (CFLAGS-oldiofsetpos64.c): Likewise.
20956 (CFLAGS-oldiofsetpos.c): Likewise.
20957 (CFLAGS-peekc.c): Likewise.
20958 (CFLAGS-putc.c): Likewise.
20959 (CFLAGS-putchar.c): Likewise.
20960 (CFLAGS-putwc.c): Likewise.
20961 (CFLAGS-putwchar.c): Likewise.
20962 (CFLAGS-rewind.c): Likewise.
20963 (CFLAGS-wfileops.c): Likewise.
20964 (CFLAGS-wgenops.c): Likewise.
20965 (CFLAGS-oldiofopen.c): Likewise.
20966 (CFLAGS-iofopen.c): Likewise.
20967 (CFLAGS-iofopen64.c): Likewise.
20968 (CFLAGS-oldtmpfile.c): Likewise.
20969 (CFLAGS-tst_putwc.c): Likewise.
20970 * locale/Makefile (CFLAGS-md5.c): Likewise.
20971 (CFLAGS-charmap.c): Likewise.
20972 (CFLAGS-locfile.c): Likewise.
20973 (CFLAGS-charmap-dir.c): Likewise.
20974 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20975 (CFLAGS-getpt.c): Likewise.
20976 (CFLAGS-pt_chown.c): Likewise.
20977 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20978 (CFLAGS-obstack.c): Likewise.
20979 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20980 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20981 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20982 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20983 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20984 (CFLAGS-test-tgmath.c): Likewise.
20985 (CFLAGS-test-tgmath2.c): Likewise.
20986 (CFLAGS-test-tgmath-ret.c): Likewise.
20987 (CFLAGS-test-powl.c): Likewise.
20988 (CFLAGS-test-snan.c): Likewise.
20989 (CFLAGS-test-signgam-finite.c): Likewise.
20990 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20991 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20992 (CFLAGS-test-signgam-uchar.c): Likewise.
20993 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20994 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20995 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20996 (CFLAGS-test-signgam-uint.c): Likewise.
20997 (CFLAGS-test-signgam-uint-init.c): Likewise.
20998 (CFLAGS-test-signgam-uint-static.c): Likewise.
20999 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21000 (CFLAGS-test-signgam-ullong.c): Likewise.
21001 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21002 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21003 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21004 (CFLAGS-test-math-cxx11.cc): Likewise.
21005 (CFLAGS-test-math-isinff.cc): Likewise.
21006 (CFLAGS-test-math-iszero.cc): Likewise.
21007 (CFLAGS-test-math-issignaling.cc): Likewise.
21008 (CFLAGS-test-math-iscanonical.cc): Likewise.
21009 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21010 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21011 (CFLAGS-test-flt-eval-method.c): Likewise.
21012 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21013 (CFLAGS-test-finite-macros.c): Likewise.
21014 * misc/Makefile (CFLAGS-select.c): Likewise.
21015 (CFLAGS-tsearch.c): Likewise.
21016 (CFLAGS-lsearch.c): Likewise.
21017 (CFLAGS-pselect.c): Likewise.
21018 (CFLAGS-readv.c): Likewise.
21019 (CFLAGS-writev.c): Likewise.
21020 (CFLAGS-preadv.c): Likewise.
21021 (CFLAGS-preadv64.c): Likewise.
21022 (CFLAGS-pwritev.c): Likewise.
21023 (CFLAGS-pwritev64.c): Likewise.
21024 (CFLAGS-preadv2.c): Likewise.
21025 (CFLAGS-preadv64v2.c): Likewise.
21026 (CFLAGS-pwritev2.c): Likewise.
21027 (CFLAGS-pwritev64v2.c): Likewise.
21028 (CFLAGS-usleep.c): Likewise.
21029 (CFLAGS-syslog.c): Likewise.
21030 (CFLAGS-error.c): Likewise.
21031 (CFLAGS-getpass.c): Likewise.
21032 (CFLAGS-mkstemp.c): Likewise.
21033 (CFLAGS-mkstemp64.c): Likewise.
21034 (CFLAGS-getsysstats.c): Likewise.
21035 (CFLAGS-getusershell.c): Likewise.
21036 (CFLAGS-err.c): Likewise.
21037 (CFLAGS-tst-tsearch.c): Likewise.
21038 (CFLAGS-msync.c): Likewise.
21039 (CFLAGS-fdatasync.c): Likewise.
21040 (CFLAGS-fsync.c): Likewise.
21041 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21042 (CFLAGS-unwind.c): Likewise.
21043 (CFLAGS-unwind-forcedunwind.c): Likewise.
21044 (CFLAGS-pthread_cancel.c): Likewise.
21045 (CFLAGS-pthread_setcancelstate.c): Likewise.
21046 (CFLAGS-pthread_setcanceltype.c): Likewise.
21047 (CFLAGS-cancellation.c): Likewise.
21048 (CFLAGS-libc-cancellation.c): Likewise.
21049 (CFLAGS-pthread_exit.c): Likewise.
21050 (CFLAGS-forward.c): Likewise.
21051 (CFLAGS-pthread_testcancel.c): Likewise.
21052 (CFLAGS-pthread_join.c): Likewise.
21053 (CFLAGS-pthread_timedjoin.c): Likewise.
21054 (CFLAGS-pthread_once.c): Likewise.
21055 (CFLAGS-pthread_cond_wait.c): Likewise.
21056 (CFLAGS-sem_wait.c): Likewise.
21057 (CFLAGS-sem_timedwait.c): Likewise.
21058 (CFLAGS-fcntl.c): Likewise.
21059 (CFLAGS-lockf.c): Likewise.
21060 (CFLAGS-pread.c): Likewise.
21061 (CFLAGS-pread64.c): Likewise.
21062 (CFLAGS-pwrite.c): Likewise.
21063 (CFLAGS-pwrite64.c): Likewise.
21064 (CFLAGS-wait.c): Likewise.
21065 (CFLAGS-waitpid.c): Likewise.
21066 (CFLAGS-sigwait.c): Likewise.
21067 (CFLAGS-msgrcv.c): Likewise.
21068 (CFLAGS-msgsnd.c): Likewise.
21069 (CFLAGS-tcdrain.c): Likewise.
21070 (CFLAGS-open.c): Likewise.
21071 (CFLAGS-open64.c): Likewise.
21072 (CFLAGS-pause.c): Likewise.
21073 (CFLAGS-recv.c): Likewise.
21074 (CFLAGS-send.c): Likewise.
21075 (CFLAGS-accept.c): Likewise.
21076 (CFLAGS-sendto.c): Likewise.
21077 (CFLAGS-connect.c): Likewise.
21078 (CFLAGS-recvfrom.c): Likewise.
21079 (CFLAGS-recvmsg.c): Likewise.
21080 (CFLAGS-sendmsg.c): Likewise.
21081 (CFLAGS-close.c): Likewise.
21082 (CFLAGS-read.c): Likewise.
21083 (CFLAGS-write.c): Likewise.
21084 (CFLAGS-nanosleep.c): Likewise.
21085 (CFLAGS-sigsuspend.c): Likewise.
21086 (CFLAGS-msync.c): Likewise.
21087 (CFLAGS-fdatasync.c): Likewise.
21088 (CFLAGS-fsync.c): Likewise.
21089 (CFLAGS-pt-system.c): Likewise.
21090 (CFLAGS-tst-cleanup2.c): Likewise.
21091 (CFLAGS-tst-cleanupx2.c): Likewise.
21092 (CFLAGS-flockfile.c): Likewise.
21093 (CFLAGS-ftrylockfile.c): Likewise.
21094 (CFLAGS-funlockfile.c): Likewise.
21095 (CFLAGS-tst-initializers1.c): Likewise.
21096 (CFLAGS-tst-initializers1-c89.c): Likewise.
21097 (CFLAGS-tst-initializers1-c99.c): Likewise.
21098 (CFLAGS-tst-initializers1-c11.c): Likewise.
21099 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21100 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21101 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21102 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21103 (CFLAGS-nscd_getgr_r.c): Likewise.
21104 (CFLAGS-nscd_gethst_r.c): Likewise.
21105 (CFLAGS-nscd_getai.c): Likewise.
21106 (CFLAGS-nscd_initgroups.c): Likewise.
21107 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21108 (CFLAGS-pause.c): Likewise.
21109 (CFLAGS-pread.c): Likewise.
21110 (CFLAGS-pread64.c): Likewise.
21111 (CFLAGS-pwrite.c): Likewise.
21112 (CFLAGS-pwrite64.c): Likewise.
21113 (CFLAGS-sleep.c): Likewise.
21114 (CFLAGS-wait.c): Likewise.
21115 (CFLAGS-waitid.c): Likewise.
21116 (CFLAGS-waitpid.c): Likewise.
21117 (CFLAGS-getopt.c): Likewise.
21118 (CFLAGS-wordexp.c): Likewise.
21119 (CFLAGS-sysconf.c): Likewise.
21120 (CFLAGS-pathconf.c): Likewise.
21121 (CFLAGS-fpathconf.c): Likewise.
21122 (CFLAGS-spawn.c): Likewise.
21123 (CFLAGS-spawnp.c): Likewise.
21124 (CFLAGS-spawni.c): Likewise.
21125 (CFLAGS-glob.c): Likewise.
21126 (CFLAGS-glob64.c): Likewise.
21127 (CFLAGS-getconf.c): Likewise.
21128 (CFLAGS-nanosleep.c): Likewise.
21129 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21130 (CFLAGS-getpwent.c): Likewise.
21131 (CFLAGS-getpw.c): Likewise.
21132 (CFLAGS-fgetpwent_r.c): Likewise.
21133 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21134 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21135 (CFLAGS-mq_timedreceive.c): Likewise.
21136 (CFLAGS-mq_timedsend.c): Likewise.
21137 (CFLAGS-clock_nanosleep.c): Likewise.
21138 (CFLAGS-librt-cancellation.c): Likewise.
21139 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21140 (CFLAGS-getspent.c): Likewise.
21141 (CFLAGS-fgetspent.c): Likewise.
21142 (CFLAGS-fgetspent_r.c): Likewise.
21143 (CFLAGS-putspent.c): Likewise.
21144 (CFLAGS-getspnam.c): Likewise.
21145 (CFLAGS-getspnam_r.c): Likewise.
21146 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21147 (CFLAGS-sigsuspend.c): Likewise.
21148 (CFLAGS-sigtimedwait.c): Likewise.
21149 (CFLAGS-sigwait.c): Likewise.
21150 (CFLAGS-sigwaitinfo.c): Likewise.
21151 (CFLAGS-sigreturn.c): Likewise.
21152 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21153 (CFLAGS-vfwprintf.c): Likewise.
21154 (CFLAGS-tmpfile.c): Likewise.
21155 (CFLAGS-tmpfile64.c): Likewise.
21156 (CFLAGS-tempname.c): Likewise.
21157 (CFLAGS-psignal.c): Likewise.
21158 (CFLAGS-vprintf.c): Likewise.
21159 (CFLAGS-cuserid.c): Likewise.
21160 (CFLAGS-errlist.c): Likewise.
21161 (CFLAGS-siglist.c): Likewise.
21162 (CFLAGS-scanf15.c): Likewise.
21163 (CFLAGS-scanf17.c): Likewise.
21164 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21165 (CFLAGS-msort.c): Likewise.
21166 (CFLAGS-qsort.c): Likewise.
21167 (CFLAGS-system.c): Likewise.
21168 (CFLAGS-fmtmsg.c): Likewise.
21169 (CFLAGS-strfmon.c): Likewise.
21170 (CFLAGS-strfmon_l.c): Likewise.
21171 (CFLAGS-strfromd.c): Likewise.
21172 (CFLAGS-strfromf.c): Likewise.
21173 (CFLAGS-strfroml.c): Likewise.
21174 (CFLAGS-tst-bsearch.c): Likewise.
21175 (CFLAGS-tst-qsort.c): Likewise.
21176 (CFLAGS-tst-makecontext2.c): Likewise.
21177 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21178 (CFLAGS-xnlm_prot.c): Likewise.
21179 (CFLAGS-xrstat.c): Likewise.
21180 (CFLAGS-xyppasswd.c): Likewise.
21181 (CFLAGS-xklm_prot.c): Likewise.
21182 (CFLAGS-xrex.c): Likewise.
21183 (CFLAGS-xsm_inter.c): Likewise.
21184 (CFLAGS-xmount.c): Likewise.
21185 (CFLAGS-xrusers.c): Likewise.
21186 (CFLAGS-xspray.c): Likewise.
21187 (CFLAGS-xnfs_prot.c): Likewise.
21188 (CFLAGS-xrquota.c): Likewise.
21189 (CFLAGS-xkey_prot.c): Likewise.
21190 (CFLAGS-auth_unix.c): Likewise.
21191 (CFLAGS-key_call.c): Likewise.
21192 (CFLAGS-pmap_rmt.c): Likewise.
21193 (CFLAGS-clnt_perr.c): Likewise.
21194 (CFLAGS-openchild.c): Likewise.
21195 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21196 (CFLAGS-msgsnd.c): Likewise.
21197 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21198 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21199 (CFLAGS-tzset.c): Likewise.
21200 (CFLAGS-getdate.c): Likewise.
21201 (CFLAGS-test_time.c): Likewise.
21202 (CPPFLAGS-tst-tzname.c): Likewise.
21203 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21204 (CFLAGS-zic.c): Likewise.
21205 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21206 (CFLAGS-wcswidth.c): Likewise.
21207 (CFLAGS-wcstol.c): Likewise.
21208 (CFLAGS-wcstoul.c): Likewise.
21209 (CFLAGS-wcstoll.c): Likewise.
21210 (CFLAGS-wcstoull.c): Likewise.
21211 (CFLAGS-wcstod.c): Likewise.
21212 (CFLAGS-wcstold.c): Likewise.
21213 (CFLAGS-wcstof128.c): Likewise.
21214 (CFLAGS-wcstof.c): Likewise.
21215 (CFLAGS-wcstol_l.c): Likewise.
21216 (CFLAGS-wcstoul_l.c): Likewise.
21217 (CFLAGS-wcstoll_l.c): Likewise.
21218 (CFLAGS-wcstoull_l.c): Likewise.
21219 (CFLAGS-wcstod_l.c): Likewise.
21220 (CFLAGS-wcstold_l.c): Likewise.
21221 (CFLAGS-wcstof128_l.c): Likewise.
21222 (CFLAGS-wcstof_l.c): Likewise.
21223 (CPPFLAGS-tst-wchar-h.c): Likewise.
21224 (CPPFLAGS-wcstold_l.c): Likewise.
21226 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
21228 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21230 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21231 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21233 * manual/tunables.texi (Hardware Capability Tunables): Document
21234 glibc.tune.cached_memopt.
21235 * sysdeps/powerpc/cpu-features.c: New file.
21236 * sysdeps/powerpc/cpu-features.h: New file.
21237 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21238 _dl_powerpc_cpu_features.
21239 * sysdeps/powerpc/dl-tunables.list: New file.
21240 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21241 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21242 (INIT_ARCH): Initialize use_aligned_memopt.
21243 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21244 IS_IN(rtld))]: Restrict dl_platform_init availability and
21245 initialize CPU features used by tunables.
21246 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21247 Add memcpy-power8-cached.
21248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21249 __memcpy_power8_cached.
21250 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21251 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21254 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21256 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21257 (CFLAGS-noinl-tester.c): Likewise.
21258 (CFLAGS-tst-strlen.c): Likewise.
21259 (CFLAGS-stratcliff.c): Likewise.
21260 (CFLAGS-test-ffs.c): Likewise.
21261 (CFLAGS-tst-inlcall.c): Likewise.
21262 (CFLAGS-tst-xbzero-opt.c): Likewise.
21263 (CFLAGS-memcpy.c): Likewise.
21264 (CFLAGS-wordcopy.c): Likewise.
21266 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21268 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21269 Store r15 on stack and add cfi rule.
21270 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21273 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
21276 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21279 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21281 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21282 Add s_sinf-sse2 and s_sinf-fma.
21283 (CFLAGS-s_sinf-fma.c): New.
21284 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21285 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21286 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21288 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21290 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21292 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21295 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21296 part of result to imaginary part of argument if it is zero and the
21297 real part of the argument is not finite.
21298 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21299 of result to real part of argument if it is zero and the imaginary
21300 part of the argument is not finite.
21302 2017-12-07 Mike FABIAN <mfabian@redhat.com>
21305 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21306 and to the list of locales to be built for testing.
21307 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21308 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21309 and build the collation rules upon that.
21311 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21313 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21314 * manual/math.texi (Mathematics): Document support for _Float32.
21315 * math/Makefile (test-types): Add float32.
21316 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21317 * stdlib/Versions (GLIBC_2.27): Likewise.
21318 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21319 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21320 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21321 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21322 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21323 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21324 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21325 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21326 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21327 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21328 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21329 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21330 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21331 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21332 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21333 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21334 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21335 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21336 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21337 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21338 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21339 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21341 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21342 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21343 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21344 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21345 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21363 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21364 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21365 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21366 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21367 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21368 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21369 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21370 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21371 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21372 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21381 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21382 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21383 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21384 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21385 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21386 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21387 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21388 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21390 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21392 * stdlib/strtof.c: Include <bits/floatn.h>
21393 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21394 and later undefine as macro. Define as weak alias if
21396 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21397 and later undefine as macro. Define as weak alias if
21399 * stdlib/strtof_l.c: Include <bits/floatn.h>
21400 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21401 and later undefine as macro. Define as weak alias if
21403 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21404 and later undefine as macro. Define as weak alias if
21407 * stdlib/strfromf.c: Include <bits/floatn.h>.
21408 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21409 and later undefine as macro and define as weak alias.
21411 * math/test-float32.h: New file.
21413 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21414 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21415 (libm_alias_float_other_r): Create f32 alias.
21416 (libm_alias_float_r): Use semicolon before call to
21417 libm_alias_float_other_r.
21419 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21420 second argument to libm_alias_float_other.
21421 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21422 second argument to libm_alias_float_other.
21423 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21424 argument to libm_alias_float_other.
21427 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21428 real part of result for argument 0 + i * NaN.
21429 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21430 results for tests of 0 + i * NaN.
21432 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21434 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21436 2017-12-06 David S. Miller <davem@davemloft.net>
21438 * sysdeps/sparc/fpu/libm-test-ulps: Update
21439 exp_{downward,towardzero,upward} ulps.
21441 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21443 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21446 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21448 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21450 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21452 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21455 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21458 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21459 and to the list of locales to be built for testing.
21460 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21461 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21462 and build the collation rules upon that.
21464 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21466 * NEWS: Add sinf to list of optimized functions.
21468 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21470 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21471 (__HAVE_FLOAT32X): Likewise.
21472 * manual/math.texi (Mathematics): Document support for _Float64
21474 * math/Makefile (test-types): Add float64 and float32x.
21475 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21477 * stdlib/Versions (GLIBC_2.27): Likewise.
21478 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21479 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21480 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21481 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21482 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21483 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21484 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21485 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21486 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21487 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21488 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21489 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21490 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21491 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21492 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21493 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21494 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21495 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21496 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21497 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21498 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21499 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21501 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21502 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21503 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21504 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21505 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21522 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21523 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21524 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21525 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21526 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21527 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21528 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21529 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21530 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21531 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21540 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21541 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21542 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21543 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21544 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21545 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21546 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21547 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21549 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21551 * bits/floatn-common.h: Include <bits/long-double.h>.
21552 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21553 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21554 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21555 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21556 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21557 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21558 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21559 (__builtin_huge_valf64): Use __builtin_huge_vall.
21560 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21561 (__builtin_inff64): Use __builtin_infl.
21562 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21563 (__builtin_nanf64): Use __builtin_nanl.
21564 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21565 (__builtin_nansf64): Use __builtin_nansl.
21567 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21568 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21569 Carlos O'Donnell <carlos@redhat.com>
21571 * elf/dl-tunables.list: Add elision parameters.
21572 * manual/tunables.texi: Add entries about elision tunable.
21573 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21574 Add callback functions to dynamically enable/disable elision.
21575 Add multiple callbacks functions to set elision parameters.
21576 Deleted __libc_enable_secure check.
21577 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21578 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21579 * configure: Regenerated.
21580 * configure.ac: Option enable_lock_elision was deleted.
21581 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21582 * config.make.in: Remove references to enable_lock_elision.
21583 * manual/install.texi: Elision configure option was removed.
21584 * INSTALL: Regenerated to remove enable_lock_elision.
21586 Disable elision so it can verify error case for destroying a mutex.
21587 * sysdeps/powerpc/nptl/elide.h:
21588 Cleanup ENABLE_LOCK_ELISION check.
21589 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21590 * sysdeps/s390/configure: Regenerated.
21591 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21592 * nptl/tst-mutex8.c:
21593 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21594 * sysdeps/powerpc/powerpc32/sysdep.h:
21595 Deleted all ENABLE_LOCK_ELISION checks.
21596 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21597 * sysdeps/powerpc/sysdep.h: Likewise.
21598 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21599 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21600 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21601 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21602 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21603 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21604 enable-lock-elision.
21606 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21608 * stdlib/strtod.c: Include <bits/floatn.h>.
21609 (BUILD_DOUBLE): New macro.
21610 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21611 (strtof64): Define and later undefine as macro. Define as weak
21612 alias if [!USE_WIDE_CHAR].
21613 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21614 (wcstof64): Define and later undefine as macro. Define as weak
21615 alias if [USE_WIDE_CHAR].
21616 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21617 (strtof32x): Define and later undefine as macro. Define as weak
21618 alias if [!USE_WIDE_CHAR].
21619 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21620 (wcstof32x): Define and later undefine as macro. Define as weak
21621 alias if [USE_WIDE_CHAR].
21622 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21623 (BUILD_DOUBLE): New macro.
21624 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21625 (strtof64_l): Define and later undefine as macro. Define as weak
21626 alias if [!USE_WIDE_CHAR].
21627 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21628 (wcstof64_l): Define and later undefine as macro. Define as weak
21629 alias if [USE_WIDE_CHAR].
21630 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21631 (strtof32x_l): Define and later undefine as macro. Define as weak
21632 alias if [!USE_WIDE_CHAR].
21633 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21634 (wcstof32x_l): Define and later undefine as macro. Define as weak
21635 alias if [USE_WIDE_CHAR].
21637 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21639 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21640 (reduced): Use ones as double instead of integer.
21642 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21644 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21646 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21648 * stdlib/strfromd.c: Include <bits/floatn.h>.
21649 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21650 and later undefine as macro and define as weak alias.
21651 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21654 * math/test-float32x.h: New file.
21655 * math/test-float64.h: Likewise.
21657 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21658 (libm_alias_double_other_r_f64): New macro.
21659 (libm_alias_double_other_r_f32x): Likewise.
21660 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21661 libm_alias_double_other_r_f32x.
21662 (libm_alias_double_r): Use semicolon before call to
21663 libm_alias_double_other_r.
21664 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21666 (libm_alias_double_other_r_f64): New macro.
21667 (libm_alias_double_other_r_f32x): Likewise.
21668 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21669 libm_alias_double_other_r_f32x.
21671 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21673 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21675 (SINF_FUNC): Likewise. Replace floor with simple casts.
21677 2017-12-05 Mike FABIAN <mfabian@redhat.com>
21680 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21681 and to the list of locales to be built for testing.
21682 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21683 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21684 and build the collation rules upon that.
21686 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21688 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21689 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21690 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21691 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21692 instead of __insn__xxx.
21693 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21694 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21695 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21696 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21697 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21698 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21700 2017-12-05 Florian Weimer <fweimer@redhat.com>
21702 Linux: Implement interfaces for memory protection keys
21703 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21705 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21706 * support/xunistd.h (xsysconf): Declare.
21707 * support/xraise.c: New file.
21708 * support/xsigaction.c: Likewise.
21709 * support/xsignal.c: Likewise.
21710 * support/xsysconf.c: Likewise.
21711 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21712 pkey_set, pkey_get, pkey_mprotect.
21713 [misc] (tests): Add tst-pkey.
21714 (tst-pkey): Link with -lpthread.
21715 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21716 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21717 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21718 (PKEY_DISABLE_WRITE): Define.
21719 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21721 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21722 (SEGV_PKUERR): Add.
21723 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21724 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21725 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21726 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21728 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21729 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21730 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21731 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21732 * sysdeps/unix/sysv/linux/**.abilist: Update.
21734 2017-12-05 Florian Weimer <fweimer@redhat.com>
21736 * support/tst-test_compare.c (subprocess): Use long long instead
21737 of long argument for consistent type width across 32-bit and
21738 64-bit architectures.
21739 (do_test): Adjust expected output.
21741 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21743 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21744 (cosf): Define using libm_alias_float.
21745 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21746 (fabsf): Define using libm_alias_float.
21747 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21748 (fmaf): Define using libm_alias_float.
21749 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21750 (rintf): Define using libm_alias_float.
21751 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21752 (sinf): Define using libm_alias_float.
21753 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21754 <libm-alias-float.h>.
21755 (modff): Define using libm_alias_float.
21756 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21757 <libm-alias-float.h>.
21758 (logbf): Define using libm_alias_float.
21759 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21760 <libm-alias-float.h>.
21761 (ceilf): Define using libm_alias_float.
21762 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21763 <libm-alias-float.h>.
21764 (copysignf): Define using libm_alias_float.
21765 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21766 <libm-alias-float.h>.
21767 (floorf): Define using libm_alias_float.
21768 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21769 <libm-alias-float.h>.
21770 (llrintf): Define using libm_alias_float.
21771 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21772 <libm-alias-float.h>.
21773 (llroundf): Define using libm_alias_float.
21774 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21775 <libm-alias-float.h>.
21776 (lrintf): Define using libm_alias_float.
21777 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21778 <libm-alias-float.h>.
21779 (lroundf): Define using libm_alias_float.
21780 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21781 <libm-alias-float.h>.
21782 (nearbyintf): Define using libm_alias_float.
21783 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21784 <libm-alias-float.h>.
21785 (rintf): Define using libm_alias_float.
21786 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21787 <libm-alias-float.h>.
21788 (roundf): Define using libm_alias_float.
21789 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21790 <libm-alias-float.h>.
21791 (truncf): Define using libm_alias_float.
21792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21793 Include <libm-alias-float.h>.
21794 (ceilf): Define using libm_alias_float.
21795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21796 Include <libm-alias-float.h>.
21797 (copysignf): Define using libm_alias_float.
21798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21799 Include <libm-alias-float.h>.
21800 (floorf): Define using libm_alias_float.
21801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21802 Include <libm-alias-float.h>.
21803 (llrintf): Define using libm_alias_float.
21804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21805 Include <libm-alias-float.h>.
21806 (llroundf): Define using libm_alias_float.
21807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21808 Include <libm-alias-float.h>.
21809 (logbf): Define using libm_alias_float.
21810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21811 Include <libm-alias-float.h>.
21812 (lrintf): Define using libm_alias_float.
21813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21814 Include <libm-alias-float.h>.
21815 (lroundf): Define using libm_alias_float.
21816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21817 Include <libm-alias-float.h>.
21818 (modff): Define using libm_alias_float.
21819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21820 Include <libm-alias-float.h>.
21821 (roundf): Define using libm_alias_float.
21822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21823 Include <libm-alias-float.h>.
21824 (truncf): Define using libm_alias_float.
21825 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21826 <libm-alias-float.h>.
21827 (llrintf): Define using libm_alias_float.
21828 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21829 <libm-alias-float.h>.
21830 (llroundf): Define using libm_alias_float.
21831 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21832 <libm-alias-float.h>.
21833 (ceilf): Define using libm_alias_float.
21834 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21835 <libm-alias-float.h>.
21836 (floorf): Define using libm_alias_float.
21837 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21838 <libm-alias-float.h>.
21839 (llroundf): Define using libm_alias_float.
21840 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21841 <libm-alias-float.h>.
21842 (lroundf): Define using libm_alias_float.
21843 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21844 <libm-alias-float.h>.
21845 (roundf): Define using libm_alias_float.
21846 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21847 <libm-alias-float.h>.
21848 (truncf): Define using libm_alias_float.
21849 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21850 <libm-alias-float.h>.
21851 (copysignf): Define using libm_alias_float.
21852 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21853 <libm-alias-float.h>.
21854 (llrintf): Define using libm_alias_float.
21855 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21856 <libm-alias-float.h>.
21857 (llroundf): Define using libm_alias_float.
21858 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21859 <libm-alias-float.h>.
21860 (lrintf): Define using libm_alias_float.
21861 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21862 <libm-alias-float.h>.
21863 (lroundf): Define using libm_alias_float.
21864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21865 <libm-alias-float.h>.
21866 (ceilf): Define using libm_alias_float.
21867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21868 <libm-alias-float.h>.
21869 (copysignf): Define using libm_alias_float.
21870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21871 <libm-alias-float.h>.
21872 (cosf): Define using libm_alias_float.
21873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21874 <libm-alias-float.h>.
21875 (floorf): Define using libm_alias_float.
21876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21877 <libm-alias-float.h>.
21878 (llrintf): Define using libm_alias_float.
21879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21880 <libm-alias-float.h>.
21881 (llroundf): Define using libm_alias_float.
21882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21883 <libm-alias-float.h>.
21884 (logbf): Define using libm_alias_float.
21885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21886 <libm-alias-float.h>.
21887 (modff): Define using libm_alias_float.
21888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21889 <libm-alias-float.h>.
21890 (roundf): Define using libm_alias_float.
21891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21892 <libm-alias-float.h>.
21893 (sinf): Define using libm_alias_float.
21894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21895 <libm-alias-float.h>.
21896 (truncf): Define using libm_alias_float.
21897 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21898 <libm-alias-float.h>.
21899 (ceilf): Define using libm_alias_float.
21900 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21901 <libm-alias-float.h>.
21902 (copysignf): Define using libm_alias_float.
21903 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21904 <libm-alias-float.h>.
21905 (floorf): Define using libm_alias_float.
21906 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21907 <libm-alias-float.h>.
21908 (llrintf): Define using libm_alias_float.
21909 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21910 <libm-alias-float.h>.
21911 (llroundf): Define using libm_alias_float.
21912 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21913 <libm-alias-float.h>.
21914 (nearbyintf): Define using libm_alias_float.
21915 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21916 <libm-alias-float.h>.
21917 (rintf): Define using libm_alias_float.
21918 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21919 <libm-alias-float.h>.
21920 (roundf): Define using libm_alias_float.
21921 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21922 <libm-alias-float.h>.
21923 (truncf): Define using libm_alias_float.
21924 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21925 <libm-alias-float.h>.
21926 (ceilf): Define using libm_alias_float.
21927 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21928 <libm-alias-float.h>.
21929 (floorf): Define using libm_alias_float.
21930 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21931 <libm-alias-float.h>.
21932 (llroundf): Define using libm_alias_float.
21933 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21934 <libm-alias-float.h>.
21935 (roundf): Define using libm_alias_float.
21936 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21937 <libm-alias-float.h>.
21938 (truncf): Define using libm_alias_float.
21939 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21940 <libm-alias-float.h>.
21941 (copysignf): Define using libm_alias_float.
21942 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21943 <libm-alias-float.h>.
21944 (llrintf): Define using libm_alias_float.
21945 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21946 <libm-alias-float.h>.
21947 (llroundf): Define using libm_alias_float.
21948 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21949 <libm-alias-float.h>.
21950 (cosf): Define using libm_alias_float.
21951 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21952 <libm-alias-float.h>.
21953 (llrintf): Define using libm_alias_float.
21954 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21955 <libm-alias-float.h>.
21956 (llroundf): Define using libm_alias_float.
21957 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21958 <libm-alias-float.h>.
21959 (sinf): Define using libm_alias_float.
21961 2017-12-04 Florian Weimer <fweimer@redhat.com>
21963 * support/check.h (TEST_COMPARE): Define.
21964 (support_test_compare_failure): Declare.
21965 * support/Makefile (libsupport-routines): Add
21966 support_test_compare_failure.
21967 (tests): Add tst-test_compare.
21968 * support /support_test_compare_failure.c: New file.
21969 * support/tst-test_compare.c: Likewise.
21971 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21974 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21975 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21976 available, this rewrite of the collation rules does reproduce
21977 the test file in the same order.
21979 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21982 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21983 digraphs in the month and day names. Using single code points for
21984 digraphs is deprecated. While there are dedicated Unicode
21985 codepoints, for the digraphs, these are included for backwards
21986 compatibility and modern texts use a sequence of Basic Latin
21987 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21988 This makes the month and day names agree exactly with CLDR now,
21989 CLDR does not use the single code points for the digraphs either.
21991 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21993 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21995 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21997 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22000 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22002 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22003 Define only for libc.so.
22005 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22007 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22008 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
22009 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
22010 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22011 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22013 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22016 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22018 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
22021 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22022 PREINIT_FUNCTION_WEAK is nonzero.
22023 (gmon_initializer): New function. Put procedure label for it in
22024 .init_array section.
22025 (_init): Don't call PREINIT_FUNCTION.
22026 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22027 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22028 value when map argument is null.
22030 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22031 depi instruction from PIC pc-relative sequence.
22032 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22033 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22034 (elf_machine_load_address): Likewise.
22035 (elf_machine_runtime_setup): Likewise.
22037 2017-12-02 Joseph Myers <joseph@codesourcery.com>
22039 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22040 <libm-alias-double.h>.
22041 (logb): Define using libm_alias_double.
22042 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22043 <libm-alias-double.h>.
22044 (copysign): Define using libm_alias_double.
22045 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22046 <libm-alias-double.h>.
22047 (llrint): Define using libm_alias_double.
22048 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22049 <libm-alias-double.h>.
22050 (llround): Define using libm_alias_double.
22051 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22052 <libm-alias-double.h>.
22053 (lrint): Define using libm_alias_double.
22054 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22055 <libm-alias-double.h>.
22056 (lround): Define using libm_alias_double.
22057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22058 Include <libm-alias-double.h>.
22059 (copysign): Define using libm_alias_double.
22060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22061 Include <libm-alias-double.h>.
22062 (llrint): Define using libm_alias_double.
22063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22064 Include <libm-alias-double.h>.
22065 (llround): Define using libm_alias_double.
22066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22067 <libm-alias-double.h>.
22068 (logb): Define using libm_alias_double.
22069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22070 Include <libm-alias-double.h>.
22071 (lrint): Define using libm_alias_double.
22072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22073 Include <libm-alias-double.h>.
22074 (lround): Define using libm_alias_double.
22075 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22076 <libm-alias-double.h>.
22077 (llrint): Define using libm_alias_double.
22078 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22079 <libm-alias-double.h>.
22080 (llround): Define using libm_alias_double.
22081 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22082 <libm-alias-double.h>.
22083 (llround): Define using libm_alias_double.
22084 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22085 <libm-alias-double.h>.
22086 (lround): Define using libm_alias_double.
22087 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22088 <libm-alias-double.h>.
22089 (copysign): Define using libm_alias_double.
22090 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22091 <libm-alias-double.h>.
22092 (llrint): Define using libm_alias_double.
22093 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22094 <libm-alias-double.h>.
22095 (llround): Define using libm_alias_double.
22096 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22097 <libm-alias-double.h>.
22098 (lrint): Define using libm_alias_double.
22099 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22100 <libm-alias-double.h>.
22101 (lround): Define using libm_alias_double.
22102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22103 <libm-alias-double.h>.
22104 (copysign): Define using libm_alias_double.
22105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22106 <libm-alias-double.h>.
22107 (llrint): Define using libm_alias_double.
22109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22110 <libm-alias-double.h>.
22111 (llround): Define using libm_alias_double.
22112 (lround): Likewise.
22113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22114 <libm-alias-double.h>.
22115 (logb): Define using libm_alias_double.
22116 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22117 <libm-alias-double.h>.
22118 (copysign): Define using libm_alias_double.
22119 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22120 <libm-alias-double.h>.
22121 (llrint): Define using libm_alias_double.
22123 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22124 <libm-alias-double.h>.
22125 (llround): Define using libm_alias_double.
22126 (lround): Likewise.
22127 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22128 <libm-alias-double.h>.
22129 (llround): Define using libm_alias_double.
22130 (lround): Likewise.
22131 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22132 <libm-alias-double.h>.
22133 (copysign): Define using libm_alias_double.
22134 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22135 <libm-alias-double.h>.
22136 (llrint): Define using libm_alias_double.
22138 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22139 <libm-alias-double.h>.
22140 (llround): Define using libm_alias_double.
22141 (lround): Likewise.
22142 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22143 <libm-alias-double.h>.
22144 (llrint): Define using libm_alias_double.
22146 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22147 <libm-alias-double.h>.
22148 (llround): Define using libm_alias_double.
22149 (lround): Likewise.
22151 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22154 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22155 compat symbol based on llround.
22157 * sysdeps/powerpc/power7/fpu/s_logb.c
22158 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22159 symbol based on __logb, not on logb.
22160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22161 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22163 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22165 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22166 (rint): Define using libm_alias_double.
22167 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22168 <libm-alias-double.h>.
22169 (modf): Define using libm_alias_double.
22170 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22171 <libm-alias-double.h>.
22172 (ceil): Define using libm_alias_double.
22173 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22174 <libm-alias-double.h>.
22175 (floor): Define using libm_alias_double.
22176 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22177 <libm-alias-double.h>.
22178 (nearbyint): Define using libm_alias_double.
22179 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22180 <libm-alias-double.h>.
22181 (rint): Define using libm_alias_double.
22182 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22183 <libm-alias-double.h>.
22184 (round): Define using libm_alias_double.
22185 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22186 <libm-alias-double.h>.
22187 (trunc): Define using libm_alias_double.
22188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22189 <libm-alias-double.h>.
22190 (ceil): Define using libm_alias_double.
22191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22192 Include <libm-alias-double.h>.
22193 (floor): Define using libm_alias_double.
22194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22195 <libm-alias-double.h>.
22196 (modf): Define using libm_alias_double.
22197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22198 Include <libm-alias-double.h>.
22199 (round): Define using libm_alias_double.
22200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22201 Include <libm-alias-double.h>.
22202 (trunc): Define using libm_alias_double.
22203 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22204 <libm-alias-double.h>.
22205 (ceil): Define using libm_alias_double.
22206 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22207 <libm-alias-double.h>.
22208 (floor): Define using libm_alias_double.
22209 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22210 <libm-alias-double.h>.
22211 (round): Define using libm_alias_double.
22212 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22213 <libm-alias-double.h>.
22214 (trunc): Define using libm_alias_double.
22215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22216 <libm-alias-double.h>.
22217 (ceil): Define using libm_alias_double.
22218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22219 <libm-alias-double.h>.
22220 (floor): Define using libm_alias_double.
22221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22222 <libm-alias-double.h>.
22223 (modf): Define using libm_alias_double.
22224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22225 <libm-alias-double.h>.
22226 (round): Define using libm_alias_double.
22227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22228 <libm-alias-double.h>.
22229 (trunc): Define using libm_alias_double.
22230 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22231 <libm-alias-double.h>.
22232 (ceil): Define using libm_alias_double.
22233 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22234 <libm-alias-double.h>.
22235 (floor): Define using libm_alias_double.
22236 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22237 <libm-alias-double.h>.
22238 (nearbyint): Define using libm_alias_double.
22239 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22240 <libm-alias-double.h>.
22241 (rint): Define using libm_alias_double.
22242 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22243 <libm-alias-double.h>.
22244 (round): Define using libm_alias_double.
22245 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22246 <libm-alias-double.h>.
22247 (trunc): Define using libm_alias_double.
22248 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22249 <libm-alias-double.h>.
22250 (ceil): Define using libm_alias_double.
22251 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22252 <libm-alias-double.h>.
22253 (floor): Define using libm_alias_double.
22254 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22255 <libm-alias-double.h>.
22256 (round): Define using libm_alias_double.
22257 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22258 <libm-alias-double.h>.
22259 (trunc): Define using libm_alias_double.
22261 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22262 (fabs): Define using libm_alias_double.
22263 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22264 (fma): Define using libm_alias_double.
22265 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22266 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22267 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22268 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22270 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22272 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22274 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22275 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22276 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22279 due redirect macro.
22281 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22283 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22285 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22287 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22288 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22289 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22290 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22293 (libm-sysdep_routines): Add s_nearbyintf-generic and
22294 s_nearbyint-generic.
22295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22308 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22319 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22330 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22341 (sysdep_calls): New rule.
22342 (sysdep_routines): Use sysdep_calls as base.
22343 (libm-sysdep_routines): Add generic rule for symbols shared with
22344 libc. Add s_copysign-generic and s_copysign-generic objects.
22345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22354 2017-12-01 Mike FABIAN <mfabian@redhat.com>
22357 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22358 the list of locales to be built for testing.
22359 * localedata/is_IS.UTF-8.in: New file.
22360 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22363 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22365 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22366 <libm-alias-float.h>.
22367 (fabsf): Define using libm_alias_float.
22369 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22371 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22373 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22375 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22376 <libm-alias-float.h>.
22377 (fabsf): Define using libm_alias_float.
22378 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22379 <libm-alias-float.h>.
22380 (lrintf): Define using libm_alias_float.
22381 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22382 <libm-alias-float.h>.
22383 (rintf): Define using libm_alias_float.
22385 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22386 <libm-alias-double.h>.
22387 (fabs): Define using libm_alias_double.
22388 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22389 <libm-alias-double.h>.
22390 (lrint): Define using libm_alias_double.
22391 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22392 <libm-alias-double.h>.
22393 (rint): Define using libm_alias_double.
22395 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22396 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22397 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22398 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22399 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22400 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22401 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22402 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22403 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22404 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22405 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22406 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22407 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22408 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22409 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22410 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22411 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22412 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22414 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22415 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22416 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22418 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22419 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22420 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22422 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22423 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22424 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22425 s_expm1_template.c.
22426 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22427 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22428 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22430 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22431 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22432 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22433 s_floor_template.c.
22434 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22435 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22436 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22437 s_frexp_template.c.
22438 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22439 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22440 s_lrint_template.c.
22441 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22442 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22443 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22445 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22446 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22447 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22448 s_nearbyint_template.c.
22449 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22450 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22451 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22452 s_remquo_template.c.
22453 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22454 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22455 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22457 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22458 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22459 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22461 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22462 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22463 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22464 s_sincos_template.c.
22465 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22466 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22467 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22469 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22470 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22471 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22473 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22474 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22475 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22476 s_trunc_template.c.
22477 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22478 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22479 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22480 s_atan.c instead of including s_atan.c.
22481 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22482 s_atanf.c instead of including s_atanf.c.
22483 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22484 s_atanl.c instead of including s_atanl.c.
22485 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22486 instead of s_atan.c.
22487 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22488 instead of s_atanf.c.
22489 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22490 instead of s_atanl.c.
22492 * scripts/update-copyrights: Do not handle intl/plural.c
22495 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22498 * configure.ac (BISON): Require to be present.
22499 * configure: Regenerated.
22500 * intl/Makefile (generated): Add plural.c.
22501 [$(BISON) != no]: Make code unconditional.
22502 (plural.c): Change rule to $(objpfx)plural.c.
22503 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22504 * intl/plural.c: Remove.
22505 * manual/install.texi (Tools for Compilation): Document bison as
22507 * INSTALL: Regenerated.
22509 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22511 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22512 <libm-alias-double.h>.
22513 (llrint): Define using libm_alias_double.
22514 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22515 <libm-alias-float.h>.
22516 (llrintf): Define using libm_alias_float.
22517 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22518 <libm-alias-ldouble.h>.
22519 (llrintl): Define using libm_alias_ldouble.
22521 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22522 declare_mgen_alias instead of weak_alias.
22523 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22524 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22525 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22527 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22529 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22531 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22532 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22533 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22535 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22536 Add submul_1-generic.
22537 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22538 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22539 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22541 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22542 Add addmul_1-generic.
22543 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22544 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22545 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22547 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22549 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22550 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22551 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22553 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22555 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22556 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22557 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22559 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22561 According to CLDR, collation rules for Serbian and Bosnian
22562 should be the same as for Croatian.
22565 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22566 and to the list of locales to be built for testing.
22567 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22568 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22569 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22570 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22572 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22574 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22575 to make test case pass.
22576 * localedata/hr_HR.UTF-8.in: Add more test strings.
22578 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22580 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22582 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22584 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22585 the list of locales to built for testing.
22586 * localedata/hr_HR.UTF-8.in: New file.
22588 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22591 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22593 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22594 CLDR (except use ligatures for the digraphs, CLDR does not use
22595 the ligatures), add first_workday, some fixes in the date and time
22597 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22599 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22600 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22601 Add int_p_cs_precedes and int_n_cs_precedes.
22602 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22603 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22605 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22606 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22608 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22609 and lang_lib. Change postal_fmt.
22611 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22613 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22615 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22616 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22617 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22618 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22619 * sysdeps/generic/setjmpP.h: New file.
22620 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22621 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22622 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22623 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22624 Add jmp_buf-ssp.sym.
22625 (tests): Add tst-saved_mask-1.
22627 2017-11-30 Arjun Shankar <arjun@redhat.com>
22631 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22632 instead of request2size.
22634 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22637 (__lllrint): Remove alias.
22638 (lllrint): Likewise.
22639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22640 (__lllrintf): Likewise.
22641 (lllrintf): Likewise.
22643 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22644 <libm-alias-float.h>.
22645 (copysignf): Define using libm_alias_float.
22646 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22647 <libm-alias-float.h>.
22648 (fabsf): Define using libm_alias_float.
22649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22650 Include <libm-alias-float.h>.
22651 (copysignf): Define using libm_alias_float.
22652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22653 <libm-alias-float.h>.
22654 (fabsf): Define using libm_alias_float.
22655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22656 <libm-alias-float.h>.
22657 (fdimf): Define using libm_alias_float.
22658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22659 <libm-alias-float.h>.
22660 (fmaf): Define using libm_alias_float.
22661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22662 <libm-alias-float.h>.
22663 (llrintf): Define using libm_alias_float.
22664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22665 Include <libm-alias-float.h>.
22666 (nearbyintf): Define using libm_alias_float.
22667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22668 <libm-alias-float.h>.
22669 (rintf): Define using libm_alias_float.
22670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22671 <libm-alias-float.h>.
22672 (llrintf): Define using libm_alias_float.
22673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22674 <libm-alias-float.h>.
22675 (lrintf): Define using libm_alias_float.
22676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22677 <libm-alias-float.h>.
22678 (nearbyintf): Define using libm_alias_float.
22679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22680 <libm-alias-float.h>.
22681 (rintf): Define using libm_alias_float.
22682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22683 <libm-alias-float.h>.
22684 (ceilf): Define using libm_alias_float.
22685 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22686 <libm-alias-float.h>.
22687 (floorf): Define using libm_alias_float.
22688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22689 <libm-alias-float.h>.
22690 (fmaf): Define using libm_alias_float.
22691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22692 <libm-alias-float.h>.
22693 (lrintf): Define using libm_alias_float.
22694 (llrintf): Likewise.
22695 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22696 <libm-alias-float.h>.
22697 (nearbyintf): Define using libm_alias_float.
22698 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22699 <libm-alias-float.h>.
22700 (rintf): Define using libm_alias_float.
22701 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22702 <libm-alias-float.h>.
22703 (truncf): Define using libm_alias_float.
22704 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22705 <libm-alias-float.h>.
22706 (copysignf): Define using libm_alias_float.
22707 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22708 <libm-alias-float.h>.
22709 (fabsf): Define using libm_alias_float.
22710 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22711 <libm-alias-float.h>.
22712 (lrintf): Define using libm_alias_float.
22713 (llrintf): Likewise.
22714 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22715 <libm-alias-float.h>.
22716 (nearbyintf): Define using libm_alias_float.
22717 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22718 <libm-alias-float.h>.
22719 (rintf): Define using libm_alias_float.
22721 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22723 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22724 <libm-alias-double.h>.
22725 (copysign): Define using libm_alias_double.
22726 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22727 <libm-alias-double.h>.
22728 (fabs): Define using libm_alias_double.
22729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22730 Include <libm-alias-double.h>.
22731 (copysign): Define using libm_alias_double.
22732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22733 <libm-alias-double.h>.
22734 (fabs): Define using libm_alias_double.
22735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22736 <libm-alias-double.h>.
22737 (fdim): Define using libm_alias_double.
22738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22739 <libm-alias-double.h>.
22740 (fma): Define using libm_alias_double.
22741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22742 <libm-alias-double.h>.
22743 (llrint): Define using libm_alias_double.
22744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22745 Include <libm-alias-double.h>.
22746 (nearbyint): Define using libm_alias_double.
22747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22748 <libm-alias-double.h>.
22749 (rint): Define using libm_alias_double.
22750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22751 <libm-alias-double.h>.
22752 (fabs): Define using libm_alias_double.
22753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22754 <libm-alias-double.h>.
22755 (llrint): Define using libm_alias_double.
22756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22757 <libm-alias-double.h>.
22758 (nearbyint): Define using libm_alias_double.
22759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22760 <libm-alias-double.h>.
22761 (rint): Define using libm_alias_double.
22762 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22763 <libm-alias-double.h>.
22764 (ceil): Define using libm_alias_double.
22765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22766 <libm-alias-double.h>.
22767 (floor): Define using libm_alias_double.
22768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22769 <libm-alias-double.h>.
22770 (fma): Define using libm_alias_double.
22771 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22772 <libm-alias-double.h>.
22773 (lrint): Define using libm_alias_double.
22774 (llrint): Likewise.
22775 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22776 <libm-alias-double.h>.
22777 (nearbyint): Define using libm_alias_double.
22778 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22779 <libm-alias-double.h>.
22780 (rint): Define using libm_alias_double.
22781 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22782 <libm-alias-double.h>.
22783 (trunc): Define using libm_alias_double.
22784 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22785 <libm-alias-double.h>.
22786 (copysign): Define using libm_alias_double.
22787 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22788 <libm-alias-double.h>.
22789 (fabs): Define using libm_alias_double.
22790 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22791 <libm-alias-double.h>.
22792 (lrint): Define using libm_alias_double.
22793 (llrint): Likewise.
22794 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22795 <libm-alias-double.h>.
22796 (nearbyint): Define using libm_alias_double.
22797 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22798 <libm-alias-double.h>.
22799 (rint): Define using libm_alias_double.
22802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22804 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22806 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22807 SPARC --disable-multi-arch glibc variants.
22809 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22810 <libm-alias-float.h>.
22811 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22813 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22814 <libm-alias-float.h>.
22815 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22817 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22818 <libm-alias-float.h>.
22819 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22821 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22822 <libm-alias-float.h>.
22823 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22825 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22826 <libm-alias-float.h>.
22827 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22829 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22830 <libm-alias-float.h>.
22831 (ceilf): Define using libm_alias_float.
22832 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22833 <libm-alias-float.h>.
22834 (floorf): Define using libm_alias_float.
22835 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22836 <libm-alias-float.h>.
22837 (fmaf): Define using libm_alias_float.
22838 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22839 <libm-alias-float.h>.
22840 (nearbyintf): Define using libm_alias_float.
22841 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22842 <libm-alias-float.h>.
22843 (rintf): Define using libm_alias_float.
22844 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22845 <libm-alias-float.h>.
22846 (truncf): Define using libm_alias_float.
22847 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22848 (copysignf): Define using libm_alias_float.
22849 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22850 (cosf): Define using libm_alias_float.
22851 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22852 (fabsf): Define using libm_alias_float.
22853 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22854 (fmaxf): Define using libm_alias_float.
22855 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22856 (fminf): Define using libm_alias_float.
22857 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22858 (llrintf): Define using libm_alias_float.
22859 [!__ILP32__] (lrintf): Likewise.
22860 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22861 (sincosf): Define using libm_alias_float.
22862 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22863 (sinf): Define using libm_alias_float.
22864 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22865 (lrintf): Define using libm_alias_float.
22867 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22868 <libm-alias-double.h>.
22869 (atan): Define using libm_alias_double.
22870 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22871 <libm-alias-double.h>.
22872 (ceil): Define using libm_alias_double.
22873 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22874 <libm-alias-double.h>.
22875 (floor): Define using libm_alias_double.
22876 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22877 <libm-alias-double.h>.
22878 (fma): Define using libm_alias_double.
22879 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22880 <libm-alias-double.h>.
22881 (nearbyint): Define using libm_alias_double.
22882 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22883 <libm-alias-double.h>.
22884 (rint): Define using libm_alias_double.
22885 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22886 <libm-alias-double.h>.
22887 (sin): Define using libm_alias_double.
22889 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22890 <libm-alias-double.h>.
22891 (tan): Define using libm_alias_double.
22892 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22893 <libm-alias-double.h>.
22894 (trunc): Define using libm_alias_double.
22895 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22896 (copysign): Define using libm_alias_double.
22897 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22898 (fabs): Define using libm_alias_double.
22899 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22900 (fmax): Define using libm_alias_double.
22901 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22902 (fmin): Define using libm_alias_double.
22903 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22904 (llrint): Define using libm_alias_double.
22905 [!__ILP32__] (lrint): Likewise.
22906 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22907 (lrint): Define using libm_alias_double.
22909 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22911 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22912 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22914 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22916 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22917 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22918 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22919 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22922 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22924 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22925 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22926 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22927 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22928 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22929 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22932 (libm-sysdep_routines): Add s_nearbyint-generic and
22933 s_nearbyintf-generic objects.
22934 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22935 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22936 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22937 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22938 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22939 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22942 Add s_finitef-generic and s_finite-generic objects.
22943 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22944 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22945 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22946 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22947 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22948 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22950 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22951 Add s_isinff-generic and s_isinf-generic objects.
22952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22959 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22960 Add s_isnanf-generic and s_isnan-generic objects.
22961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22964 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22965 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22968 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22970 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22972 (sysdep_routines): Use sysdep_calls as base.
22973 (libm-sysdep_routines): Add generic rule for symbols shared with
22974 libc. Add s_signbit-generic and s_signbitf-generic objects.
22975 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22976 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22977 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22978 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22979 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22980 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22982 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22984 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22985 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22986 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22987 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22988 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22989 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22990 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22991 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22992 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22993 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22994 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22995 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22996 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22997 libm_alias_float_r.
22998 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22999 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23001 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23002 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23003 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23004 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23005 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23006 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23007 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23008 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23009 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23010 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23012 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23014 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23015 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23016 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23017 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23018 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23019 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23020 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23021 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23022 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23023 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23024 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23025 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23026 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23027 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23028 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23029 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23030 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23031 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23032 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23034 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23035 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23036 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23037 * sysdeps/ia64/fpu/w_lgammaf_main.c
23038 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23039 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23041 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23042 Alexandre Oliva <aoliva@redhat.com>
23045 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23046 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23048 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23050 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23051 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23052 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23053 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23054 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23055 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23056 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23057 instead of “ifdef DIACRIT_BACKWARD”.
23059 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23061 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23062 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23063 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23064 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23065 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23066 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23073 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23074 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23075 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23076 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23077 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23078 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23080 ($(have-as-vis3) == yes): Remove conditional.
23081 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23094 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23097 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23098 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23100 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23102 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23103 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23104 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23105 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23106 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23107 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23108 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23109 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23110 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23111 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23112 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23113 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23114 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23115 libm_alias_double_r.
23116 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23118 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23119 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23120 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23121 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23122 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23123 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23124 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23125 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23126 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23127 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23128 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23130 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23132 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23133 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23134 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23135 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23136 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23137 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23138 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23139 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23140 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23141 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23142 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23143 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23144 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23145 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23146 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23147 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23148 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23149 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23151 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23152 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23153 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23154 * sysdeps/ia64/fpu/w_lgamma_main.c
23155 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23156 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23158 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
23160 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23161 address of $global$ into %dp register earlier. Use pc-relative
23162 instruction sequence for PIC case.
23164 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23166 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23167 (asinhf): Define using libm_alias_float.
23168 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23169 (atanf): Define using libm_alias_float.
23170 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23171 (cbrtf): Define using libm_alias_float.
23172 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23173 (ceilf): Define using libm_alias_float.
23174 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23175 (copysignf): Define using libm_alias_float.
23176 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23177 (expm1f): Define using libm_alias_float.
23178 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23179 (fabsf): Define using libm_alias_float.
23180 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23181 (floorf): Define using libm_alias_float.
23182 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23183 (fmaxf): Define using libm_alias_float.
23184 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23185 (fminf): Define using libm_alias_float.
23186 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23187 (frexpf): Define using libm_alias_float.
23188 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23189 (llrintf): Define using libm_alias_float.
23190 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23191 (logbf): Define using libm_alias_float.
23192 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23193 (lrintf): Define using libm_alias_float.
23194 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23195 (nearbyintf): Define using libm_alias_float.
23196 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23197 (remquof): Define using libm_alias_float.
23198 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23199 (rintf): Define using libm_alias_float.
23200 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23201 (truncf): Define using libm_alias_float.
23202 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23203 <libm-alias-float.h>.
23204 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23206 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23207 <libm-alias-float.h>.
23208 (expf): Define using libm_alias_float, or libm_alias_float_other
23210 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23211 <libm-alias-float.h>.
23212 (log2f): Define using libm_alias_float, or libm_alias_float_other
23214 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23215 <libm-alias-float.h>.
23216 (logf): Define using libm_alias_float, or libm_alias_float_other
23218 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23219 <libm-alias-float.h>.
23220 (powf): Define using libm_alias_float, or libm_alias_float_other
23222 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23223 <libm-alias-float.h>.
23224 (cosf): Define using libm_alias_float.
23225 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23226 <libm-alias-float.h>.
23227 (sincosf): Define using libm_alias_float.
23228 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23229 <libm-alias-float.h>.
23230 (sinf): Define using libm_alias_float.
23231 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23232 (fmaxf): Define using libm_alias_float.
23233 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23234 (fminf): Define using libm_alias_float.
23235 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23236 <libm-alias-float.h>.
23237 (fmaf): Define using libm_alias_float.
23239 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23240 (asinh): Define using libm_alias_double.
23241 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23242 (atan): Define using libm_alias_double.
23243 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23244 (cbrt): Define using libm_alias_double.
23245 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23246 (ceil): Define using libm_alias_double.
23247 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23248 (copysign): Define using libm_alias_double.
23249 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23250 (expm1): Define using libm_alias_double.
23251 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23252 (fabs): Define using libm_alias_double.
23253 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23254 (fdim): Define using libm_alias_double.
23255 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23256 (floor): Define using libm_alias_double.
23257 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23258 (fmax): Define using libm_alias_double.
23259 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23260 (fmin): Define using libm_alias_double.
23261 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23262 (frexp): Define using libm_alias_double.
23263 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23264 (llrint): Define using libm_alias_double.
23265 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23266 (logb): Define using libm_alias_double.
23267 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23268 (lrint): Define using libm_alias_double.
23269 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23270 (nearbyint): Define using libm_alias_double.
23271 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23272 (remquo): Define using libm_alias_double.
23273 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23274 (rint): Define using libm_alias_double.
23275 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23276 (trunc): Define using libm_alias_double.
23277 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23278 (fmax): Define using libm_alias_double.
23279 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23280 (fmin): Define using libm_alias_double.
23281 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23282 (fma): Define using libm_alias_double.
23284 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23287 * elf/dl-hwcaps.c (ROUND): Removed.
23288 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23289 and ELF_NOTE_NEXT_OFFSET.
23290 * elf/dl-load.c (ROUND): Removed.
23291 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23292 * elf/readelflib.c (ROUND): Removed.
23293 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23294 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23295 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23296 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23298 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23300 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23301 [!__fmaf] (fmaf): Define using libm_alias_float.
23303 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23304 [!__fma] (fma): Define using libm_alias_double.
23305 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23307 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23310 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23311 and implement the collation rules for cs from CLDR on top of that.
23312 * Makefile: Add cs_CZ.UTF-8 to test-input.
23313 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23315 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23317 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23319 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23320 Icarus Sparry <icarus.w.sparry@intel.com>
23322 * benchtests/Makefile:Add BENCHSET to allow subsets of
23323 benchmarks to be run.
23324 * benchtests/README: Add documentation for: Running subsets of
23327 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23329 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23330 range of tests names.
23332 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23333 result from property and remove "max", min" and "mean" from
23334 required properties based on benchtests/bench-skeleton.c.
23336 2017-11-28 Florian Weimer <fweimer@redhat.com>
23339 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23340 due to Internet requirement.
23341 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23343 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23345 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23347 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23348 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23349 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23350 (sysdep_routines): Add memset-ultra1.
23351 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23353 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23354 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23355 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23356 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23357 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23358 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23359 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23360 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23362 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23364 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23365 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23366 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23367 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23368 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23369 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23370 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23372 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23373 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23374 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23375 (sysdep_routines): Add memcpy-ultra1.
23376 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23377 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23379 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23381 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23382 (cfloat_versions): Take function argument without trailing 'f'.
23383 Call libm_alias_float_other.
23384 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23385 * sysdeps/alpha/fpu/cargf.c: Likewise.
23386 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23387 * sysdeps/alpha/fpu/conjf.c: Likewise.
23388 * sysdeps/alpha/fpu/crealf.c: Likewise.
23389 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23390 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23391 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23392 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23393 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23394 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23395 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23396 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23397 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23398 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23399 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23400 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23401 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23402 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23403 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23404 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23405 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23406 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23407 (clog10f): Use libm_alias_float_other.
23408 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23409 (ceilf): Define using libm_alias_float.
23410 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23411 (copysignf): Define using libm_alias_float.
23412 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23413 (fabsf): Define using libm_alias_float.
23414 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23415 (floorf): Define using libm_alias_float.
23416 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23417 (fmaxf): Define using libm_alias_float.
23418 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23419 (fminf): Define using libm_alias_float.
23420 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23421 (lrintf): Define using libm_alias_float.
23422 (llrintf): Likewise.
23423 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23424 (lroundf): Define using libm_alias_float.
23425 (llroundf): Likewise.
23426 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23427 (rintf): Define using libm_alias_float.
23428 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23429 (truncf): Define using libm_alias_float.
23431 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23432 (ceilf): Define using libm_alias_float.
23433 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23434 (floorf): Define using libm_alias_float.
23435 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23436 (fmaf): Define using libm_alias_float.
23437 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23438 (fmaxf): Define using libm_alias_float.
23439 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23440 (fminf): Define using libm_alias_float.
23441 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23442 (llrintf): Define using libm_alias_float.
23443 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23444 (llroundf): Define using libm_alias_float.
23445 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23446 (lrintf): Define using libm_alias_float.
23447 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23448 (lroundf): Define using libm_alias_float.
23449 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23450 <libm-alias-float.h>.
23451 (nearbyintf): Define using libm_alias_float.
23452 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23453 (rintf): Define using libm_alias_float.
23454 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23455 (roundf): Define using libm_alias_float.
23456 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23457 (truncf): Define using libm_alias_float.
23459 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23460 (ceil): Define using libm_alias_double.
23461 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23462 (copysign): Define using libm_alias_double.
23463 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23464 (fabs): Define using libm_alias_double.
23465 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23466 (floor): Define using libm_alias_double.
23467 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23468 (fmax): Define using libm_alias_double.
23469 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23470 (fmin): Define using libm_alias_double.
23471 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23472 (lrint): Define using libm_alias_double.
23473 (llrint): Likewise.
23474 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23475 (lround): Define using libm_alias_double.
23476 (llround): Likewise.
23477 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23478 (rint): Define using libm_alias_double.
23479 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23480 (trunc): Define using libm_alias_double.
23482 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23483 (libm_alias_double_r): Add semicolon after weak_alias call.
23485 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23487 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23488 (ceil): Define using libm_alias_double.
23489 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23490 (floor): Define using libm_alias_double.
23491 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23492 (fma): Define using libm_alias_double.
23493 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23494 (fmax): Define using libm_alias_double.
23495 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23496 (fmin): Define using libm_alias_double.
23497 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23498 (llrint): Define using libm_alias_double.
23499 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23500 (llround): Define using libm_alias_double.
23501 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23502 (lrint): Define using libm_alias_double.
23503 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23504 (lround): Define using libm_alias_double.
23505 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23506 (nearbyint): Define using libm_alias_double.
23507 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23508 (rint): Define using libm_alias_double.
23509 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23510 (round): Define using libm_alias_double.
23511 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23512 (trunc): Define using libm_alias_double.
23514 2017-11-27 Florian Weimer <fweimer@redhat.com>
23516 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23517 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23518 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23519 (tests): Add tst-mlock2.
23520 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23521 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23522 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23523 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23524 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23525 for mlock. Document mlock2.
23527 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23529 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23530 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23532 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23534 * sysdeps/x86/Makeconfig: New file.
23535 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23536 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23537 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23538 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23539 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23540 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23541 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23543 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23544 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23545 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23546 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23547 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23548 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23549 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23550 * manual/math.texi (Mathematics): Document support for _Float64x.
23551 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23552 * stdlib/Versions (GLIBC_2.27): Likewise.
23553 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23554 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23555 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23556 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23557 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23558 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23559 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23560 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23561 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23562 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23563 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23564 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23569 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23570 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23571 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23572 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23573 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23574 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23575 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23576 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23577 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23578 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23579 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23580 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23581 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23582 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23584 2017-11-27 Andreas Schwab <schwab@suse.de>
23586 * elf/Makefile (dl-routines): Add dl-sort-maps.
23587 * elf/dl-sort-maps.c: New file.
23588 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23589 (_dl_sort_maps): Declare.
23590 * elf/dl-fini.c (_dl_sort_fini): Remove.
23591 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23592 * elf/dl-close.c (_dl_close_worker): Likewise.
23593 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23595 * elf/dl-open.c (dl_open_worker): Likewise.
23597 2017-11-24 Joseph Myers <joseph@codesourcery.com>
23599 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23600 using libm_alias_float128.
23601 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23603 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23605 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23606 (setpayloadsigf128): Likewise.
23607 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23609 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23612 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23613 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23614 -mfloat128 to CFLAGS.
23616 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23618 (CFLAGS-libm-test-support-float64x.c): New variable.
23619 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23620 $(f128-loader-link) to gnulib-tests.
23622 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23623 (libm_alias_float128_other_r): If
23624 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23626 (libm_alias_float128_r): Add semicolon after weak_alias call.
23627 * sysdeps/generic/libm-alias-ldouble.h
23628 (libm_alias_ldouble_other_r_f128): New macro.
23629 (libm_alias_ldouble_other_r_f64x): Likewise.
23630 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23631 and libm_alias_ldouble_other_r_f64x.
23632 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23633 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23634 (libm_alias_ldouble_other_r_f128): New macro.
23635 (libm_alias_ldouble_other_r_f64x): Likewise.
23636 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23637 and libm_alias_ldouble_other_r_f64x.
23639 * stdlib/strfroml.c: Always include <stdlib.h>.
23640 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23641 undefine as macro and define as weak alias.
23642 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23643 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23645 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23646 Define and later undefine as macro and define as weak alias.
23648 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23649 Define and later undefine as macro. Define as weak alias if
23651 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23652 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23653 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23654 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23655 Define and later undefine as macro. Define as weak alias if
23657 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23658 Define and later undefine as macro. Define as weak alias if
23660 * sysdeps/ieee754/float128/strtof128_l.c
23661 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23662 Define and later undefine as macro. Define as weak alias if
23664 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23665 Define and later undefine as macro. Define as weak alias if
23667 * sysdeps/ieee754/ldbl-128/strtold_l.c
23668 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23669 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23670 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23671 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23672 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23673 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23674 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23675 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23676 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23677 * sysdeps/ieee754/ldbl-96/strtold_l.c
23678 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23679 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23680 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23681 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23683 * math/test-float64x.h: New file.
23684 * math/Makefile (type-float64x-yes): New variable.
23685 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23687 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23688 function-like macro.
23689 (min_of_type_): Likewise.
23690 (min_of_type_l): Likewise.
23691 (min_of_type_f128): Likewise.
23692 (min_of_type): Pass () as last argument of __MATH_TG.
23694 * stdlib/tst-strtod-round-skeleton.c
23695 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23698 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23699 for combinations of long double with _Float64 and _Float64x.
23701 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23702 (__DECL_SIMD_cosf32): Likewise.
23703 (__DECL_SIMD_cosf64): Likewise.
23704 (__DECL_SIMD_cosf32x): Likewise.
23705 (__DECL_SIMD_cosf64x): Likewise.
23706 (__DECL_SIMD_cosf128x): Likewise.
23707 (__DECL_SIMD_sinf16): Likewise.
23708 (__DECL_SIMD_sinf32): Likewise.
23709 (__DECL_SIMD_sinf64): Likewise.
23710 (__DECL_SIMD_sinf32x): Likewise.
23711 (__DECL_SIMD_sinf64x): Likewise.
23712 (__DECL_SIMD_sinf128x): Likewise.
23713 (__DECL_SIMD_sincosf16): Likewise.
23714 (__DECL_SIMD_sincosf32): Likewise.
23715 (__DECL_SIMD_sincosf64): Likewise.
23716 (__DECL_SIMD_sincosf32x): Likewise.
23717 (__DECL_SIMD_sincosf64x): Likewise.
23718 (__DECL_SIMD_sincosf128x): Likewise.
23719 (__DECL_SIMD_logf16): Likewise.
23720 (__DECL_SIMD_logf32): Likewise.
23721 (__DECL_SIMD_logf64): Likewise.
23722 (__DECL_SIMD_logf32x): Likewise.
23723 (__DECL_SIMD_logf64x): Likewise.
23724 (__DECL_SIMD_logf128x): Likewise.
23725 (__DECL_SIMD_expf16): Likewise.
23726 (__DECL_SIMD_expf32): Likewise.
23727 (__DECL_SIMD_expf64): Likewise.
23728 (__DECL_SIMD_expf32x): Likewise.
23729 (__DECL_SIMD_expf64x): Likewise.
23730 (__DECL_SIMD_expf128x): Likewise.
23731 (__DECL_SIMD_powf16): Likewise.
23732 (__DECL_SIMD_powf32): Likewise.
23733 (__DECL_SIMD_powf64): Likewise.
23734 (__DECL_SIMD_powf32x): Likewise.
23735 (__DECL_SIMD_powf64x): Likewise.
23736 (__DECL_SIMD_powf128x): Likewise.
23738 * stdlib/Versions (libc): Move entries for wcstof128 and
23739 wcstof128_l to ....
23740 * wcsmbs/Versions (libc): ... here.
23741 Include <float128-abi.h>.
23743 2017-11-24 Florian Weimer <fweimer@redhat.com>
23745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23746 bits/mman-shared.h.
23747 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23748 <bits/mman-shared.h>.
23749 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23751 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23752 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23753 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23754 <bits/mman-shared.h>.
23756 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23759 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23760 posix_memalign/free.
23761 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23763 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23766 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23767 and implement the collation rules for pl from CLDR on top of that.
23768 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23769 of locales to be built for testing.
23770 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23772 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23774 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23775 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23776 libm_alias_ldouble_other.
23777 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23778 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23779 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23780 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23781 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23782 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23783 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23784 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23785 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23786 libm_alias_ldouble_r.
23787 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23788 libm_alias_ldouble_other.
23789 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23790 (log10l): Likewise.
23791 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23792 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23793 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23794 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23795 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23796 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23797 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23798 (atan2l): Likewise.
23799 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23800 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23801 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23802 libm_alias_ldouble.
23803 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23805 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23806 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23807 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23809 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23810 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23811 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23812 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23813 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23814 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23815 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23816 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23817 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23818 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23819 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23820 libm_alias_ldouble.
23821 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23822 libm_alias_ldouble_other.
23823 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23824 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23825 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23826 libm_alias_ldouble.
23827 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23828 libm_alias_ldouble_other.
23829 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23830 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23831 * sysdeps/ia64/fpu/w_lgammal_main.c
23832 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23833 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23835 2017-11-23 Florian Weimer <fweimer@redhat.com>
23837 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23838 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23839 alike. Remove freeres marker.
23840 * malloc/arena.c (arena_thread_freeres): Call
23841 tcache_thread_shutdown.
23843 2017-11-23 Florian Weimer <fweimer@redhat.com>
23846 Export nscd hash function as __nss_hash.
23847 * include/nss.h (__nss_hash): Declare.
23848 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23850 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23851 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23853 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23854 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23855 * nss/Makefiles (routines): Add nss_hash.
23856 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23857 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23858 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23859 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23861 2017-11-23 Florian Weimer <fweimer@redhat.com>
23864 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23865 Return error code, not -1.
23866 * signal/tst-sigwait-eintr.c: New file.
23867 * signal/Makefile (tests): Add tst-sigwait-eintr.
23869 2017-11-23 Florian Weimer <fweimer@redhat.com>
23871 Linux: Add memfd_create system call wrapper
23872 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23874 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23875 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23876 [__USE_GNU] (memfd_create): Declare.
23877 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23878 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23879 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23880 * sysdeps/unix/sysv/linux/**.abilist: Update.
23881 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23883 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23885 * localedata/gen-locale.sh: Fix typo in variable name.
23887 * resolv/res_debug.c (p_secstodate): Condition definition on
23888 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23889 directly as __p_secstodate, and as a compat symbol. Do not use
23890 libresolv_hidden_def.
23891 * resolv/resolv.h (p_secstodate): Remove macro and function
23893 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23894 using p_secstodate.
23895 * include/resolv.h (__p_secstodate): Do not use
23896 libresolv_hidden_proto.
23897 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23898 (tests-internal): ... here.
23899 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23900 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23901 and declare and use __p_secstodate and use compat_symbol_reference
23903 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23904 implementation returning 77.
23907 * resolv/res_debug.c: Include <libc-diag.h>.
23908 (p_secstodate): Assert time_t at least as wide as u_long. On
23909 overflow, use integer seconds since the epoch as output, or use
23910 "<overflow>" as output and set errno to EOVERFLOW if integer
23911 seconds since the epoch would be 14 or more characters.
23912 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23914 * resolv/tst-p_secstodate.c: New file.
23915 * resolv/Makefile (tests): Add tst-p_secstodate.
23916 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23918 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23919 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23920 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23922 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23924 * posix/regcomp.c (init_word_char): Add comments.
23926 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23929 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23930 strlen to compute length of ut_user and set trailing NUL byte of
23933 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23936 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23937 using “copy "iso14651_t1"” and then implementing the
23938 collation rules for lv from CLDR on top of that.
23939 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23940 of locales to be built for testing.
23941 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23944 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23946 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23947 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23948 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23949 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23950 [__USE_MISC] (MADV_HWPOISON): New macro.
23951 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23953 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23955 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23956 -Wmissing-braces on GCC 4.9.
23958 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23960 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23961 * sysdeps/s390/s390-32/start.S (_start): Likewise
23962 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23963 (thread_start): Likewise.
23964 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23965 (thread_start): Likewise.
23966 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23967 (__makecontext_ret): Likewise.
23968 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23969 (__makecontext_ret): Likewise.
23971 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23973 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23974 __wcschrnul): Remove attribute_hidden.
23976 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23978 regex: don't assume uint64_t or uint32_t
23979 This avoids -Werror=overflow errors for 32-bit systems in
23980 the 64-bit case. Problem reported by Joseph Myers in:
23981 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23982 Also, when this code is used in Gnulib it ports to platforms
23983 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23984 them, and on some 32-bit compilers there is no uint64_t.
23985 Problem reported by Gianluigi Tiesi in:
23986 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23987 * posix/regcomp.c (init_word_char): Don't assume that the types
23988 uint64_t and uint32_t exist. Adapted from Gnulib patch
23989 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23990 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23992 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23994 * sysdeps/aarch64/memset-reg.h: New file.
23995 * sysdeps/aarch64/memset.S: Use it.
23996 (__memset): Rename to MEMSET macro.
23997 [ZVA_MACRO]: Use zva_macro.
23998 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23999 Add memset_generic and memset_falkor.
24000 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24001 (__libc_ifunc_impl_list): Add memset ifuncs.
24002 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24003 local variable zva_size.
24004 * sysdeps/aarch64/multiarch/memset.c: New file.
24005 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24006 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24007 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24008 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24009 (DCZID_DZP_MASK): New macro.
24010 (DCZID_BS_MASK): Likewise.
24011 (init_cpu_features): Read and set zva_size.
24012 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24013 (struct cpu_features): New member zva_size.
24015 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24016 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24017 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24019 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24020 backwards. Fix timing computation.
24021 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24022 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24023 on memset by N at a time. Fix timing computation.
24025 2017-11-20 Florian Weimer <fweimer@redhat.com>
24027 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24028 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24030 2017-11-19 Florian Weimer <fweimer@redhat.com>
24032 manual: Document mprotect
24033 * manual/memory.texi (Memory Protection): New section.
24034 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24035 documentation of PROT_* flags and reference the Memory Protection
24038 2017-11-19 Florian Weimer <fweimer@redhat.com>
24040 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24041 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24042 (Scatter-Gather): ... to here. Remove misleading comment.
24044 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
24046 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24049 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24050 when /proc/<pid>/setgroups does not exist.
24052 2017-11-18 Florian Weimer <fweimer@redhat.com>
24054 * sysdeps/unix/sysv/linux/tst-ttyname.c
24055 (become_root_in_mount_ns): Remove.
24056 (do_in_chroot_1): Call support_enter_mount_namespace.
24057 (do_in_chroot_2): Likewise.
24058 (do_test): Call support_become_root early.
24060 2017-11-18 Florian Weimer <fweimer@redhat.com>
24062 * support/namespace.h (support_enter_mount_namespace): Declare.
24063 * support/support_enter_mount_namespace.c: New file.
24064 * support/Makefile (libsupport-routines): Add
24065 support_enter_mount_namespace.
24067 2017-11-18 Florian Weimer <fweimer@redhat.com>
24069 * support/temp_file.c (support_create_temp_directory): Use
24070 test_dir and do not rely on the presence of the XXXXXX suffix.
24071 * support/temp_file.h (support_create_temp_directory): Update
24073 * support/tst-xreadlink.c (do_test): Adjust.
24074 * support/support_chroot.c (support_chroot_create): Likewise.
24076 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24078 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24080 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24083 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24085 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24086 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24087 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24088 (ceill): Define using libm_alias_ldouble.
24089 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24090 <libm-alias-ldouble.h>.
24091 (copysignl): Define using libm_alias_ldouble.
24092 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24093 (fabsl): Define using libm_alias_ldouble.
24094 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24095 (floorl): Define using libm_alias_ldouble.
24096 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24097 (fmaxl): Define using libm_alias_ldouble.
24098 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24099 (fminl): Define using libm_alias_ldouble.
24100 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24101 (llrintl): Define using libm_alias_ldouble.
24102 (lrintl): Likewise.
24103 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24104 <libm-alias-ldouble.h>.
24105 (nearbyintl): Define using libm_alias_ldouble.
24106 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24107 (truncl): Define using libm_alias_ldouble.
24108 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24109 <libm-alias-ldouble.h>.
24110 (lrintl): Define using libm_alias_ldouble.
24112 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24113 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24114 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24115 (asinhl): Define using libm_alias_ldouble.
24116 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24117 (atanl): Define using libm_alias_ldouble.
24118 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24119 (cbrtl): Define using libm_alias_ldouble.
24120 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24121 (ceill): Define using libm_alias_ldouble.
24122 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24123 (copysignl): Define using libm_alias_ldouble.
24124 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24125 (fabsl): Define using libm_alias_ldouble.
24126 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24127 (floorl): Define using libm_alias_ldouble.
24128 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24129 (fmaxl): Define using libm_alias_ldouble.
24130 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24131 (fminl): Define using libm_alias_ldouble.
24132 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24133 (frexpl): Define using libm_alias_ldouble.
24134 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24135 (llrintl): Define using libm_alias_ldouble.
24136 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24137 (logbl): Define using libm_alias_ldouble.
24138 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24139 (lrintl): Define using libm_alias_ldouble.
24140 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24141 (nearbyintl): Define using libm_alias_ldouble.
24142 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24143 (nextafterl): Define using libm_alias_ldouble.
24144 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24145 (remquol): Define using libm_alias_ldouble.
24146 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24147 (rintl): Define using libm_alias_ldouble.
24148 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24149 (truncl): Define using libm_alias_ldouble.
24150 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24151 (fmaxl): Define using libm_alias_ldouble.
24152 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24153 (fminl): Define using libm_alias_ldouble.
24155 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24156 to C syntax instead of availability and properties of types.
24157 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24158 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24159 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24160 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24161 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24162 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24164 2017-11-17 Florian Weimer <fweimer@redhat.com>
24166 support_become_root: Enable file creation in namespaces.
24167 * support/support_become_root.c (setup_mapping): New function.
24168 (support_become_root): Call it.
24170 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24172 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24175 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24177 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24178 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24180 2017-11-16 Joseph Myers <joseph@codesourcery.com>
24182 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24184 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24187 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24189 * INSTALL: Fix botched up regeneration.
24191 * NEWS: Update sourceare link to https.
24192 * configure.ac: Likewise.
24193 * crypt/md5test-giant.c: Likewise.
24194 * dlfcn/bug-atexit1.c: Likewise.
24195 * dlfcn/bug-atexit2.c: Likewise.
24196 * localedata/README: Likewise.
24197 * malloc/tst-mallocfork.c: Likewise.
24198 * manual/install.texi: Likewise.
24199 * nptl/tst-pthread-getattr.c: Likewise.
24200 * stdio-common/tst-fgets.c: Likewise.
24201 * stdio-common/tst-fwrite.c: Likewise.
24202 * sunrpc/Makefile: Likewise.
24203 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24204 * wcsmbs/tst-mbrtowc2.c: Likewise.
24205 * configure: Regenerate.
24206 * INSTALL: Regenerate.
24208 2017-11-15 Martin Sebor <msebor@redhat.com>
24210 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24211 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24212 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24214 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24217 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24218 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24221 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24222 Defer is_pty check until end of the function.
24223 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24226 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24227 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24228 (ttyname): Likewise.
24229 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24230 (__ttyname_r): Likewise.
24232 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24235 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24237 * manual/terminal.texi (Is It a Terminal):
24238 Mention ENODEV for ttyname and ttyname_r.
24240 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24242 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24243 constant and macro.
24245 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24246 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24247 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24248 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24249 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24250 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24252 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24254 * signal/sigrelse.c (sigrelse): Optimize implementation.
24256 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24257 (__sigpause): Rely on __sigsuspend to implement single thread
24258 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24260 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24262 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24263 kernel version to 4.14.
24265 2017-11-15 Steve Ellcey <sellcey@cavium.com>
24268 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24269 Check if ifname is too long.
24271 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24273 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24275 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24277 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24278 was accidentally lost.
24280 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24282 * localedata/locales/az_IR: Add standard copyright header.
24284 2017-11-15 Florian Weimer <fweimer@redhat.com>
24287 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24288 not just the top one. Output a new "subheaps" statistic.
24290 2017-11-15 Florian Weimer <fweimer@redhat.com>
24293 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24294 under the per-arena lock.
24295 * malloc/Makefile (tests): Add tst-malloc_info.
24296 (tst-malloc_info): Link with libpthread.
24297 * malloc/tst-malloc_info.c: New file.
24299 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24302 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24303 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24304 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24305 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24306 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24307 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24308 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24309 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24310 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24311 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24312 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24313 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24314 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24315 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24316 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24317 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24318 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24319 (__floating_type): Likewise.
24320 (__real_integer_type): Likewise.
24321 (__complex_integer_type): Likewise.
24322 (__expr_is_real): Likewise.
24323 (__tgmath_real_type_sub): Likewise.
24324 (__tgmath_real_type): Likewise.
24325 (__tgmath_complex_type_sub): Likewise.
24326 (__tgmath_complex_type): Likewise.
24327 (__TGMATH_F128): Likewise.
24328 (__TGMATH_CF128): Likewise.
24329 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24331 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24332 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24334 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24336 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24337 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24338 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24339 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24341 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24342 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24344 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24345 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24346 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24348 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24349 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24350 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24354 2017-11-14 Joseph Myers <joseph@codesourcery.com>
24356 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24357 for stpncpy calls for GCC 8.
24358 (test_strncat): Disable -Wstringop-truncation warning for strncat
24359 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24360 strncat call for GCC 7.
24361 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24363 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24366 * string/bug-strncat1.c: Include <libc-diag.h>.
24367 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24369 2017-11-13 Claude Paroz <claude@2xlibre.net>
24372 * localedata/locales/aa_DJ: Improved readibility by replacing
24373 <Uxxxx> sequences in the ASCII printable range by their ASCII
24374 character equivalents.
24375 * localedata/locales/aa_ER: Likewise.
24376 * localedata/locales/aa_ER@saaho: Likewise.
24377 * localedata/locales/aa_ET: Likewise.
24378 * localedata/locales/af_ZA: Likewise.
24379 * localedata/locales/agr_PE: Likewise.
24380 * localedata/locales/ak_GH: Likewise.
24381 * localedata/locales/am_ET: Likewise.
24382 * localedata/locales/anp_IN: Likewise.
24383 * localedata/locales/ar_AE: Likewise.
24384 * localedata/locales/ar_BH: Likewise.
24385 * localedata/locales/ar_DZ: Likewise.
24386 * localedata/locales/ar_EG: Likewise.
24387 * localedata/locales/ar_IN: Likewise.
24388 * localedata/locales/ar_IQ: Likewise.
24389 * localedata/locales/ar_JO: Likewise.
24390 * localedata/locales/ar_KW: Likewise.
24391 * localedata/locales/ar_LB: Likewise.
24392 * localedata/locales/ar_LY: Likewise.
24393 * localedata/locales/ar_MA: Likewise.
24394 * localedata/locales/ar_OM: Likewise.
24395 * localedata/locales/ar_QA: Likewise.
24396 * localedata/locales/ar_SA: Likewise.
24397 * localedata/locales/ar_SD: Likewise.
24398 * localedata/locales/ar_SS: Likewise.
24399 * localedata/locales/ar_SY: Likewise.
24400 * localedata/locales/ar_TN: Likewise.
24401 * localedata/locales/ar_YE: Likewise.
24402 * localedata/locales/as_IN: Likewise.
24403 * localedata/locales/ast_ES: Likewise.
24404 * localedata/locales/ayc_PE: Likewise.
24405 * localedata/locales/az_AZ: Likewise.
24406 * localedata/locales/az_IR: Likewise.
24407 * localedata/locales/be_BY: Likewise.
24408 * localedata/locales/be_BY@latin: Likewise.
24409 * localedata/locales/bem_ZM: Likewise.
24410 * localedata/locales/ber_DZ: Likewise.
24411 * localedata/locales/ber_MA: Likewise.
24412 * localedata/locales/bg_BG: Likewise.
24413 * localedata/locales/bhb_IN: Likewise.
24414 * localedata/locales/bho_IN: Likewise.
24415 * localedata/locales/bi_VU: Likewise.
24416 * localedata/locales/bn_BD: Likewise.
24417 * localedata/locales/bn_IN: Likewise.
24418 * localedata/locales/bo_CN: Likewise.
24419 * localedata/locales/bo_IN: Likewise.
24420 * localedata/locales/br_FR: Likewise.
24421 * localedata/locales/brx_IN: Likewise.
24422 * localedata/locales/bs_BA: Likewise.
24423 * localedata/locales/byn_ER: Likewise.
24424 * localedata/locales/ca_AD: Likewise.
24425 * localedata/locales/ca_ES: Likewise.
24426 * localedata/locales/ca_FR: Likewise.
24427 * localedata/locales/ca_IT: Likewise.
24428 * localedata/locales/ce_RU: Likewise.
24429 * localedata/locales/chr_US: Likewise.
24430 * localedata/locales/cmn_TW: Likewise.
24431 * localedata/locales/crh_UA: Likewise.
24432 * localedata/locales/cs_CZ: Likewise.
24433 * localedata/locales/csb_PL: Likewise.
24434 * localedata/locales/cv_RU: Likewise.
24435 * localedata/locales/cy_GB: Likewise.
24436 * localedata/locales/da_DK: Likewise.
24437 * localedata/locales/de_AT: Likewise.
24438 * localedata/locales/de_BE: Likewise.
24439 * localedata/locales/de_CH: Likewise.
24440 * localedata/locales/de_DE: Likewise.
24441 * localedata/locales/de_IT: Likewise.
24442 * localedata/locales/de_LI: Likewise.
24443 * localedata/locales/de_LU: Likewise.
24444 * localedata/locales/doi_IN: Likewise.
24445 * localedata/locales/dv_MV: Likewise.
24446 * localedata/locales/dz_BT: Likewise.
24447 * localedata/locales/el_CY: Likewise.
24448 * localedata/locales/el_GR: Likewise.
24449 * localedata/locales/en_AG: Likewise.
24450 * localedata/locales/en_AU: Likewise.
24451 * localedata/locales/en_BW: Likewise.
24452 * localedata/locales/en_CA: Likewise.
24453 * localedata/locales/en_DK: Likewise.
24454 * localedata/locales/en_GB: Likewise.
24455 * localedata/locales/en_HK: Likewise.
24456 * localedata/locales/en_IE: Likewise.
24457 * localedata/locales/en_IL: Likewise.
24458 * localedata/locales/en_IN: Likewise.
24459 * localedata/locales/en_NG: Likewise.
24460 * localedata/locales/en_NZ: Likewise.
24461 * localedata/locales/en_PH: Likewise.
24462 * localedata/locales/en_SG: Likewise.
24463 * localedata/locales/en_US: Likewise.
24464 * localedata/locales/en_ZA: Likewise.
24465 * localedata/locales/en_ZM: Likewise.
24466 * localedata/locales/en_ZW: Likewise.
24467 * localedata/locales/eo: Likewise.
24468 * localedata/locales/es_AR: Likewise.
24469 * localedata/locales/es_BO: Likewise.
24470 * localedata/locales/es_CL: Likewise.
24471 * localedata/locales/es_CO: Likewise.
24472 * localedata/locales/es_CR: Likewise.
24473 * localedata/locales/es_CU: Likewise.
24474 * localedata/locales/es_DO: Likewise.
24475 * localedata/locales/es_EC: Likewise.
24476 * localedata/locales/es_ES: Likewise.
24477 * localedata/locales/es_GT: Likewise.
24478 * localedata/locales/es_HN: Likewise.
24479 * localedata/locales/es_MX: Likewise.
24480 * localedata/locales/es_NI: Likewise.
24481 * localedata/locales/es_PA: Likewise.
24482 * localedata/locales/es_PE: Likewise.
24483 * localedata/locales/es_PR: Likewise.
24484 * localedata/locales/es_PY: Likewise.
24485 * localedata/locales/es_SV: Likewise.
24486 * localedata/locales/es_US: Likewise.
24487 * localedata/locales/es_UY: Likewise.
24488 * localedata/locales/es_VE: Likewise.
24489 * localedata/locales/et_EE: Likewise.
24490 * localedata/locales/eu_ES: Likewise.
24491 * localedata/locales/eu_ES@euro: Likewise.
24492 * localedata/locales/fa_IR: Likewise.
24493 * localedata/locales/ff_SN: Likewise.
24494 * localedata/locales/fi_FI: Likewise.
24495 * localedata/locales/fil_PH: Likewise.
24496 * localedata/locales/fo_FO: Likewise.
24497 * localedata/locales/fr_BE: Likewise.
24498 * localedata/locales/fr_CA: Likewise.
24499 * localedata/locales/fr_CH: Likewise.
24500 * localedata/locales/fr_FR: Likewise.
24501 * localedata/locales/fr_LU: Likewise.
24502 * localedata/locales/fur_IT: Likewise.
24503 * localedata/locales/fy_DE: Likewise.
24504 * localedata/locales/fy_NL: Likewise.
24505 * localedata/locales/ga_IE: Likewise.
24506 * localedata/locales/gd_GB: Likewise.
24507 * localedata/locales/gez_ER: Likewise.
24508 * localedata/locales/gez_ET: Likewise.
24509 * localedata/locales/gl_ES: Likewise.
24510 * localedata/locales/gu_IN: Likewise.
24511 * localedata/locales/gv_GB: Likewise.
24512 * localedata/locales/ha_NG: Likewise.
24513 * localedata/locales/hak_TW: Likewise.
24514 * localedata/locales/he_IL: Likewise.
24515 * localedata/locales/hi_IN: Likewise.
24516 * localedata/locales/hif_FJ: Likewise.
24517 * localedata/locales/hne_IN: Likewise.
24518 * localedata/locales/hr_HR: Likewise.
24519 * localedata/locales/hsb_DE: Likewise.
24520 * localedata/locales/ht_HT: Likewise.
24521 * localedata/locales/hu_HU: Likewise.
24522 * localedata/locales/hy_AM: Likewise.
24523 * localedata/locales/i18n: Likewise.
24524 * localedata/locales/ia_FR: Likewise.
24525 * localedata/locales/id_ID: Likewise.
24526 * localedata/locales/ig_NG: Likewise.
24527 * localedata/locales/ik_CA: Likewise.
24528 * localedata/locales/is_IS: Likewise.
24529 * localedata/locales/it_CH: Likewise.
24530 * localedata/locales/it_IT: Likewise.
24531 * localedata/locales/iu_CA: Likewise.
24532 * localedata/locales/ja_JP: Likewise.
24533 * localedata/locales/ka_GE: Likewise.
24534 * localedata/locales/kk_KZ: Likewise.
24535 * localedata/locales/kl_GL: Likewise.
24536 * localedata/locales/kn_IN: Likewise.
24537 * localedata/locales/ko_KR: Likewise.
24538 * localedata/locales/kok_IN: Likewise.
24539 * localedata/locales/ks_IN: Likewise.
24540 * localedata/locales/ks_IN@devanagari: Likewise.
24541 * localedata/locales/ku_TR: Likewise.
24542 * localedata/locales/kw_GB: Likewise.
24543 * localedata/locales/ky_KG: Likewise.
24544 * localedata/locales/lb_LU: Likewise.
24545 * localedata/locales/lg_UG: Likewise.
24546 * localedata/locales/li_BE: Likewise.
24547 * localedata/locales/li_NL: Likewise.
24548 * localedata/locales/lij_IT: Likewise.
24549 * localedata/locales/ln_CD: Likewise.
24550 * localedata/locales/lo_LA: Likewise.
24551 * localedata/locales/lt_LT: Likewise.
24552 * localedata/locales/lv_LV: Likewise.
24553 * localedata/locales/lzh_TW: Likewise.
24554 * localedata/locales/mag_IN: Likewise.
24555 * localedata/locales/mai_IN: Likewise.
24556 * localedata/locales/mg_MG: Likewise.
24557 * localedata/locales/mhr_RU: Likewise.
24558 * localedata/locales/mi_NZ: Likewise.
24559 * localedata/locales/mk_MK: Likewise.
24560 * localedata/locales/ml_IN: Likewise.
24561 * localedata/locales/mn_MN: Likewise.
24562 * localedata/locales/mni_IN: Likewise.
24563 * localedata/locales/mr_IN: Likewise.
24564 * localedata/locales/ms_MY: Likewise.
24565 * localedata/locales/mt_MT: Likewise.
24566 * localedata/locales/my_MM: Likewise.
24567 * localedata/locales/nan_TW: Likewise.
24568 * localedata/locales/nan_TW@latin: Likewise.
24569 * localedata/locales/nb_NO: Likewise.
24570 * localedata/locales/nds_DE: Likewise.
24571 * localedata/locales/nds_NL: Likewise.
24572 * localedata/locales/ne_NP: Likewise.
24573 * localedata/locales/nhn_MX: Likewise.
24574 * localedata/locales/niu_NU: Likewise.
24575 * localedata/locales/niu_NZ: Likewise.
24576 * localedata/locales/nl_AW: Likewise.
24577 * localedata/locales/nl_BE: Likewise.
24578 * localedata/locales/nl_NL: Likewise.
24579 * localedata/locales/nn_NO: Likewise.
24580 * localedata/locales/nr_ZA: Likewise.
24581 * localedata/locales/nso_ZA: Likewise.
24582 * localedata/locales/oc_FR: Likewise.
24583 * localedata/locales/om_ET: Likewise.
24584 * localedata/locales/om_KE: Likewise.
24585 * localedata/locales/or_IN: Likewise.
24586 * localedata/locales/os_RU: Likewise.
24587 * localedata/locales/pa_IN: Likewise.
24588 * localedata/locales/pa_PK: Likewise.
24589 * localedata/locales/pap_AW: Likewise.
24590 * localedata/locales/pap_CW: Likewise.
24591 * localedata/locales/pl_PL: Likewise.
24592 * localedata/locales/ps_AF: Likewise.
24593 * localedata/locales/pt_BR: Likewise.
24594 * localedata/locales/pt_PT: Likewise.
24595 * localedata/locales/quz_PE: Likewise.
24596 * localedata/locales/raj_IN: Likewise.
24597 * localedata/locales/ro_RO: Likewise.
24598 * localedata/locales/ru_RU: Likewise.
24599 * localedata/locales/ru_UA: Likewise.
24600 * localedata/locales/rw_RW: Likewise.
24601 * localedata/locales/sa_IN: Likewise.
24602 * localedata/locales/sat_IN: Likewise.
24603 * localedata/locales/sc_IT: Likewise.
24604 * localedata/locales/sd_IN: Likewise.
24605 * localedata/locales/sd_IN@devanagari: Likewise.
24606 * localedata/locales/se_NO: Likewise.
24607 * localedata/locales/sgs_LT: Likewise.
24608 * localedata/locales/shs_CA: Likewise.
24609 * localedata/locales/si_LK: Likewise.
24610 * localedata/locales/sid_ET: Likewise.
24611 * localedata/locales/sk_SK: Likewise.
24612 * localedata/locales/sl_SI: Likewise.
24613 * localedata/locales/sm_WS: Likewise.
24614 * localedata/locales/so_DJ: Likewise.
24615 * localedata/locales/so_ET: Likewise.
24616 * localedata/locales/so_KE: Likewise.
24617 * localedata/locales/so_SO: Likewise.
24618 * localedata/locales/sq_AL: Likewise.
24619 * localedata/locales/sq_MK: Likewise.
24620 * localedata/locales/sr_ME: Likewise.
24621 * localedata/locales/sr_RS: Likewise.
24622 * localedata/locales/sr_RS@latin: Likewise.
24623 * localedata/locales/ss_ZA: Likewise.
24624 * localedata/locales/st_ZA: Likewise.
24625 * localedata/locales/sv_FI: Likewise.
24626 * localedata/locales/sv_SE: Likewise.
24627 * localedata/locales/sw_KE: Likewise.
24628 * localedata/locales/sw_TZ: Likewise.
24629 * localedata/locales/szl_PL: Likewise.
24630 * localedata/locales/ta_IN: Likewise.
24631 * localedata/locales/ta_LK: Likewise.
24632 * localedata/locales/tcy_IN: Likewise.
24633 * localedata/locales/te_IN: Likewise.
24634 * localedata/locales/tg_TJ: Likewise.
24635 * localedata/locales/th_TH: Likewise.
24636 * localedata/locales/the_NP: Likewise.
24637 * localedata/locales/ti_ER: Likewise.
24638 * localedata/locales/ti_ET: Likewise.
24639 * localedata/locales/tig_ER: Likewise.
24640 * localedata/locales/tk_TM: Likewise.
24641 * localedata/locales/tl_PH: Likewise.
24642 * localedata/locales/tn_ZA: Likewise.
24643 * localedata/locales/to_TO: Likewise.
24644 * localedata/locales/tpi_PG: Likewise.
24645 * localedata/locales/tr_CY: Likewise.
24646 * localedata/locales/tr_TR: Likewise.
24647 * localedata/locales/ts_ZA: Likewise.
24648 * localedata/locales/tt_RU: Likewise.
24649 * localedata/locales/tt_RU@iqtelif: Likewise.
24650 * localedata/locales/ug_CN: Likewise.
24651 * localedata/locales/uk_UA: Likewise.
24652 * localedata/locales/unm_US: Likewise.
24653 * localedata/locales/ur_IN: Likewise.
24654 * localedata/locales/ur_PK: Likewise.
24655 * localedata/locales/uz_UZ: Likewise.
24656 * localedata/locales/uz_UZ@cyrillic: Likewise.
24657 * localedata/locales/ve_ZA: Likewise.
24658 * localedata/locales/vi_VN: Likewise.
24659 * localedata/locales/wa_BE: Likewise.
24660 * localedata/locales/wae_CH: Likewise.
24661 * localedata/locales/wal_ET: Likewise.
24662 * localedata/locales/wo_SN: Likewise.
24663 * localedata/locales/xh_ZA: Likewise.
24664 * localedata/locales/yi_US: Likewise.
24665 * localedata/locales/yo_NG: Likewise.
24666 * localedata/locales/yue_HK: Likewise.
24667 * localedata/locales/yuw_PG: Likewise.
24668 * localedata/locales/zh_CN: Likewise.
24669 * localedata/locales/zh_HK: Likewise.
24670 * localedata/locales/zh_SG: Likewise.
24671 * localedata/locales/zh_TW: Likewise.
24672 * localedata/locales/zu_ZA: Likewise.
24674 2017-11-13 Florian Weimer <fweimer@redhat.com>
24676 * support/next_to_fault.h, support/next_to_fault.c: New files.
24677 * support/Makefile (libsupport-routines): Add next_to_fault.
24678 * resolv/tst-inet_pton.c (struct next_to_fault)
24679 (next_to_fault_allocate, next_to_fault_free): Remove.
24680 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24682 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24684 * elf/dl-support.c: Include <dl-procruntime.c>.
24685 * include/link.h: Include <link_map.h>.
24686 * sysdeps/generic/dl-procruntime.c: New file.
24687 * sysdeps/generic/link_map.h: Likewise.
24688 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24689 the writable ld.so namespace.
24691 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24693 timezone: pacify GCC -Wstringop-truncation
24694 Problem reported by Martin Sebor in:
24695 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24696 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24698 2017-11-12 Florian Weimer <fweimer@redhat.com>
24700 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24702 (tests): Add tst-xreadlink.
24703 * support/support.h (xstrndup): Declare.
24704 * support/xunistd.h (xunlink, xreadlink): Declare.
24705 * support/temp_file.h (support_create_temp_directory): Declare.
24706 * support/temp_file.c (support_create_temp_directory): New function.
24707 * support/support_chroot.c (support_chroot_create): Use it.
24708 * support/xreadlink.c: New file.
24709 * support/xstrndup.c: Likewise.
24710 * support/xunlink.c: Likewise.
24711 * support/tst-xreadlink.c: Likewise.
24713 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
24715 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24717 2017-11-11 Florian Weimer <fweimer@redhat.com>
24721 * resolv/res_comp.c (printable_string, binary_hnok)
24722 (binary_leading_dash): New functions.
24723 (res_hnok): Reimplement using these functions and ns_name_pton.
24724 (res_ownok): Likewise.
24725 (res_mailok): Reimplement using printable_string, ns_name_pton and
24727 (res_dnok): Reimplement using printable_string and ns_name_pton.
24728 * resolv/tst-res_hnok.c (tests): Add additional tests.
24729 (LETTERDIGITS, PRINTABLE): Define.
24730 (do_test): Adjust one_char results.
24732 2017-11-11 Florian Weimer <fweimer@redhat.com>
24735 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24736 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24738 2017-11-11 Florian Weimer <fweimer@redhat.com>
24740 * resolv/tst-ns_name_pton.c: New file.
24741 * resolv/Makefile (tests): Add tst-ns_name_pton.
24742 (tst-ns_name_pton): Link against libresolv.
24744 2017-11-11 Florian Weimer <fweimer@redhat.com>
24746 * resolv/tst-res_hnok.c: New file.
24747 * resolv/Makefile (tests): Add tst-res_hnok.
24748 (tst-res_hnok): Link against libresolv.
24750 2017-11-11 Florian Weimer <fweimer@redhat.com>
24752 * resolv/tst-resolv-network.c: Use test framework instead explicit
24755 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24757 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24758 <jmp_buf-macros.h>.
24759 [!_ISOMAC] (STR_HELPER): New.
24760 [!_ISOMAC] (STR): Likewise.
24761 [!_ISOMAC] (TEST_SIZE): Likewise.
24762 [!_ISOMAC] (TEST_ALIGN): Likewise.
24763 [!_ISOMAC] (TEST_OFFSET): Likewise.
24764 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24765 field offsets of jmp_buf as well as sigjmp_buf.
24766 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24767 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24768 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24769 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24770 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24771 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24772 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24773 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24774 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24775 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24777 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24779 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24784 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24785 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24786 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24787 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24788 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24793 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24794 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24795 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24797 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24800 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24801 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24802 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24803 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24804 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24805 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24806 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24807 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24808 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24809 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24810 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24811 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24812 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24813 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24814 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24815 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24816 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24817 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24818 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24819 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24820 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24821 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24822 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24823 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24824 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24825 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24826 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24827 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24828 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24829 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24830 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24831 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24832 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24833 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24834 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24835 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24836 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24837 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24838 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24839 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24840 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24841 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24842 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24843 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24844 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24845 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24846 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24847 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24848 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24849 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24850 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24851 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24852 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24853 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24854 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24855 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24856 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24857 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24858 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24859 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24860 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24861 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24862 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24863 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24864 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24865 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24866 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24867 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24868 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24869 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24870 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24871 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24872 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24873 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24874 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24875 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24876 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24877 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24878 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24879 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24880 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24881 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24882 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24883 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24884 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24885 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24886 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24887 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24889 * stdlib/tst-strtod.h (F16): New macro.
24895 (IF_FLOAT16): Likewise.
24896 (IF_FLOAT32): Likewise.
24897 (IF_FLOAT64): Likewise.
24898 (IF_FLOAT32X): Likewise.
24899 (IF_FLOAT64X): Likewise.
24900 (IF_FLOAT128X): Likewise.
24901 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24902 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24903 (STRTOD_TEST_FOREACH): Likewise.
24904 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24905 (CHOOSE_f64): Likewise.
24906 (CHOOSE_f32x): Likewise.
24907 (CHOOSE_f64x): Likewise.
24909 2017-11-07 Andreas Schwab <schwab@suse.de>
24911 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24913 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24916 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24918 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24921 2017-11-07 Claude Paroz <claude@2xlibre.net>
24924 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24926 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24928 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24931 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24934 * nptl/allocatestack.c (allocate_stack): Check if
24935 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24936 __PTHREAD_MUTEX_HAVE_PREV is defined.
24937 * nptl/descr.h (pthread): Likewise.
24938 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24940 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24941 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24942 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24943 * sysdeps/nptl/bits/thread-shared-types.h
24944 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24946 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24947 of __WORDSIZE for internal layout.
24948 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24949 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24950 instead of __WORDSIZE whether to use an union for __spins and __list
24952 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24954 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24955 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24957 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24958 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24960 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24961 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24963 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24964 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24966 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24967 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24969 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24970 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24972 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24973 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24975 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24976 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24978 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24979 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24981 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24982 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24984 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24985 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24987 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24988 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24990 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24991 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24993 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24994 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24996 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24997 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25000 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25002 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25003 checks for expected input type size.
25004 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25005 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25007 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25008 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25009 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25010 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25011 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25012 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25013 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25014 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25015 superflous runtime assert check.
25016 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25018 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25020 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25022 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25024 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25026 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25028 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25029 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25030 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25032 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25034 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25036 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25038 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25040 * nptl/pthread_attr_setinheritsched.c
25041 (__pthread_attr_setinheritsched): Likewise.
25042 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25044 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25046 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25047 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25048 __old_pthread_attr_setstack): Likewise.
25049 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25051 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25053 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25055 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25056 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25058 * nptl/tst-typesizes.c: Remove file.
25060 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25061 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25062 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25063 checks for internal pthread_mutex_t offsets.
25064 * sysdeps/aarch64/nptl/pthread-offsets.h
25065 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25066 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25067 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25068 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25069 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25070 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25071 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25072 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25073 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25074 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25075 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25076 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25077 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25078 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25079 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25080 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25081 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25082 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25084 2017-11-07 Florian Weimer <fweimer@redhat.com>
25086 * bits/mman-linux.h: Move ...
25087 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25089 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25092 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25094 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25095 Redefine STRNLEN as __strnlen_power8.
25097 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25099 * signal/sighold.c (sighold): Optimize implementation.
25101 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25102 __NR_rt_sigqueueinfo.
25104 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25106 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25107 assume __NR_rt_sigtimedwait.
25108 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25109 and add LIBC_CANCEL_HANDLED for cancellation marking.
25110 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25112 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25113 (sysdeps_routines): Add memchr_noneon.
25114 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25115 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25116 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25117 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25118 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25119 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25120 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25122 * sysdeps/arm/arm-ifunc.h: New file.
25123 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25124 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25125 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25126 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25127 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25128 (__memcpy_neon): Avoid create hidden alias.
25129 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25130 (__memcpy_vfp): Likewise.
25131 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25132 (sysdep_routines): Add memcpy_arm.
25133 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25135 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25138 * Makerules (make-link-multidir): New.
25139 * config.make.in (multidir): New.
25140 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25141 * configure: Regenerated.
25142 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25143 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25144 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25147 2017-11-06 Joseph Myers <joseph@codesourcery.com>
25150 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25151 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25153 2017-11-04 Mike FABIAN <mfabian@redhat.com>
25155 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25158 2017-11-04 Florian Weimer <fweimer@redhat.com>
25160 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25162 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25164 * math/math.h [__HAVE_DISTINCT_FLOAT16
25165 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25166 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25167 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25168 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25169 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25170 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25171 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25172 (__MATH_TG_F32): New macro.
25173 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25174 (__MATH_TG_F64X): Likewise.
25175 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25176 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25178 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25180 * po/de.po: Update translations.
25181 * po/ru.po: Likewise.
25183 2017-11-03 Florian Weimer <fweimer@redhat.com>
25185 * manual/filesys.texi (Hard Links): Document linkat.
25187 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25189 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25190 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25191 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25192 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25193 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25194 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25195 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25196 the same as _Float128.
25197 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25198 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25199 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25202 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25204 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25206 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25208 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25209 (strtof32x): Likewise.
25210 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25211 (strtof64x): Likewise.
25212 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25213 (strtof128x): Likewise.
25214 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25215 (strfromf16): Likewise.
25216 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25217 (strfromf32): Likewise.
25218 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25219 (strfromf64): Likewise.
25220 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25221 (strfromf32x): Likewise.
25222 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25223 (strfromf64x): Likewise.
25224 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25225 (strfromf128x): Likewise.
25226 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25227 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25228 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25229 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25230 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25231 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25233 2017-11-03 Richard Henderson <rth@twiddle.net>
25235 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25237 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25239 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25241 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25243 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25244 DT_TLSDESC_GOT initialization.
25245 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25246 (_dl_tlsdesc_resolve_hold): Likewise.
25247 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25248 (_dl_tlsdesc_resolve_hold): Likewise.
25249 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25250 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25252 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25254 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25256 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25259 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25260 non-lazily for R_ARM_TLS_DESC.
25262 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25265 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25266 R_ARM_TLS_DESC case.
25267 (elf_machine_lazy_rel): Remove the prelink check.
25269 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25271 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25272 DT_TLSDESC_GOT initialization.
25273 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25274 (_dl_tlsdesc_resolve_rela): Likewise.
25275 (_dl_tlsdesc_resolve_hold): Likewise.
25276 (_dl_tlsdesc_undefweak): Remove ldar.
25277 (_dl_tlsdesc_dynamic): Likewise.
25278 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25279 (_dl_tlsdesc_resolve_rela): Likewise.
25280 (_dl_tlsdesc_resolve_hold): Likewise.
25281 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25282 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25283 (_dl_tlsdesc_resolve_rela): Likewise.
25284 (_dl_tlsdesc_resolve_hold): Likewise.
25286 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25288 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25289 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25291 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25293 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25294 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25296 2017-11-02 Joseph Myers <joseph@codesourcery.com>
25298 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25300 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25301 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25302 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25303 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25304 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25305 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25306 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25307 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25308 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25309 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25310 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25312 2017-11-02 Mike FABIAN <mfabian@redhat.com>
25315 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25316 * localedata/locales/tpi_PG: Add standard header.
25318 2017-11-02 Florian Weimer <fweimer@redhat.com>
25320 test-errno-linux: quotactl can fail with EPERM in containers.
25321 * sysdeps/unix/sysv/linux/test-errno-linux.c
25322 (LIST, LIST_FORWARD): New macros.
25323 (check_error_in_list): New function.
25324 (test_wrp_rv): Accept list of permitted error codes.
25325 (test_wrp_rv2): Remove.
25326 (test_wrp): Call test_wrp_rv with list of error codes.
25327 (test_wrp2): Accept list of error codes.
25328 (do_test): Adjust. Allow EPERM for quotactl.
25330 2017-11-02 Florian Weimer <fweimer@redhat.com>
25332 * stdio-common/bug16.c (do_test): Use array_length.
25333 * stdio-common/errlist.c (_sys_nerr): Likewise.
25334 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25335 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25336 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25337 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25338 (do_test): Use array_length.
25339 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25340 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25341 * stdio-common/tst-printf-round.c (do_test): Likewise.
25342 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25343 (CHECK): Use array_length.
25344 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25345 * stdio-common/tstscanf.c (main): Likewise.
25346 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25348 2017-11-02 Florian Weimer <fweimer@redhat.com>
25350 Add array_length and array_end macros.
25351 * include/array_length.h: New file.
25353 2017-11-02 Florian Weimer <fweimer@redhat.com>
25356 * posix/tst-glob-tilde.c (do_noescape): New variable.
25357 (one_test): Process it.
25358 (do_test): Set do_noescape. Add unescaping test case.
25360 2017-11-01 Joseph Myers <joseph@codesourcery.com>
25363 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25364 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25365 with appropriate macros defined and undefined.
25366 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25367 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25368 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25369 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25370 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25371 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25372 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25373 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25374 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25375 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25378 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25379 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25380 that for long double. Do not condition define and undefine of
25381 _Mdouble_complex_ on [__CFLOAT128].
25383 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25385 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25386 of <sysdeps/generic/sysdep.h>.
25387 (ALIGNARG): Removed.
25388 (ASM_SIZE_DIRECTIVE): Likewise.
25391 (ENTRY_CHK): Likewise.
25392 (END_CHK): Likewise.
25393 (syscall_error): Likewise.
25394 (mcount): Likewise.
25395 (PSEUDO_END): Likewise.
25397 (atom_text_section): Likewise.
25398 * sysdeps/x86/sysdep.h: New file.
25399 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25400 of <sysdeps/generic/sysdep.h>.
25401 (ALIGNARG): Removed.
25402 (ASM_SIZE_DIRECTIVE): Likewise.
25405 (ENTRY_CHK): Likewise.
25406 (END_CHK): Likewise.
25407 (syscall_error): Likewise.
25408 (mcount): Likewise.
25409 (PSEUDO_END): Likewise.
25411 (atom_text_section): Likewise.
25413 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25415 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25416 category of LC_CTYPE set to "i18n:2012".
25417 * localedata/locales/i18n_ctype: Regenerate.
25419 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
25421 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25422 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25423 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25424 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25426 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25427 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25428 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25429 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25431 2017-10-31 Joseph Myers <joseph@codesourcery.com>
25434 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25436 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25438 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25440 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25441 (CMPLXF32X): Likewise.
25442 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25443 (CMPLXF64X): Likewise.
25444 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25445 (CMPLXF128X): Likewise.
25448 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25449 (__MATH_EVAL_FMT2): Define to add 0.0f.
25451 2017-10-31 Alan Modra <amodra@gmail.com>
25453 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25469 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25470 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25471 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25472 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25473 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25474 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25475 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25476 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25477 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25478 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25479 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25480 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25481 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25482 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25483 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25484 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25485 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25486 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25487 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25488 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25489 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25490 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25491 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25492 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25493 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25494 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25495 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25496 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25497 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25498 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25499 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25500 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25501 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25502 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25503 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25504 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25505 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25506 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25507 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25508 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25509 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25510 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25511 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25512 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25513 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25514 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25515 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25516 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25517 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25518 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25519 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25520 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25521 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25522 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25523 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25526 include sysdep.h and math_ldbl_opt.h.
25528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25529 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25555 2017-10-31 Alan Modra <amodra@gmail.com>
25557 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25558 string/strncase_l.c, not string/strncase.c.
25559 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25560 (libc_hidden_def): Redefine.
25562 2017-10-31 Alan Modra <amodra@gmail.com>
25564 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25565 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25566 (__strcasecmp): Don't define.
25568 2017-10-31 Alan Modra <amodra@gmail.com>
25570 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25572 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25573 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25574 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25576 2017-10-31 Alan Modra <amodra@gmail.com>
25578 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25581 2017-10-31 Alan Modra <amodra@gmail.com>
25583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25584 Redefine only when SHARED.
25586 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25588 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25589 Include <bits/math-finite.h> with appropriate macros defined and
25591 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25592 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25593 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25594 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25595 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25597 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25598 [!_Mlong_double_] (_Mlong_double_): Likewise.
25599 [!_Mfloat16_] (_Mfloat16_): Likewise.
25600 [!_Mfloat32_] (_Mfloat32_): Likewise.
25601 [!_Mfloat64_] (_Mfloat64_): Likewise.
25602 [!_Mfloat128_] (_Mfloat128_): Likewise.
25603 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25604 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25605 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25606 (_Mdouble_): Define without indirection through those macros.
25607 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25608 [!_Mfloat128_] (_Mfloat128_): Likewise.
25609 [_Mlong_double_] (_Mlong_double_): Likewise.
25610 (_Mdouble_): Define without indirection through those macros.
25611 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25612 not add -D_Mlong_double_=double.
25613 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25614 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25616 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25618 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25620 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25622 * sysdeps/x86/libc-start.c: Reformat.
25624 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25627 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25628 (1): Renamed to ...
25631 (L(Src2)): Likewise.
25632 (L(1)): Renamed to ...
25635 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25637 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25638 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25639 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25640 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25641 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25642 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25643 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25644 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25645 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25646 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25647 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25648 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25649 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25650 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25651 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25652 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25653 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25654 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25655 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25656 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25657 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25658 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25659 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25660 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25661 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25662 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25663 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25664 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25665 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25666 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25667 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25668 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25669 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25670 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25671 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25672 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25673 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25674 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25675 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25676 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25677 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25678 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25679 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25680 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25681 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25682 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25683 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25684 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25685 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25686 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25687 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25688 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25689 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25690 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25691 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25692 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25693 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25694 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25695 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25696 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25697 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25698 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25699 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25700 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25701 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25702 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25704 2017-10-30 Florian Weimer <fweimer@redhat.com>
25706 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25708 * io/tst-mkdirat.c (do_test): Likewise.
25709 * io/tst-mkfifoat.c (do_test): Likewise.
25710 * io/tst-mknodat.c (do_test): Likewise.
25711 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25712 * locale/programs/locale.c (select_dirs): Likewise.
25713 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25714 * posix/bug-glob2.c (my_readdir): Likewise.
25715 * posix/tst-dir.c (main): Likewise.
25716 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25717 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25719 2017-10-30 Florian Weimer <fweimer@redhat.com>
25721 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25724 2017-10-30 Florian Weimer <fweimer@redhat.com>
25726 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25727 Convert to support/test-driver.c.
25728 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25729 New macro parameters.
25730 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25731 * posix/tst-gnuglob.c: New file.
25732 * posix/tst-gnuglob64.c: Likewise.
25733 * posix/Makefile (tests): Add tst-gnuglob64.
25735 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25738 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25739 and use a better translation for March in “mon”.
25740 * localedata/locales/csb_PL: Use more ASCII to improve the
25741 readability of the source.
25743 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25746 * localedata/locales/km_KH: Use ASCII as much
25747 as possible for better readability of the source and
25748 remove useless comments.
25749 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25750 was commented out and apparently wrong anyway because it was
25751 using Lao characters. If Buddhist era should be used
25752 for km_KH, a native speaker should write the correct formaat
25754 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25755 (According to CLDR, the first weekday for Cambodia is Sunday).
25756 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25757 (These were using Lao characters which must be wrong. If we get
25758 the correct data from a native speaker, we could add it back, until
25759 then it is better not to have name_mr and name_mrs at all than
25762 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25764 * locale/loadlocale.c: Correct size of
25765 _nl_value_type_LC_<category> arrays.
25767 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25769 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25770 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25771 with appropriate macros defined and undefined.
25772 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25773 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25774 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25775 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25776 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25778 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25780 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25783 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25785 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25786 with lowercase letters to make it agree with CLDR.
25788 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25791 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25792 first letters of yesstr and nostr in yesexpr and noexpr,
25793 not for the full words.
25794 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25795 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25796 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25797 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25798 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25799 first letters of yesstr and nostr in yesexpr and noexpr,
25800 until now only English was matched in yesexpr and noexpr.
25801 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25802 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25803 fil but not for tl. As tl and fil are very similar, using fil
25804 is probably better than using English.
25806 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25809 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25810 in yesstr and nostr.
25812 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25814 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25815 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25816 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25818 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25820 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25822 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25824 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25825 (SNANF128X): Likewise.
25827 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25828 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25829 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25830 (HUGE_VAL_F32): Likewise.
25831 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25832 (HUGE_VAL_F64): Likewise.
25833 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25834 (HUGE_VAL_F32X): Likewise.
25835 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25836 (HUGE_VAL_F64X): Likewise.
25837 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25838 (HUGE_VAL_F128X): Likewise.
25840 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25842 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25843 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25844 for the br_FR locale.
25846 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25849 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25851 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25853 * locale/programs/record-status.h: Define globals, and function
25854 prototypes. Move function bodies...
25855 * locale/programs/record-status.c: ... to here. New file.
25856 * iconv/Makefile (iconv_prog-modules): Add record-status.
25857 * locale/Makefile (lib-modules): Likewise.
25858 * iconv/iconv_prog.c: Remove verbose.
25859 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25860 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25861 record a warning about ASCII compatibility.
25862 * locale/programs/ld-monetary.c (monetary_finish): If
25863 warn_int_curr_symbol is true then record a warning about the symbol
25864 not being in our ISO 4217 list.
25865 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25866 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25867 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25868 (OPT_NO_WARN): Define.
25869 (OPT_WARN): Define.
25870 (options): Add entry for --no-warnings, and --warnings.
25871 (set_warnings): New function to enable/disable warnings.
25872 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25873 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25874 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25875 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25876 Pass flags to generate_locale.
25877 (generate_locale): Accept new flag argument and pass it to localedef
25879 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25880 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25882 * localedata/Makefile (test-input-data): Use full file name.
25883 * localedata/da_DK.in: Rename to...
25884 * localedata/da_DK.ISO-8859-1.in: ...this.
25885 * localedata/de_DE.in: Rename to...
25886 * localedata/de_DE.ISO-8859-1.in: ...this.
25887 * localedata/en_US.in: Rename to...
25888 * localedata/en_US.ISO-8859-1.in: ...this.
25889 * localedata/fr_FR.in: Rename to...
25890 * localedata/fr_FR.UTF-8.in: ... this.
25891 * localedata/hr_HR.in: Rename to...
25892 * localedata/hr_HR.ISO-8859-2.in: ...this.
25893 * localedata/hu_HU.in: Rename to...
25894 * localedata/hu_HU.UTF-8.in: ...this.
25895 * localedata/si_LK.in: Rename to...
25896 * localedata/si_LK.UTF-8.in: ...this.
25897 * localedata/sv_SE.in: Rename to...
25898 * localedata/sv_SE.ISO-8859-1.in: ...this.
25899 * localedata/tr_TR.in: Rename to...
25900 * localedata/tr_TR.UTF-8.in: ...this.
25901 * localedata/uk_UA.in: Rename to...
25902 * localedata/uk_UA.UTF-8.in: ...this.
25903 * localedata/sort-test.sh: Test file is locale name with the
25906 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25907 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25909 * localedata/locales/i18n_ctype: Regenerate.
25910 * localedata/locales/tr_TR: Likewise.
25911 * localedata/locales/translit_circle: Likewise.
25912 * localedata/locales/translit_cjk_compat: Likewise.
25913 * localedata/locales/translit_combining: Likewise.
25914 * localedata/locales/translit_compat: Likewise.
25915 * localedata/locales/translit_font: Likewise.
25916 * localedata/locales/translit_fraction: Likewise.
25918 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25920 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25921 lxvd2x/stxvd2x with lvx/stvx.
25922 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25924 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25926 * include/alloc_buffer.h: Replace "if if " with "if " in
25928 * sysdeps/mips/memcpy.S: Likkewise.
25929 * sysdeps/mips/memset.S: Likewise.
25930 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25932 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25934 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25937 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25940 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25941 yesexpr and noexpr.
25942 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25943 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25944 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25945 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25946 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25947 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25948 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25950 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25952 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25953 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25954 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25955 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25956 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25957 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25958 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25959 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25960 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25961 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25962 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25963 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25965 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25967 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25968 as possible for better readability of the source.
25969 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25970 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25971 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25972 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25973 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25974 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25975 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25976 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25977 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25978 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25979 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25980 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25981 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25982 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25983 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25984 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25985 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25986 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25987 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25988 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25989 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25990 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25991 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25992 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25993 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25994 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25995 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25996 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25997 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25998 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25999 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26000 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26001 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26002 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26003 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26004 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26005 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26006 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26007 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26008 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26009 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26010 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26011 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26012 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26013 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26014 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26015 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26016 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26017 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26018 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26019 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26020 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26021 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26022 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26023 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26024 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26025 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26026 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26027 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26028 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26029 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26030 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26031 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26032 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26033 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26034 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26035 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26036 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26037 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26038 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26039 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26040 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26041 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26042 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26043 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26044 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26045 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26046 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26047 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26048 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26049 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26050 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26051 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26052 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26053 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26054 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26055 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26056 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26057 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26058 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26059 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26060 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26061 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26062 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26063 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26064 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26065 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26066 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26067 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26068 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26069 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26070 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26071 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26072 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26073 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26074 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26075 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26076 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26077 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26078 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26079 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26080 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26081 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26082 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26083 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26084 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26085 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26086 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26087 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26088 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26089 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26090 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26091 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26092 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26093 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26094 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26095 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26096 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26097 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26098 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26099 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26100 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26101 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26102 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26103 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26104 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26105 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26106 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26107 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26108 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26109 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26110 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26111 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26112 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26113 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26114 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26115 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26116 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26117 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26118 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26119 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26120 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26121 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26122 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26123 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26124 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26125 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26126 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26127 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26128 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26129 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26130 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26131 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26132 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26133 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26134 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26135 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26136 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26137 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26138 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26139 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26140 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26141 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26142 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26144 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26146 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26147 (Use first letters of yesstr and nostr correctly instead of using
26150 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26152 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26153 (Use first letters of yesstr and nostr correctly).
26155 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26157 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26158 also check for the first characters of yesstr and nostr.
26159 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26160 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26162 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26164 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26165 also check for Chinese characters.
26167 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26169 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26170 match also for the contents of yesstr and nostr. As the first letter
26171 of yesstr and nostr is equal, checking only for the first letter
26174 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26176 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26177 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26179 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26181 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26182 of main contributor.
26184 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26186 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26187 instead of using English.
26189 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26191 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26192 by including the first letters of nostr and yesexpr in the regexp.
26193 Also make it more readable by using ASCII where possible.
26195 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26197 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26198 the first letter of nostr in the regexp. It agrees with CLDR now.
26199 Also make it more readable by using ASCII where possible.
26201 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26203 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26204 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26205 these strings contain a U+17D6 (which somewhat looks like a colon)
26206 instead of a real colon to separate the full words for “yes”
26207 and “no” from the single letter responses.
26209 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26211 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26212 it agree with CLDR (include the first letter of yesstr).
26213 Also make it more readable by using ASCII where possible.
26215 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26217 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26218 and improve yesexpr and noexpr. The yesstr and nostr apparently
26219 came from CLDR. And CLDR has a bug there: these strings contain
26220 a U+0903 (which looks like a colon) instead of a real colon
26221 to separate the full words for “yes” and “no” from the single
26224 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26226 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26227 letters of the full yesstr and nostr in yesexpr and noexpr.
26229 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26231 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26232 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26233 * localedata/locales/an_ES: Make source more readable by using ASCII
26236 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26239 * localedata/locales/yuw_PG: New file.
26240 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26241 * locale/iso-639.def: Add Yau (Uruwa).
26243 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26245 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26247 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26249 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26250 (__libc_realloc): Likewise.
26251 (_mid_memalign): Likewise.
26252 (__libc_calloc): Likewise.
26254 2017-10-23 Mike FABIAN <mfabian@redhat.com>
26256 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26257 by adding the generic +1 and -0 as in all other locales.
26258 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26259 day names and make it more readable by using ASCII where possible.
26261 2017-10-24 Joseph Myers <joseph@codesourcery.com>
26263 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26264 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26266 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26268 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26269 WNOHANG in waitpid call.
26271 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26273 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26274 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26276 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26277 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26278 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26279 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26280 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26281 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26282 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26283 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26286 2017-10-23 Michael Collison <michael.collison@arm.com>
26288 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26289 with __builtin_sqrt.
26290 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26291 with __builtin_sqrtf.
26292 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26293 with __builtin_ceil.
26294 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26295 with __builtin_ceilf.
26296 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26297 with __builtin_floor.
26298 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26299 with __builtin_floorf.
26300 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26301 with __builtin_fma.
26302 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26303 with __builtin_fmaf.
26304 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26305 with __builtin_fmax.
26306 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26307 with __builtin_fmaxf.
26308 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26309 with __builtin_fmin.
26310 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26311 with __builtin_fminf.
26312 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26313 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26314 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26315 with builtin_rint and conversion to int.
26316 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26317 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26318 with builtin_llround.
26319 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26320 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26321 with builtin_rint and conversion to long int.
26322 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26323 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26324 with builtin_lround.
26325 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26326 with builtin_lroundf.
26327 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26328 statements with __builtin_nearbyint.
26329 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26330 statements with __builtin_nearbyintf.
26331 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26332 with __builtin_rint.
26333 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26334 with __builtin_rintf.
26335 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26336 with __builtin_round.
26337 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26338 with __builtin_roundf.
26339 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26340 with __builtin_trunc.
26341 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26342 with __builtin_truncf.
26343 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26344 and s_l[l]round[f].c too.
26346 2017-10-23 Alan Modra <amodra@gmail.com>
26348 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26349 Adjust stack after restoring regs. Add missing LR cfi_restore.
26351 2017-10-23 Alan Modra <amodra@gmail.com>
26353 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26354 Move LR save and frame setup/teardown and LR restore to
26355 immediately around memset call. Provide cfi.
26357 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26359 * sysdeps/i386/fpu/e_powf.S: Removed.
26360 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26361 * sysdeps/i386/fpu/w_powf.c: Likewise.
26362 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26363 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26364 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26366 (CFLAGS-e_powf-sse2.c): New.
26367 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26368 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26370 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26372 * sysdeps/i386/fpu/e_log2f.S: Removed.
26373 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26374 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26375 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26376 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26377 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26379 (CFLAGS-e_log2f-sse2.c): New.
26380 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26381 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26383 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26385 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26387 (CFLAGS-e_powf-fma.c): New.
26388 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26389 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26391 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26393 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26395 (CFLAGS-e_log2f-fma.c): New.
26396 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26397 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26399 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26401 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26403 (CFLAGS-e_logf-fma.c): New.
26404 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26405 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26407 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26409 * sysdeps/i386/fpu/e_logf.S: Removed.
26410 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26411 * sysdeps/i386/fpu/w_logf.c: Likewise.
26412 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26413 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26414 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26415 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26417 (CFLAGS-e_logf-sse2.c): New.
26418 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26419 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26421 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26423 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26424 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26425 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26426 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26427 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26429 (CFLAGS-e_exp2f-sse2.c): New.
26430 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26431 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26433 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26435 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26437 (CFLAGS-e_exp2f-fma.c): New.
26438 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26439 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26441 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26443 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26444 * sysdeps/i386/fpu/e_expf.S: Likewise.
26445 * sysdeps/i386/fpu/math_errf.c: Likewise.
26446 * sysdeps/i386/fpu/w_expf.c: Likewise.
26447 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26448 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26449 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26450 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26451 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26452 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26453 Remove e_expf-ia32.
26454 (CFLAGS-e_expf-sse2.c): New.
26455 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26456 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26458 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26460 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26461 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26462 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26463 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26465 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26467 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26468 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26470 (__redirect_expf): This.
26471 (SYMBOL_NAME): Changed to expf.
26472 (__ieee754_expf): Renamed to ...
26474 (__GI___expf): This.
26475 (__ieee754_expf): Add strong_alias.
26476 (__expf_finite): Likewise.
26478 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26480 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26483 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26486 2017-10-21 Florian Weimer <fweimer@redhat.com>
26488 * posix/Makefile (tests): Add tst-glob-tilde.
26489 (tests-special): Add tst-glob-tilde-mem.out
26490 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26491 (tst-glob-tilde-mem.out): Add mtrace check.
26492 * posix/tst-glob-tilde.c: New file.
26494 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26496 * bits/floatn-common.h: New file.
26497 * math/Makefile (headers): Add bits/floatn-common.h.
26498 * bits/floatn.h: Include <bits/floatn-common.h>.
26499 * sysdeps/ia64/bits/floatn.h: Likewise.
26500 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26501 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26502 * sysdeps/powerpc/bits/floatn.h: Likewise.
26503 * sysdeps/x86/bits/floatn.h: Likewise.
26505 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26507 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26508 indicates whether compiler emits an warning for alias for
26509 functions with incompatible types.
26512 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26513 the auxiliary process is terminated by a signal before calling _exit
26516 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26519 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26521 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26522 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26523 and bit_arch_XSAVEC_Usable if needed.
26524 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26525 and bit_arch_Use_dl_runtime_resolve_opt.
26526 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26528 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26529 (bit_arch_Prefer_No_AVX512): Updated.
26530 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26531 (bit_arch_XSAVEC_Usable): New.
26532 (STATE_SAVE_OFFSET): Likewise.
26533 (STATE_SAVE_MASK): Likewise.
26534 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26535 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26536 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26537 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26538 (index_arch_XSAVEC_Usable): New.
26539 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26540 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26541 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26543 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26544 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26545 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26546 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26547 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26548 _dl_runtime_resolve_xsavec.
26549 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26551 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26552 instead of VEC_SIZE.
26553 (REGISTER_SAVE_BND0): Removed.
26554 (REGISTER_SAVE_BND1): Likewise.
26555 (REGISTER_SAVE_BND3): Likewise.
26556 (REGISTER_SAVE_RAX): Always defined to 0.
26558 (_dl_runtime_resolve_avx): Likewise.
26559 (_dl_runtime_resolve_avx_slow): Likewise.
26560 (_dl_runtime_resolve_avx_opt): Likewise.
26561 (_dl_runtime_resolve_avx512): Likewise.
26562 (_dl_runtime_resolve_avx512_opt): Likewise.
26563 (_dl_runtime_resolve_sse): Likewise.
26564 (_dl_runtime_resolve_sse_vex): Likewise.
26566 (_dl_runtime_resolve_fxsave): Likewise.
26567 (USE_XSAVE): Likewise.
26568 (_dl_runtime_resolve_xsave): Likewise.
26569 (USE_XSAVEC): Likewise.
26570 (_dl_runtime_resolve_xsavec): Likewise.
26571 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26573 (_dl_runtime_resolve_avx512_opt): Likewise.
26574 (_dl_runtime_resolve_avx): Likewise.
26575 (_dl_runtime_resolve_avx_opt): Likewise.
26576 (_dl_runtime_resolve_sse): Likewise.
26577 (_dl_runtime_resolve_sse_vex): Likewise.
26578 (_dl_runtime_resolve_fxsave): New.
26579 (_dl_runtime_resolve_xsave): Likewise.
26580 (_dl_runtime_resolve_xsavec): Likewise.
26582 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
26586 * posix/glob.c (__glob): Fix one-byte overflow.
26588 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26590 * malloc/malloc.c (sysdep-cancel.h): Add include.
26592 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26594 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26596 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26598 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26599 (tests): Remove $(objpfx)ga_test depdendency.
26600 * resolv/ga_test.c: Remove file.
26602 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26605 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26606 * localedata/locales/kab_DZ: New file.
26608 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26610 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26611 _dl_relocate_static_pie instead of _dl_start to compute load
26612 address in static PIE.
26614 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26616 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26618 2017-10-20 Mike FABIAN <mfabian@redhat.com>
26621 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26622 * localedata/locales/shn_MM: New file.
26624 2017-10-20 Florian Weimer <fweimer@redhat.com>
26627 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26628 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26629 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26630 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26631 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26632 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26634 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26636 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26638 2017-10-19 Joseph Myers <joseph@codesourcery.com>
26640 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26643 * sysdeps/mips/bits/long-double.h: Move to ....
26644 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26646 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26648 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26650 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
26651 H.J. Lu <hongjiu.lu@intel.com>
26654 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26655 GLRO(dl_platform) to NULL.
26656 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26657 (modules-names): Add tst-platformmod-1 and
26658 x86_64/tst-platformmod-2.
26659 (CFLAGS-tst-platform-1.c): New.
26660 (CFLAGS-tst-platformmod-1.c): Likewise.
26661 (CFLAGS-tst-platformmod-2.c): Likewise.
26662 (LDFLAGS-tst-platformmod-2.so): Likewise.
26663 ($(objpfx)tst-platform-1): Likewise.
26664 ($(objpfx)tst-platform-1.out): Likewise.
26665 (tst-platform-1-ENV): Likewise.
26666 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26667 * sysdeps/x86_64/tst-platform-1.c: New file.
26668 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26669 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26671 2017-10-19 Mike FABIAN <mfabian@redhat.com>
26674 * locale/iso-639.def: Add Karbi.
26675 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26676 * localedata/locales/mjw_IN: New file.
26678 2017-10-18 Joseph Myers <joseph@codesourcery.com>
26680 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26681 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26682 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26683 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26684 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26685 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26686 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26688 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26689 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26690 * manual/math.texi (Mathematics): Document additional architecture
26691 support for _Float128.
26692 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26693 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26694 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26695 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26696 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26697 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26698 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26699 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26700 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26701 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26702 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26703 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26704 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26705 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26706 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26708 2017-10-18 Renlin Li <renlin.li@arm.com>
26710 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26711 _DYNAMIC symbol to calculate load address.
26713 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
26715 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26716 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26718 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26719 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26721 2017-10-18 Mike FABIAN <mfabian@redhat.com>
26724 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26725 and improve readability by using more ASCII.
26726 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26727 and improve readability by using more ASCII.
26729 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26731 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26732 not all targets support atomics on bool.
26734 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26736 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26737 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26739 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26740 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26741 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26742 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26743 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26744 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26746 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26748 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26751 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26754 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26755 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26756 (do_check_remalloced_chunk): Fix build bug.
26757 (do_check_malloc_state): Add assert that checks arena->top.
26758 (malloc_consolidate): Remove initialization.
26759 (int_mallinfo): Remove call to malloc_consolidate.
26760 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26762 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26764 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26765 (have_fastchunks): Remove.
26766 (clear_fastchunks): Remove.
26767 (set_fastchunks): Remove.
26768 (malloc_state): Add have_fastchunks.
26769 (malloc_init_state): Use have_fastchunks.
26770 (do_check_malloc_state): Remove incorrect invariant checks.
26771 (_int_malloc): Use have_fastchunks.
26772 (_int_free): Likewise.
26773 (malloc_consolidate): Likewise.
26775 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26777 * malloc/malloc.c (tcache_put): Inline.
26778 (tcache_get): Inline.
26780 2017-10-17 Jordi Mallach <jordi@gnu.org>
26782 Aurelien Jarno <aurelien@aurel32.net>
26784 * localedata/locales/ca_ES@valencia: New file.
26785 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26787 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26790 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26793 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26795 * scripts/build-many-glibcs.py (Context.add_all_configs):
26796 Add arm-linux-gnueabihf multiarch extra_glibcs.
26798 * sysdeps/generic/ifunc-init.h: New file.
26799 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26801 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26804 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26805 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26806 * stdlib/tst-strfmon_l.c: adapt test case.
26808 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26810 * sysdeps/generic/float128-abi.h: New file.
26811 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26812 non-__prefixed symbols to ....
26813 * math/Versions: ... here. Include <float128-abi.h>.
26814 * stdlib/Versions ... and here. Include <float128-abi.h>
26816 2017-10-16 Florian Weimer <fweimer@redhat.com>
26818 * version.h (VERSION): Switch to ".9000" as the development
26821 2017-10-16 Florian Weimer <fweimer@redhat.com>
26824 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26825 compat_symbol_reference to access non-default version.
26827 2017-10-16 Florian Weimer <fweimer@redhat.com>
26829 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26831 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26833 * include/shlib-compat.h (compat_symbol_reference): Update
26836 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26838 * math/Makefile (test-types): Add
26839 $(type-float128-$(float128-alias-fcts)).
26840 * math/test-float128.h (TYPE_STR): Define conditional on
26841 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26842 (ULP_IDX): Likewise.
26843 (ULP_I_IDX): Likewise.
26845 * stdlib/strtold.c: Include <bits/floatn.h>
26846 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26847 and later undefine as macro. Define as weak alias if
26849 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26850 and later undefine as macro. Define as weak alias if
26852 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26853 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26854 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26855 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26856 Define and later undefine as macro. Define as weak alias if
26858 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26860 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26861 Define and later undefine as macro. Define as weak alias if
26863 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26864 Define and later undefine as macro. Define as weak alias if
26867 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26869 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26870 record_verbose messages.
26872 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26875 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26876 to silence -O3 -Wall warning with GCC 7.
26878 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26880 * Makeconfig (+link-static-before-libc): Use the first of
26881 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26882 * gmon/Makefile (tests): Add tst-gmon-static.
26883 (tests-static): Likewise.
26884 (CFLAGS-tst-gmon-static.c): New.
26885 (CRT-tst-gmon-static): Likewise.
26886 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26887 (tst-gmon-static-ENV): Likewise.
26888 (tests-special): Likewise.
26889 ($(objpfx)tst-gmon-static.out): Likewise.
26890 (clean-tst-gmon-static-data): Likewise.
26891 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26892 * gmon/tst-gmon-static-gprof.sh: New file.
26893 * gmon/tst-gmon-static.c: Likewise.
26895 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26898 * locale/programs/linereader.c (get_string): Don't warn on
26899 non-symbolic character.
26902 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26906 * locale/programs/record-status.h: New file
26907 * locale/programs/locale.c: Add comment.
26908 * locale/programs/charmap-dir.c: Don't include error.h.
26909 (charmap_opendir): Use record_error.
26910 * locale/programs/charmap.c: Don't include error.h.
26911 (charmap_read): Use record_error, and record_warning.
26912 (parse_charmap): Likewise.
26913 * locale/programs/ld-address.c: Don't include error.h.
26914 (address_finish): Use record_error, and record_warning.
26915 * locale/programs/ld-collate.c: Don't include error.h.
26916 (collate_finish): Use record_error, and record_error_at_line.
26917 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26918 (ctype_class_new): Likewise.
26919 (ctype_map_new): Likewise.
26920 (set_one_default): Likewise.
26921 (set_class_defaults): Likewise.
26922 (translit_flatten): Likewise.
26923 (allocate_arrays): Use record_error, and record_verbose.
26924 * locale/programs/ld-identification.c: Don't include error.h.
26925 (indentation_finish): Use record_error and record_warning.
26926 * locale/programs/ld-measurement.c: Don't include error.h.
26927 (measurement_finish): Use record_error.
26928 * locale/programs/ld-messages.c
26929 (message_finish): Likewise.
26930 * locale/programs/ld-monetary.c
26931 (monetary_finish): Likewise.
26932 * locale/programs/ld-name.c (name_finish): Use record_error
26933 and record_warning.
26934 * locale/programs/ld-numeric.c
26935 (numeric_finish): Use record_error.
26936 * locale/programs/ld-paper.c: Don't include error.h.
26937 (paper_finish): Use record_error.
26938 * locale/programs/ld-telephone.c: Don't include error.h.
26939 (telephone_finish): Use record_error.
26940 * locale/programs/ld-time.c (time_finish): Likewise.
26941 * locale/programs/linereader.h (lr_error): Make inline func.
26942 * locale/programs/localedef.c: Define recorded_warning_count,
26943 and recorded_error_count.
26944 (main): Use record_error. Use recorded_error_count and
26945 recorded_warning_count to issue correct error returns.
26946 (add_to_readlist): Use record_error.
26947 (find_locale): Likewise.
26948 (load_locale): Likewise.
26949 * locale/programs/localedef.h: Remove be_quiet
26950 and WITH_CUR_LOCALE.
26951 * locale/programs/locarchive.c (compare_from_file): Use
26953 * locale/programs/locfile.c (write_locale_data): Use
26955 * locale/programs/repertoire.c: Dont include error.h.
26956 (repertoire_complain): Use record_error.
26957 * localedata/tst-fmon.sh: Expect failures from localedef.
26958 * localedata/tst-locale.sh: Likewise.
26959 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26961 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26962 (REPORTS): Likewise.
26964 (i18n): Rename to...
26965 (i18n_ctype): ...this.
26966 (i18n-report): Rename to...
26967 (i18n_ctype-report): ...this.
26968 * localedata/locales/i18n_ctype: Regenerate.
26969 * localedata/locales/i18n: copy i18n_ctype.
26971 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26973 * stdlib/strfroml.c: Include <bits/floatn.h>.
26974 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26975 Define before include of <stdlib.h> and undefine afterwards, then
26976 define as weak alias.
26978 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26979 Undefine and restore default definition. Use
26980 libm_alias_ldouble_other.
26982 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26985 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26988 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26990 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26991 Assign sym_map to be map for local symbols, as TLS relocations
26992 use sym_map to determine whether the symbol is defined and to
26993 extract the TLS information.
26994 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26995 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26997 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27000 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27001 (math_force_eval): Add powerpc version.
27004 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27006 (do_test): Likewise.
27007 * stdio-common/tst-printf.sh: Likewise.
27008 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27009 ifdef clause in order to set the carry bit right. Replace r0 by
27010 0 without changing the behavior.
27012 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27014 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27015 <libm-alias-ldouble.h>.
27016 (fabsl): Define using libm_alias_ldouble.
27017 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27018 <libm-alias-ldouble.h>.
27019 (fabsl): Define using libm_alias_ldouble.
27021 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27022 Remove conditional code.
27024 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27025 Rename to __clog10_internal_l.
27026 (__clog10_internal_l): Define aliases using
27027 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27030 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27032 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27033 * benchtests/sincosf-inputs: New file.
27034 * benchtests/cosf-inputs: New file.
27035 * benchtests/sinf-inputs: New file.
27037 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27039 * posix/tst-spawn.c (do_test): Wait for both children.
27041 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27044 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27045 tests-pie): Add tst-gmon-pie.
27046 (CFLAGS-tst-gmon-pie.c): New.
27047 (CRT-tst-gmon-pie): Likewise.
27048 (tst-gmon-pie-ENV): Likewise.
27049 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27050 ($(objpfx)tst-gmon-pie.out): Likewise.
27051 (clean-tst-gmon-pie-data): Likewise.
27052 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27053 * gmon/gmon.c [PIC]: Include <link.h>.
27054 [PIC] (callback): New function.
27055 (write_hist): Add an argument for load address. Subtract load
27057 (write_call_graph): Likewise.
27058 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27059 it to write_hist and write_call_graph.
27060 * gmon/tst-gmon-pie.c: New file.
27062 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27064 * math/Makefile (test-types-basic): New variable.
27065 (test-types): Likewise.
27066 (libm-test-support): Use $(test-types) instead of $(types).
27067 (libm-tests-base-normal): Likewise.
27068 (libm-tests-base-finite): Likewise.
27069 (libm-tests-base-inline): Likewise.
27070 (generated): Likewise.
27071 ($(objpfx)libm-test-support-$(t).c): Likewise.
27072 (libm-tests-for-type iterator): Likewise.
27073 (libm-test-support iterator): Likewise.
27074 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27075 (ulp_idx): Use ULP_IDX.
27076 * math/test-ldouble.h: Include <float.h>.
27077 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27078 (ULP_IDX): New macro.
27079 (ULP_I_IDX): Likewise.
27080 * math/test-double.h (ULP_IDX): Likewise.
27081 (ULP_I_IDX): Likewise.
27082 * math/test-float.h (ULP_IDX): Likewise.
27083 (ULP_I_IDX): Likewise.
27084 * math/test-float128.h (ULP_IDX): Likewise.
27085 (ULP_I_IDX): Likewise.
27087 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27089 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27090 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27091 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27092 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27093 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27094 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27095 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27096 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27097 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27098 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27099 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27100 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27101 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27102 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27103 (SINGLE_THREAD_BY_GLOBAL): Define.
27104 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27106 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27108 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27110 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27112 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27113 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27117 2017-10-11 Andreas Schwab <schwab@suse.de>
27119 * nis/Makefile (aux): Remove.
27120 * nscd/Makefile (aux): Add nscd_hash.
27121 (nscd-modules): Likewise.
27122 ($(objpfx)nscd): Don't depend on libnsl.
27123 * nscd/nscd_hash.c: New file.
27124 * nscd/nscd_hash.h: Likewise.
27125 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27126 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27127 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27128 instead of <nis/rpcsvc/nis.h>.
27129 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27131 2017-10-11 Florian Weimer <fweimer@redhat.com>
27134 Avoid large NSS buffers with many addresses, aliases.
27135 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27136 using dynarrays and struct alloc_buffer.
27137 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27138 (tst-nss-files-hosts-multi): Link with -ldl.
27139 * nss/tst-nss-files-hosts-multi.c: New file.
27141 2017-10-11 Florian Weimer <fweimer@redhat.com>
27144 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27145 scratch_buffer. Eliminate gotos.
27147 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27149 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27150 libm_alias_ldouble_other.
27151 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27152 undefine and redefine.
27153 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27154 (exp10l): Do not define here.
27155 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27156 (weak_alias): Undefine and redefine.
27157 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27158 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27159 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27160 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27162 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27163 [!__fma] (fma): Define using libm_alias_double.
27164 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27165 [!__fmaf] (fmaf): Define using libm_alias_float.
27166 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27167 (fmal): Define using libm_alias_ldouble.
27169 2017-10-10 Joseph Myers <joseph@codesourcery.com>
27171 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27173 (libm_alias_double_other): Likewise.
27174 (libm_alias_double_r): Use libm_alias_double_other_r.
27175 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27177 (libm_alias_float_other): Likewise.
27178 (libm_alias_float_r): Use libm_alias_float_other_r.
27179 * sysdeps/generic/libm-alias-float128.h
27180 (libm_alias_float128_other_r): New macro.
27181 (libm_alias_float128_other): Likewise.
27182 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27183 * sysdeps/generic/libm-alias-ldouble.h
27184 (libm_alias_ldouble_other_r): New macro.
27185 (libm_alias_ldouble_other): Likewise.
27186 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27187 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27188 (libm_alias_double_other_r): New macro.
27189 (libm_alias_double_other): Likewise.
27190 (libm_alias_double_r): Use libm_alias_double_other_r.
27191 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27192 (libm_alias_ldouble_other_r): New macro.
27193 (libm_alias_ldouble_other): Likewise.
27194 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27195 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27196 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27197 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27198 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27199 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27200 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27201 * math/w_exp2f.c: Use libm_alias_float_other.
27202 * math/w_expf.c: Likewise.
27203 * math/w_log2f.c: Likewise.
27204 * math/w_logf.c: Likewise.
27205 * math/w_powf.c: Likewise.
27206 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27207 [!__exp2f]: Use libm_alias_float_other.
27208 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27209 [!__expf]: Use libm_alias_float_other.
27210 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27211 [!__log2f]: Use libm_alias_float_other.
27212 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27213 [!__logf]: Use libm_alias_float_other.
27214 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27215 [!__powf]: Use libm_alias_float_other.
27217 2017-10-10 Florian Weimer <fweimer@redhat.com>
27219 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27221 (_nss_files_gethostbyname3_r): Call it.
27223 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27225 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27226 error. Remove default definition of declare_mgen_alias.
27227 [!declare_mgen_alias_r]: Likewise.
27228 * sysdeps/generic/math-type-macros-double.h
27229 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27230 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27231 (declare_mgen_alias_r): Likewise.
27232 * sysdeps/generic/math-type-macros-float128.h
27233 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27234 * sysdeps/generic/math-type-macros-ldouble.h
27235 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27236 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27238 (declare_mgen_alias_r_s): Likewise.
27239 (declare_mgen_alias_r): Likewise.
27240 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27241 (lgamma_r): Define using libm_alias_double_r.
27242 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27243 (lgammaf_r): Define using libm_alias_float_r.
27244 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27245 (lgammal_r): Define using libm_alias_ldouble_r.
27246 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27247 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27249 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27251 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27252 extern declaration.
27254 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27256 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27258 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
27261 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27262 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27263 * math/Makefile (test-math-cxx11): New test.
27264 * math/test-math-cxx11.cc: New file.
27266 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27268 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27270 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27271 call to allocate the slave pty file descriptor.
27273 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27275 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27276 [!__fma] (fma): Define using libm_alias_double.
27277 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27278 [!__fma] (fma): Define using libm_alias_double.
27280 * sysdeps/ieee754/float128/float128_private.h: Include
27281 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27282 (libm_alias_ldouble_r): Undefine and redefine.
27283 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27284 <libm-alias-ldouble.h>.
27285 (asinhl): Define using libm_alias_ldouble.
27286 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27287 <libm-alias-ldouble.h>.
27288 (atanl): Define using libm_alias_ldouble.
27289 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27290 <libm-alias-ldouble.h>.
27291 (cbrtl): Define using libm_alias_ldouble.
27292 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27293 <libm-alias-ldouble.h>.
27294 (ceill): Define using libm_alias_ldouble.
27295 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27296 <libm-alias-ldouble.h>.
27297 (copysignl): Define using libm_alias_ldouble.
27298 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27299 <libm-alias-ldouble.h>.
27300 (cosl): Define using libm_alias_ldouble.
27301 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27302 <libm-alias-ldouble.h>.
27303 (erfl): Define using libm_alias_ldouble.
27305 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27306 <libm-alias-ldouble.h>.
27307 (expm1l): Define using libm_alias_ldouble.
27308 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27309 <libm-alias-ldouble.h>.
27310 (fabsl): Define using libm_alias_ldouble.
27311 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27312 <libm-alias-ldouble.h>.
27313 (floorl): Define using libm_alias_ldouble.
27314 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27315 <libm-alias-ldouble.h>.
27316 (fmal): Define using libm_alias_ldouble.
27317 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27318 <libm-alias-ldouble.h>.
27319 (frexpl): Define using libm_alias_ldouble.
27320 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27321 libm_alias_ldouble.
27322 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27323 <libm-alias-ldouble.h>.
27324 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27325 libm_alias_ldouble.
27326 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27327 <libm-alias-ldouble.h>.
27328 (getpayloadl): Define using libm_alias_ldouble.
27329 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27330 <libm-alias-ldouble.h>.
27331 (llrintl): Define using libm_alias_ldouble.
27332 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27333 <libm-alias-ldouble.h>.
27334 (llroundl): Define using libm_alias_ldouble.
27335 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27336 <libm-alias-ldouble.h>.
27337 (logbl): Define using libm_alias_ldouble.
27338 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27339 <libm-alias-ldouble.h>.
27340 (lrintl): Define using libm_alias_ldouble.
27341 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27342 <libm-alias-ldouble.h>.
27343 (lroundl): Define using libm_alias_ldouble.
27344 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27345 <libm-alias-ldouble.h>.
27346 (modfl): Define using libm_alias_ldouble.
27347 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27348 <libm-alias-ldouble.h>.
27349 (nearbyintl): Define using libm_alias_ldouble.
27350 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27351 <libm-alias-ldouble.h>.
27352 (nextafterl): Define using libm_alias_ldouble.
27353 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27354 <libm-alias-ldouble.h>.
27355 (nextupl): Define using libm_alias_ldouble.
27356 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27357 <libm-alias-ldouble.h>.
27358 (remquol): Define using libm_alias_ldouble.
27359 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27360 <libm-alias-ldouble.h>.
27361 (rintl): Define using libm_alias_ldouble.
27362 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27363 <libm-alias-ldouble.h>.
27364 (roundevenl): Define using libm_alias_ldouble.
27365 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27366 <libm-alias-ldouble.h>.
27367 (roundl): Define using libm_alias_ldouble.
27368 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27369 using libm_alias_ldouble.
27370 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27371 <libm-alias-ldouble.h>.
27372 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27373 Define using libm_alias_ldouble.
27374 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27375 <libm-alias-ldouble.h>.
27376 (sincosl): Define using libm_alias_ldouble.
27377 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27378 <libm-alias-ldouble.h>.
27379 (sinl): Define using libm_alias_ldouble.
27380 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27381 <libm-alias-ldouble.h>.
27382 (tanhl): Define using libm_alias_ldouble.
27383 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27384 <libm-alias-ldouble.h>.
27385 (tanl): Define using libm_alias_ldouble.
27386 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27387 <libm-alias-ldouble.h>.
27388 (totalorderl): Define using libm_alias_ldouble.
27389 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27390 <libm-alias-ldouble.h>.
27391 (totalordermagl): Define using libm_alias_ldouble.
27392 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27393 <libm-alias-ldouble.h>.
27394 (truncl): Define using libm_alias_ldouble.
27395 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27396 libm_alias_ldouble.
27397 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27398 libm_alias_ldouble.
27399 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27400 <libm-alias-ldouble.h>.
27401 (weak_alias): Do not undefine and redefine.
27402 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27403 (copysignl): Define with long_double_symbol only if [IS_IN
27405 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27406 <libm-alias-ldouble.h>.
27407 (weak_alias): Do not undefine and redefine.
27408 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27409 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27410 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27411 <libm-alias-ldouble.h>.
27412 (weak_alias): Do not undefine and redefine.
27413 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27414 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27415 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27416 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27417 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27418 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27419 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27420 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27421 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27422 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27423 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27424 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27425 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27426 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27427 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27428 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27429 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27430 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27431 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27432 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27433 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27434 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27435 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27436 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27437 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27438 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27440 2017-10-06 Carlos O'Donell <carlos@redhat.com>
27443 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27444 (tcache_thread_freeres): Set tcache_shutting_down before
27445 freeing the tcache.
27446 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27447 * malloc/tst-malloc-tcache-leak.c: New file.
27449 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27451 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27452 back to powerpc32 file.
27453 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27454 (memrchr): Add __memrchr_power8 to ifunc list.
27455 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27456 extra bytes for unaligned inputs.
27458 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27460 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27461 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27462 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27463 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27464 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27466 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27468 * sysdeps/arm/libm-test-ulps: Update.
27470 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27471 <libm-alias-ldouble.h>.
27472 (asinhl): Define using libm_alias_ldouble.
27473 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27474 <libm-alias-ldouble.h>.
27475 (cbrtl): Define using libm_alias_ldouble.
27476 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27477 <libm-alias-ldouble.h>.
27478 (copysignl): Define using libm_alias_ldouble.
27479 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27480 <libm-alias-ldouble.h>.
27481 (cosl): Define using libm_alias_ldouble.
27482 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27483 <libm-alias-ldouble.h>.
27484 (erfl): Define using libm_alias_ldouble.
27486 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27487 <libm-alias-ldouble.h>.
27488 (fmal): Define using libm_alias_ldouble.
27489 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27490 <libm-alias-ldouble.h>.
27491 (frexpl): Define using libm_alias_ldouble.
27492 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27493 libm_alias_ldouble.
27494 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27495 <libm-alias-ldouble.h>.
27496 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27497 libm_alias_ldouble.
27498 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27499 <libm-alias-ldouble.h>.
27500 (getpayloadl): Define using libm_alias_ldouble.
27501 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27502 <libm-alias-ldouble.h>.
27503 (llrintl): Define using libm_alias_ldouble.
27504 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27505 <libm-alias-ldouble.h>.
27506 (llroundl): Define using libm_alias_ldouble.
27507 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27508 <libm-alias-ldouble.h>.
27509 (lrintl): Define using libm_alias_ldouble.
27510 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27511 <libm-alias-ldouble.h>.
27512 (lroundl): Define using libm_alias_ldouble.
27513 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27514 <libm-alias-ldouble.h>.
27515 (modfl): Define using libm_alias_ldouble.
27516 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27517 <libm-alias-ldouble.h>.
27518 (nextupl): Define using libm_alias_ldouble.
27519 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27520 <libm-alias-ldouble.h>.
27521 (remquol): Define using libm_alias_ldouble.
27522 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27523 <libm-alias-ldouble.h>.
27524 (roundevenl): Define using libm_alias_ldouble.
27525 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27526 <libm-alias-ldouble.h>.
27527 (roundl): Define using libm_alias_ldouble.
27528 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27529 using libm_alias_ldouble.
27530 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27531 <libm-alias-ldouble.h>.
27532 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27533 <libm-alias-ldouble.h>.
27534 (setpayloadsigl): Define using libm_alias_ldouble.
27535 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27536 <libm-alias-ldouble.h>.
27537 (sincosl): Define using libm_alias_ldouble.
27538 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27539 <libm-alias-ldouble.h>.
27540 (sinl): Define using libm_alias_ldouble.
27541 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27542 <libm-alias-ldouble.h>.
27543 (tanhl): Define using libm_alias_ldouble.
27544 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27545 <libm-alias-ldouble.h>.
27546 (tanl): Define using libm_alias_ldouble.
27547 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27548 <libm-alias-ldouble.h>.
27549 (totalorderl): Define using libm_alias_ldouble.
27550 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27551 <libm-alias-ldouble.h>.
27552 (totalordermagl): Define using libm_alias_ldouble.
27553 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27554 libm_alias_ldouble.
27555 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27556 libm_alias_ldouble.
27558 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27560 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27562 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27563 (__libc_ifunc_impl_list): Likewise.
27564 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27565 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27567 * benchtests/bench-memmove-walk.c: New file.
27568 * benchtests/Makefile (string-benchset): Add it.
27570 * benchtests/bench-memset-walk.c: New file.
27571 * benchtests/Makefile (string-benchset): Add it.
27573 * benchtests/bench-memcpy-walk.c: New file.
27574 * benchtests/Makefile (string-benchset): Add it.
27576 2017-10-05 Florian Weimer <fweimer@redhat.com>
27578 nscd: Eliminate compilation time dependency in the build output.
27579 * nscd/nscd_stat.c (STATDATA_VERSION)
27580 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27581 (STATDATA_VERSION_FULL): New macro definitions.
27582 (compilation): Remove.
27583 (struct statdata): Adjust version member.
27584 (send_stats): Set version from STATDATA_VERSION_FULL.
27585 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27587 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27589 * configure.ac (--enable-add-ons): Remove option.
27590 (machine): Do not mention add-ons in comment.
27591 (LIBC_PRECONFIGURE): Likewise.
27592 (add_ons): Remove variable and sanity checks and logic to locate
27594 (add_ons_automatic): Remove variable.
27595 (configured_add_ons): Likewise.
27596 (add_ons_sfx): Likewise.
27597 (add_ons_pfx): Likewise.
27598 (add_on_subdirs): Likewise.
27599 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27600 consideration of add-ons in Implies handling.
27601 (sysdeps_add_ons): Likewise.
27602 * configure: Regenerated.
27603 * libidn/configure.ac: Remove.
27604 * libidn/configure: Likewise.
27605 * sysdeps/unix/inet/configure.ac: New file.
27606 * sysdeps/unix/inet/configure: New generated file.
27607 * sysdeps/unix/inet/Subdirs: Add libidn.
27608 * Makeconfig (sysdeps-srcdirs): Remove variable.
27609 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27610 ($(common-objpfx)config.status): Do not depend on add-on files.
27611 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27613 (all-subdirs): Do not include $(add-on-subdirs).
27614 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27615 * config.make.in (add-ons): Remove variable.
27616 (add-on-subdirs): Likewise.
27617 (sysdeps-add-ons): Likewise.
27618 * manual/Makefile (add-chapters): Remove.
27619 ($(objpfx)texis): Do not depend on $(add-chapters).
27620 (nonexamples): Do not handle $(add-chapters).
27621 (examples): Do not handle $(add-ons).
27622 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27624 * manual/install.texi (Installation): Do not mention add-ons.
27625 (--enable-add-ons): Do not document configure option.
27626 * INSTALL: Regenerated.
27627 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27628 * manual/maint.texi (Hierarchy Conventions): Do not mention
27630 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27632 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27634 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27635 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27637 2017-10-05 Andreas Schwab <schwab@suse.de>
27640 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27641 (_IO_flush_all_lockp): Always lock list_all_lock.
27642 (_IO_flush_all_linebuffered): Likewise.
27643 (_IO_unbuffer_all): Likewise.
27645 2017-10-05 Florian Weimer <fweimer@redhat.com>
27648 Do not flush stdio streams on abort.
27649 * stdlib/abort.c (fflush): Remove macro definition.
27650 (abort): Remove stages related to stdio flushing.
27652 2017-10-05 Florian Weimer <fweimer@redhat.com>
27654 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27656 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27658 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27660 2017-10-05 Florian Weimer <fweimer@redhat.com>
27662 * support/support_format_hostent.c (support_format_hostent): Add
27663 more error information for NETDB_INTERNAL.
27665 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27667 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27668 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27669 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27670 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27671 AC_DEFINE if multi-arch is enabled.
27672 * sysdeps/i386/configure: Regenerated.
27674 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27676 * Makeconfig (+link-static-before-libc): Use
27677 $(DEFAULT-LDFLAGS-$(@F)).
27678 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27679 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27680 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27682 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27684 * elf/Makefile (tests): Add tst-main1.
27685 (modules-names): Add tst-main1mod.
27686 ($(objpfx)tst-main1): New.
27687 (CRT-tst-main1): Likewise.
27688 (LDFLAGS-tst-main1): Likewise.
27689 (LDLIBS-tst-main1): Likewise.
27690 (tst-main1mod.so-no-z-defs): Likewise.
27691 * elf/tst-main1.c: New file.
27692 * elf/tst-main1mod.c: Likewise.
27694 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27696 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27698 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27700 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27701 (fma): Define using libm_alias_double.
27702 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27703 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27705 (fmal): Do not define as compat symbol here.
27706 * sysdeps/alpha/fpu/s_fma.c: New file.
27708 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27710 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27712 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27715 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27717 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27719 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27720 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27721 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27722 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27724 Include <math_ldbl_opt.h>
27725 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27727 (compat_symbol): Undefine and redefine.
27728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27730 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27731 (compat_symbol): Undefine and redefine.
27732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27733 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27734 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27735 GLIBC_2_1 for libm.
27736 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27737 GLIBC_2.0 copysignl symbol.
27738 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27739 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27741 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27743 2017-10-04 Florian Weimer <fweimer@redhat.com>
27745 * scripts/check-local-headers.sh: Ignore nspr4 header file
27746 directory in addition to nspr.
27748 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27751 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27752 * configure: Regenerate.
27753 * crypt/Makefile (nss-cpp-flags): New variable.
27754 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27755 (CPPFLAGS-md5-crypt.c): Use it.
27756 * scripts/check-local-headers.sh: Ignore nspr header file
27759 2017-10-04 Andreas Schwab <schwab@suse.de>
27761 * nis/Makefile (services): Remove compat.
27762 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27763 ($(objpfx)libnss_compat.so): Remove rule.
27764 * nis/Versions (libnss_compat): Remove.
27765 * nss/Makefile (services): Add compat.
27766 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27767 * nss/Versions (libnss_compat): Define.
27768 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27769 Don't include <rpc/types.h>. Replace bool_t by bool.
27770 * nss/nss_compat/compat-initgroups.c: Likewise.
27771 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27772 instead of <rpcsrv/ypclnt.h>.
27773 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27774 yp_get_default_domain.
27775 * nss/nss_compat/compat-pwd.c: Likewise.
27776 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27777 yp_get_default_domain.
27778 * nss/nss_compat/nisdomain.c: New file.
27779 * nss/nss_compat/nisdomain.h: Likewise.
27781 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27784 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27785 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27787 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27790 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27791 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27793 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27795 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27796 "movl main@GOTOFF(%ebx), %eax".
27798 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27800 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27801 allow undefined _DYNAMIC in PIE libc.a.
27802 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27805 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27807 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27810 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27812 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27815 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27817 * math/test-math-iscanonical.cc (error): Replace bool with int.
27819 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27821 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27822 (modf): Define using libm_alias_double, only if [!__modf].
27823 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27824 <libm-alias-double.h>.
27825 (modf): Define using libm_alias_double, only if [!__modf].
27826 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27827 compat symbol here.
27828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27829 (weak_alias): Do not undefine and redefine.
27830 (strong_alias): Likewise.
27831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27832 (weak_alias): Likewise.
27833 (strong_alias): Likewise.
27835 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27836 (logb): Define using libm_alias_double, only if [!__logb].
27837 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27838 <libm-alias-double.h>.
27839 (logb): Define using libm_alias_double, only if [!__logb].
27840 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27842 (weak_alias): Do not undefine and redefine.
27843 (strong_alias): Likewise.
27844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27845 (weak_alias): Likewise.
27846 (strong_alias): Likewise.
27848 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27850 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27851 Check SHARED instead PIC.
27853 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27855 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27856 [!__fmaf] (fmaf): Define using libm_alias_float.
27858 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27859 (frexp): Define using libm_alias_double.
27860 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27861 <libm-alias-double.h>.
27862 (frexp): Define using libm_alias_double.
27863 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27864 compat symbol here.
27866 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27869 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27870 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27871 (CFLAGS-test-math-iscanonical.cc): New variable.
27872 * math/test-math-iscanonical.cc: New file.
27873 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27874 Provide a C++ implementation based on function overloading,
27875 rather than using __MATH_TG, which uses C-only builtins.
27876 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27878 * sysdeps/powerpc/powerpc64le/Makefile
27879 (CFLAGS-test-math-iscanonical.cc): New variable.
27881 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27883 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27884 (ceil): Define using libm_alias_double.
27885 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27886 (floor): Define using libm_alias_double.
27887 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27888 <libm-alias-double.h>.
27889 (llround): Define using libm_alias_double.
27890 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27891 <libm-alias-double.h>.
27892 (lround): Define using libm_alias_double.
27893 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27894 <libm-alias-double.h>.
27895 (nearbyint): Define using libm_alias_double.
27896 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27897 <libm-alias-double.h>.
27898 (remquo): Define using libm_alias_double.
27899 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27900 (rint): Define using libm_alias_double.
27901 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27902 (round): Define using libm_alias_double.
27903 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27904 (trunc): Define using libm_alias_double.
27905 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27906 <libm-alias-double.h>.
27907 (ceil): Define using libm_alias_double.
27908 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27909 <libm-alias-double.h>.
27910 (floor): Define using libm_alias_double.
27911 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27912 <libm-alias-double.h>.
27913 (llround): Define using libm_alias_double.
27914 [_LP64] (lround): Likewise.
27915 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27916 <libm-alias-double.h>.
27917 [!_LP64] (lround): Define using libm_alias_double.
27918 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27919 <libm-alias-double.h>.
27920 (nearbyint): Define using libm_alias_double.
27921 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27922 <libm-alias-double.h>.
27923 (remquo): Define using libm_alias_double.
27924 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27925 <libm-alias-double.h>.
27926 (rint): Define using libm_alias_double.
27927 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27928 <libm-alias-double.h>.
27929 (round): Define using libm_alias_double.
27930 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27931 <libm-alias-double.h>.
27932 (trunc): Define using libm_alias_double.
27933 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27934 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27935 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27936 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27937 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27938 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27939 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27940 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27941 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27943 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27945 * math/w_remainder.c: New file.
27946 * math/w_remainderf.c: New file.
27947 * math/w_remainderl.c: New file.
27949 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27951 * elf/rtld.c (BOOTSTRAP_MAP): New.
27952 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27953 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27955 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27957 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27960 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27962 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27963 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27964 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27965 rtld_hidden_data_ver): Define to empty.
27966 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27967 __assert_perror_fail): Likewise.
27968 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27969 (__rewinddir): Likewise.
27970 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27971 (__profile_frequency): Likewise.
27972 * include/setjmp.h (__sigsetjmp): Likewise.
27973 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27974 __libc_sigaction): Likewise.
27975 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27976 not set hidden attribute.
27977 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27978 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27979 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27980 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27981 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27982 __fxstatat64): Likewise.
27983 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27984 (__uname): Likewise.
27985 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27986 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27987 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27988 (NO_RTLD_HIDDEN): Set.
27989 * sysdeps/mach/hurd/configure: Refresh.
27990 * config.h.in: Refresh.
27992 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27994 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27995 (atan): Define using libm_alias_double.
27996 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27997 (tan): Define using libm_alias_double.
27998 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27999 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28001 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28002 define as weak alias of __atan. Do not define any aliases if
28004 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28005 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28006 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28007 as weak alias of __tan. Do not define any aliases if [__tan].
28008 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28009 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28010 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28012 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28013 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28014 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28015 and define as weak alias of __atan.
28016 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28018 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28019 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28020 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28021 define as weak alias of __tan.
28023 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28025 * math/w_lgamma.c: New file.
28026 * math/w_lgammaf.c: New file.
28027 * math/w_lgammal.c: New file.
28029 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28031 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28032 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28033 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28034 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28035 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28036 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28037 * sysdeps/i386/fpu/w_log2f.c: New file.
28038 * sysdeps/i386/fpu/w_logf.c: New file.
28039 * sysdeps/i386/fpu/w_powf.c: New file.
28040 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28041 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28042 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28044 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28045 H.J. Lu <hongjiu.lu@intel.com>
28047 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28048 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28049 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28050 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28051 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28053 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28054 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28055 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28056 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28057 * sysdeps/i386/fpu/w_exp2f.c: New file.
28058 * sysdeps/i386/fpu/w_expf.c: New file.
28059 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28060 * sysdeps/x86_64/fpu/w_expf.c: New file.
28062 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28064 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28067 * math/w_log2f.c: New file.
28068 * math/w_logf.c: New file.
28069 * math/w_powf.c: New file.
28070 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28071 * math/w_logf_compat.c (__logf_compat): Likewise.
28072 * math/w_powf_compat.c (__powf_compat): Likewise.
28073 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28074 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28075 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28076 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28077 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28078 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28079 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28080 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28081 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28082 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28083 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28084 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28085 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28086 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28087 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28096 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28097 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28098 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28099 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28100 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28105 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28106 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28107 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28109 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28111 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28112 (sysdep_routines): Add memrchr_power8.
28113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28114 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28115 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28117 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28118 (memrchr): Add __memrchr_power8 to ifunc list.
28119 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28121 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28124 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28125 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28127 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28128 (__posix_fallocate64_l64): Likewise.
28130 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28133 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28134 (__sched_setaffinity_new): Add libc_hidden_proto and
28137 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28140 * include/glob.h (__glob64): Add libc_hidden_proto.
28141 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28144 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28147 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28150 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28153 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28155 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28158 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28161 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28164 * csu/version.c (__libc_print_version): Add attribute_hidden.
28166 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28169 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28171 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28174 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28176 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28179 * nscd/nscd_helper.c (__nis_hash): New prototype.
28181 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28184 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28185 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28187 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28188 * termios/tcgetattr.c (__tcgetattr): Likewise.
28190 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28193 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28194 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28195 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28196 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28197 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28199 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28202 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28204 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28207 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28208 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28210 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28213 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28215 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28218 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28219 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28221 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28224 * include/ifreq.h: New file.
28225 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28226 (__ifreq): Likewise.
28227 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28228 (__ifreq): Likewise.
28230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28233 * include/idna.h: New file.
28234 * inet/getnameinfo.c: Include <idna.h> instead of
28236 (__idna_to_unicode_lzlz): Removed.
28237 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28239 (__idna_to_ascii_lz): Removed.
28240 (__idna_to_unicode_lzlz): Likewise.
28242 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28245 * include/plural-exp.h: New file.
28246 * intl/plural-exp.c: Include <plural-exp.h> instead of
28249 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28252 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28253 "getsourcefilter.h".
28254 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28255 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28256 "getsourcefilter.h".
28257 (__get_sol): Removed.
28259 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28262 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28264 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28266 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28269 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28272 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28275 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28277 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28280 * include/search.h (__tdestroy): Add libc_hidden_proto.
28281 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28283 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28286 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28288 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28291 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28294 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28297 * include/signal.h (__kill): Add libc_hidden_proto.
28298 (__sigblock): Likewise.
28299 (__sigprocmask): Likewise.
28300 (__sigaltstack): Likewise.
28301 * signal/kill.c (__kill): Add libc_hidden_def.
28302 * signal/sigblock.c (__sigblock): Likewise.
28303 * signal/sigprocmask.c (__sigprocmask): Likewise.
28304 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28305 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28306 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28307 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28308 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28310 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28312 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28313 (__sigprocmask): Likewise.
28314 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28316 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28317 (__sigprocmask): Likewise.
28318 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28321 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28324 * include/string.h (__strsep): Add libc_hidden_proto.
28325 * string/strsep.c (__strsep): Add libc_hidden_def.
28327 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28330 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28332 (__spawni): Likewise.
28334 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28337 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28338 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28341 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28344 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28346 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28349 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28350 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28351 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28352 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28353 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28355 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28356 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28358 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28361 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28362 (__dcigettext): Likewise.
28364 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28367 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28369 (__get_nprocs): Likewise.
28370 (__get_phys_pages): Likewise.
28371 (__get_avphys_pages): Likewise.
28372 (__get_child_max): Add attribute_hidden.
28373 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28374 (__get_nprocs): Likewise.
28375 (__get_phys_pages): Likewise.
28376 (__get_avphys_pages): Likewise.
28377 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28379 (__get_nprocs): Likewise.
28380 (__get_phys_pages): Likewise.
28381 (__get_avphys_pages): Likewise.
28382 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28384 (__get_nprocs_conf): Likewise.
28385 (__get_phys_pages): Likewise.
28386 (__get_avphys_pages): Likewise.
28388 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28391 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28393 (__netlink_close): Likewise.
28394 (__netlink_free_handle): Likewise.
28395 (__netlink_request): Likewise.
28397 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28400 * include/rpc/rpc.h (__rpc_thread_variables): Add
28402 (__rpc_thread_svc_cleanup): Likewise.
28403 (__rpc_thread_clnt_cleanup): Likewise.
28404 (__rpc_thread_key_cleanup): Likewise.
28406 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28409 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28410 (__writev): Likewise.
28411 * misc/readv.c (__readv): Add libc_hidden_def.
28412 * misc/writev.c (__writev): Likewise.
28413 * sysdeps/posix/readv.c (__readv): Likewise.
28414 * sysdeps/posix/writev.c (__writev): Likewise.
28415 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28416 (__readv): Likewise.
28417 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28418 (__writev): Likewise.
28420 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28423 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28424 (__regcomp): Add libc_hidden_proto.
28425 (__regexec): Likewise.
28426 (__regfree): Likewise.
28427 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28428 (__regfree): Likewise.
28429 * posix/regexec.c (__regexec): Likewise.
28431 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28434 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28435 (__getutent): Likewise.
28436 (__getutid): Likewise.
28437 (__getutline): Likewise.
28438 (__pututline): Likewise.
28439 (__getutent_r): Likewise.
28440 (__getutid_r): Likewise.
28441 (__getutline_r): Likewise.
28442 (__utmpname): Add attribute_hidden.
28443 (__setutent): Likewise.
28444 (__endutent): Likewise.
28445 * login/getutent.c (__getutent): Add libc_hidden_def.
28446 * login/getutent_r.c (__getutent_r): Likewise.
28447 (__pututline): Likewise.
28448 * login/getutid.c (__getutid): Likewise.
28449 * login/getutid_r.c (__getutid_r): Likewise.
28450 * login/getutline.c (__getutline): Likewise.
28451 * login/getutline_r.c (__getutline_r): Likewise.
28452 * login/updwtmp.c (__updwtmp): Likewise.
28454 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28457 * include/dirent.h (__opendir): Always add attribute_hidden.
28458 (__fdopendir): Likewise.
28459 (__closedir): Likewise.
28460 (__readdir): Likewise.
28461 (__readdir64): Add libc_hidden_proto.
28462 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28463 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28464 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28465 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28468 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28471 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28472 * include/netdb.h (__gethostbyaddr_r): Likewise.
28473 (__gethostbyname_r): Likewise.
28474 (__gethostbyname2_r): Likewise.
28475 (__getnetbyaddr_r): Likewise.
28476 (__getnetbyname_r): Likewise.
28477 (__getservbyname_r): Likewise.
28478 (__getservbyport_r): Likewise.
28479 (__getprotobyname_r): Likewise.
28480 (__getprotobynumber_r): Likewise.
28481 (__getnetgrent_r): Likewise.
28482 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28483 (__getrpcbynumber_r): Likewise.
28484 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28486 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28489 * include/stdio.h (__fcloseall): Add attribute_hidden.
28490 (__getline): Likewise.
28491 (__path_search): Likewise.
28492 (__gen_tempname): Likewise.
28493 (__libc_message): Likewise.
28494 (__flockfile): Likewise.
28495 (__funlockfile): Likewise.
28496 (__fxprintf): Likewise.
28497 (__fxprintf_nocancel): Likewise.
28499 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28502 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28503 (__sgetsgent_r): Likewise.
28505 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28508 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28509 (__statfs64): Likewise.
28510 (__fstatfs64): Likewise.
28511 * include/sys/statvfs.h (__statvfs64): Likewise.
28512 (__fstatvfs64): Likewise.
28513 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28514 (__statfs_filesize_max): Likewise.
28515 (__statfs_symlinks): Likewise.
28516 (__statfs_chown_restricted): Likewise.
28518 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28521 * include/time.h (__tzstring): Add attribute_hidden.
28522 (__tzfile_read): Likewise.
28523 (__tzfile_compute): Likewise.
28524 (__tzfile_default): Likewise.
28525 (__tzset_parse_tz): Likewise.
28526 (__offtime): Likewise.
28527 (__asctime_r): Likewise.
28528 (__tzset): Likewise.
28529 (__tz_convert): Likewise.
28530 (__getdate_r): Likewise.
28531 (__getclktck): Likewise.
28533 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28536 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28537 (__nscd_unmap): Likewise.
28538 (__nscd_cache_search): Likewise.
28539 (__nscd_get_nl_timestamp): Likewise.
28540 (__nscd_getpwnam_r): Likewise.
28541 (__nscd_getpwuid_r): Likewise.
28542 (__nscd_getgrnam_r): Likewise.
28543 (__nscd_getgrgid_r): Likewise.
28544 (__nscd_gethostbyname_r): Likewise.
28545 (__nscd_gethostbyname2_r): Likewise.
28546 (__nscd_gethostbyaddr_r): Likewise.
28547 (__nscd_getai): Likewise.
28548 (__nscd_getgrouplist): Likewise.
28549 (__nscd_getservbyname_r): Likewise.
28550 (__nscd_getservbyport_r): Likewise.
28551 (__nscd_innetgr): Likewise.
28552 (__nscd_setnetgrent): Likewise.
28554 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28557 * include/gmp.h: Declare internal functions only if _ISOMAC is
28559 (__mpn_extract_double): Add attribute_hidden.
28560 (__mpn_extract_long_double): Likewise.
28561 (__mpn_extract_float128): Likewise.
28562 (__mpn_construct_float): Likewise.
28563 (__mpn_construct_double): Likewise.
28564 (__mpn_construct_long_double): Likewise.
28565 (__mpn_construct_float128): Likewise.
28566 (mpn_add_1): Likewise.
28567 (mpn_addmul_1): Likewise.
28568 (mpn_add_n): Likewise.
28569 (mpn_cmp): Likewise.
28570 (mpn_divrem): Likewise.
28571 (mpn_lshift): Likewise.
28572 (mpn_mul): Likewise.
28573 (mpn_mul_1): Likewise.
28574 (mpn_rshift): Likewise.
28575 (mpn_sub_1): Likewise.
28576 (mpn_submul_1): Likewise.
28577 (mpn_sub_n): Likewise.
28579 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28582 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28583 (__wcscat): Likewise.
28584 (__btowc): Likewise.
28585 (__wcrtomb): Likewise.
28586 (__mbsrtowcs): Likewise.
28587 (__wcsrtombs): Likewise.
28588 (__mbsnrtowcs): Likewise.
28589 (__wcsnrtombs): Likewise.
28590 (__wcsncpy): Likewise.
28591 (__wcpncpy): Likewise.
28592 (__wmemcpy): Likewise.
28593 (__wmempcpy): Likewise.
28594 (__wmemmove): Likewise.
28595 (__wcschrnul): Likewise.
28596 (__vfwscanf): Likewise.
28597 (__vswprintf): Likewise.
28598 (__fwprintf): Likewise.
28599 (__vfwprintf): Likewise.
28601 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28604 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28605 (__getgrgid_r): Likewise.
28606 (__getgrnam_r): Likewise.
28607 * include/pwd.h (__getpwuid_r): Likewise.
28608 (__getpwnam_r): Likewise.
28609 (__fgetpwent_r): Likewise.
28610 * include/shadow.h (__getspnam_r): Likewise.
28611 (__sgetspent_r): Likewise.
28612 (__fgetspent_r): Likewise.
28614 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28617 * include/unistd.h (__access): Add attribute_hidden.
28618 (__lseek64): Likewise.
28619 (__libc_pread64): Likewise.
28620 (__pipe2): Likewise.
28621 (__sleep): Likewise.
28622 (__chdir): Likewise.
28623 (__fchdir): Likewise.
28624 (__getcwd): Likewise.
28625 (__rmdir): Likewise.
28626 (__execvpe): Likewise.
28627 (__execve): Likewise.
28628 (__setsid): Likewise.
28629 (__getuid): Likewise.
28630 (__geteuid): Likewise.
28631 (__getgid): Likewise.
28632 (__getegid): Likewise.
28633 (__getgroups): Likewise.
28634 (__group_member): Likewise.
28635 (__ttyname_r): Likewise.
28636 (__isatty): Likewise.
28637 (__readlink): Likewise.
28638 (__unlink): Likewise.
28639 (__gethostname): Likewise.
28640 (__profil): Likewise.
28641 (__getdtablesize): Likewise.
28643 (__ftruncate): Likewise.
28644 (__ftruncate64): Likewise.
28646 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28649 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28650 * argp/argp-fs-xinl.c: Likewise.
28651 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28652 * argp/argp-parse.c: Include <argp.h>.
28653 * argp/argp-xinl.c: Likewise.
28654 * include/argp-fmtstream.h: New file.
28655 * include/argp.h (__argp_error): Add attribute_hidden.
28656 (__argp_failure): Likewise.
28657 (__argp_input): Likewise.
28658 (__argp_state_help): Likewise.
28660 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28663 * include/wchar.h (____wcstof_l_internal): New prototype.
28664 (____wcstod_l_internal): Likewise.
28665 (____wcstold_l_internal): Likewise.
28666 (____wcstol_l_internal): Likewise.
28667 (____wcstoul_l_internal): Likewise.
28668 (____wcstoll_l_internal): Likewise.
28669 (____wcstoull_l_internal): Likewise.
28670 (____wcstof128_l_internal): Likewise.
28671 * sysdeps/ieee754/float128/wcstof128.c
28672 (____wcstof128_l_internal): Removed.
28673 * sysdeps/ieee754/float128/wcstof128_l.c
28674 (____wcstof128_l_internal): Likewise.
28675 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28676 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28677 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28678 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28679 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28680 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28681 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28682 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28683 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28684 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28686 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28689 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28690 instead of <sys/statvfs.h>.
28691 (__internal_statvfs): Removed.
28692 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28693 instead of <sys/statvfs.h>.
28694 (__internal_statvfs64): Removed.
28695 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28696 "internal_statvfs.h" instead of <sys/statvfs.h>.
28697 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28698 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28699 instead of <sys/statvfs.h>.
28700 (__internal_statvfs): Removed.
28701 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28702 instead of <sys/statvfs.h>.
28703 (__internal_statvfs64): Removed.
28705 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28708 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28709 (__gconv_close): Likewise.
28710 (__gconv): Likewise.
28711 (__gconv_find_transform): Likewise.
28712 (__gconv_lookup_cache): Likewise.
28713 (__gconv_compare_alias_cache): Likewise.
28714 (__gconv_load_cache): Likewise.
28715 (__gconv_get_path): Likewise.
28716 (__gconv_close_transform): Likewise.
28717 (__gconv_release_cache): Likewise.
28718 (__gconv_find_shlib): Likewise.
28719 (__gconv_release_shlib): Likewise.
28720 (__gconv_get_builtin_trans): Likewise.
28721 (__gconv_compare_alias): Likewise.
28722 * include/dlfcn.h (_dlerror_run): Likewise.
28723 * include/stdio.h (__fortify_fail_abort): Likewise.
28724 * include/time.h (__tz_compute): Likewise.
28725 (__strptime_internal): Likewise.
28726 * intl/gettextP.h (_nl_find_domain): Likewise.
28727 (_nl_load_domain): Likewise.
28728 (_nl_find_msg): Likewise.
28729 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28730 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28731 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28732 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28733 (__gai_find_request): Likewise.
28734 (__gai_remove_request): Likewise.
28735 (__gai_notify): Likewise.
28736 (__gai_notify_only): Likewise.
28737 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28738 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28739 (_dl_non_dynamic_init): Likewise.
28740 (_dl_aux_init): Likewise.
28741 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28742 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28744 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28745 (__wcsmbs_clone_conv): Likewise.
28746 (__wcsmbs_named_conv): Likewise.
28748 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28751 * include/stdlib.h (__random): Add attribute_hidden.
28752 (__random_r): Likewise.
28753 (__srandom_r): Likewise.
28754 (__initstate_r): Likewise.
28755 (__setstate_r): Likewise.
28756 (__erand48_r): Likewise.
28757 (__nrand48_r): Likewise.
28758 (__jrand48_r): Likewise.
28759 (__srand48_r): Likewise.
28760 (__seed48_r): Likewise.
28761 (__lcong48_r): Likewise.
28762 (__drand48_iterate): Likewise.
28763 (__setenv): Likewise.
28764 (__unsetenv): Likewise.
28765 (__clearenv): Likewise.
28766 (__ptsname_r): Likewise.
28767 (__posix_openpt): Likewise.
28768 (__add_to_environ): Likewise.
28769 (__realpath): Add libc_hidden_proto.
28770 (__ecvt_r): Likewise.
28771 (__fcvt_r): Likewise.
28772 (__qecvt_r): Likewise.
28773 (__qfcvt_r): Likewise.
28774 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28775 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28777 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28780 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28781 * include/time.h (__mktime_internal): Likewise.
28782 * libio/iolibio.h (__fopen_internal): Likewise.
28784 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28786 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28788 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28789 Correct offset used to restore PIC register.
28791 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28794 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28795 code to load address of __getcontext_ret when generating PIC code.
28797 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28799 * elf/Makefile (tests-static-internal): Add
28800 tst-tls1-static-non-pie.
28801 (LDFLAGS-tst-tls1-static-non-pie): New.
28802 * elf/tst-tls1-static-non-pie.c: New file.
28804 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28806 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28807 (asinh): Define using libm_alias_double.
28808 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28809 (cbrt): Define using libm_alias_double.
28810 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28811 <libm-alias-double.h>.
28812 (copysign): Define using libm_alias_double.
28813 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28814 (erf): Define using libm_alias_double.
28816 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28817 (expm1): Define using libm_alias_double.
28818 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28819 (fabs): Define using libm_alias_double.
28820 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28822 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28823 <libm-alias-double.h>.
28824 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28826 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28827 <libm-alias-double.h>.
28828 (getpayload): Define using libm_alias_double.
28829 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28830 <libm-alias-double.h>.
28831 (llrint): Define using libm_alias_double.
28832 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28833 (lrint): Define using libm_alias_double.
28834 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28835 <libm-alias-double.h>.
28836 (nextup): Define using libm_alias_double.
28837 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28838 <libm-alias-double.h>.
28839 (roundeven): Define using libm_alias_double.
28840 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28842 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28843 <libm-alias-double.h>.
28844 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28845 using libm_alias_double.
28846 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28847 (cos): Define using libm_alias_double.
28849 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28850 <libm-alias-double.h>.
28851 (sincos): Define using libm_alias_double.
28852 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28853 (tanh): Define using libm_alias_double.
28854 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28855 <libm-alias-double.h>.
28856 (totalorder): Define using libm_alias_double.
28857 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28858 <libm-alias-double.h>.
28859 (totalordermag): Define using libm_alias_double.
28860 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28862 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28864 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28865 <libm-alias-double.h>.
28866 (getpayload): Define using libm_alias_double.
28867 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28868 <libm-alias-double.h>.
28869 (roundeven): Define using libm_alias_double.
28870 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28871 <libm-alias-double.h>.
28872 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28873 <libm-alias-double.h>.
28874 (totalorder): Define using libm_alias_double.
28875 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28876 <libm-alias-double.h>.
28877 (totalordermag): Define using libm_alias_double.
28878 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28879 libc compat symbol here.
28880 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28881 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28882 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28883 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28884 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28885 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28886 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28887 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28888 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28889 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28891 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28893 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28894 _dl_relocate_static_pie instead of _dl_start to compute load
28895 address in static PIE. Return 0 if _DYNAMIC is undefined for
28898 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28900 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28901 _DYNAMIC is undefined for static executable.
28903 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28905 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28907 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28911 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28913 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28914 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28915 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28916 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28917 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28918 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28919 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28920 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28921 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28922 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28923 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28924 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28925 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28926 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28927 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28928 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28929 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28931 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28933 * math/bits/cmathcalls.h (cimag): Remove inline.
28934 (creal): Remove inline.
28935 (conj): Remove inline.
28937 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28939 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28940 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28941 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28942 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28943 (issignalingf_inline): Likewise.
28944 (POWF_LOG2_TABLE_BITS): Likewise.
28945 (POWF_LOG2_POLY_ORDER): Likewise.
28946 (POWF_SCALE_BITS): Likewise.
28947 (POWF_SCALE): Likewise.
28948 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28949 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28950 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28952 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28954 * math/Makefile (type-float-routines): Add e_log2f_data.
28955 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28956 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28957 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28958 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28959 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28960 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28961 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28963 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28965 * math/Makefile (type-float-routines): Add e_logf_data.
28966 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28967 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28968 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28969 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28970 * sysdeps/i386/fpu/e_logf_data.c: New file.
28971 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28972 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28974 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28976 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28977 undefined _DYNAMIC in PIE libc.a.
28978 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28981 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28983 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28984 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28985 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28986 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28987 (__signbit): Remove.
28988 (__signbitl): Remove.
28989 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28990 (__signbit): Remove.
28991 (__signbitl): Remove.
28992 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28993 (__signbit): Remove.
28994 (__signbitl): Remove.
28995 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28996 (__signbit): Remove.
28997 (__signbitl): Remove.
28998 * sysdeps/tile/bits/mathinline.h: Delete file.
28999 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29000 (__signbit): Remove.
29001 (__signbitl): Remove.
29003 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29005 * math/math.h: Improve handling of C99 isgreater macros.
29006 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29007 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29008 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29009 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29010 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29012 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29014 * sysdeps/aarch64/libm-test-ulps: Update.
29016 2017-09-28 Joseph Myers <joseph@codesourcery.com>
29019 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29020 math_opt_barrier on argument when doing arithmetic on it.
29021 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29022 Likewise. Use math_force_eval not math_opt_barrier after
29024 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29025 math_opt_barrier on argument when doing arithmetic on it.
29026 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29029 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29031 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29033 (__freeifaddrs): Likewise.
29035 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29037 * include/dirent.h (__dirfd): New declaration.
29038 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29040 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29041 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29042 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
29043 * include/unistd.h (__revoke): New declaration.
29044 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29046 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29047 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29049 * include/dirent.h (__seekdir): New declaration.
29050 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29051 redefine as weak alias.
29052 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29054 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29055 and use libc_hidden_def on them.
29056 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29058 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29059 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29060 instead of getifaddrs and freeifaddrs.
29062 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29065 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29066 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29067 (__dso_handle): Remove declaration.
29068 * dlfcn/tstatexit.c (__dso_handle): Removed.
29069 (main): Don't check __dso_handle.
29070 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29071 (main): Don't check __dso_handle.
29072 * include/dso_handle.h: New file.
29073 * malloc/mtrace.c: Include <dso_handle.h>.
29074 (mtrace): Pass __dso_handle directly.
29075 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29076 (__dso_handle): Remove declaration.
29077 (__pthread_atfork): Pass __dso_handle directly.
29078 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29079 (__dso_handle): Removed.
29080 * posix/wordexp-test.c: Include <dso_handle.h>.
29081 (__dso_handle): Remove declaration.
29082 (__app_register_atfork): Pass __dso_handle directly.
29083 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29084 (__dso_handle): Remove declaration.
29085 (at_quick_exit): Pass __dso_handle directly.
29086 * stdlib/atexit.c: Include <dso_handle.h>.
29087 (__dso_handle): Remove declaration.
29088 (atexit): Pass __dso_handle directly.
29089 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29090 (__dso_handle): Removed.
29092 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29094 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29097 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29099 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29100 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29101 values to correct default value for given type.
29103 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29106 * elf/Makefile (tests): Add tst-debug1.
29107 ($(objpfx)tst-debug1): New.
29108 ($(objpfx)tst-debug1.out): Likewise.
29109 ($(objpfx)tst-debug1mod1.so): Likewise.
29110 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29111 with p_filesz == 0.
29112 * elf/tst-debug1.c: New file.
29114 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29116 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29117 Define using __ifunc.
29119 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29121 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29124 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29127 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29129 2017-09-26 Florian Weimer <fweimer@redhat.com>
29131 * resolv/Makefile (tests-internal): Fix typo in comment.
29133 2017-09-26 Florian Weimer <fweimer@redhat.com>
29135 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29137 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29139 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29140 Use an union instead of a max_align_t array for __space,
29141 so that __space is the same size on all platforms.
29142 * malloc/scratch_buffer_grow_preserve.c
29143 (__libc_scratch_buffer_grow_preserve): Likewise.
29146 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29148 * posix/Makefile (routines): Add glob-lstat-compat and
29149 glob64-lstat-compat.
29150 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29151 * posix/glob-lstat-compat.c: New file.
29152 * posix/glob64-lstat-compat.c: Likewise.
29153 * posix/tst-glob_lstat_compat.c: Likewise.
29154 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29155 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29156 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29157 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29159 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29160 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29161 * posix/glob.c (glob_lstat): New function.
29162 (glob): Rename to __glob and add versioned symbol to 2.27.
29163 (glob_in_dir): Use glob_lstat.
29164 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29165 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29166 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29168 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29169 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29170 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29171 gl_lstat on glob call.
29172 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29173 and glob64 symbols.
29174 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29175 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29176 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29177 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29178 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29179 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29180 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29181 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29182 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29183 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29184 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29185 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29188 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29190 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29191 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29192 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29193 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29194 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29197 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29198 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29199 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29201 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29203 * configure.ac (AS): Require binutils 2.25 or later.
29204 * configure: Regenerated.
29206 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29209 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29212 2017-09-25 DJ Delorie <dj@redhat.com>
29215 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29218 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29220 * sysdeps/ieee754/dbl-64/sincos32.h
29221 [SINCCOS32_H]: Remove define.
29222 [SINCOS32_H]: Define.
29224 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29226 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29228 * math/w_exp2f.c: New file.
29229 * math/w_expf.c: New file.
29230 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29231 * math/w_expf_compat.c (__expf_compat): Likewise.
29232 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29233 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29234 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29235 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29236 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29237 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29238 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29239 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29240 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29241 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29242 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29243 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29244 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29245 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29254 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29255 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29256 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29257 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29258 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29263 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29264 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29265 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29267 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29269 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29270 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29271 (roundtoint, converttoint): Likewise.
29272 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29273 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29274 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29275 * sysdeps/ieee754/flt-32/math_config.h: New file.
29276 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29277 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29278 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29279 * sysdeps/i386/fpu/math_errf.c: New file.
29280 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29281 * sysdeps/ia64/fpu/math_errf.c: New file.
29282 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29283 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29285 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29287 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29288 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29289 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29290 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29291 to make sure that these symbols are defined.
29292 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29294 (__need_NULL): Do not define.
29295 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29297 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29298 CMGROUP_MAX, cmsgcred): Do not define.
29299 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29301 * bits/socket.h: Likewise.
29302 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29303 __gettimeofday instead of gettimeofday.
29304 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29305 instead of settimeofday.
29307 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29309 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29310 (asinhf): Define using libm_alias_float.
29311 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29312 (atanf): Define using libm_alias_float.
29313 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29314 (cbrtf): Define using libm_alias_float.
29315 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29316 (ceilf): Define using libm_alias_float.
29317 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29318 <libm-alias-float.h>.
29319 (copysignf): Define using libm_alias_float.
29320 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29321 (cosf): Define using libm_alias_float.
29322 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29323 (erff): Define using libm_alias_float.
29325 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29326 (expm1f): Define using libm_alias_float.
29327 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29328 (fabsf): Define using libm_alias_float.
29329 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29330 (floorf): Define using libm_alias_float.
29331 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29332 (frexpf): Define using libm_alias_float.
29333 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29335 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29336 <libm-alias-float.h>.
29337 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29339 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29340 <libm-alias-float.h>.
29341 (getpayloadf): Define using libm_alias_float.
29342 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29343 <libm-alias-float.h>.
29344 (llrintf): Define using libm_alias_float.
29345 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29346 <libm-alias-float.h>.
29347 (llroundf): Define using libm_alias_float.
29348 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29349 (logbf): Define using libm_alias_float.
29350 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29351 (lrintf): Define using libm_alias_float.
29352 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29353 (lroundf): Define using libm_alias_float.
29354 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29355 (modff): Define using libm_alias_float.
29356 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29357 <libm-alias-float.h>.
29358 (nearbyintf): Define using libm_alias_float.
29359 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29360 <libm-alias-float.h>.
29361 (nextafterf): Define using libm_alias_float.
29362 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29363 <libm-alias-float.h>.
29364 (nextupf): Define using libm_alias_float.
29365 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29366 <libm-alias-float.h>.
29367 (remquof): Define using libm_alias_float.
29368 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29369 (rintf): Define using libm_alias_float.
29370 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29371 <libm-alias-float.h>.
29372 (roundevenf): Define using libm_alias_float.
29373 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29374 (roundf): Define using libm_alias_float.
29375 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29376 using libm_alias_float.
29377 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29378 <libm-alias-float.h>.
29379 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29380 Define using libm_alias_float.
29381 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29382 <libm-alias-float.h>.
29383 (sincosf): Define using libm_alias_float.
29384 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29385 (sinf): Define using libm_alias_float.
29386 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29387 (tanf): Define using libm_alias_float.
29388 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29389 (tanhf): Define using libm_alias_float.
29390 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29391 <libm-alias-float.h>.
29392 (totalorderf): Define using libm_alias_float.
29393 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29394 <libm-alias-float.h>.
29395 (totalordermagf): Define using libm_alias_float.
29396 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29397 (truncf): Define using libm_alias_float.
29398 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29400 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29403 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29406 math/math.h: Let fpclassify use the builtin in C++ mode, even
29407 when optimazing for size.
29409 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29411 * csu/Makefile (generated): Do not add version-info.h.
29412 (before-compile): Likewise.
29413 (all-Banner-files): Remove variable.
29414 ($(objpfx)version-info.h): Remove rule.
29415 * csu/version.c (banner): Do not include "version-info.h".
29416 * libidn/Banner: Remove.
29417 * manual/contrib.texi (Simon Josefsson): New entry.
29419 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29421 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29422 Remove conditionals on LDBL_MANT_DIG.
29423 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29424 (__ieee754_lgammal_r): Likewise.
29426 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29428 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29430 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29431 _Float128 and L(). Replace _Float128 with long double and L(x)
29432 with xL, throughout the file.
29433 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29434 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29435 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29436 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29438 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29440 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29441 sysdeps/ieee754/ldbl-128ibm.
29442 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29443 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29444 of including it. Keep _Float128 and L() intact. These will be
29445 reviewed by a separate patch.
29446 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29447 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29448 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29449 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29451 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29454 (__finitef128): Define to __redirect___finitef128.
29455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29456 (__isinff128): Define to __redirect___isinff128.
29457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29458 (__isnanf128): Define to __redirect___isnanf128.
29460 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29462 * sysdeps/powerpc/powerpc64le/Makefile
29463 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29464 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29466 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29467 Carlos O'Donell <carlos@redhat.com>
29470 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29471 * stdlib/test-dlclose-exit-race.c: New file.
29472 * stdlib/test-dlclose-exit-race-helper.c: New file.
29473 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29475 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29477 * crypt/Banner: Remove file.
29478 * nptl/Banner: Likewise.
29479 * resolv/Banner: Likewise.
29480 * soft-fp/Banner: Likewise.
29481 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29482 ($(objpfx)version.d): Remove dependency on banner.h.
29483 ($(objpfx)version.os): Likewise.
29484 * nptl/version.c (banner): Do not include banner.h.
29485 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29486 Jelinek and BIND code.
29488 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29489 Carlos O'Donell <carlos@redhat.com>
29491 * support/xdlfcn.h: New file.
29492 * support/xdlfcn.c: New file.
29493 * support/Makefile (libsupport-routines): Add xdlfcn.
29494 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29496 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29499 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29500 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29501 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29502 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29503 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29504 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29505 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29506 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29508 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29509 Ricky Zhou <rickyz@google.com>
29510 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29513 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29515 (__new_exitfn): Fail registration when we finished at_exit processing.
29516 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29517 * stdlib/on_exit.c (__on_exit): Likewise.
29518 * stdlib/exit.c (__exit_funcs_done): New variable.
29519 (__run_exit_handlers): Use __exit_funcs_lock.
29520 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29522 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29523 (test-cxa_atexit-race, test-on_exit-race): New tests.
29524 * stdlib/test-atexit-race-common.c: New file.
29525 * stdlib/test-atexit-race.c: New file.
29526 * stdlib/test-at_quick_exit-race.c: New file.
29527 * stdlib/test-cxa_atexit-race.c: New file.
29528 * stdlib/test-on_exit-race.c: New file.
29530 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29532 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29533 * benchtests/exp2f-inputs: Copy of expf-inputs.
29534 * benchtests/log2f-inputs: Copy of logf-inputs.
29536 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29538 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29539 Explicitly take address of first element of array arguments in
29540 call to INLINE_SYSCALL.
29542 2017-09-19 Andreas Schwab <schwab@suse.de>
29545 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29547 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29549 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29550 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29551 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29552 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29553 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29554 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29555 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29556 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29557 * posix/Makefile (tests): Add tst-fexecve.
29558 * posix/tst-fexecve.c: New file.
29560 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29562 * benchtests/Makefile: Add logf benchmark.
29563 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29565 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29567 * benchtests/Makefile: Add expf benchmark.
29568 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29570 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29572 * csu/Makefile: Add -funwind-tables to libc-start.c.
29573 * debug/Makefile: Add -funwind-tables to backtrace.c.
29574 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29575 * sysdeps/arm/Makefile: Likewise.
29576 * sysdeps/i386/Makefile: Likewise.
29577 * sysdeps/m68k/Makefile: Likewise.
29578 * sysdeps/mips/Makefile: Likewise.
29579 * sysdeps/nios2/Makefile: Likewise.
29580 * sysdeps/sh/Makefile: Likewise.
29581 * sysdeps/sparc/Makefile: Likewise.
29583 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29585 * benchtests/Makefile (bench-math): Add trunc and truncf.
29586 (CFLAGS-bench-trunc.c): New variable.
29587 (CFLAGS-bench-truncf.c): Likewise.
29588 * benchtests/trunc-inputs: New file.
29589 * benchtests/truncf-inputs: Likewise.
29591 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29593 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29595 2017-09-18 Joseph Myers <joseph@codesourcery.com>
29597 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29598 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29600 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29601 (exp10l): Define as weak alias.
29602 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29603 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29605 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29606 (remainderl): Define as weak alias.
29608 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29609 (fmal): Define using libm_alias_ldouble.
29610 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29611 (acoshl): Define using libm_alias_ldouble.
29612 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29613 (acosl): Define using libm_alias_ldouble.
29614 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29615 (asinl): Define using libm_alias_ldouble.
29616 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29617 (atan2l): Define using libm_alias_ldouble.
29618 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29619 (atanhl): Define using libm_alias_ldouble.
29620 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29621 (coshl): Define using libm_alias_ldouble.
29622 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29623 (exp10l): Define using libm_alias_ldouble.
29624 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29625 (exp2l): Define using libm_alias_ldouble.
29626 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29627 (expl): Define using libm_alias_ldouble.
29628 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29629 (fmodl): Define using libm_alias_ldouble.
29630 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29631 (hypotl): Define using libm_alias_ldouble.
29632 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29633 (j0l): Define using libm_alias_ldouble.
29635 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29636 (j1l): Define using libm_alias_ldouble.
29638 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29639 (jnl): Define using libm_alias_ldouble.
29641 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29642 (log10l): Define using libm_alias_ldouble.
29643 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29644 (log2l): Define using libm_alias_ldouble.
29645 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29646 (logl): Define using libm_alias_ldouble.
29647 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29648 (powl): Define using libm_alias_ldouble.
29649 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29650 (remainderl): Define using libm_alias_ldouble.
29651 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29652 (sinhl): Define using libm_alias_ldouble.
29653 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29654 (sqrtl): Define using libm_alias_ldouble.
29655 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29656 (tgammal): Define using libm_alias_ldouble.
29657 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29658 (exp10l): Do not use long_double_symbol here.
29659 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29660 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29661 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29662 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29663 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29664 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29665 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29666 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29667 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29668 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29669 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29670 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29671 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29672 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29673 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29674 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29675 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29676 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29677 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29678 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29679 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29680 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29682 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29684 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29685 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29687 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29689 * io/read.c (read): Add libc_hidden_weak.
29690 * sysdeps/mach/hurd/read.c (read): Likewise.
29691 * io/write.c (write): Likewise.
29692 * sysdeps/mach/hurd/write.c (write): Likewise.
29693 * io/pread64.c (__pread64): Likewise.
29694 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29695 * posix/pread64.c (__pread64): Add libc_hidden_def.
29697 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29699 * benchtests/scripts/compare_strings.py: New option -g.
29700 (draw_graph): Print a message that a graph is being generated.
29701 (process_results): Generate graph only if -g is passed.
29702 (main): Process option -g.
29704 * benchtests/scripts/compare_strings.py (process_results):
29705 Better spacing for output.
29707 * benchtests/scripts/compare_strings.py: Use argparse.
29708 * benchtests/README: Document existence of compare_strings.py.
29710 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29712 * math/s_fma.c: Include <libm-alias-double.h>.
29713 (fma): Define using libm_alias_double.
29714 * math/s_nextafter.c: Include <libm-alias-double.h>.
29715 (nextafter): Define using libm_alias_double.
29716 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29717 (acos): Define using libm_alias_double.
29718 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29719 (aocsh): Define using libm_alias_double.
29720 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29721 (asin): Define using libm_alias_double.
29722 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29723 (atan2): Define using libm_alias_double.
29724 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29725 (atanh): Define using libm_alias_double.
29726 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29727 (cosh): Define using libm_alias_double.
29728 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29729 (exp10): Define using libm_alias_double.
29730 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29731 (exp2): Define using libm_alias_double.
29732 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29733 (exp): Define using libm_alias_double.
29734 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29735 (fmod): Define using libm_alias_double.
29736 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29737 (hypot): Define using libm_alias_double.
29738 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29739 (j0): Define using libm_alias_double.
29741 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29742 (j1): Define using libm_alias_double.
29744 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29745 (jn): Define using libm_alias_double.
29747 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29748 (log10): Define using libm_alias_double.
29749 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29750 (log2): Define using libm_alias_double.
29751 * math/w_log_compat.c: Include <libm-alias-double.h>.
29752 (log): Define using libm_alias_double.
29753 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29754 (pow): Define using libm_alias_double.
29755 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29756 (remainder): Define using libm_alias_double.
29757 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29758 (sinh): Define using libm_alias_double.
29759 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29760 (sqrt): Define using libm_alias_double.
29761 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29762 (tgamma): Define using libm_alias_double.
29763 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29764 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29765 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29766 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29767 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29768 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29769 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29770 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29771 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29772 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29773 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29774 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29775 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29776 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29777 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29778 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29779 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29780 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29781 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29782 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29783 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29784 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29785 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29786 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29787 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29789 * math/e_acoshl.c: Remove.
29790 * math/e_acosl.c: Likewise.
29791 * math/e_asinl.c: Likewise.
29792 * math/e_atan2l.c: Likewise.
29793 * math/e_atanhl.c: Likewise.
29794 * math/e_coshl.c: Likewise.
29795 * math/e_expl.c: Likewise.
29796 * math/e_fmodl.c: Likewise.
29797 * math/e_gammal_r.c: Likewise.
29798 * math/e_hypotl.c: Likewise.
29799 * math/e_j0l.c: Likewise.
29800 * math/e_j1l.c: Likewise.
29801 * math/e_jnl.c: Likewise.
29802 * math/e_lgammal_r.c: Likewise.
29803 * math/e_log10l.c: Likewise.
29804 * math/e_log2l.c: Likewise.
29805 * math/e_logl.c: Likewise.
29806 * math/e_powl.c: Likewise.
29807 * math/e_rem_pio2l.c: Likewise.
29808 * math/e_sinhl.c: Likewise.
29809 * math/e_sqrtf128.c: Likewise.
29810 * math/e_sqrtl.c: Likewise.
29811 * math/k_cosl.c: Likewise.
29812 * math/k_sinl.c: Likewise.
29813 * math/k_tanl.c: Likewise.
29814 * math/s_asinhl.c: Likewise.
29815 * math/s_atanl.c: Likewise.
29816 * math/s_cbrtl.c: Likewise.
29817 * math/s_erfl.c: Likewise.
29818 * math/s_expm1l.c: Likewise.
29819 * math/s_log1pl.c: Likewise.
29820 * math/s_tanhl.c: Likewise.
29822 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29825 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29826 [$(subdir) = math] (sysdep_calls): New variable. Has the
29827 previous contents of sysdep_routines, but re-sorted..
29828 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29830 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29831 defined in sysdep_calls and replace by the respective m_* names.
29832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29833 (compat_symbol): Undefine to avoid duplicated compat symbols in
29836 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29838 * math/s_fmaf.c: Include <libm-alias-float.h>.
29839 (fmaf): Define using libm_alias_float.
29840 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29841 (acosf): Define using libm_alias_float.
29842 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29843 (acoshf): Define using libm_alias_float.
29844 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29845 (asinf): Define using libm_alias_float.
29846 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29847 (atan2f): Define using libm_alias_float.
29848 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29849 (atanhf): Define using libm_alias_float.
29850 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29851 (coshf): Define using libm_alias_float.
29852 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29853 (exp10f): Define using libm_alias_float.
29854 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29855 (fmodf): Define using libm_alias_float.
29856 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29857 (hypotf): Define using libm_alias_float.
29858 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29859 (j0f): Define using libm_alias_float.
29861 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29862 (j1f): Define using libm_alias_float.
29864 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29865 (jnf): Define using libm_alias_float.
29867 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29868 (log10f): Define using libm_alias_float.
29869 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29870 (log2f): Define using libm_alias_float.
29871 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29872 (logf): Define using libm_alias_float.
29873 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29874 (powf): Define using libm_alias_float.
29875 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29876 (remainderf): Define using libm_alias_float.
29877 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29878 (sinhf): Define using libm_alias_float.
29879 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29880 (sqrtf): Define using libm_alias_float.
29881 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29882 (tgammaf): Define using libm_alias_float.
29884 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29886 * include/math.h (roundeven): Change hidden_proto call to
29888 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29890 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29891 (y0): Rename to __y0 and define as weak alias.
29892 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29893 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29895 (y0f): Rename to __y0f and define as weak alias.
29896 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29898 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29899 (y1): Rename to __y1 and define as weak alias.
29900 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29901 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29903 (y1f): Rename to __y1f and define as weak alias.
29904 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29906 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29907 (yn): Rename to __yn and define as weak alias.
29908 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29909 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29911 (ynf): Rename to __ynf and define as weak alias.
29912 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29913 (fromfp): Define as weak alias.
29914 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29915 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29916 (fromfpx): Define as weak alias.
29917 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29918 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29919 __getpayload and define as weak alias.
29920 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29921 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29922 __roundeven and define as weak alias.
29923 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29924 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29926 (setpayload): Define as weak alias.
29927 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29928 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29930 (setpayloadsig): Define as weak alias.
29931 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29932 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29933 __totalorder and define as weak alias.
29934 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29935 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29936 to __totalordermag and define as weak alias.
29937 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29938 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29939 (ufromfp): Define as weak alias.
29940 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29941 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29943 (ufromfpx): Define as weak alias.
29944 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29945 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29946 Rename to __getpayload and define as weak alias.
29947 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29948 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29949 Rename to __roundeven and define as weak alias.
29950 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29951 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29952 Rename to __totalorder and define as weak alias.
29953 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29954 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29955 (totalordermag): Rename to __totalordermag and define as weak
29957 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29958 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29960 (__roundevenl): Likewise.
29961 (__totalorderl): Likewise.
29962 (__totalordermagl): Likewise
29963 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29965 (fromfpf128): Define as weak alias.
29966 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29968 (fromfpxf128): Define as weak alias.
29969 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29971 (setpayloadf128): Define as weak alias.
29972 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29973 __setpayloadsigf128.
29974 (setpayloadsigf128): Define as weak alias.
29975 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29977 (ufromfpf128): Define as weak alias.
29978 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29980 (ufromfpxf128): Define as weak alias.
29981 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29982 (fromfpf): Define as weak alias.
29983 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29985 (fromfpxf): Define as weak alias.
29986 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29987 __getpayloadf and define as weak alias.
29988 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29989 __roundevenf and define as weak alias.
29990 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29992 (setpayloadf): Define as weak alias.
29993 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29995 (setpayloadsigf): Define as weak alias.
29996 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29997 __totalorderf and define as weak alias.
29998 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29999 Rename to __totalordermagf and define as weak alias.
30000 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30002 (ufromfpf): Define as weak alias.
30003 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30005 (ufromfpxf): Define as weak alias.
30006 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30008 (fromfpl): Define as weak alias.
30009 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30011 (fromfpxl): Define as weak alias.
30012 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30013 to __getpayloadl and define as weak alias.
30014 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30015 __roundevenl and define as weak alias.
30016 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30018 (setpayloadl): Define as weak alias.
30019 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30021 (setpayloadsigl): Define as weak alias.
30022 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30023 to __totalorderl and define as weak alias.
30024 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30025 Rename to __totalordermagl and define as weak alias.
30026 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30028 (ufromfpl): Define as weak alias.
30029 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30031 (ufromfpxl): Define as weak alias.
30032 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30034 (fromfpl): Define as weak alias.
30035 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30037 (fromfpxl): Define as weak alias.
30038 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30039 Rename to __getpayloadl and define as weak alias.
30040 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30041 to __roundevenl and define as weak alias. Call __roundeven
30042 instead of roundeven.
30043 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30045 (setpayloadl): Define as weak alias.
30046 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30048 (setpayloadsigl): Define as weak alias.
30049 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30050 Rename to __totalorderl and define as weak alias.
30051 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30052 Rename to __totalordermagl and define as weak alias.
30053 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30055 (ufromfpl): Define as weak alias.
30056 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30058 (ufromfpxl): Define as weak alias.
30059 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30061 (fromfpl): Define as weak alias.
30062 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30064 (fromfpxl): Define as weak alias.
30065 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30066 __getpayloadl and define as weak alias.
30067 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30068 __roundevenl and define as weak alias.
30069 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30071 (setpayloadl): Define as weak alias.
30072 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30074 (setpayloadsigl): Define as weak alias.
30075 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30076 __totalorderl and define as weak alias.
30077 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30078 Rename to __totalordermagl and define as weak alias.
30079 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30081 (ufromfpl): Define as weak alias.
30082 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30084 (ufromfpxl): Define as weak alias.
30086 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30088 * benchtests/bench-string.h (realloc_bufs): New function.
30089 (test_init): Call it.
30090 * benchtests/bench-memset-large.c (do_test): Likewise.
30091 * benchtests/bench-memset.c (do_test): Likewise.
30093 * benchtests/bench-memset-large.c: Print output in JSON
30095 * benchtests/bench-memset.c: Likewise.
30097 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30100 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30101 * iconvdata/Makefile: Add IBM858.
30102 * iconvdata/gconv-modules: Likewise.
30103 * iconvdata/tst-tables.sh: Likewise.
30104 * iconvdata/ibm858.c: New file.
30105 * localedata/charmaps/IBM858: Likewise.
30107 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
30110 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30111 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30113 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30116 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30117 and add tel_int_fmt.
30119 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30121 * sysdeps/generic/libm-alias-float128.h: New file.
30122 * sysdeps/generic/math-type-macros-float128.h: Include
30123 <libm-alias-float128.h>.
30124 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30126 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30128 * sysdeps/generic/libm-alias-ldouble.h: New file.
30129 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30130 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30131 * sysdeps/generic/math-type-macros-ldouble.h: Include
30132 <libm-alias-ldouble.h>.
30133 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30134 libm_alias_ldouble.
30136 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30138 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30139 * math/w_exp_compat.c: ... here.
30140 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30141 * math/w_expf_compat.c: ... here.
30142 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30143 * math/w_expl_compat.c: ... here.
30144 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30145 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30146 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30147 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30149 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30151 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30153 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30155 (ldexpl): Only define as compat symbol for libc, not libm.
30156 (scalbnl): Define as compat symbol for libc here.
30157 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30158 define for [IS_IN (libc)].
30159 (__ldexpl_2): Remove alias.
30160 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30161 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30162 name in long_double_symbol call.
30163 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30164 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30165 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30166 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30167 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30169 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30170 Define as compat symbol.
30172 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30174 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30175 * sysdeps/unix/sysv/linux/alpha/Makefile
30176 [$(subdir) = csu] (sysdep_routines): Remove rule.
30178 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30180 * sysdeps/generic/libm-alias-double.h: New file.
30181 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30182 * sysdeps/generic/math-type-macros-double.h: Include
30183 <libm-alias-double.h>.
30184 [declare_mgen_alias] (declare_mgen_alias): Define to use
30186 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30187 (M_LIBM_NEED_COMPAT): Remove macro.
30188 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30189 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30190 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30192 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30193 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30194 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30195 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30196 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30197 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30198 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30199 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30200 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30201 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30202 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30203 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30204 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30205 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30206 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30207 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30208 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30209 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30210 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30211 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30212 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30213 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30214 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30215 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30216 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30217 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30218 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30219 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30220 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30222 (declare_mgen_alias): New macro.
30223 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30224 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30226 (M_LIBM_NEED_COMPAT): Remove macro.
30227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30228 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30229 <first-versions.h>.
30230 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30231 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30233 2017-09-12 Joseph Myers <joseph@codesourcery.com>
30235 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30236 (declare_mgen_alias_2): Remove.
30237 * sysdeps/generic/math-type-macros-double.h
30238 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30240 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30242 (ldexp): Define with declare_mgen_alias.
30243 (scalbn): Likewise.
30245 2017-09-12 Steve Ellcey <sellcey@cavium.com>
30247 * grp/initgroups.c: Include config.h.
30248 (DEFAULT_CONFIG): New macro.
30249 (internal_getgrouplist): Use DEFAULT_CONFIG.
30250 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30251 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30252 (DEFAULT_DEFCONFIG): New macro.
30253 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30254 * nss/grp-lookup.c: Include config.h
30255 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30256 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30257 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30258 * manual/nss.texi: Update default values section.
30260 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30263 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30265 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30266 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30267 Handle MathVec_Prefer_No_AVX512.
30268 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30269 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30272 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30274 * posix/sched_primax.c (__sched_get_priority_max): Add
30276 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30277 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30278 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30279 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30280 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30281 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30282 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30283 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30286 2017-09-11 Joseph Myers <joseph@codesourcery.com>
30288 * sysdeps/generic/libm-alias-float.h: New file.
30289 * sysdeps/generic/math-type-macros-float.h: Include
30290 <libm-alias-float.h>.
30291 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30293 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30296 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30297 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30298 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30299 (HWCAP_IMPORTANT): Likewise.
30300 (HWCAP_X86_64): New enum.
30301 (HWCAP_X86_AVX512_1): Updated.
30302 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30303 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30304 (modules-names): Add x86_64/tst-x86_64mod-1.
30305 (LDFLAGS-tst-x86_64mod-1.so): New.
30306 ($(objpfx)tst-x86_64-1): Likewise.
30307 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30308 (tst-x86_64-1-clean): Likewise.
30309 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30310 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30312 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30314 * po/sv.po: Update translations.
30315 * po/fr.po: Likewise.
30317 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30319 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30321 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30323 * elf/rtld-Rules: Fix $(error) use.
30325 2017-09-09 Mike FABIAN <mfabian@redhat.com>
30328 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30329 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30330 * localedata/locales/bn_BD: “Bengali” was still used in some
30331 comments. Change it to “Bangla”.
30333 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30335 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30337 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30339 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30340 thunderx2t99p1 to list of cpu names.
30341 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30342 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30344 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30346 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30347 Use strcmp instead of tunable_is_name.
30349 2017-09-08 Joseph Myers <joseph@codesourcery.com>
30351 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30352 (F_GET_RW_HINT): New macro.
30353 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30354 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30355 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30356 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30357 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30358 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30359 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30360 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30361 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30363 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30364 (F_ADD_SEALS): New macro.
30365 [__USE_GNU] (F_GET_SEALS): Likewise.
30366 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30367 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30368 [__USE_GNU] (F_SEAL_GROW): Likewise.
30369 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30371 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30373 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30374 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30375 * posix/glob_internal.h (__glob_pattern_type):
30376 * posix/glob.c (glob):
30377 * posix/glob_pattern_p.c (__glob_pattern_p):
30380 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30381 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30382 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30383 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30384 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30386 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30387 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30388 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30389 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30390 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30391 * sysdeps/wordsize-64/glob.c: Likewise.
30392 * sysdeps/wordsize-64/glob64.c: Likewise.
30393 * sysdeps/wordsize-64/globfree.c: Likewise.
30394 * sysdeps/wordsize-64/globfree64.c: Likewise.
30395 * sysdeps/unix/sysv/linux/glob.c: New file.
30396 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30397 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30398 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30399 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30400 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30401 adds !GLOB_NO_OLD_VERSION as an extra condition.
30402 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30403 using relative path instead of absolute one.
30404 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30405 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30406 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30407 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30408 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30409 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30412 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30413 (glob): Use the same scratch buffer for both getlogin_r and
30414 getpwnam_r. Don’t require preallocation of the login name. This
30415 simplifies storage allocation, and corrects the handling of
30419 * posix/glob.c (glob): Port recent patches to platforms
30420 lacking getpwnam_r.
30421 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30422 returns an error number rather than setting errno.
30424 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30425 instead of GCC extension.
30426 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30427 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30428 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30432 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30433 * posix/bug-glob1.c: Remove file.
30434 * posix/tst-glob_symlinks.c: New file.
30435 * posix/glob.c (__lstat64): New macro.
30436 (is_dir): New function.
30437 (glob, glob_in_dir): Match symlinks even if they are dangling.
30438 (link_stat, link_exists_p): Remove. All uses removed.
30442 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30443 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30448 * posix/Makefile (routines): Add globfree, globfree64, and
30450 * posix/flexmember.h: New file.
30451 * posix/glob_internal.h: Likewise.
30452 * posix/glob_pattern_p.c: Likewise.
30453 * posix/globfree.c: Likewise.
30454 * posix/globfree64.c: Likewise.
30455 * sysdeps/gnu/globfree64.c: Likewise.
30456 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30457 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30458 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30459 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30460 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30461 * sysdeps/wordsize-64/globfree.c: Likewise.
30462 * sysdeps/wordsize-64/globfree64.c: Likewise.
30463 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30464 [NDEBUG): Remove comments.
30465 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30466 (dirent_type): New type. Use uint_fast8_t not
30467 uint8_t, as C99 does not require uint8_t.
30468 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30469 (struct readdir_result): Use dirent_type. Do not define skip_entry
30470 unless it is needed; this saves a byte on platforms lacking d_ino.
30471 (readdir_result_type, readdir_result_skip_entry):
30472 New functions, replacing ...
30473 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30474 these functions, which were removed. This makes the callers
30475 easier to read. All callers changed.
30476 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30477 (size_add_wrapv, glob_use_alloca): New static functions.
30478 (glob, glob_in_dir): Check for size_t overflow in several places,
30479 and fix some size_t checks that were not quite right.
30480 Remove old code using SHELL since Bash no longer
30482 (glob, prefix_array): Separate MS code better.
30483 (glob_in_dir): Remove old Amiga and VMS code.
30484 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30486 (glob_in_dir): Do not rely on undefined behavior in accessing
30487 struct members beyond their bounds. Use a flexible array member
30489 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30490 0/1. Caller changed.
30491 (glob): Fix memory leaks.
30492 * posix/glob64 (globfree64): Move to separate file.
30493 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30494 (globfree64): Remove hidden alias.
30495 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30497 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30499 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30501 Move compat code to separate file.
30502 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30505 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30507 * resolv/tst-resolv-qtypes.c (domain): Changed to
30508 "const char domain[] =".
30510 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30512 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30515 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30516 (TCP_MD5SIG_EXT): Likewise.
30517 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30518 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30519 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30521 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30523 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30525 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30527 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
30530 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30532 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30534 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30535 before assuming that the file is empty. Avoid testing buffer content
30538 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30541 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30543 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30545 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30547 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30549 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30551 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30553 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30556 2017-09-06 Florian Weimer <fweimer@redhat.com>
30558 * malloc/dynarray_emplace_enlarge.c
30559 (__libc_dynarray_emplace_enlarge): Add missing else.
30561 2017-09-06 Florian Weimer <fweimer@redhat.com>
30564 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30565 case of failure to obtain the global conf object.
30567 2017-09-06 Florian Weimer <fweimer@redhat.com>
30570 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30571 dynarray allocation failure.
30573 2017-09-06 Florian Weimer <fweimer@redhat.com>
30575 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30576 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30577 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30579 (response): Call them. Add 'p', '6' flag processing.
30580 (test_reverse): New function.
30581 (test_get2_any): Call it.
30582 (test_no_inet6): Add 'p' test.
30583 (test_inet6): Likewise.
30585 2017-09-06 Florian Weimer <fweimer@redhat.com>
30587 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30588 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30590 (test_gai): Adjust query names. Add additional tests.
30591 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30592 test_get2. Adjust query names. Add additional tests.
30593 (test_no_inet6): New function, extracted from threadfunc.
30594 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30595 Add additional tests.
30597 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30600 * localedata/unicode-gen/utf8_gen.py: Set the width for
30601 characters with Prepended_Concatenation_Mark property to 1
30602 * localedata/charmaps/UTF-8: Updated using the improved script.
30604 2017-09-06 Mike FABIAN <mfabian@redhat.com>
30607 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30608 use the range notation for all ranges of neighbouring characters
30609 with the same width.
30611 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30613 * sysdeps/generic/math-type-macros-double.h: Include
30614 <math-svid-compat.h>.
30615 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30616 * sysdeps/generic/math-type-macros-float.h: Include
30617 <math-svid-compat.h>.
30618 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30619 * sysdeps/generic/math-type-macros-ldouble.h: Include
30620 <math-svid-compat.h>.
30621 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30622 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30624 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30625 * math/w_acosf_compat.c: Likewise.
30626 * math/w_acosh_compat.c: Likewise.
30627 * math/w_acoshf_compat.c: Likewise.
30628 * math/w_acoshl_compat.c: Likewise.
30629 * math/w_acosl_compat.c: Likewise.
30630 * math/w_asin_compat.c: Likewise.
30631 * math/w_asinf_compat.c: Likewise.
30632 * math/w_asinl_compat.c: Likewise.
30633 * math/w_atan2_compat.c: Likewise.
30634 * math/w_atan2f_compat.c: Likewise.
30635 * math/w_atan2l_compat.c: Likewise.
30636 * math/w_atanh_compat.c: Likewise.
30637 * math/w_atanhf_compat.c: Likewise.
30638 * math/w_atanhl_compat.c: Likewise.
30639 * math/w_cosh_compat.c: Likewise.
30640 * math/w_coshf_compat.c: Likewise.
30641 * math/w_coshl_compat.c: Likewise.
30642 * math/w_exp10_compat.c: Likewise.
30643 * math/w_exp10f_compat.c: Likewise.
30644 * math/w_exp10l_compat.c: Likewise.
30645 * math/w_exp2_compat.c: Likewise.
30646 * math/w_exp2f_compat.c: Likewise.
30647 * math/w_exp2l_compat.c: Likewise.
30648 * math/w_fmod_compat.c: Likewise.
30649 * math/w_fmodf_compat.c: Likewise.
30650 * math/w_fmodl_compat.c: Likewise.
30651 * math/w_hypot_compat.c: Likewise.
30652 * math/w_hypotf_compat.c: Likewise.
30653 * math/w_hypotl_compat.c: Likewise.
30654 * math/w_j0_compat.c: Likewise.
30655 * math/w_j0f_compat.c: Likewise.
30656 * math/w_j0l_compat.c: Likewise.
30657 * math/w_j1_compat.c: Likewise.
30658 * math/w_j1f_compat.c: Likewise.
30659 * math/w_j1l_compat.c: Likewise.
30660 * math/w_jn_compat.c: Likewise.
30661 * math/w_jnf_compat.c: Likewise.
30662 * math/w_jnl_compat.c: Likewise.
30663 * math/w_lgamma_r_compat.c: Likewise.
30664 * math/w_lgammaf_r_compat.c: Likewise.
30665 * math/w_lgammal_r_compat.c: Likewise.
30666 * math/w_log10_compat.c: Likewise.
30667 * math/w_log10f_compat.c: Likewise.
30668 * math/w_log10l_compat.c: Likewise.
30669 * math/w_log2_compat.c: Likewise.
30670 * math/w_log2f_compat.c: Likewise.
30671 * math/w_log2l_compat.c: Likewise.
30672 * math/w_log_compat.c: Likewise.
30673 * math/w_logf_compat.c: Likewise.
30674 * math/w_logl_compat.c: Likewise.
30675 * math/w_pow_compat.c: Likewise.
30676 * math/w_powf_compat.c: Likewise.
30677 * math/w_powl_compat.c: Likewise.
30678 * math/w_remainder_compat.c: Likewise.
30679 * math/w_remainderf_compat.c: Likewise.
30680 * math/w_remainderl_compat.c: Likewise.
30681 * math/w_sinh_compat.c: Likewise.
30682 * math/w_sinhf_compat.c: Likewise.
30683 * math/w_sinhl_compat.c: Likewise.
30684 * math/w_sqrt_compat.c: Likewise.
30685 * math/w_sqrtf_compat.c: Likewise.
30686 * math/w_sqrtl_compat.c: Likewise.
30687 * math/w_tgamma_compat.c: Likewise.
30688 * math/w_tgammaf_compat.c: Likewise.
30689 * math/w_tgammal_compat.c: Likewise.
30690 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30691 [LIBM_SVID_COMPAT].
30692 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30693 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30694 [LIBM_SVID_COMPAT].
30695 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30696 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30697 [LIBM_SVID_COMPAT].
30698 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30699 * sysdeps/i386/fpu/w_sqrt.c: New file.
30700 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30701 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30702 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30703 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30704 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30705 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30706 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30707 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30708 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30709 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30710 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30711 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30712 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30713 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30714 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30715 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30716 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30717 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30718 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30719 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30720 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30721 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30722 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30723 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30724 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30725 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30726 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30727 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30728 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30729 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30730 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30731 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30732 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30733 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30734 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30735 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30736 * sysdeps/ia64/fpu/w_log.c: Likewise.
30737 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30738 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30739 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30740 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30741 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30742 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30743 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30744 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30745 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30746 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30747 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30748 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30749 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30750 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30751 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30752 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30753 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30754 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30755 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30756 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30757 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30758 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30759 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30760 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30761 [LIBM_SVID_COMPAT].
30762 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30763 * sysdeps/ieee754/k_standard.c: Likewise.
30764 * sysdeps/ieee754/k_standardf.c: Likewise.
30765 * sysdeps/ieee754/k_standardl.c: Likewise.
30766 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30767 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30768 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30769 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30770 long_double_symbol call on [LIBM_SVID_COMPAT].
30771 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30772 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30773 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30774 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30775 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30776 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30777 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30778 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30779 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30780 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30781 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30782 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30783 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30784 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30785 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30786 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30787 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30788 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30789 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30790 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30791 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30792 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30794 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30796 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30797 * malloc/tst-mallocstate.c: Convert from test-skeleton
30798 to test-driver. Ifdef code using TEST_COMPAT macro.
30799 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30800 * math/test-matherr.c: Likewise.
30802 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30805 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30806 comparing word with byte-swapped constant.
30808 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30811 * locale/iso-639.def: add Miskito.
30812 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30813 * localedata/locales/miq_NI: New file.
30815 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30818 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30819 (__mkdir): Likewise.
30820 * io/chmod.c (__chmod): Add libc_hidden_def.
30821 * io/mkdir.c (__mkdir): Likewise.
30822 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30823 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30824 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30825 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30827 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30829 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30833 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30834 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30836 2017-09-04 Florian Weimer <fweimer@redhat.com>
30838 * math/math.h: Issue warning if log is defined.
30840 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30842 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30843 kernel version to 4.13.
30845 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30847 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30848 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30850 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30851 just <bits/types.h>.
30852 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30853 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30854 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30855 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30856 * misc/preadv2.c: Include <errno.h>.
30857 * misc/preadv64v2.c: Include <errno.h>.
30858 * misc/pwritev2.c: Include <errno.h>.
30859 * misc/pwritev64v2.c: Include <errno.h>.
30860 * sysdeps/posix/preadv2.c: Include <errno.h>.
30861 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30862 Fix <unistd.h> inclusion.
30863 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30864 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30865 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30866 __strtoul_internal): New functions.
30867 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30868 * sysdeps/posix/system.c: Include <sigsetops.h>.
30869 * sysdeps/mach/hurd/i386/Makefile
30870 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30871 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30872 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30873 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30874 __feraiseexcept_renamed to feraiseexcept instead of
30875 __GI_feraiseexcept.
30876 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30877 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30878 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30879 RWF_NOWAIT): Define to 0 if undefined already.
30880 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30882 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30883 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30885 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30887 * manual/math.texi (pow10): Do not document.
30888 (pow10f): Likewise.
30889 (pow10l): Likewise.
30890 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30891 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30892 * math/libm-test-exp10.inc (pow10_test): Remove.
30893 (do_test): Do not call pow10.
30894 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30895 [NO_LONG_DOUBLE] (pow10l): Likewise.
30896 * math/w_exp10f_compat.c (pow10f): Likewise.
30897 * math/w_exp10l_compat.c (pow10l): Likewise.
30898 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30899 (pow10): Make into compat symbol.
30900 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30901 (pow10f): Make into compat symbol.
30902 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30903 (pow10l): Make into compat symbol.
30904 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30906 (CFLAGS-nldbl-pow10.c): Remove variable..
30907 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30908 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30909 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30910 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30911 Undefine and redefine.
30912 (pow10l): Make into compat symbol.
30913 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30914 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30915 * sysdeps/arm/libm-test-ulps: Likewise.
30916 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30917 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30918 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30919 * sysdeps/microblaze/libm-test-ulps: Likewise.
30920 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30921 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30922 * sysdeps/nios2/libm-test-ulps: Likewise.
30923 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30924 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30925 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30926 * sysdeps/sh/libm-test-ulps: Likewise.
30927 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30928 * sysdeps/tile/libm-test-ulps: Likewise.
30929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30931 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30933 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30935 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30937 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30938 "../ChangeLog.old/ChangeLog.8".
30939 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30940 "../ChangeLog.old/ChangeLog.14".
30942 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30944 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30947 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30949 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30951 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30953 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30954 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30956 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30958 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30959 32 atexit handlers.
30961 2017-09-01 Zack Weinberg <zackw@panix.com>
30963 * math/math.h (HUGE_VAL): Improve commentary.
30965 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30966 Andreas Schwab <schwab@suse.de>
30969 * include/stdio.h (__gen_tempfd): New function.
30970 * stdio-common/Makefile (routines): Add gentempfd.
30971 * stdio-common/gentempfd.c: New file.
30972 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30973 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30974 unnamed file first.
30976 2017-09-01 Florian Weimer <fweimer@redhat.com>
30980 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30981 result to determine success or failure, not the errno value.
30982 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30983 (tst-nss-files-hosts-erange): Link with -ldl.
30984 * nss/tst-nss-files-hosts-erange.c: New file.
30985 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30986 (do_test): Add NO_DATA tests.
30987 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30988 (do_test): Call it.
30990 2017-09-01 Florian Weimer <fweimer@redhat.com>
30993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30994 coming from gethostbyname2_r.
30996 2017-09-01 Florian Weimer <fweimer@redhat.com>
30998 * support/namespace.h (struct support_chroot_configuration): Add
31000 (struct support_chroot): Add path_hosts, path_host_conf.
31001 * support/support_chroot.c (write_file): New function.
31002 (support_chroot_create): Call it to process /etc/resolv.conf,
31003 /etc/hosts, /etc/host.conf.
31004 (support_chroot_free): Update.
31006 2017-09-01 Florian Weimer <fweimer@redhat.com>
31008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31009 status indicates it is set.
31011 2017-09-01 Florian Weimer <fweimer@redhat.com>
31014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31015 function lookup failures more reliable.
31017 2017-09-01 Florian Weimer <fweimer@redhat.com>
31019 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31020 (getcanonname): Likewise.
31021 (gaih_inet): Likewise.
31023 2017-09-01 Florian Weimer <fweimer@redhat.com>
31025 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31026 (getcanonname): Likewise.
31027 (gaih_inet): Likewise.
31029 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31030 Richard Henderson <rth@twiddle.net>
31032 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31033 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31034 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31035 (IREG_SIZE, OREG_SIZE): New macros.
31036 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31037 (IREG_SIZE, OREG_SIZE): New macros.
31038 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31039 (IREG_SIZE): New macro.
31040 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31041 (IREG_SIZE): New macro.
31042 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31044 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31045 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31046 (__CONCATX): Handle exceptions correctly on large values that may
31048 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31049 Initialize if not already set.
31050 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31052 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31054 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31055 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31057 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31059 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31061 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31063 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31065 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31067 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31069 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31070 (NO_CANCELLATION): Likewise.
31071 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31073 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31075 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31077 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31078 (NO_CANCELLATION): Likewise.
31079 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31080 (NO_CANCELLATION): Likewise.
31081 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31083 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31085 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31087 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31089 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31091 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31092 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31094 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31096 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31099 2017-08-31 Florian Weimer <fweimer@redhat.com>
31101 * include/libc-symbols.h (internal_function): Remove.
31103 2017-08-31 Florian Weimer <fweimer@redhat.com>
31105 * stdlib/fmtmsg.c (internal_addseverity): Remove
31108 2017-08-31 Florian Weimer <fweimer@redhat.com>
31110 * stdio-common/printf_fp.c (group_number): Remove
31112 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31114 2017-08-31 Florian Weimer <fweimer@redhat.com>
31116 * posix/fnmatch.c (internal_function): Remove definition.
31117 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31118 * posix/regcomp.c (peek_token, init_word_char)
31119 (duplicate_node_closure, fetch_token, peek_token)
31120 (peek_token_bracket, build_range_exp, build_collating_symbol):
31122 * posix/regex_internal.c (re_string_construct_common)
31123 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31124 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31125 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31126 (re_string_translate_buffer, re_string_reconstruct)
31127 (re_string_peek_byte_case, re_string_fetch_byte_case)
31128 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31129 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31130 (re_node_set_add_intersect, re_node_set_init_union)
31131 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31132 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31133 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31134 (re_acquire_state_context): Likewise.
31135 * posix/regex_internal.h (internal_function): Remove definition.
31136 (re_string_realloc_buffers, build_wcs_buffer)
31137 (build_wcs_upper_buffer, build_upper_buffer)
31138 (re_string_translate_buffer, re_string_context_at)
31139 (re_string_char_size_at, re_string_wchar_at)
31140 (re_string_elem_size_at): Likewise.
31141 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31142 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31143 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31144 (re_search_internal, re_search_2_stub, re_search_stub)
31145 (re_copy_regs, prune_impossible_nodes, check_matching)
31146 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31147 (free_fail_stack_return, sift_states_iter_mb)
31148 (sift_states_backward, build_sifted_states)
31149 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31150 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31151 (check_subexp_limits, sift_states_bkref, merge_state_array)
31152 (find_recover_state, transit_state, merge_state_with_log)
31153 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31154 (transit_state_mb, transit_state_bkref, get_subexp)
31155 (get_subexp_sub, find_subexp_node, check_arrival)
31156 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31157 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31158 (check_node_accept_bytes, find_collation_sequence_value)
31159 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31160 (acquire_init_state_context, check_halt_node_context)
31161 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31162 (sub_epsilon_src_nodes): Likewise.
31163 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31164 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31165 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31166 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31167 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31168 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31169 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31170 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31171 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31172 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31173 (PREADV): Likewise.
31174 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31175 (PREADV): Likewise.
31176 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31177 (PWRITEV): Likewise.
31178 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31179 (PWRITEV): Likewise.
31180 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31181 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31183 2017-08-31 Florian Weimer <fweimer@redhat.com>
31185 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31186 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31187 Remove internal_function.
31188 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31189 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31190 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31191 (__deallocate_stack, __libc_pthread_init)
31192 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31193 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31194 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31196 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31197 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31198 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31200 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31201 (__pthread_mutex_unlock_usercnt): Likewise.
31203 2017-08-31 Florian Weimer <fweimer@redhat.com>
31205 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31206 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31207 (fts_safe_changedir): Remove internal_function.
31208 * io/ftw.c (internal_function): Remove definition.
31209 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31211 2017-08-31 Florian Weimer <fweimer@redhat.com>
31213 * inet/deadline.c (__deadline_current_time)
31214 (__deadline_from_timeval, __deadline_to_ms): Remove
31216 * inet/getnameinfo.c (nrl_domainname): Likewise.
31217 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31218 * inet/inet6_option.c (add_pad): Likewise.
31219 * inet/net-internal.h (__deadline_current_time)
31220 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31221 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31222 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31223 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31225 2017-08-31 Joseph Myers <joseph@codesourcery.com>
31227 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31228 include <bits/nan.h>.
31229 * math/Makefile (headers): Remove bits/nan.h.
31230 * bits/nan.h: Remove.
31231 * sysdeps/ieee754/bits/nan.h: Likewise.
31232 * sysdeps/mips/bits/nan.h: Likewise.
31234 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31235 not include <bits/inf.h>.
31236 * math/Makefile (headers): Remove bits/inf.h.
31237 * bits/inf.h: Remove.
31238 * sysdeps/ieee754/bits/inf.h: Likewise.
31240 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31241 bits/huge_vall.h or bits/huge_val_flt128.h.
31242 (HUGE_VAL): Define directly here.
31243 [__USE_ISOC99] (HUGE_VALF): Likewise.
31244 [__USE_ISOC99] (HUGE_VALL): Likewise.
31245 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31246 (HUGE_VAL_F128): Likewise.
31247 * math/Makefile (headers): Remove bits/huge_val.h,
31248 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31249 * bits/huge_val.h: Remove.
31250 * bits/huge_val_flt128.h: Likewise.
31251 * bits/huge_valf.h: Likewise.
31252 * bits/huge_vall.h: Likewise.
31253 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31254 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31255 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31256 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31257 * sysdeps/sh/bits/huge_val.h: Likewise.
31258 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31259 * sysdeps/x86/bits/huge_vall.h: Likewise.
31261 2017-08-31 Florian Weimer <fweimer@redhat.com>
31263 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31265 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31267 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31268 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31269 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31270 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31271 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31272 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31273 * elf/dl-libc.c (dlerror_run): Likewise.
31274 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31275 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31276 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31277 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31279 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31280 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31281 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31282 * elf/dl-profile.c (_dl_start_profile): Likewise.
31283 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31284 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31286 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31287 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31288 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31289 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31290 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31291 (_dl_allocate_tls_storage): Likewise.
31292 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31293 (_dl_check_all_versions): Likewise.
31294 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31295 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31296 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31297 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31298 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31299 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31300 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31301 internal_function from __dl_start.
31302 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31303 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31304 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31305 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31306 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31307 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31308 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31309 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31310 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31311 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31312 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31313 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31314 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31315 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31316 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31318 (struct rtld_global_ro): Remove internal_function from the
31319 _dl_lookup_symbol_x member.
31320 (_dl_symbol_value): Remove. No longer defined anywhere.
31321 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31323 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31324 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31325 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31326 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31327 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31328 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31329 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31330 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31331 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31332 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31333 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31334 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31336 2017-08-31 Florian Weimer <fweimer@redhat.com>
31338 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31339 Remove internal_function.
31340 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31342 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31345 2017-08-31 Florian Weimer <fweimer@redhat.com>
31347 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31348 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31349 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31351 2017-08-31 Florian Weimer <fweimer@redhat.com>
31353 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31354 (__gai_enqueue_request): Remove internal_function.
31355 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31356 (__gai_remove_request, __gai_notify, __gai_notify_only)
31357 (__gai_sigqueue): Likewise.
31358 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31359 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31360 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31361 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31364 2017-08-31 Florian Weimer <fweimer@redhat.com>
31366 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31367 * include/dirent.h (__opendirat, __getdents, __getdents64)
31368 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31369 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31370 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31371 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31373 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31375 2017-08-31 Florian Weimer <fweimer@redhat.com>
31377 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31379 (GETCWD_RETURN_TYPE): Likewise.
31381 2017-08-31 Florian Weimer <fweimer@redhat.com>
31383 * include/time.h (__tz_compute, __strptime_internal): Remove
31385 * time/strptime_l.c (__strptime_internal): Likewise.
31386 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31388 2017-08-31 Florian Weimer <fweimer@redhat.com>
31390 * iconv/gconv.c (__gconv): Remove internal_function.
31391 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31392 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31393 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31394 (__gconv_release_cache): Likewise.
31395 * iconv/gconv_close.c (__gconv_close): Likewise.
31396 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31397 (read_conf_file, __gconv_get_path): Likewise.
31398 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31399 (__gconv_release_step, gen_steps, increment_counter)
31400 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31401 (__gconv_close_transform, free_modules_db): Likewise.
31402 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31404 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31405 (__gconv_find_transform, __gconv_lookup_cache)
31406 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31407 (__gconv_close_transform, __gconv_release_cache)
31408 (__gconv_loaded_object, __gconv_release_shlib)
31409 (__gconv_compare_alias): Likewise.
31410 * iconv/gconv_open.c (__gconv_open): Likewise.
31411 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31412 * iconv/iconvconfig.c (add_module): Likewise.
31413 * intl/dcigettext.c (plural_lookup, guess_category_value)
31414 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31415 * intl/eval-plural.h (plural_eval): Likewise.
31416 * intl/finddomain.c (_nl_find_domain): Likewise.
31417 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31418 (_nl_load_domain, _nl_find_msg): Likewise.
31419 (internal_function): Remove definition.
31420 * intl/loadinfo.h (internal_function): Likewise.
31421 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31423 * intl/localealias.c (internal_function): Remove definition.
31424 (read_alias_file): Remove internal_function.
31425 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31426 * intl/plural-exp.h (internal_function): Remove definition.
31427 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31429 * intl/plural.c: Regenerate.
31430 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31431 * locale/coll-lookup.c (__collidx_table_lookup)
31432 (__collseq_table_lookup): Likewise.
31433 * locale/coll-lookup.h (__collidx_table_lookup)
31434 (__collseq_table_lookup): Likewise.
31435 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31436 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31437 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31438 (_nl_unload_locale): Likewise.
31439 * locale/localeinfo.h (struct __locale_data): Remove
31440 internal_function from cleanup member.
31441 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31442 (_nl_remove_locale, _nl_load_locale_from_archive)
31443 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31444 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31445 (_nl_cleanup_time): Remove internal_function.
31446 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31447 (_nl_parse_alt_digit): Likewise.
31448 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31449 (_nl_select_era_entry): Likewise.
31450 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31451 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31452 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31453 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31454 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31456 2017-08-31 Florian Weimer <fweimer@redhat.com>
31458 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31459 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31460 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31461 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31463 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31464 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31465 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31466 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31468 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31470 2017-08-31 Florian Weimer <fweimer@redhat.com>
31472 * misc/getttyent.c (skip, value): Remove internal_function.
31473 * misc/syslog.c (openlog_internal): Likewise.
31474 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31476 2017-08-31 Florian Weimer <fweimer@redhat.com>
31478 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31479 (__nss_rewrite_field): Remove internal_function.
31480 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31481 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31482 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31483 * nss/nsswitch.c (nss_parse_file, nss_getline)
31484 (nss_parse_service_list, nss_new_service): Likewise.
31485 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31486 * nss/valid_field.c (__nss_valid_field): Likewise.
31487 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31489 2017-08-31 Florian Weimer <fweimer@redhat.com>
31491 * malloc/arena.c (__malloc_fork_lock_parent)
31492 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31493 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31494 internal_function from defintions.
31495 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31496 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31497 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31498 internal_function from declarations.
31499 * malloc/malloc.c (internal_function): Do not define.
31500 (mem2mem_check): Remove internal_function from declaration.
31501 (munmap_chunk, mremap_chunk): Remove internal_function.
31502 * malloc/mtrace.c (tr_where): Likewise.
31504 2017-08-31 Florian Weimer <fweimer@redhat.com>
31506 * include/rpc/pmap_clnt.h (__get_socket): Remove
31508 * sunrpc/auth_des.c (synchronize): Likewise.
31509 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31510 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31511 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31512 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31513 (key_call): Likewise.
31514 * sunrpc/pm_getport.c (__get_socket): Likewise.
31515 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31516 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31517 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31518 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31519 (invalidate): Likewise.
31520 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31521 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31522 (set_input_fragment, get_input_bytes): Likewise.
31524 2017-08-31 Florian Weimer <fweimer@redhat.com>
31526 * malloc/malloc.c (_int_free): Remove locked variable and related
31529 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31532 * Makerules (build-module-helper-objlist): Filter out
31533 $(elf-objpfx)sofini.os.
31534 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31537 2017-08-31 Florian Weimer <fweimer@redhat.com>
31539 * libio/fcloseall.c: Assume weak_alias is defined.
31540 * libio/feof.c: Likewise.
31541 * libio/fileno.c: Likewise.
31542 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31543 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31545 (_IO_file_open): Call __open directly.
31546 (_IO_new_file_sync): Assume ESPIPE is defined.
31547 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31548 (_IO_new_file_write): Call __write directly.
31549 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31550 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31551 * libio/genops.c: Assume _LIBC is defined.
31552 (save_for_backup): Remove internal_function.
31553 * libio/getc.c: Assume weak_alias is defined.
31554 * libio/getwc.c: Likewise.
31555 * libio/iofclose.c: Assume _LIBC is defined.
31556 * libio/iofdopen.c: Likewise.
31557 (_IO_fcntl): Remove macro definition.
31558 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31559 Call __fcntl directly.
31560 * libio/iofflush.c: Assume weak_alias is defined.
31561 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31563 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31564 * libio/iofgets.c: Likewise.
31565 * libio/iofopen.c: Assume _LIBC is defined.
31566 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31567 * libio/iofputs.c: Assume weak_alias is defined.
31568 * libio/iofread.c: Likewise.
31569 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31570 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31571 * libio/ioftell.c: Assume weak_alias is defined.
31572 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31573 * libio/iofwide.c: Assume _LIBC is defined.
31574 (_IO_fwide): Drop SHARED conditional because it is implied by
31576 * libio/iofwrite.c: Assume weak_alias is defined.
31577 * libio/iogetdelim.c: Likewise.
31578 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31579 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31580 (_IO_getwline): Call __wmemcpy directly.
31581 * libio/iopopen.c: Assume _LIBC is defined.
31582 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31583 (_IO_close): Remove macro definitions.
31584 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31586 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31588 * libio/ioputs.c: Assume weak_alias is defined.
31589 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31590 * libio/iosetbuffer.c: Assume weak_alias is defined.
31591 * libio/iosetvbuf.c: Likewise.
31592 * libio/ioungetc.c: Likewise.
31593 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31594 libc_hidden_def, libc_hidden_weak, NULL are defined.
31595 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31596 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31598 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31600 (_IO_old_file_init_internal): Drop SHARED conditional because it
31601 is implied by SHLIB_COMPAT.
31602 (_IO_old_file_fopen): Call __open directly.
31603 (_IO_old_file_sync): Assume ESPIPE is defined.
31604 (_IO_old_file_write): Call __write directly.
31605 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31606 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31607 Call __fcntl directly.
31608 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31609 (_IO_old_fgetpos): Assume EIO is defined.
31610 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31611 (_IO_old_fgetpos64): Assume EIO is defined.
31612 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31613 (_IO_old_fsetpos): Assume EIO is defined.
31614 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31615 (_IO_old_fsetpos64): Assume EIO is defined.
31616 * libio/oldiopopen.c: Assume _LIBC is defined.
31617 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31618 (_IO_close): Remove macro definitions.
31619 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31621 (_IO_old_proc_close): Call __close, __waitpid directly.
31622 * libio/put.c: Assume weak_alias is defined.
31623 * libio/stdfiles.c: Assume _LIBC is defined.
31624 * libio/stdio.c: Likewise.
31625 * libio/wfileops.c: Likewise.
31626 (_IO_wfile_sync): Assume ESPIPE is defined.
31627 * libio/wgenops.c: Assume _LIBC is defined.
31628 (save_for_wbackup): Remove internal_function.
31630 2017-08-31 Florian Weimer <fweimer@redhat.com>
31632 * malloc/malloc.c (top_check): Change return type to void. Remove
31634 * malloc/hooks.c (top_check): Likewise.
31635 (malloc_check, realloc_check, memalign_check): Adjust.
31637 2017-08-30 Joseph Myers <joseph@codesourcery.com>
31640 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31641 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31642 sigcontext and namespace requirements.
31643 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31644 * sysdeps/m68k/sys/ucontext.h: Likewise.
31645 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31646 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31647 <bits/sigcontext.h>.
31648 (__ctx): Define earlier.
31649 (mcontext_t): Define structure contents rather than using struct
31651 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31652 __glibc_reserved1 instead of __reserved.
31653 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31654 <bits/sigcontext.h>.
31655 (__ctx): Define earlier.
31656 (mcontext_t): Define structure contents rather than using struct
31658 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31659 mcontext_t instead of struct sigcontext.
31660 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31661 <bits/sigcontext.h>.
31662 (__ctx): Define earlier.
31663 (mcontext_t): Define structure contents rather than using struct
31665 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31666 <bits/sigcontext.h>.
31667 (__ctx): Define earlier.
31668 (mcontext_t): Define structure contents rather than using struct
31670 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31671 mcontext_t instead of struct sigcontext.
31672 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31673 mcontext_t instead of struct sigcontext.
31674 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31675 <bits/sigcontext.h>.
31676 (__ctx): New macro.
31677 (struct __ia64_fpreg_mcontext): New type.
31678 (mcontext_t): Define structure contents rather than using struct
31680 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31681 (uc_sigmask): Define using __ctx.
31682 (uc_stack): Likewise.
31683 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31684 <bits/sigcontext.h>.
31685 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31686 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31687 <bits/sigcontext.h>.
31688 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31689 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31690 <bits/sigcontext.h>.
31691 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31692 <bits/sigcontext.h>.
31693 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31694 <bits/sigcontext.h>.
31695 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31696 <bits/sigcontext.h>.
31697 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31698 <bits/sigcontext.h>.
31699 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31700 <bits/sigcontext.h>.
31701 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31702 <bits/sigcontext.h>.
31703 (__ctx): Define earlier.
31704 (mcontext_t): Define structure contents rather than using struct
31706 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31707 <bits/sigcontext.h>. Include <bits/types.h>.
31708 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31709 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31710 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31711 (test-xfail-UNIX98/signal.h/conform): Likewise.
31712 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31713 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31714 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31715 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31716 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31717 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31718 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31719 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31720 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31722 2017-08-30 Florian Weimer <fweimer@redhat.com>
31724 * malloc/dynarray_emplace_enlarge.c
31725 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31726 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31727 * malloc/tst-dynarray.c (test_long_overflow): New function.
31728 (do_test): Call it.
31730 2017-08-30 Florian Weimer <fweimer@redhat.com>
31732 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31733 (set_arena_corrupt): Remove definitions.
31734 (mtrim): Do not check for corrupt arena.
31735 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31738 2017-08-30 Florian Weimer <fweimer@redhat.com>
31741 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31743 (ptmalloc_init): Do not set or use check_action.
31744 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31745 call to malloc_printerr. Remove return statement.
31746 (free_check): Likewise. Remove arena unlock.
31747 (top_check): Update comment. Adjust call to malloc_printerr.
31748 Remove heap repair code.
31749 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31750 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31751 (sysmalloc): Adjust call to malloc_printerr.
31752 (munmap_chunk, __libc_realloc): Likewise. Remove return
31754 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31755 Remove errout label and corresponding gotos.
31756 (_int_free): Likewise. Remove arena unlock.
31757 (do_set_mallopt_check): Do not set check_action.
31758 (malloc_printerr): Adjust parameter list. Do not mark arena as
31760 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31762 * manual/probes.texi (Memory Allocation Probes): Remove
31763 memory_mallopt_check_action.
31765 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31767 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31768 Use pointer to uint64_t instead of long int for sp.
31770 2017-08-30 Florian Weimer <fweimer@redhat.com>
31773 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31774 without printing a backtrace. Do not leak any information in the
31776 * manual/memory.texi (Heap Consistency Checking): Update.
31777 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31779 2017-08-30 Florian Weimer <fweimer@redhat.com>
31781 Do not scale NPTL tests with available number of CPUs.
31782 * nptl/tst-cond16.c (count): Set to constant value of 8.
31783 * nptl/tst-cond18.c (count): Likewise.
31785 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31788 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31789 Define to take a second argument that is a macro that
31790 concatentates a suffix, not the suffix itself.
31791 (__CONCAT_d): New macro.
31792 (__CONCAT_f): Likewise.
31793 (__CONCAT_l): Likewise.
31795 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31797 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31800 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31801 Aurelien Jarno <aurelien@aurel32.net>
31802 Maciej W. Rozycki <macro@imgtec.com>
31805 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31806 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31807 `mips16-syscall6' and `mips16-syscall7'.
31808 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31809 (CFLAGS-mips16-syscall7.c): Remove.
31810 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31811 Remove `__mips16_syscall5', `__mips16_syscall6' and
31812 `__mips16_syscall7'.
31813 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31814 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31815 `__mips_syscall_return'.
31816 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31817 (__mips16_syscall1): Likewise.
31818 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31819 (__mips16_syscall2): Likewise.
31820 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31821 (__mips16_syscall3): Likewise.
31822 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31823 (__mips16_syscall4): Likewise.
31824 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31826 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31828 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31830 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31831 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31832 `__mips16_syscall5'. Remove prototype.
31833 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31834 `__mips16_syscall6'. Remove prototype.
31835 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31836 `__mips16_syscall7'. Remove prototype.
31837 (__nomips16, __mips16_syscall_return): Move to...
31838 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31839 (__nomips16, __mips_syscall_return): ... here.
31840 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31841 `__mips16_syscall_return' to `__mips_syscall_return'.
31842 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31843 `internal_syscall##nr'.
31844 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31845 `internal_syscall##nr'.
31846 (FORCE_FRAME_POINTER): Remove.
31847 (__mips_syscall5): New prototype.
31848 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31849 (__mips_syscall6): New prototype.
31850 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31851 (__mips_syscall7): New prototype.
31852 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31853 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31854 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31855 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31856 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31857 (sysdep_routines): Add libc-do-syscall.
31858 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31859 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31861 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31864 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31865 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31866 (advise_stack_range): New function.
31867 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31868 stack non required to advise_stack_range at allocatestack.c
31870 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31872 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31874 2017-08-29 Florian Weimer <fweimer@redhat.com>
31877 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31878 __end_fct. Mangle __end_fct after setting it to NULL.
31879 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31880 (modules-names, modules-names-tests): Add
31881 tst-gconv-init-failure-mod.
31882 (gconv-modules): New target.
31883 (tst-gconv-init-failure-mod.so): Link against libsupport.
31884 (tst-gconv-init-failure): Depend on gconv-modules,
31885 tst-gconv-init-failure-mod.so.
31886 * iconv/tst-gconv-init-failure-mod.c: New file.
31887 * iconv/tst-gconv-init-failure.c: Likewise.
31888 * iconv/test-gconv-modules: Likewise.
31890 2017-08-29 Florian Weimer <fweimer@redhat.com>
31893 * iconv/gconv_db.c (free_derivation): Remove redundant
31895 (gen_steps): Unconditionally mangle __btowc_fct after
31897 (increment_counter): Likewise. Do not call init_fct for internal
31900 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31903 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31904 (_MSUF_): Remove macro.
31905 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31907 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31908 (__REDIRFROM_X): New macro.
31909 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31911 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31912 (__REDIRTO_X): Likewise.
31913 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31915 (__MATH_REDIRCALL_2): Likewise.
31916 (__MATH_REDIRCALL_INTERNAL): Likewise.
31917 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31918 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31919 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31920 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31921 * math/test-finite-macros.c: New file.
31922 * math/Makefile (tests): Add test-finite-macros.
31923 (CFLAGS-test-finite-macros.c): New variable.
31925 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31926 Jeff Law <law@redhat.com>
31929 Mangle NULL pointers in iconv/gconv.
31930 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31931 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31932 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31933 is non-NULL before demangling the end_fct. Check for NULL
31934 end_fct after demangling.
31935 (__gconv_release_step): Demangle the end_fct before checking
31936 it for NULL. Remove assert on __shlibc_handle != NULL.
31937 (gen_steps): Don't check btowc_fct for NULL before mangling.
31938 Demangle init_fct before checking for NULL.
31939 (increment_counter): Likewise.
31940 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31941 end_fct for NULL before mangling.
31942 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31945 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31948 * locale/iso-639.def: add Morisyen.
31950 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31953 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31954 (iszero): New C++ implementation that does not use
31955 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31956 signaling nans are enabled, since __builtin_types_compatible_p
31957 is a C-only feature.
31958 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31959 defined, include ieee754_float128.h for access to the union and
31960 member ieee854_float128.ieee.
31961 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31962 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31963 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31964 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31965 options of test-math-zero on powerpc64le.
31967 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31969 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31970 Change double to float.
31972 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31974 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31976 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31977 conditional code; define contents only for [LIBM_SVID_COMPAT].
31979 2017-08-28 Florian Weimer <fweimer@redhat.com>
31981 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31982 (abi-lp64_be-options): Remove.
31983 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31984 (abi-hard-options): Likewise.
31985 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31986 (abi-o32_hard-options, abi-o32_soft_2008-options)
31987 (abi-o32_hard_2008-options, abi-n32_soft-options)
31988 (abi-n32_hard-options, abi-n32_soft_2008-options)
31989 (abi-n32_hard_2008-options, abi-n64_soft-options)
31990 (abi-n64_hard-options, abi-n64_soft_2008-options)
31991 (abi-n64_hard_2008-options): Likewise.
31992 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31993 (abi-64-v1-options, abi-64-v2-options): Likewise.
31994 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31995 (abi-64-options): Likewise.
31996 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31997 (abi-64-options): Likewise.
31998 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31999 (abi-64-options): Likewise.
32000 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32001 (abi-64-options, abi-x32-options): Likewise.
32003 2017-08-28 Florian Weimer <fweimer@redhat.com>
32005 Store supported list of SYS_* system calls in the source tree.
32006 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32007 (bits/syscall.h): Generate from list file.
32008 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32009 [$(subdir) = misc] (tests): Add tst-syscall-list.
32010 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32011 [$(subdir) = misc] (tst-syscall-list-macros.list)
32012 [$(subdir) = misc] (tst-syscall-list-nr.list)
32013 (tst-syscall-list-sys.list): Helper targets for new
32014 tst-syscall-list test.
32015 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32016 tst-syscall-list.sh.
32017 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32018 target. Do not include bits/syscall.d.
32019 [$(subdir) = misc] (generated): Do not update.
32020 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32021 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32022 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32023 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32025 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32027 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32028 (tst-cxa_atexit, tst-on_exit): Likewise.
32029 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32030 tst-cxa_atexit, and tst-on_exit.
32031 * stdlib/tst-atexit-common.c: New file.
32032 * stdlib/tst-atexit.c: New file.
32033 * stdlib/tst-at_quick_exit.c: New file.
32034 * stdlib/tst-cxa_atexit.c: New file.
32035 * stdlib/tst-on_exit.c: New file.
32037 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32039 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
32040 * mach/stack_chk_fail_local.c: New file.
32041 * hurd/stack_chk_fail_local.c: New file.
32042 * mach/Machrules ($(interface-library)-routines): Add
32043 stack_chk_fail_local.
32044 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32045 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32046 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32047 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32048 * hurd/Makefile (CFLAGS-hurdstartup.o,
32049 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
32051 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32053 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32054 (index_cpu_*, index_arch_*): Removed.
32056 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32058 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32059 Use uint64_t instead of unsigned long.
32061 2017-08-25 Joseph Myers <joseph@codesourcery.com>
32063 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32064 [__HAVE_DISTINCT_FLOAT128].
32066 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32067 of <bits/math-finite.h>.
32068 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32069 inclusion of <bits/math-finite.h>.
32070 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32071 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32072 __NO_LONG_DOUBLE_MATH].
32073 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32074 (__MATH_REDIRCALL_2): Likewise.
32075 (__MATH_REDIRCALL_INTERNAL): Likewise.
32076 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32077 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32078 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32092 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32093 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32094 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32095 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32097 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32098 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32099 w_sqrtf_compat-ppc32.
32101 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32103 * math/math.h [defined __cplusplus] (issignaling): In the long
32104 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32105 is not defined. Call __issignaling, otherwise.
32107 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32109 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32110 syscall definitions and replace __builtin_expect with __glibc_likely.
32111 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32113 (SYSCALL_CANCELLABLE): Removedefinition
32114 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32116 (PSEUDO_END): Likewise.
32117 [IS_IN (libpthread)] (CENABLE): Likewise.
32118 [IS_IN (libpthread)] (CDISABLE): Likewise.
32119 [IS_IN (libc)] (CENABLE): Likewise.
32120 [IS_IN (libc)] (CENABLE): Likewise.
32121 [IS_IN (librt)] (CDISABLE): Likewise.
32122 [IS_IN (librt)] (CDISABLE): Likewise.
32123 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32124 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32126 (PSEUDO_END): Likewise.
32127 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32128 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32129 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32130 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32131 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32132 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32133 (CENABLE): Likewise.
32134 (CDISABLE): Likewise.
32135 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32136 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32138 (PSEUDO_END): Likewise.
32139 [IS_IN (libpthread)] (CENABLE): Likewise.
32140 [IS_IN (libpthread)] (CDISABLE): Likewise.
32141 [IS_IN (libc)] (CENABLE): Likewise.
32142 [IS_IN (libc)] (CENABLE): Likewise.
32143 [IS_IN (librt)] (CDISABLE): Likewise.
32144 [IS_IN (librt)] (CDISABLE): Likewise.
32145 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32146 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32148 (PSEUDO_END): Likewise.
32149 [IS_IN (libpthread)] (CENABLE): Likewise.
32150 [IS_IN (libpthread)] (CDISABLE): Likewise.
32151 [IS_IN (libc)] (CENABLE): Likewise.
32152 [IS_IN (libc)] (CENABLE): Likewise.
32153 [IS_IN (librt)] (CDISABLE): Likewise.
32154 [IS_IN (librt)] (CDISABLE): Likewise.
32155 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32156 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32158 (PSEUDO_END): Likewise.
32159 [IS_IN (libpthread)] (CENABLE): Likewise.
32160 [IS_IN (libpthread)] (CDISABLE): Likewise.
32161 [IS_IN (libc)] (CENABLE): Likewise.
32162 [IS_IN (libc)] (CENABLE): Likewise.
32163 [IS_IN (librt)] (CDISABLE): Likewise.
32164 [IS_IN (librt)] (CDISABLE): Likewise.
32165 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32166 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32168 (PSEUDO_END): Likewise.
32169 [IS_IN (libpthread)] (CENABLE): Likewise.
32170 [IS_IN (libpthread)] (CDISABLE): Likewise.
32171 [IS_IN (libc)] (CENABLE): Likewise.
32172 [IS_IN (libc)] (CENABLE): Likewise.
32173 [IS_IN (librt)] (CDISABLE): Likewise.
32174 [IS_IN (librt)] (CDISABLE): Likewise.
32175 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32176 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32178 (PSEUDO_END): Likewise.
32179 [IS_IN (libpthread)] (CENABLE): Likewise.
32180 [IS_IN (libpthread)] (CDISABLE): Likewise.
32181 [IS_IN (libc)] (CENABLE): Likewise.
32182 [IS_IN (libc)] (CENABLE): Likewise.
32183 [IS_IN (librt)] (CDISABLE): Likewise.
32184 [IS_IN (librt)] (CDISABLE): Likewise.
32185 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32186 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32188 (PSEUDO_END): Likewise.
32189 [IS_IN (libpthread)] (CENABLE): Likewise.
32190 [IS_IN (libpthread)] (CDISABLE): Likewise.
32191 [IS_IN (libc)] (CENABLE): Likewise.
32192 [IS_IN (libc)] (CENABLE): Likewise.
32193 [IS_IN (librt)] (CDISABLE): Likewise.
32194 [IS_IN (librt)] (CDISABLE): Likewise.
32195 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32196 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32198 (PSEUDO_END): Likewise.
32199 [IS_IN (libpthread)] (CENABLE): Likewise.
32200 [IS_IN (libpthread)] (CDISABLE): Likewise.
32201 [IS_IN (libc)] (CENABLE): Likewise.
32202 [IS_IN (libc)] (CENABLE): Likewise.
32203 [IS_IN (librt)] (CDISABLE): Likewise.
32204 [IS_IN (librt)] (CDISABLE): Likewise.
32205 (SINGLE_THREAD_P): Likewise.
32206 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32208 (PSEUDO_END): Likewise.
32209 [IS_IN (libpthread)] (CENABLE): Likewise.
32210 [IS_IN (libpthread)] (CDISABLE): Likewise.
32211 [IS_IN (libc)] (CENABLE): Likewise.
32212 [IS_IN (libc)] (CENABLE): Likewise.
32213 [IS_IN (librt)] (CDISABLE): Likewise.
32214 [IS_IN (librt)] (CDISABLE): Likewise.
32215 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32216 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32218 (PSEUDO_END): Likewise.
32219 [IS_IN (libpthread)] (CENABLE): Likewise.
32220 [IS_IN (libpthread)] (CDISABLE): Likewise.
32221 [IS_IN (libc)] (CENABLE): Likewise.
32222 [IS_IN (libc)] (CENABLE): Likewise.
32223 [IS_IN (librt)] (CDISABLE): Likewise.
32224 [IS_IN (librt)] (CDISABLE): Likewise.
32225 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32226 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32227 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32228 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32229 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32231 (PSEUDO_END): Likewise.
32232 [IS_IN (libpthread)] (CENABLE): Likewise.
32233 [IS_IN (libpthread)] (CDISABLE): Likewise.
32234 [IS_IN (libc)] (CENABLE): Likewise.
32235 [IS_IN (libc)] (CENABLE): Likewise.
32236 [IS_IN (librt)] (CDISABLE): Likewise.
32237 [IS_IN (librt)] (CDISABLE): Likewise.
32238 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32239 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32241 (PSEUDO_END): Likewise.
32242 [IS_IN (libpthread)] (CENABLE): Likewise.
32243 [IS_IN (libpthread)] (CDISABLE): Likewise.
32244 [IS_IN (libc)] (CENABLE): Likewise.
32245 [IS_IN (libc)] (CENABLE): Likewise.
32246 [IS_IN (librt)] (CDISABLE): Likewise.
32247 [IS_IN (librt)] (CDISABLE): Likewise.
32248 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32249 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32251 (PSEUDO_END): Likewise.
32252 [IS_IN (libpthread)] (CENABLE): Likewise.
32253 [IS_IN (libpthread)] (CDISABLE): Likewise.
32254 [IS_IN (libc)] (CENABLE): Likewise.
32255 [IS_IN (libc)] (CENABLE): Likewise.
32256 [IS_IN (librt)] (CDISABLE): Likewise.
32257 [IS_IN (librt)] (CDISABLE): Likewise.
32258 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32259 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32261 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32262 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32264 (PSEUDO_END): Likewise.
32265 [IS_IN (libpthread)] (CENABLE): Likewise.
32266 [IS_IN (libpthread)] (CDISABLE): Likewise.
32267 [IS_IN (libc)] (CENABLE): Likewise.
32268 [IS_IN (libc)] (CENABLE): Likewise.
32269 [IS_IN (librt)] (CDISABLE): Likewise.
32270 [IS_IN (librt)] (CDISABLE): Likewise.
32271 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32272 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32274 (PSEUDO_END): Likewise.
32275 [IS_IN (libpthread)] (CENABLE): Likewise.
32276 [IS_IN (libpthread)] (CDISABLE): Likewise.
32277 [IS_IN (libc)] (CENABLE): Likewise.
32278 [IS_IN (libc)] (CENABLE): Likewise.
32279 [IS_IN (librt)] (CDISABLE): Likewise.
32280 [IS_IN (librt)] (CDISABLE): Likewise.
32281 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32283 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32285 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32287 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32289 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32291 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32294 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32295 middle and outer with size_t instead of int. Repleace %d and
32296 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32297 "MAX (outer, nchars - 64)" to support unsigned outer and
32298 nchars. Also exit loop when outer == 0.
32300 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32302 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32303 * include/signal.h (__sigsuspend_nocancel): Likewise.
32304 * include/time.h (__nanosleep_nocancel): Likewise.
32305 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32306 * login/utmp_file.c: Include non cancellable syscall header.
32307 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32310 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32312 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32313 .byte sequences with AVX512F instructions.
32314 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32315 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32316 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32317 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32319 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32322 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32323 Steve Ellcey <sellcey@cavium.com>
32325 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32326 Use PTR_REG macro in cmp instruction.
32328 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32330 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32331 Change the return type of the ifunc resolver to match the return
32332 type of the target function.
32334 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32336 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32337 (preadv64): Likewise.
32338 (pwrite64(: Likewise.
32339 (pwritev64): Likewise.
32341 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32342 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32343 (LOAD_ARGS_0): Likewise.
32344 (LOAD_ARGS_1): Likewise.
32345 (LOAD_ARGS_2): Likewise.
32346 (LOAD_ARGS_3): Likewise.
32347 (LOAD_ARGS_4): Likewise.
32348 (LOAD_ARGS_5): Likewise.
32349 (LOAD_ARGS_6): Likewise.
32350 (LOAD_REGS_0): Likewise.
32351 (LOAD_REGS_1): Likewise.
32352 (LOAD_REGS_2): Likewise.
32353 (LOAD_REGS_3): Likewise.
32354 (LOAD_REGS_4): Likewise.
32355 (LOAD_REGS_5): Likewise.
32356 (LOAD_REGS_6): Likewise.
32357 (ASM_ARGS_0): Likewise.
32358 (ASM_ARGS_1): Likewise.
32359 (ASM_ARGS_2): Likewise.
32360 (ASM_ARGS_3): Likewise.
32361 (ASM_ARGS_4): Likewise.
32362 (ASM_ARGS_5): Likewise.
32363 (ASM_ARGS_6): Likewise.
32364 (LOAD_ARGS_TYPES_1): Likewise.
32365 (LOAD_ARGS_TYPES_2): Likewise.
32366 (LOAD_ARGS_TYPES_3): Likewise.
32367 (LOAD_ARGS_TYPES_4): Likewise.
32368 (LOAD_ARGS_TYPES_5): Likewise.
32369 (LOAD_ARGS_TYPES_6): Likewise.
32370 (LOAD_REGS_TYPES_1): Likewise.
32371 (LOAD_REGS_TYPES_2): Likewise.
32372 (LOAD_REGS_TYPES_3): Likewise.
32373 (LOAD_REGS_TYPES_4): Likewise.
32374 (LOAD_REGS_TYPES_5): Likewise.
32375 (LOAD_REGS_TYPES_6): Likewise.
32376 (TYPEFY): New define.
32377 (ARGIFY): Likewise.
32378 (internal_syscall0): Likewise.
32379 (internal_syscall1): Likewise.
32380 (internal_syscall2): Likewise.
32381 (internal_syscall3): Likewise.
32382 (internal_syscall4): Likewise.
32383 (internal_syscall5): Likewise.
32384 (internal_syscall6): Likewise.
32385 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32386 (INTERNAL_SYSCALL_NCS): Remove define.
32387 (internal_syscall1): Add define.
32389 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32391 * math/w_remainder_compat.c: Remove duplicate inclusion of
32392 math-svid-compat.h.
32393 * math/w_remainderf_compat.c: Likewise.
32394 * math/w_remainderl_compat.c: Likewise.
32396 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32400 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32403 * math/tgmath.h (__floating_type): Simplify definitions.
32404 (__real_integer_type): New macro.
32405 (__complex_integer_type): Likewise.
32406 (__expr_is_real): Likewise.
32407 (__tgmath_real_type_sub): Update comment to describe handling of
32409 (__tgmath_complex_type_sub): New macro.
32410 (__tgmath_complex_type): Likewise.
32411 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32412 (__TGMATH_CF128): Use __expr_is_real.
32413 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32415 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32416 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32417 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32420 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32422 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32424 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32426 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32429 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32430 nanosleep_not_cancel with __nanosleep_nocancel.
32431 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32432 (__nanosleep_nocancel): New macro.
32433 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32435 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32437 (__nanosleep_nocancel): New prototype.
32439 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32440 pause_not_cancel with __pause_nocancel.
32441 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32442 (__pause_nocancel): New macro.
32443 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32445 (__pause_nocancel): New prototype.
32446 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32448 2017-08-22 Martin Sebor <msebor@redhat.com>
32450 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32451 to return a pointer to the same type as the target function.
32453 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32457 * include/printf.h (__printf_fphex): Add attribute_hidden.
32458 (__guess_grouping): New prototype.
32459 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32460 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32461 libc_hidden_proto and libc_hidden_def.
32462 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32463 (__vstrfmon_l): Remove the third argument passed to
32466 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32468 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32469 definition for issignaling that does not rely on __MATH_TG,
32470 since __MATH_TG uses __builtin_types_compatible_p, which is only
32471 available in C mode.
32472 (CFLAGS-test-math-issignaling.cc): New variable.
32473 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32474 * math/test-math-issignaling.cc: New test for C++ implementation
32475 of type-generic issignaling.
32476 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32477 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32478 options of test-math-issignaling on powerpc64le.
32480 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32482 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32484 (hidden_proto): Likewise.
32485 (hidden_tls_proto): Likewise.
32486 (__hidden_proto): Likewise.
32488 2017-08-22 Florian Weimer <fweimer@redhat.com>
32490 math: Statically link tests of internal functionality.
32491 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32493 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32494 (gmp-objs): Remove assignment.
32495 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32497 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32500 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32502 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32504 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32507 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32508 variable definitions above inclusion of ../Rules.
32510 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32512 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32513 case calling __builtin_unreachable.
32515 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32517 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32518 __waitpid_nocancel.
32519 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32520 (__waitpid_nocancel): New macro.
32521 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32523 (__waitpid_nocancel): Replace macro with a function.
32524 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32527 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32529 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32530 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32532 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32533 __writev_nocancel_nostatus.
32534 (write_call_graph): Likewise.
32535 (write_bb_counts): Likewise.
32536 * resolv/herror.c (herror): Likewise.
32537 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32539 (__writev_nocancel_nostatus): New macro.
32540 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32542 (__writev_nocancel_nostatus): New function.
32544 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32547 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32549 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32551 (hidden_proto): Likewise.
32552 (hidden_tls_proto): Likewise.
32553 (__hidden_proto): Likewise.
32556 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32557 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32566 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32567 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32568 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32569 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32570 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32571 GLIBC_2.0 sqrtl symbol.
32573 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32574 [__USE_MISC] (_LIB_VERSION): Likewise.
32575 [__USE_MISC] (struct exception): Likewise.
32576 [__USE_MISC] (matherr): Likewise.
32577 [__USE_MISC] (DOMAIN): Likewise.
32578 [__USE_MISC] (SING): Likewise.
32579 [__USE_MISC] (OVERFLOW): Likewise.
32580 [__USE_MISC] (UNDERFLOW): Likewise.
32581 [__USE_MISC] (TLOSS): Likewise.
32582 [__USE_MISC] (PLOSS): Likewise.
32583 [__USE_MISC] (HUGE): Likewise.
32584 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32585 * math/math-svid-compat.h: New file.
32586 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32588 * include/math.h [!_ISOMAC] (__matherr): Remove.
32589 * manual/arith.texi (FP Exceptions): Do not document matherr.
32590 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32591 (tests-internal): New variable.
32592 (install-lib): Do not add libieee.a.
32593 (non-lib.a): Likewise.
32594 (extra-objs): Do not add libieee.a and ieee-math.o.
32595 (CPPFLAGS-s_lib_version.c): Remove variable.
32596 ($(objpfx)libieee.a): Remove rule.
32597 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32598 * math/ieee-math.c: Remove.
32599 * math/libm-test-support.c (matherr): Remove.
32600 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32601 and license notices. Include <math-svid-compat.h> and
32603 (matherr): Undefine as macro. Use compat_symbol_reference.
32604 (_LIB_VERSION): Likewise.
32605 * math/test-matherr-2.c: New file.
32606 * math/test-matherr-3.c: Likewise.
32607 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32609 (__kernel_standard_f): Likewise.
32610 (__kernel_standard_l): Likewise.
32611 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32612 <math_private.h>. Include <math-svid-compat.h>.
32613 (_LIB_VERSION): Undefine as macro.
32614 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32615 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32616 [LIBM_SVID_COMPAT], use compat_symbol.
32617 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32618 <math_private.h>. Include <math-svid-compat.h>.
32619 (matherr): Undefine as macro.
32620 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32622 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32623 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32624 compat_symbol_reference.
32625 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32626 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32627 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32628 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32629 (MATHERR_D): Remove declaration.
32630 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32631 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32632 [LIBM_BUILD] (pmatherrf): Likewise.
32633 [LIBM_BUILD] (pmatherr): Likewise.
32634 [LIBM_BUILD] (pmatherrl): Likewise.
32635 (DOMAIN): Likewise.
32637 (OVERFLOW): Likewise.
32638 (UNDERFLOW): Likewise.
32641 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32642 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32644 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32645 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32647 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32648 * math/w_acos_compat.c: Likewise.
32649 * math/w_acosf_compat.c: Likewise.
32650 * math/w_acosh_compat.c: Likewise.
32651 * math/w_acoshf_compat.c: Likewise.
32652 * math/w_acoshl_compat.c: Likewise.
32653 * math/w_acosl_compat.c: Likewise.
32654 * math/w_asin_compat.c: Likewise.
32655 * math/w_asinf_compat.c: Likewise.
32656 * math/w_asinl_compat.c: Likewise.
32657 * math/w_atan2_compat.c: Likewise.
32658 * math/w_atan2f_compat.c: Likewise.
32659 * math/w_atan2l_compat.c: Likewise.
32660 * math/w_atanh_compat.c: Likewise.
32661 * math/w_atanhf_compat.c: Likewise.
32662 * math/w_atanhl_compat.c: Likewise.
32663 * math/w_cosh_compat.c: Likewise.
32664 * math/w_coshf_compat.c: Likewise.
32665 * math/w_coshl_compat.c: Likewise.
32666 * math/w_exp10_compat.c: Likewise.
32667 * math/w_exp10f_compat.c: Likewise.
32668 * math/w_exp10l_compat.c: Likewise.
32669 * math/w_exp2_compat.c: Likewise.
32670 * math/w_exp2f_compat.c: Likewise.
32671 * math/w_exp2l_compat.c: Likewise.
32672 * math/w_fmod_compat.c: Likewise.
32673 * math/w_fmodf_compat.c: Likewise.
32674 * math/w_fmodl_compat.c: Likewise.
32675 * math/w_hypot_compat.c: Likewise.
32676 * math/w_hypotf_compat.c: Likewise.
32677 * math/w_hypotl_compat.c: Likewise.
32678 * math/w_j0_compat.c: Likewise.
32679 * math/w_j0f_compat.c: Likewise.
32680 * math/w_j0l_compat.c: Likewise.
32681 * math/w_j1_compat.c: Likewise.
32682 * math/w_j1f_compat.c: Likewise.
32683 * math/w_j1l_compat.c: Likewise.
32684 * math/w_jn_compat.c: Likewise.
32685 * math/w_jnf_compat.c: Likewise.
32686 * math/w_jnl_compat.c: Likewise.
32687 * math/w_lgamma_main.c: Likewise.
32688 * math/w_lgamma_r_compat.c: Likewise.
32689 * math/w_lgammaf_main.c: Likewise.
32690 * math/w_lgammaf_r_compat.c: Likewise.
32691 * math/w_lgammal_main.c: Likewise.
32692 * math/w_lgammal_r_compat.c: Likewise.
32693 * math/w_log10_compat.c: Likewise.
32694 * math/w_log10f_compat.c: Likewise.
32695 * math/w_log10l_compat.c: Likewise.
32696 * math/w_log2_compat.c: Likewise.
32697 * math/w_log2f_compat.c: Likewise.
32698 * math/w_log2l_compat.c: Likewise.
32699 * math/w_log_compat.c: Likewise.
32700 * math/w_logf_compat.c: Likewise.
32701 * math/w_logl_compat.c: Likewise.
32702 * math/w_pow_compat.c: Likewise.
32703 * math/w_powf_compat.c: Likewise.
32704 * math/w_powl_compat.c: Likewise.
32705 * math/w_remainder_compat.c: Likewise.
32706 * math/w_remainderf_compat.c: Likewise.
32707 * math/w_remainderl_compat.c: Likewise.
32708 * math/w_scalb_compat.c: Likewise.
32709 * math/w_scalbf_compat.c: Likewise.
32710 * math/w_scalbl_compat.c: Likewise.
32711 * math/w_sinh_compat.c: Likewise.
32712 * math/w_sinhf_compat.c: Likewise.
32713 * math/w_sinhl_compat.c: Likewise.
32714 * math/w_sqrt_compat.c: Likewise.
32715 * math/w_sqrtf_compat.c: Likewise.
32716 * math/w_sqrtl_compat.c: Likewise.
32717 * math/w_tgamma_compat.c: Likewise.
32718 * math/w_tgammaf_compat.c: Likewise.
32719 * math/w_tgammal_compat.c: Likewise.
32720 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32721 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32722 * sysdeps/ieee754/k_standard.c: Likewise.
32723 * sysdeps/ieee754/k_standardf.c: Likewise.
32724 * sysdeps/ieee754/k_standardl.c: Likewise.
32725 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32726 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32727 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32728 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32729 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32730 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32731 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32732 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32733 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32738 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32739 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32740 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32741 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32743 2017-08-21 Florian Weimer <fweimer@redhat.com>
32746 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32747 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32748 Move before inclusion of ../Rules.
32750 2017-08-21 Florian Weimer <fweimer@redhat.com>
32753 * assert/assert.h (assert): Use static_cast (bool) for C++.
32754 Use the ternary operator in the warning branch for GNU C.
32755 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32756 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32757 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32758 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32759 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32761 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32764 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32765 (__syscall_clock_gettime): Add attribute_hidden.
32766 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32767 (__start_context): Likewise.
32769 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32771 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32773 (hidden_proto): Likewise.
32774 (hidden_tls_proto): Likewise.
32775 (__hidden_proto): Likewise.
32777 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32779 * include/libc-symbols.h (attribute_hidden): Enable hidden
32780 visibility in libc.a compiled with PIE.
32782 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32785 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32786 Add attribute_hidden.
32788 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32791 * Makerules (all-nonlib): Add $(others-extras).
32792 * catgets/Makefile (others-extras): New.
32793 * elf/Makefile (others-extras): Likewise.
32794 * nss/Makefile (others-extras): Likewise.
32796 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32799 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32800 * elf/dl-open.c: Include <libc-internal.h>.
32801 (__libc_multiple_libcs): Removed.
32802 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32804 * include/libc-internal.h (__libc_multiple_libcs): New.
32805 * misc/sbrk.c: Include <libc-internal.h>.
32806 (__libc_multiple_libcs): Removed.
32808 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32811 * grp/initgroups.c (__nss_group_database): Removed.
32812 (__nss_initgroups_database): Likewise.
32813 * nscd/gai.c (__nss_hosts_database): Likewise.
32814 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32815 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32816 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32817 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32818 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32819 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32821 * nss/nsswitch.c (__nss_database_custom): Define only if
32822 USE_NSCD is defined.
32823 (__nss_configure_lookup): Use __nss_database_custom only if
32824 USE_NSCD is defined.
32825 * nss/nsswitch.h (__nss_database_custom): Declare only if
32826 USE_NSCD is defined. Add attribute_hidden.
32827 (__nss_setent): Add attribute_hidden.
32828 (__nss_endent): Likewise.
32829 (__nss_getent_r): Likewise.
32830 (__nss_getent): Likewise.
32831 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32833 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32836 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32837 libc_hidden_proto and libc_hidden_def.
32839 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32842 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32843 Add libc_hidden_proto.
32844 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32845 Add libc_hidden_def.
32847 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32850 * gmon/Makefile (routines): Remove bb_init_func and
32852 (elide-routines.os): Removed.
32853 * gmon/bb_exit_func.c: Likewise.
32854 * gmon/bb_init_func.c: Likewise.
32855 * include/sys/gmon.h (__bb): Likewise.
32856 (__bb_init_func): Likewise.
32857 (__bb_exit_func): Likewise.
32858 * sysdeps/alpha/bb_init_func.S: Likewise.
32860 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32862 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32863 * include/setjmp.h (____longjmp_chk): Here. Add
32866 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32869 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32871 (__strspn_sse2): Likewise.
32873 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32875 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32876 (close_not_cancel_no_status): Likewise.
32877 (__close_nocancel): New macro.
32878 (__close_nocancel_nostatus): Likewise.
32879 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32881 (close_not_cancel): Likewise.
32882 (close_not_cancel_no_status): Likewise.
32883 (__close_nocancel): New prototype.
32884 (__close_nocancel_nostatus): New function.
32885 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32886 * catgets/open_catalog.c (__open_catalog): Replace
32887 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32888 * gmon/gmon.c (write_gmon): Likewise.
32889 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32890 * intl/loadmsgcat.c (close): Likewise.
32891 * io/ftw.c (open_dir_stream): Likewise.
32892 (ftw_startup): Likewise.
32893 * libio/fileops.c (_IO_file_open): Likewise.
32894 (_IO_file_close_mmap): Likewise.
32895 (_IO_file_close): Likewise.
32896 * libio/iopopen.c (_IO_dup2): Likewise.
32897 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32898 * locale/loadlocale.c (_nl_load_locale): Likewise.
32899 * login/utmp_file.c (pututline_file): Likewise.
32900 (endutent_file): Likewise.
32901 * misc/daemon.c (daemon): Likewise.
32902 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32903 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32904 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32905 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32906 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32907 * nscd/nscd_helper.c (open_socket): Likewise.
32908 (__nscd_open_socket): Likewise.
32909 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32910 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32911 (__nscd_innetgr): Likewise.
32912 * nss/nss_db/db-open.c (internal_setent): Likewise.
32913 * resolv/res-close.c (__res_iclose): Likewise.
32914 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32915 * sysdeps/posix/closedir.c (__closedir): Likewise.
32916 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32917 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32918 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32919 (opendir_tail): Likewise.
32920 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32921 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32922 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32923 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32924 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32925 (gethostid): Likewise.
32926 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32927 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32929 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32930 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32931 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32932 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32934 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32935 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32936 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32938 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32939 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32941 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32943 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32944 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32945 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32948 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32949 (openat_not_cancel_3): Likewise.
32950 (openat64_not_cancel_3): Likewise).
32951 (openat_not_cancel_3): Likewise).
32952 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32954 (openat_not_cancel_3): Likewise.
32955 (openat64_not_cancel): Likewise.
32956 (openat64_not_cancel_3): Likewise.
32957 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32958 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32959 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32960 __open{64}_nocancel.
32961 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32962 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32963 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32965 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32968 * include/argz.h (__argz_create_sep): New function prototype.
32969 (__argz_append): Likewise.
32970 (__argz_add): Likewise.
32971 (__argz_add_sep): Likewise.
32972 (__argz_delete): Likewise.
32973 (__argz_insert): Likewise.
32974 (__argz_replace): Likewise.
32975 * string/argz.h (__argz_create_sep): Removed.
32976 (__argz_append): Likewise.
32977 (__argz_add): Likewise.
32978 (__argz_add_sep): Likewise.
32979 (__argz_delete): Likewise.
32980 (__argz_insert): Likewise.
32981 (__argz_replace): Likewise.
32983 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32985 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32986 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32987 (GNU_PROPERTY_STACK_SIZE): Likewie.
32988 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32989 (GNU_PROPERTY_LOPROC): Likewise.
32990 (GNU_PROPERTY_HIPROC): Likewise.
32991 (GNU_PROPERTY_LOUSER): Likewise.
32992 (GNU_PROPERTY_HIUSER): Likewise.
32993 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32994 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32995 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32996 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32997 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32998 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32999 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33000 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33001 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33002 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33003 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33004 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33005 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33006 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33007 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33008 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33009 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33010 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33011 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33012 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33013 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33014 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33015 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33017 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33019 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33022 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33025 * math/math.h (isinf): Check if in C or C++ mode before using
33026 __builtin_types_compatible_p, since this is a C mode feature.
33028 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33030 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33031 (__write_nocancel): New macro.
33032 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33033 Rewrite as a function prototype.
33034 (write_not_cancel): Remove macro.
33035 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33036 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33037 (write_gmon): Likewise.
33038 * libio/fileops.c (_IO_new_file_write): Likewise.
33039 * login/utmp_file.c (pututline_file): Likewise.
33040 (updwtmp_file): Likewise.
33041 * stdio-common/psiginfo.c (psiginfo): Likewise.
33042 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33043 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33044 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33046 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33049 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33050 (__read_nocancel): New macro.
33051 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33053 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33055 (__read_nocancel): New prototype.
33056 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33057 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33058 with __read_nocancel.
33059 * intl/loadmsgcat.c (read): Likewise.
33060 * libio/fileops.c (_IO_file_read): Likewise.
33061 * locale/loadlocale.c (_nl_load_locale): Likewise.
33062 * login/utmp_file.c (getutent_r_file): Likewise.
33063 (internal_getut_r): Likewise.
33064 (getutline_r_file): Likewise.
33065 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33066 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33067 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33068 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33070 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33071 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33072 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33074 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33076 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33078 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33080 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33082 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33085 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33086 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33089 2017-08-17 DJ Delorie <dj@redhat.com>
33091 * bug17079.c: Update to new test harness.
33092 * test-digits-dots.c: Likewise.
33093 * test-netdb.c: Likewise.
33094 * tst-field.c: Likewise.
33095 * tst-nss-getpwent.c: Likewise.
33096 * tst-nss-static.c: Likewise.
33097 * tst-nss-test1.c: Likewise.
33098 * tst-nss-test2.c: Likewise.
33099 * tst-nss-test3.c: Likewise.
33100 * tst-nss-test4.c: Likewise.
33101 * tst-nss-test5.c: Likewise.
33103 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33105 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33106 (open_not_cancel_2): Likewise.
33107 (open_nocancel): New macro.
33108 (open64_nocancel): Likewise.
33109 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33110 (open_not_cancel_2): Likewise.
33111 (__open_nocancel): New prototype.
33112 (__open64_nocancel): Likewise.
33113 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33115 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33116 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33117 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33118 with __open_nocancel.
33119 * csu/check_fds.c (check_one_fd): Likewise.
33120 * gmon/gmon.c (write_gmon): Likewise.
33121 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33122 * intl/loadmsgcat.c (open): Likewise.
33123 * libio/fileops.c (_IO_file_open): Likewise.
33124 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33125 * locale/loadlocale.c (_nl_load_locale): Likewise.
33126 * login/utmp_file.c (setutent_file): Likewise.
33127 * misc/daemon.c (daemon): Likewise.
33128 * nss/nss_db/db-open.c (internal_setent): Likewise.
33129 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33130 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33131 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33132 (__opendir): Likewise.
33133 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33134 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33135 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33136 (gethostid): Likewise.
33137 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33138 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33140 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33141 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33142 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33143 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33145 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33147 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33149 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33151 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33153 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33155 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33156 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33158 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33160 * benchtests/bench-skeleton.c (main): Add support for
33161 latency benchmarking.
33162 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33164 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33166 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33167 the startup object.
33169 2017-08-17 Florian Weimer <fweimer@redhat.com>
33171 * include/sys/socket.h (__opensock): Remove internal_function.
33172 * socket/opensock.c (__opensock): Likewise.
33173 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33175 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33178 * signal/bits/types/__sigval_t.h: New file.
33179 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33180 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33181 and define sigval_t using __sigval_t.
33182 * include/bits/types/__sigval_t.h: New file.
33183 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33184 instead of <bits/types/__sigval_t.h>.
33185 (struct sigevent): Use __sigval_t instead of sigval_t.
33186 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33187 instead of <bits/types/__sigval_t.h>.
33188 (siginfo_t): Use __sigval_t instead of sigval_t.
33189 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33190 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33191 (struct sigevent): Use __sigval_t instead of sigval_t.
33192 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33193 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33194 (siginfo_t): Use __sigval_t instead of sigval_t.
33195 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33197 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33199 * NEWS: Remove "[Add new features here]" for 2.27.
33201 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33203 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33206 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33208 * NEWS: Mention x86-64 FMA optimization.
33210 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33213 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33215 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33216 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33217 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33219 2017-08-16 Andreas Schwab <schwab@suse.de>
33223 * elf/ldd.bash.in: Never run file directly.
33225 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33228 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33229 (L(SP_INF_0)): Likewise.
33231 2017-08-15 Florian Weimer <fweimer@redhat.com>
33233 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33236 2017-08-15 Florian Weimer <fweimer@redhat.com>
33238 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33239 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33240 BROKEN_THREAD_SIGNALS code.
33241 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33242 request_list): Remove caller_pid member used for
33243 BROKEN_THREAD_SIGNALS.
33244 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33245 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33246 Remove BROKEN_THREAD_SIGNALS support.
33247 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33248 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33250 2017-08-15 Florian Weimer <fweimer@redhat.com>
33252 * gmon/Makefile (tests): Add tst-gmon.
33253 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33255 (tests-special): Add tst-gmon-prof.out.
33256 (tst-gmon.out): Depend on clean-tst-gmon-data.
33257 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33258 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33259 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33261 * aclocal.m4 (GPROF): Set and substitute.
33262 * config.amke.in (GPROF): Set.
33263 * configure: Regenerate.
33265 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33267 * elf/elf.h A (NT_PPC_TAR): New macro.
33268 (NT_PPC_PPR): Likewise.
33269 (NT_PPC_DSCR): Likewise.
33270 (NT_PPC_EBB): Likewise.
33271 (NT_PPC_PMU): Likewise.
33272 (NT_PPC_TM_CGPR): Likewise.
33273 (NT_PPC_TM_CFPR): Likewise.
33274 (NT_PPC_TM_CVMX): Likewise.
33275 (NT_PPC_TM_CVSX): Likewise.
33276 (NT_PPC_TM_SPR): Likewise.
33277 (NT_PPC_TM_CTAR): Likewise.
33278 (NT_PPC_TM_CPPR): Likewise.
33279 (NT_PPC_TM_CDSCR): Likewise.
33281 2017-08-15 Florian Weimer <fweimer@redhat.com>
33283 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33284 regparm (2) instead of internal_function.
33285 (_MCOUNT_DECL): Adjust.
33287 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33289 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33290 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33292 2017-08-14 Joseph Myers <joseph@codesourcery.com>
33294 * conform/data/sys/wait.h-data (si_value): Do not expect for
33297 2017-08-14 Florian Weimer <fweimer@redhat.com>
33300 NSS: Create stubs for accidentally exported lookup functions.
33301 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33302 Remove declaration.
33303 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33304 (ether_hostton): Call __nss_ethers_lookup2 instead.
33305 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33306 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33307 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33308 (setup): Call __nss_netgroup_lookup2 instead.
33309 * nss/Makefile (routines): Add compat-lookup.
33310 * nss/Versions (GLIBC_2.27): Add symbol version.
33311 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33312 (DB_COMPAT_FCT): Remove.
33313 * nss/compat-lookup.c: New file.
33314 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33315 from databases.def.
33316 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33317 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33318 (netname2user): Call __nss_publickey_lookup2 instead.
33319 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33320 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33323 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33324 Sergei Trofimovich <slyfox@inbox.ru>
33327 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33328 Rename to MMAP2_PAGE_UNIT.
33329 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33330 __OFF_T_MATCHES_OFF64_T is not defined.
33331 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33333 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33334 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33336 2017-08-14 Florian Weimer <fweimer@redhat.com>
33338 i386: Do not set internal_function.
33339 * config.h.in (USE_REGPARMS, internal_function): Remove.
33340 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33341 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33343 2017-08-14 Florian Weimer <fweimer@redhat.com>
33345 * elf/dl-init.c (_dl_init): Remove internal_function.
33346 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33347 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33349 2017-08-14 Florian Weimer <fweimer@redhat.com>
33351 * elf/rtld.c (_dl_start): Remove internal_function.
33352 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33355 2017-08-14 Florian Weimer <fweimer@redhat.com>
33357 * elf/dl-fini.c (_dl_fini): Remove internal_function
33358 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33360 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33362 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
33363 (bit_cpu_SHSTK): Likewise.
33364 (index_cpu_IBT): Likewise.
33365 (index_cpu_SHSTK): Likewise.
33366 (reg_IBT): Likewise.
33367 (reg_SHSTK): Likewise.
33368 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33369 Handle index_cpu_IBT and index_cpu_SHSTK.
33371 2017-08-14 Mike FABIAN <mfabian@redhat.com>
33374 * po/fr.po: Fix spelling mistake.
33376 2017-08-13 Florian Weimer <fweimer@redhat.com>
33378 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33379 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33380 (_dl_catch_error, _dl_receive_error): Likewise.
33381 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33382 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33383 (_dl_deallocate_tls): Likewise.
33384 * include/dlfcn.h (_dl_addr): Likewise.
33385 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33386 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33387 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33390 2017-08-13 Florian Weimer <fweimer@redhat.com>
33392 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33393 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33395 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33397 2017-08-13 Florian Weimer <fweimer@redhat.com>
33399 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33401 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33402 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33403 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33404 internal_function from _dl_make_stack_executable_hook member.
33405 (_dl_make_stack_executable): Remove internal_function.
33406 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33408 * sysdeps/unix/sysv/linux/dl-execstack.c
33409 (_dl_make_stack_executable): Likewise.
33411 2017-08-13 Florian Weimer <fweimer@redhat.com>
33413 * sysdeps/unix/sysv/linux/netlinkaccess.h
33414 (__netlink_assert_response): Remove internal_function.
33415 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33416 (__netlink_assert_response): Likewise.
33418 2017-08-13 Florian Weimer <fweimer@redhat.com>
33420 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33422 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33424 2017-08-13 Florian Weimer <fweimer@redhat.com>
33426 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33428 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33429 * inet/netgroup.h (__internal_setnetgrent)
33430 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33431 * inet/getnetgrent_r.c (__internal_setnetgrent)
33432 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33433 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33434 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33435 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33436 * nss/nsswitch.h (db_lookup_function): Likewise.
33438 2017-08-13 Florian Weimer <fweimer@redhat.com>
33440 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33441 Remove internal_function.
33442 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33443 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33444 message argument on the stack.
33445 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33448 2017-08-12 Mike FABIAN <mfabian@redhat.com>
33450 Adapt test case data to the changes in the thousands
33454 * localedata/tst-langinfo.sh: Adapt test case data.
33455 * stdlib/tst-strfmon_l.c: Likewise.
33456 * stdlib/tst-strtod4.c: Likewise.
33457 * stdlib/tst-strtod5i.c: Likewise.
33459 2017-08-11 Florian Weimer <fweimer@redhat.com>
33462 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33463 Suppress pedantic warning resulting from statement expression.
33464 (__ASSERT_FUNCTION): Add missing __extension__.
33466 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33468 * benchtests/bench-memmove-large.c: Print output in JSON
33470 * benchtests/bench-memmove.c: Likewise.
33472 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33473 * benchtests/bench-memchr.c (do_one_test): Likewise.
33474 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33475 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33476 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33477 * benchtests/bench-memmove.c (do_one_test): Likewise.
33478 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33479 * benchtests/bench-memset.c (do_one_test): Likewise.
33480 * benchtests/bench-string.h (test_init): Remove memsets.
33482 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33485 (Computing the Width of an Integer Data Type): Rename section to
33486 "Width of an Integer Type". Remove inaccurate statement regarding
33487 lack of C language facilities for determining width of integer
33488 types, and reorder content to improve flow and context of
33491 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33493 * lang.texi (va_copy): Change standard from ISO to C99.
33494 (__va_copy): Add standard and header annotation.
33495 Update description for clarity of origins and current use.
33497 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33500 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33501 xssqrtqp requires operands to be in Vector Registers
33502 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33503 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33504 (__ieee754_sqrtf128): Likewise.
33506 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33508 * sysdeps/aarch64/memcmp.S (memcmp):
33509 Rewrite of optimized memcmp.
33511 2017-08-10 Florian Weimer <fweimer@redhat.com>
33513 Introduce ld.so exceptions.
33514 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33515 (_dl_exception_create, _dl_exception_create_format)
33516 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33517 (_dl_catch_exception): Declare.
33518 (_dl_catch_error): Update comment.
33519 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33520 errstring, malloced members with exception member.
33521 (_dl_out_of_memory): Remove.
33522 (fatal_error): New function, extracted from _dl_signal_error.
33523 (_dl_signal_exception, _dl_signal_cexception): New functions.
33524 (_dl_signal_error): Call _dl_exception_create to allocate an
33526 (_dl_catch_exception): New function, based on _dl_catch_error.
33527 (_dl_catch_error): Implement using _dl_catch_exception.
33528 * elf/dl-exception.c: New file.
33529 * elf/Makefile (dl-routines): Add dl-exception.
33530 (elide-routines.os): Likewise.
33531 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33532 _dl_exception_create_format, _dl_exception_free.
33533 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33534 _dl_signal_exception.
33535 * elf/dl-lookup.c (make_string): Remove.
33536 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33537 _dl_signal_cexception, _dl_exception_free.
33538 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33539 _dl_signal_exception.
33540 * elf/dl-sym.c (do_sym): Likewise.
33541 * elf/dl-version.c (make_string): Remove.
33542 (match_symbol): Use _dl_exception_create_format,
33543 _dl_signal_cexception, _dl_exception_free.
33544 (_dl_check_map_versions): Likewise.
33545 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33546 _dl_catch_exception.
33547 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33548 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33549 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33550 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33551 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33552 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33553 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33554 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33556 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33563 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33564 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33565 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33567 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33569 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33571 2017-08-10 Florian Weimer <fweimer@redhat.com>
33573 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33574 attribute_hidden, internal_function.
33575 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33578 2017-08-10 Florian Weimer <fweimer@redhat.com>
33580 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33581 function which calls __builtin_unreachable.
33583 2017-08-10 Mike FABIAN <mfabian@redhat.com>
33585 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33586 Indian monetary formatting
33587 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33590 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33592 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33593 Fix typo in comment.
33596 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33597 PTRACE_SEIZE_DEVEL): Remove.
33598 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33599 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33600 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33601 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33602 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33604 2017-08-09 Joseph Myers <joseph@codesourcery.com>
33606 * posix/bits/types.h (__qaddr_t): Remove.
33609 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33610 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33612 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33613 (ucontext_t): Use __ctx with uc_flags.
33614 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33615 (__ctxt): Likewise.
33616 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33618 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33619 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33621 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33622 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33624 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33626 (ucontext_t): Use __ctx with uc_flags.
33627 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33628 (ucontext_t): Use __ctx with uc_flags.
33629 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33630 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33631 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33632 (ucontext_t): Use __ctx with uc_flags.
33633 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33634 undefine further down.
33635 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33637 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33638 undefine further down.
33639 (ucontext_t): Use __ctx with uc_flags.
33640 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33641 undefine further down.
33642 (ucontext_t): Use __ctx with uc_flags.
33643 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33644 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33645 Rename uc_pad to __glibc_reserved1.
33646 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33647 undefine further down.
33648 (ucontext_t): Use __ctx with uc_flags.
33649 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33651 (ucontext_t): Use __ctx with uc_flags.
33652 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33653 __ctx with uc_flags.
33654 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33655 (ucontext_t): Use __ctx with uc_flags.
33656 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33657 __ctx with uc_flags.
33659 2017-08-09 Florian Weimer <fweimer@redhat.com>
33662 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33663 before early return.
33665 2017-08-09 Andreas Schwab <schwab@suse.de>
33668 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33672 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33673 tst-compat-forwarder.
33674 (modules-names): Add tst-compat-forwarder-mod.
33675 ($(objpfx)tst-compat-forwarder): Depend on
33676 $(objpfx)tst-compat-forwarder-mod.so.
33677 * nptl/tst-compat-forwarder.c: New file.
33678 * nptl/tst-compat-forwarder-mod.c: New file.
33680 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33682 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33685 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33686 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33688 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33690 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33691 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33692 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33693 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33695 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33698 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33701 * manual/setjmp.texi (getcontex): Document uc_stack value
33702 compatibility differences.
33704 2017-08-08 Joseph Myers <joseph@codesourcery.com>
33706 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33707 (old_malloc_hook): Likewise.
33708 (old_memalign_hook): Likewise.
33709 (old_realloc_hook): Likewise.
33710 (struct hdr): Likewise.
33712 (freehook): Likewise.
33713 (mallochook): Likewise.
33714 (memalignhook): Likewise.
33715 (reallochook): Likewise.
33716 (mprobe): Likewise.
33717 * malloc/mtrace.c (mallwatch): Likewise.
33718 (tr_old_free_hook): Likewise.
33719 (tr_old_malloc_hook): Likewise.
33720 (tr_old_realloc_hook): Likewise.
33721 (tr_old_memalign_hook): Likewise.
33722 (tr_where): Likewise.
33723 (lock_and_info): Likewise.
33724 (tr_freehook): Likewise.
33725 (tr_mallochook): Likewise.
33726 (tr_reallochook): Likewise.
33727 (tr_memalignhook): Likewise.
33728 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33729 * misc/mmap.c (__mmap): Likewise.
33730 * misc/mmap64.c (__mmap64): Likewise.
33731 * misc/mprotect.c (__mprotect): Likewise.
33732 * misc/msync.c (msync): Likewise.
33733 * misc/munmap.c (__munmap): Likewise.
33734 * posix/posix_madvise.c (posix_madvise): Likewise.
33735 * socket/send.c (__send): Likewise.
33736 * socket/sendto.c (__sendto): Likewise.
33737 * socket/setsockopt.c (__setsockopt): Likewise.
33738 * string/memcmp.c (__ptr_t): Remove macro.
33739 (MEMCMP): Use void * instead of ptr_t.
33740 * string/memrchr.c (__ptr_t): Remove macro.
33741 (__memrchr): Use void * instead of ptr_t.
33742 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33743 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33744 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33745 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33746 * sysdeps/mach/msync.c (msync): Likewise.
33747 * sysdeps/mach/munmap.c (__munmap): Likewise.
33748 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33750 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33751 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33752 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33753 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33754 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33755 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33756 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33757 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33759 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33760 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33761 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33762 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33763 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33764 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33765 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33766 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33767 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33769 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33770 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33771 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33772 (MEMCMP): Use void * instead of ptr_t.
33773 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33774 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33776 2017-08-08 Florian Weimer <fweimer@redhat.com>
33778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33781 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33784 * csu/libc-tls.c: Include <startup.h> first.
33785 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33786 * elf/dl-tunables.c: Include <startup.h> first.
33787 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33788 * sysdeps/generic/startup.h: New file.
33789 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33790 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33791 (I386_USE_SYSENTER): New. Defined to 0.
33793 2017-08-08 Andreas Schwab <schwab@suse.de>
33796 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33797 * nptl/pt-system.c (system): Likewise.
33799 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33802 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33804 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33805 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33806 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33807 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33808 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33809 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33810 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33812 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33815 * bits/sigaction.h (struct sigaction): Define sa_handler and
33816 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33817 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33818 [__USE_XOPEN_EXTENDED].
33819 (SA_RESTART): Likewise.
33820 (SA_NODEFER): Likewise.
33821 (SA_RESETHAND): Likewise.
33822 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33823 (struct sigaction): Define sa_handler and sa_sigaction using union
33824 also for [__USE_XOPEN_EXTENDED].
33825 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33826 [__USE_XOPEN_EXTENDED].
33827 (SA_RESTART): Likewise.
33828 (SA_NODEFER): Likewise.
33829 (SA_RESETHAND): Likewise.
33830 * sysdeps/unix/sysv/linux/bits/sigaction.h
33831 (struct sigaction): Define sa_handler and sa_sigaction using union
33832 also for [__USE_XOPEN_EXTENDED].
33833 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33834 [__USE_XOPEN_EXTENDED].
33835 (SA_RESTART): Likewise.
33836 (SA_NODEFER): Likewise.
33837 (SA_RESETHAND): Likewise.
33838 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33839 (struct sigaction): Define sa_handler and sa_sigaction using union
33840 also for [__USE_XOPEN_EXTENDED].
33841 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33842 [__USE_XOPEN_EXTENDED].
33843 (SA_RESTART): Likewise.
33844 (SA_NODEFER): Likewise.
33845 (SA_RESETHAND): Likewise.
33846 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33847 (struct sigaction): Define sa_handler and sa_sigaction using union
33848 also for [__USE_XOPEN_EXTENDED].
33849 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33850 [__USE_XOPEN_EXTENDED].
33851 (SA_RESTART): Likewise.
33852 (SA_NODEFER): Likewise.
33853 (SA_RESETHAND): Likewise.
33854 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33855 (struct sigaction): Define sa_handler and sa_sigaction using union
33856 also for [__USE_XOPEN_EXTENDED].
33857 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33858 [__USE_XOPEN_EXTENDED].
33859 (SA_RESTART): Likewise.
33860 (SA_NODEFER): Likewise.
33861 (SA_RESETHAND): Likewise.
33862 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33863 (struct sigaction): Define sa_handler and sa_sigaction using union
33864 also for [__USE_XOPEN_EXTENDED].
33865 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33866 [__USE_XOPEN_EXTENDED].
33867 (SA_RESTART): Likewise.
33868 (SA_NODEFER): Likewise.
33869 (SA_RESETHAND): Likewise.
33870 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33871 (struct sigaction): Define sa_handler and sa_sigaction using union
33872 also for [__USE_XOPEN_EXTENDED].
33873 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33874 [__USE_XOPEN_EXTENDED].
33875 (SA_RESTART): Likewise.
33876 (SA_NODEFER): Likewise. Define directly rather than as alias.
33877 (SA_RESETHAND): Likewise.
33878 (SA_INTERRUPT): Define only for [__USE_MISC].
33879 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33880 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33882 (SA_STACK): Define only for [__USE_MISC].
33883 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33884 (struct sigaction): Define sa_handler and sa_sigaction using union
33885 also for [__USE_XOPEN_EXTENDED].
33886 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33887 [__USE_XOPEN_EXTENDED].
33888 (SA_RESTART): Likewise.
33889 (SA_NODEFER): Likewise.
33890 (SA_RESETHAND): Likewise.
33891 (SA_NOPTRACE): Define only for [__USE_MISC].
33893 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33894 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33895 (struct catalog_info): Likewise.
33896 * inet/htontest.c (lo): Likewise.
33898 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33899 * inet/inet_net.c (inet_network): Likewise.
33900 * inet/inet_netof.c (inet_netof): Likewise.
33901 * inet/rcmd.c (__ivaliduser): Likewise.
33902 (iruserok): Likewise.
33903 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33904 * locale/programs/locale-spec.c (locale_special): Likewise.
33905 * nis/nis_findserv.c (struct findserv_req): Likewise.
33906 (__nis_findfastest_with_timeout): Likewise.
33907 * nss/test-netdb.c (test_network): Likewise.
33908 * resolv/inet_neta.c (inet_neta): Likewise.
33909 * resolv/ns_date.c (ns_datetosecs): Likewise.
33910 (SECS_PER_DAY): Likewise.
33911 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33913 * resolv/res_comp.c (__putlong): Likewise.
33914 (__putshort): Likewise.
33915 (_getlong): Likewise.
33916 (_getshort): Likewise.
33917 * resolv/res_debug.c (p_time): Likewise.
33918 (precsize_ntoa): Likewise.
33919 (precsize_aton): Likewise.
33920 (latlon2ul): Likewise.
33921 (loc_aton): Likewise.
33922 (loc_ntoa): Likewise.
33923 * resolv/res_hconf.c (struct netaddr): Likewise.
33924 (_res_hconf_reorder_addrs): Likewise.
33925 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33926 (clnttcp_control): Likewise.
33927 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33928 (clntudp_control): Likewise.
33929 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33930 (clntunix_control): Likewise.
33931 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33932 * sunrpc/rpc/auth.h (union des_block): Likewise.
33933 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33934 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33935 (xdrrec_create): Likewise.
33936 (xdrrec_endofrecord): Likewise.
33937 (flush_out): Likewise.
33938 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33939 (xdrstdio_putlong): Likewise.
33940 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33943 * misc/sys/cdefs.h (__long_double_t): Remove.
33944 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33945 instead of __long_double_t,
33946 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33948 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33950 * benchtests/scripts/compare_strings.py: Avoid display error when
33951 running on a text terminal.
33953 * benchtests/scripts/compare_strings.py (main): Add an
33954 optional -base option.
33955 (process_results): New argument base_func.
33957 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33959 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33960 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33962 2017-08-07 Andreas Schwab <schwab@suse.de>
33964 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33965 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33966 * intl/Makefile ($(objpfx)tst-gettext.out)
33967 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33968 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33969 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33970 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33971 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33972 * posix/Makefile ($(objpfx)globtest.out)
33973 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33974 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33975 ($(objpfx)tst-printf.out): Likewise.
33976 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33977 ($(objpfx)tst-setcontext3.out): Likewise.
33979 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33981 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33982 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33983 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33984 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33985 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33987 (CFLAGS-doasin-fma.c): New.
33988 (CFLAGS-dosincos-fma.c): Likewise.
33989 (CFLAGS-e_asin-fma.c): Likewise.
33990 (CFLAGS-e_atan2-fma.c): Likewise.
33991 (CFLAGS-e_exp-fma.c): Likewise.
33992 (CFLAGS-e_log-fma.c): Likewise.
33993 (CFLAGS-e_pow-fma.c): Likewise.
33994 (CFLAGS-halfulp-fma.c): Likewise.
33995 (CFLAGS-mpa-fma.c): Likewise.
33996 (CFLAGS-mpatan-fma.c): Likewise.
33997 (CFLAGS-mpatan2-fma.c): Likewise.
33998 (CFLAGS-mpexp-fma.c): Likewise.
33999 (CFLAGS-mplog-fma.c): Likewise.
34000 (CFLAGS-mpsqrt-fma.c): Likewise.
34001 (CFLAGS-mptan-fma.c): Likewise.
34002 (CFLAGS-s_atan-fma.c): Likewise.
34003 (CFLAGS-sincos32-fma.c): Likewise.
34004 (CFLAGS-slowexp-fma.c): Likewise.
34005 (CFLAGS-slowpow-fma.c): Likewise.
34006 (CFLAGS-s_sin-fma.c): Likewise.
34007 (CFLAGS-s_tan-fma.c): Likewise.
34008 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34009 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34010 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34011 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34012 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34013 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34014 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34015 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34016 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34017 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34018 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34019 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34020 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34021 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34022 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34023 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34024 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34025 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34026 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34027 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34028 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34029 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34030 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34031 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34032 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34033 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34034 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34035 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34036 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34037 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34038 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34040 2017-08-04 Joseph Myers <joseph@codesourcery.com>
34042 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34043 (min_of_type_f): New macro.
34044 (min_of_type_): Likewise.
34045 (min_of_type_l): Likewise.
34046 (min_of_type_f128): Likewise.
34047 (min_of_type): Define using __MATH_TG and taking an expression
34049 (math_check_force_underflow): Pass expression instead of type to
34051 (math_check_force_underflow_nonneg): Likewise.
34053 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34055 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34056 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34057 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34059 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34061 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34062 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34063 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34064 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34065 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34066 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34067 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34068 memmove_chk-nonshared and memset_chk-nonshared
34069 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34070 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34071 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34072 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34073 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34074 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34075 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34076 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34077 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34078 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34079 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34080 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34081 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34082 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34083 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34084 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34085 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34086 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34087 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34088 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34089 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34090 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34091 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34092 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34093 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34094 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34095 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34096 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34097 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34098 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34099 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34100 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34101 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34102 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34103 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34104 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34105 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34106 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34107 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34108 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34109 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34110 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34111 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34112 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34113 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34114 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34115 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34116 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34117 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34118 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34119 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34120 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34121 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34122 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34123 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34124 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34125 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34126 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34127 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34128 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34129 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34130 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34131 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34132 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34133 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34134 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34135 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34136 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34137 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34138 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34139 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34140 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34141 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34142 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34143 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34144 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34145 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34146 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34147 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34148 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34149 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34150 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34151 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34152 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34153 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34154 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34155 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34156 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34157 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34158 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34159 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34160 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34161 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34162 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34163 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34164 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34165 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34166 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34167 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34168 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34169 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34170 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34171 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34172 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34173 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34174 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34175 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34176 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34178 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34180 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34181 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34182 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34183 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34184 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34185 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34186 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34187 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34188 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34189 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34190 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34191 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34192 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34193 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34194 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34195 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34196 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34197 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34198 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34199 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34200 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34201 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34202 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34203 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34204 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34205 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34206 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34207 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34208 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34209 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34210 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34211 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34212 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34213 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34214 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34215 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34216 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34217 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34218 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34219 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34220 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34221 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34222 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34223 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34224 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34225 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34226 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34227 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34228 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34229 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34230 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34231 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34232 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34233 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34234 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34235 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34236 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34237 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34238 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34240 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34241 Don't include <sysdep.h> nor <init-arch.h>.
34242 (_ZGVbN2v_cos): Removed.
34243 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34245 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34246 Don't include <sysdep.h> nor <init-arch.h>.
34247 (_ZGVdN4v_cos): Removed.
34248 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34250 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34251 Don't include <sysdep.h> nor <init-arch.h>.
34252 (_ZGVeN8v_cos): Removed.
34253 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34255 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34256 Don't include <sysdep.h> nor <init-arch.h>.
34257 (_ZGVbN2v_exp): Removed.
34258 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34260 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34261 Don't include <sysdep.h> nor <init-arch.h>.
34262 (_ZGVdN4v_exp): Removed.
34263 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34265 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34266 Don't include <sysdep.h> nor <init-arch.h>.
34267 (_ZGVeN8v_exp): Removed.
34268 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34270 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34271 Don't include <sysdep.h> nor <init-arch.h>.
34272 (_ZGVbN2v_log): Removed.
34273 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34275 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34276 Don't include <sysdep.h> nor <init-arch.h>.
34277 (_ZGVdN4v_log): Removed.
34278 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34280 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34281 Don't include <sysdep.h> nor <init-arch.h>.
34282 (_ZGVeN8v_log): Removed.
34283 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34285 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34286 Don't include <sysdep.h> nor <init-arch.h>.
34287 (_ZGVbN2vv_pow): Removed.
34288 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34290 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34291 Don't include <sysdep.h> nor <init-arch.h>.
34292 (_ZGVdN4vv_pow): Removed.
34293 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34295 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34296 Don't include <sysdep.h> nor <init-arch.h>.
34297 (_ZGVeN8vv_pow): Removed.
34298 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34300 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34301 Don't include <sysdep.h> nor <init-arch.h>.
34302 (_ZGVbN2v_sin): Removed.
34303 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34305 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34306 Don't include <sysdep.h> nor <init-arch.h>.
34307 (_ZGVbN4v_sin): Removed.
34308 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34310 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34311 Don't include <sysdep.h> nor <init-arch.h>.
34312 (_ZGVbN8v_sin): Removed.
34313 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34315 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34316 Don't include <sysdep.h> nor <init-arch.h>.
34317 (_ZGVbN2vvv_sincos): Removed.
34318 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34320 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34321 Don't include <sysdep.h> nor <init-arch.h>.
34322 (_ZGVdN4vvv_sincos): Removed.
34323 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34325 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34326 Don't include <sysdep.h> nor <init-arch.h>.
34327 (_ZGVeN8vvv_sincos): Removed.
34328 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34330 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34331 Don't include <sysdep.h> nor <init-arch.h>.
34332 (_ZGVeN16v_cosf): Removed.
34333 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34335 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34336 Don't include <sysdep.h> nor <init-arch.h>.
34337 (_ZGVbN4v_cosf): Removed.
34338 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34340 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34341 Don't include <sysdep.h> nor <init-arch.h>.
34342 (_ZGVdN8v_cosf): Removed.
34343 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34345 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34346 Don't include <sysdep.h> nor <init-arch.h>.
34347 (_ZGVeN16v_expf): Removed.
34348 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34350 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34351 Don't include <sysdep.h> nor <init-arch.h>.
34352 (_ZGVbN4v_expf): Removed.
34353 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34355 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34356 Don't include <sysdep.h> nor <init-arch.h>.
34357 (_ZGVdN8v_expf): Removed.
34358 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34360 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34361 Don't include <sysdep.h> nor <init-arch.h>.
34362 (_ZGVeN16v_logf): Removed.
34363 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34365 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34366 Don't include <sysdep.h> nor <init-arch.h>.
34367 (_ZGVbN4v_logf): Removed.
34368 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34370 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34371 Don't include <sysdep.h> nor <init-arch.h>.
34372 (_ZGVdN8v_logf): Removed.
34373 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34375 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34376 Don't include <sysdep.h> nor <init-arch.h>.
34377 (_ZGVeN16vv_powf): Removed.
34378 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34380 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34381 Don't include <sysdep.h> nor <init-arch.h>.
34382 (_ZGVbN4vv_powf): Removed.
34383 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34385 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34386 Don't include <sysdep.h> nor <init-arch.h>.
34387 (_ZGVdN8vv_powf): Removed.
34388 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34390 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34391 Don't include <sysdep.h> nor <init-arch.h>.
34392 (_ZGVeN16vvv_sincosf): Removed.
34393 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34395 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34396 Don't include <sysdep.h> nor <init-arch.h>.
34397 (_ZGVbN4vvv_sincosf): Removed.
34398 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34400 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34401 Don't include <sysdep.h> nor <init-arch.h>.
34402 (_ZGVdN8vvv_sincosf): Removed.
34403 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34405 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34406 Don't include <sysdep.h> nor <init-arch.h>.
34407 (_ZGVeN16v_sinf): Removed.
34408 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34410 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34411 Don't include <sysdep.h> nor <init-arch.h>.
34412 (_ZGVbN4v_sinf): Removed.
34413 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34415 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34416 Don't include <sysdep.h> nor <init-arch.h>.
34417 (_ZGVdN8v_sinf): Removed.
34419 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34421 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34422 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34423 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34424 s_rint-sse4_1 and s_rintf-sse4_1.
34425 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34426 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34427 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34428 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34429 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34430 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34431 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34432 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34433 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34434 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34435 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34436 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34438 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34439 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34440 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34441 (__ceilf): Removed.
34442 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34443 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34444 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34445 (__floor): Removed.
34446 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34447 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34448 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34449 (__floorf): Removed.
34450 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34451 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34452 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34453 (__nearbyint): Removed.
34454 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34455 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34456 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34457 (__nearbyintf): Removed.
34458 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34459 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34460 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34462 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34463 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34464 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34465 (__rintf): Removed.
34467 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34469 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34470 SHARED. Avoid dynamic relocation against main in static PIE.
34472 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34475 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34476 (LDFLAGS-tst-prelink): Likewise.
34478 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34480 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34481 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34482 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34483 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34484 (INTERNAL_SYSCALL_NCS): Likewise.
34485 (LOADARGS_1): Likewise.
34486 (LOADARGS_5): Likewise.
34487 (RESTOREARGS_1): Likewise.
34488 (RESTOREARGS_5): Likewise.
34490 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34492 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34493 (MEMPCPY_SYMBOL): Likewise.
34494 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34495 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34496 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34498 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34499 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34501 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34502 (__hidden_ver1): Don't use in libc.a.
34503 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34504 (__mempcpy): Don't create a weak alias in libc.a.
34505 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34507 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34508 (__hidden_ver1): Don't use in libc.a.
34510 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34512 * config.make.in (have-insert): New.
34513 * configure.ac (libc_cv_insert): New. Set to yes if linker
34514 supports INSERT in linker script.
34515 (AC_SUBST(libc_cv_insert): New.
34516 * configure: Regenerated.
34517 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34518 if $(have-insert) == yes.
34520 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34522 * elf/Makefile (tests): Add vismain only if
34523 $(have-protected-data) == yes.
34524 (tests-pie): Likewise.
34526 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34529 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34530 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34532 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34535 * sysdeps/i386/i586/memset.S
34536 (__memset_zero_constant_len_parameter): Removed.
34537 * sysdeps/i386/i686/memset.S
34538 (__memset_zero_constant_len_parameter): Likewise.
34539 * sysdeps/i386/i686/multiarch/memset_chk.S
34540 (__memset_zero_constant_len_parameter): Likewise.
34541 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34544 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34546 * stdlib/getentropy.c (getentropy): Change return type to int.
34548 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34550 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34552 2017-08-03 Joseph Myers <joseph@codesourcery.com>
34554 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34556 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34557 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34559 (ieee_float_shape_type): Likewise.
34560 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34561 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34562 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34563 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34564 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34565 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34566 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34567 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34568 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34570 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34571 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34572 (__ieee754_yn): Likewise.
34573 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34574 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34575 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34577 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34578 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34579 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34580 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34581 (__erfc): Likewise.
34582 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34583 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34584 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34585 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34586 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34587 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34589 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34590 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34591 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34592 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34593 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34594 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34595 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34596 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34597 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34598 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34599 (__issignaling): Likewise.
34600 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34601 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34602 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34604 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34605 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34606 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34607 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34609 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34611 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34612 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34613 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34614 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34615 (__erfcf): Likewise.
34616 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34617 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34618 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34619 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34621 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34622 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34624 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34625 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34626 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34627 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34628 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34629 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34630 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34631 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34633 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34635 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34637 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34638 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34640 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34642 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34643 (__ieee754_ynl): Likewise.
34644 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34645 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34647 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34649 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34650 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34651 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34653 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34654 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34655 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34656 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34657 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34658 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34659 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34660 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34662 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34663 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34664 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34666 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34667 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34668 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34669 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34670 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34671 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34673 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34675 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34677 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34679 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34680 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34681 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34682 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34683 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34684 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34685 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34687 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34689 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34690 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34692 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34693 (__ieee754_remainderl): Likewise.
34694 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34695 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34696 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34697 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34699 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34700 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34702 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34703 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34704 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34705 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34706 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34707 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34709 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34710 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34711 (__ieee754_y0l): Likewise.
34714 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34715 (__ieee754_y1l): Likewise.
34718 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34719 (__ieee754_ynl): Likewise.
34720 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34721 (__ieee754_lgammal_r): Likewise.
34722 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34724 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34725 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34726 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34727 (__erfcl): Likewise.
34728 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34729 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34731 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34732 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34733 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34734 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34735 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34736 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34737 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34739 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34740 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34741 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34742 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34743 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34745 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34746 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34748 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34749 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34750 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34751 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34752 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34754 2017-08-03 Florian Weimer <fweimer@redhat.com>
34757 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34758 on memory allocation failure.
34760 2017-08-03 Alan Modra <amodra@gmail.com>
34762 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34763 tst-tlsopt-powerpc.c with function name change and no test harness.
34764 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34765 Call tls_get_addr_opt_test.
34766 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34767 (modules-names): Add mod-tlsopt-powerpc.
34768 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34769 (tst-tlsopt-powerpc): Depend on .so.
34770 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34771 define. Expand use in TLS_GD and TLS_LD.
34773 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34775 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34777 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34779 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34782 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34783 comparing size with that of double.
34784 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34785 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34786 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34787 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34788 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34789 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34790 unsigned __int128 types.
34792 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34794 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34795 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34796 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34797 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34798 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34800 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34802 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34804 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34806 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34808 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34809 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34810 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34811 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34812 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34813 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34814 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34816 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34819 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34820 bit-field expressions passed to sizeof or typeof.
34821 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34822 (__TGMATH_F128): Likewise.
34823 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34824 (__TGMATH_CF128): Likewise.
34825 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34826 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34827 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34828 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34829 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34830 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34831 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34832 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34833 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34834 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34835 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34836 (__TGMATH_UNARY_IMAG): Likewise.
34837 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34838 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34839 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34841 (define_vars_for_type): Handle bit_field type specially.
34842 (Tests.__init__): Declare structure with bit-field element.
34844 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34847 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34848 (MEMCPY_CHK): Define only if SHARED is defined.
34849 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34851 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34854 See ChangeLog.18 for earlier changes.